gomeetfaker

package
v0.0.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2018 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

README

Golang ProtoBuf Faker Compiler

Apache 2.0 License

A protoc plugin that generates New<MessageName>GomeetFaker() *<MessageName> functions.

Paint me a code picture

Let's take the following proto3 snippet:

syntax = "proto3";

package gomeetfaker.examples;

option go_package = "pb";

import "github.com/gomeet/go-proto-gomeetfaker/gomeetfaker.proto";

message Book {
  string uuid   = 1 [(gomeetfaker.field).uuid.version = "V4"];
  string author = 2 [(gomeetfaker.field).name.name = true];
  string title  = 3 [(gomeetfaker.field).lorem.string = true];
  string isbn10 = 4 [(gomeetfaker.field).code.isbn10 = true];
  string isbn13 = 5 [(gomeetfaker.field).code.isbn13 = true];
}

The generated code is understandable. Take a look:

func NewBookGomeetFaker() *Book {
	this := &Book{}
	this.Uuid = uuid.New().String()
	this.Author = faker.Name().Name()
	this.Title = faker.Lorem().String()
	this.Isbn10 = faker.Code().Isbn10()
	this.Isbn13 = faker.Code().Isbn13()
	return this
}

For an exhaustive list of faker rules see examples/full/pb/pb.proto

Installing and using

The protoc compiler expects to find plugins named proto-gen-XYZ on the execution $PATH. So first:

export PATH=${PATH}:${GOPATH}/bin

Then, do the usual

go get github.com/gomeet/go-proto-gomeetfaker/protoc-gen-gomeetfaker

Your protoc builds probably look very simple like:

protoc  \
	--proto_path=. \
	--go_out=. \
	*.proto

That's fine, until you encounter .proto includes. Because go-proto-gomeetfaker uses annotations inside the .proto files themselves, it's .proto definition (and the Google descriptor.proto itself) need to on the protoc include path. Hence the above becomes:

protoc  \
	--proto_path=${GOPATH}/src \
	--proto_path=${GOPATH}/src/github.com/google/protobuf/src \
	--proto_path=. \
	--go_out=. \
	--gomeetfaker_out=. \
	*.proto

Or with gogo protobufs:

protoc  \
	--proto_path=${GOPATH}/src \
	--proto_path=${GOPATH}/src/github.com/gogo/protobuf/protobuf \
	--proto_path=. \
	--gogo_out=. \
	--gomeetfaker_out=gogoimport=true:. \
	*.proto

Basically the magical incantation (apart from includes) is the --gomeetfaker_out. That triggers the protoc-gen-gomeetfaker plugin to generate mymessage.gomeetfaker.pb.go. That's it :)

Make directives

  • make - Installing all development tools and making specific platform binary (in _build directory). It's equivalent to make build.
  • make build - Installing all development tools and making specific platform binary (in _build directory).
  • make clean - Removing all generated files (all tools, all compiled files, generated from proto). It's equivalent to make tools-clean package-clean proto-clean.
  • make proto - Generating files from proto (gomeetfaker.proto only).
  • make proto-examples - Generating files from proto (gomeetfaker.proto only).
  • make proto-clean - Clean up generated files from the proto file.
  • make tools - Installing all development tools.
  • make tools-sync - Re-Syncronizes development tools.
  • make tools-sync-retool - Re-Syncronizes development tools (retool only).
  • make tools-sync-protoc - Re-Syncronizes development tools (protoc only).
  • make tools-upgrade - Upgrading all development tools.
  • make tools-clean - Uninstall all development tools.
  • make dep - Executes the dep ensure command.

License

go-proto-gomeetfaker is released under the Apache 2.0 license. See the LICENSE file for details.

TODO

Documentation

Overview

Package gomeetfaker is a generated protocol buffer package.

It is generated from these files:

gomeetfaker.proto

It has these top-level messages:

FieldFakerRules
ValueRules
UuidRules
EnumRules
AddressRules
AddressRulesByState
AppRules
AvatarRules
AvatarUrlRules
BitcoinRules
BusinessRules
CodeRules
CommerceRules
CompanyRules
DateRules
DateRulesBirthday
DateRulesBetween
FinanceRules
FinanceRulesCreditCard
HackerRules
InternetRules
InternetRulesPassword
LoremRules
LoremRulesNum
LoremRulesSentence
LoremRulesParagraph
NameRules
NumberRules
NumberRulesDigit
NumberRulesDecimal
NumberRulesBetween
NumberRulesPositive
NumberRulesNegative
NumberRulesCount
NumberRulesCount2
PhoneNumberRules
PhoneNumberRulesDigit
TeamRules
TimeRules
TimeRulesBirthday
TimeRulesBetween

Index

Constants

This section is empty.

Variables

View Source
var E_Field = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.FieldOptions)(nil),
	ExtensionType: (*FieldFakerRules)(nil),
	Field:         13001,
	Name:          "gomeetfaker.field",
	Tag:           "bytes,13001,opt,name=field",
	Filename:      "gomeetfaker.proto",
}
View Source
var E_Locale = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.FileOptions)(nil),
	ExtensionType: (*string)(nil),
	Field:         13000,
	Name:          "gomeetfaker.locale",
	Tag:           "bytes,13000,opt,name=locale",
	Filename:      "gomeetfaker.proto",
}

Functions

This section is empty.

Types

type AddressRules

type AddressRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*AddressRules_City
	//	*AddressRules_StreetName
	//	*AddressRules_StreetAddress
	//	*AddressRules_SecondaryAddress
	//	*AddressRules_BuildingNumber
	//	*AddressRules_Postcode
	//	*AddressRules_PostcodeByState
	//	*AddressRules_ZipCode
	//	*AddressRules_ZipCodeByState
	//	*AddressRules_TimeZone
	//	*AddressRules_CityPrefix
	//	*AddressRules_CitySuffix
	//	*AddressRules_StreetSuffix
	//	*AddressRules_State
	//	*AddressRules_StateAbbr
	//	*AddressRules_Country
	//	*AddressRules_CountryCode
	//	*AddressRules_Latitude
	//	*AddressRules_Longitude
	//	*AddressRules_String_
	Type             isAddressRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte              `json:"-"`
}

func (*AddressRules) Descriptor

func (*AddressRules) Descriptor() ([]byte, []int)

func (*AddressRules) GetBuildingNumber

func (m *AddressRules) GetBuildingNumber() bool

func (*AddressRules) GetCity

func (m *AddressRules) GetCity() bool

func (*AddressRules) GetCityPrefix

func (m *AddressRules) GetCityPrefix() bool

func (*AddressRules) GetCitySuffix

func (m *AddressRules) GetCitySuffix() bool

func (*AddressRules) GetCountry

func (m *AddressRules) GetCountry() bool

func (*AddressRules) GetCountryCode

func (m *AddressRules) GetCountryCode() bool

func (*AddressRules) GetLatitude

func (m *AddressRules) GetLatitude() bool

func (*AddressRules) GetLongitude

func (m *AddressRules) GetLongitude() bool

func (*AddressRules) GetPostcode

func (m *AddressRules) GetPostcode() bool

func (*AddressRules) GetPostcodeByState

func (m *AddressRules) GetPostcodeByState() *AddressRulesByState

func (*AddressRules) GetRepeated

func (m *AddressRules) GetRepeated() uint32

func (*AddressRules) GetSecondaryAddress

func (m *AddressRules) GetSecondaryAddress() bool

func (*AddressRules) GetState

func (m *AddressRules) GetState() bool

func (*AddressRules) GetStateAbbr

func (m *AddressRules) GetStateAbbr() bool

func (*AddressRules) GetStreetAddress

func (m *AddressRules) GetStreetAddress() bool

func (*AddressRules) GetStreetName

func (m *AddressRules) GetStreetName() bool

func (*AddressRules) GetStreetSuffix

func (m *AddressRules) GetStreetSuffix() bool

func (*AddressRules) GetString_

func (m *AddressRules) GetString_() bool

func (*AddressRules) GetTimeZone

func (m *AddressRules) GetTimeZone() bool

func (*AddressRules) GetType

func (m *AddressRules) GetType() isAddressRules_Type

func (*AddressRules) GetZipCode

func (m *AddressRules) GetZipCode() bool

func (*AddressRules) GetZipCodeByState

func (m *AddressRules) GetZipCodeByState() *AddressRulesByState

func (*AddressRules) ProtoMessage

func (*AddressRules) ProtoMessage()

func (*AddressRules) Reset

func (m *AddressRules) Reset()

func (*AddressRules) String

func (m *AddressRules) String() string

func (*AddressRules) XXX_OneofFuncs

func (*AddressRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type AddressRulesByState

type AddressRulesByState struct {
	State            *string `protobuf:"bytes,1,req,name=state" json:"state,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*AddressRulesByState) Descriptor

func (*AddressRulesByState) Descriptor() ([]byte, []int)

func (*AddressRulesByState) GetState

func (m *AddressRulesByState) GetState() string

func (*AddressRulesByState) ProtoMessage

func (*AddressRulesByState) ProtoMessage()

func (*AddressRulesByState) Reset

func (m *AddressRulesByState) Reset()

func (*AddressRulesByState) String

func (m *AddressRulesByState) String() string

type AddressRules_BuildingNumber

type AddressRules_BuildingNumber struct {
	BuildingNumber bool `protobuf:"varint,6,opt,name=building_number,json=buildingNumber,oneof"`
}

type AddressRules_City

type AddressRules_City struct {
	City bool `protobuf:"varint,2,opt,name=city,oneof"`
}

type AddressRules_CityPrefix

type AddressRules_CityPrefix struct {
	CityPrefix bool `protobuf:"varint,12,opt,name=city_prefix,json=cityPrefix,oneof"`
}

type AddressRules_CitySuffix

type AddressRules_CitySuffix struct {
	CitySuffix bool `protobuf:"varint,13,opt,name=city_suffix,json=citySuffix,oneof"`
}

type AddressRules_Country

type AddressRules_Country struct {
	Country bool `protobuf:"varint,17,opt,name=country,oneof"`
}

type AddressRules_CountryCode

type AddressRules_CountryCode struct {
	CountryCode bool `protobuf:"varint,18,opt,name=country_code,json=countryCode,oneof"`
}

type AddressRules_Latitude

type AddressRules_Latitude struct {
	Latitude bool `protobuf:"varint,19,opt,name=latitude,oneof"`
}

type AddressRules_Longitude

type AddressRules_Longitude struct {
	Longitude bool `protobuf:"varint,20,opt,name=longitude,oneof"`
}

type AddressRules_Postcode

type AddressRules_Postcode struct {
	Postcode bool `protobuf:"varint,7,opt,name=postcode,oneof"`
}

type AddressRules_PostcodeByState

type AddressRules_PostcodeByState struct {
	PostcodeByState *AddressRulesByState `protobuf:"bytes,8,opt,name=postcode_by_state,json=postcodeByState,oneof"`
}

type AddressRules_SecondaryAddress

type AddressRules_SecondaryAddress struct {
	SecondaryAddress bool `protobuf:"varint,5,opt,name=secondary_address,json=secondaryAddress,oneof"`
}

type AddressRules_State

type AddressRules_State struct {
	State bool `protobuf:"varint,15,opt,name=state,oneof"`
}

type AddressRules_StateAbbr

type AddressRules_StateAbbr struct {
	StateAbbr bool `protobuf:"varint,16,opt,name=state_abbr,json=stateAbbr,oneof"`
}

type AddressRules_StreetAddress

type AddressRules_StreetAddress struct {
	StreetAddress bool `protobuf:"varint,4,opt,name=street_address,json=streetAddress,oneof"`
}

type AddressRules_StreetName

type AddressRules_StreetName struct {
	StreetName bool `protobuf:"varint,3,opt,name=street_name,json=streetName,oneof"`
}

type AddressRules_StreetSuffix

type AddressRules_StreetSuffix struct {
	StreetSuffix bool `protobuf:"varint,14,opt,name=street_suffix,json=streetSuffix,oneof"`
}

type AddressRules_String_

type AddressRules_String_ struct {
	String_ bool `protobuf:"varint,21,opt,name=string,oneof"`
}

type AddressRules_TimeZone

type AddressRules_TimeZone struct {
	TimeZone bool `protobuf:"varint,11,opt,name=time_zone,json=timeZone,oneof"`
}

type AddressRules_ZipCode

type AddressRules_ZipCode struct {
	ZipCode bool `protobuf:"varint,9,opt,name=zip_code,json=zipCode,oneof"`
}

type AddressRules_ZipCodeByState

type AddressRules_ZipCodeByState struct {
	ZipCodeByState *AddressRulesByState `protobuf:"bytes,10,opt,name=zip_code_by_state,json=zipCodeByState,oneof"`
}

type AppRules

type AppRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*AppRules_Name
	//	*AppRules_Version
	//	*AppRules_Author
	//	*AppRules_String_
	Type             isAppRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte          `json:"-"`
}

func (*AppRules) Descriptor

func (*AppRules) Descriptor() ([]byte, []int)

func (*AppRules) GetAuthor

func (m *AppRules) GetAuthor() bool

func (*AppRules) GetName

func (m *AppRules) GetName() bool

func (*AppRules) GetRepeated

func (m *AppRules) GetRepeated() uint32

func (*AppRules) GetString_

func (m *AppRules) GetString_() bool

func (*AppRules) GetType

func (m *AppRules) GetType() isAppRules_Type

func (*AppRules) GetVersion

func (m *AppRules) GetVersion() bool

func (*AppRules) ProtoMessage

func (*AppRules) ProtoMessage()

func (*AppRules) Reset

func (m *AppRules) Reset()

func (*AppRules) String

func (m *AppRules) String() string

func (*AppRules) XXX_OneofFuncs

func (*AppRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type AppRules_Author

type AppRules_Author struct {
	Author bool `protobuf:"varint,4,opt,name=author,oneof"`
}

type AppRules_Name

type AppRules_Name struct {
	Name bool `protobuf:"varint,2,opt,name=name,oneof"`
}

type AppRules_String_

type AppRules_String_ struct {
	String_ bool `protobuf:"varint,5,opt,name=string,oneof"`
}

type AppRules_Version

type AppRules_Version struct {
	Version bool `protobuf:"varint,3,opt,name=version,oneof"`
}

type AvatarRules

type AvatarRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*AvatarRules_Url
	//	*AvatarRules_String_
	Type             isAvatarRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte             `json:"-"`
}

func (*AvatarRules) Descriptor

func (*AvatarRules) Descriptor() ([]byte, []int)

func (*AvatarRules) GetRepeated

func (m *AvatarRules) GetRepeated() uint32

func (*AvatarRules) GetString_

func (m *AvatarRules) GetString_() bool

func (*AvatarRules) GetType

func (m *AvatarRules) GetType() isAvatarRules_Type

func (*AvatarRules) GetUrl

func (m *AvatarRules) GetUrl() *AvatarUrlRules

func (*AvatarRules) ProtoMessage

func (*AvatarRules) ProtoMessage()

func (*AvatarRules) Reset

func (m *AvatarRules) Reset()

func (*AvatarRules) String

func (m *AvatarRules) String() string

func (*AvatarRules) XXX_OneofFuncs

func (*AvatarRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type AvatarRules_String_

type AvatarRules_String_ struct {
	String_ bool `protobuf:"varint,3,opt,name=string,oneof"`
}

type AvatarRules_Url

type AvatarRules_Url struct {
	Url *AvatarUrlRules `protobuf:"bytes,2,opt,name=url,oneof"`
}

type AvatarUrlRules

type AvatarUrlRules struct {
	Format           *string `protobuf:"bytes,1,req,name=format" json:"format,omitempty"`
	Width            *uint64 `protobuf:"varint,2,req,name=width" json:"width,omitempty"`
	Height           *uint64 `protobuf:"varint,3,req,name=height" json:"height,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*AvatarUrlRules) Descriptor

func (*AvatarUrlRules) Descriptor() ([]byte, []int)

func (*AvatarUrlRules) GetFormat

func (m *AvatarUrlRules) GetFormat() string

func (*AvatarUrlRules) GetHeight

func (m *AvatarUrlRules) GetHeight() uint64

func (*AvatarUrlRules) GetWidth

func (m *AvatarUrlRules) GetWidth() uint64

func (*AvatarUrlRules) ProtoMessage

func (*AvatarUrlRules) ProtoMessage()

func (*AvatarUrlRules) Reset

func (m *AvatarUrlRules) Reset()

func (*AvatarUrlRules) String

func (m *AvatarUrlRules) String() string

type BitcoinRules

type BitcoinRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*BitcoinRules_Address
	//	*BitcoinRules_String_
	Type             isBitcoinRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte              `json:"-"`
}

func (*BitcoinRules) Descriptor

func (*BitcoinRules) Descriptor() ([]byte, []int)

func (*BitcoinRules) GetAddress

func (m *BitcoinRules) GetAddress() bool

func (*BitcoinRules) GetRepeated

func (m *BitcoinRules) GetRepeated() uint32

func (*BitcoinRules) GetString_

func (m *BitcoinRules) GetString_() bool

func (*BitcoinRules) GetType

func (m *BitcoinRules) GetType() isBitcoinRules_Type

func (*BitcoinRules) ProtoMessage

func (*BitcoinRules) ProtoMessage()

func (*BitcoinRules) Reset

func (m *BitcoinRules) Reset()

func (*BitcoinRules) String

func (m *BitcoinRules) String() string

func (*BitcoinRules) XXX_OneofFuncs

func (*BitcoinRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type BitcoinRules_Address

type BitcoinRules_Address struct {
	Address bool `protobuf:"varint,2,opt,name=address,oneof"`
}

type BitcoinRules_String_

type BitcoinRules_String_ struct {
	String_ bool `protobuf:"varint,3,opt,name=string,oneof"`
}

type BusinessRules

type BusinessRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*BusinessRules_CreditCardNumber
	//	*BusinessRules_CreditCardExpiryDate
	//	*BusinessRules_CreditCardType
	Type             isBusinessRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte               `json:"-"`
}

func (*BusinessRules) Descriptor

func (*BusinessRules) Descriptor() ([]byte, []int)

func (*BusinessRules) GetCreditCardExpiryDate

func (m *BusinessRules) GetCreditCardExpiryDate() bool

func (*BusinessRules) GetCreditCardNumber

func (m *BusinessRules) GetCreditCardNumber() bool

func (*BusinessRules) GetCreditCardType

func (m *BusinessRules) GetCreditCardType() bool

func (*BusinessRules) GetRepeated

func (m *BusinessRules) GetRepeated() uint32

func (*BusinessRules) GetType

func (m *BusinessRules) GetType() isBusinessRules_Type

func (*BusinessRules) ProtoMessage

func (*BusinessRules) ProtoMessage()

func (*BusinessRules) Reset

func (m *BusinessRules) Reset()

func (*BusinessRules) String

func (m *BusinessRules) String() string

func (*BusinessRules) XXX_OneofFuncs

func (*BusinessRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type BusinessRules_CreditCardExpiryDate

type BusinessRules_CreditCardExpiryDate struct {
	CreditCardExpiryDate bool `protobuf:"varint,3,opt,name=credit_card_expiry_date,json=creditCardExpiryDate,oneof"`
}

type BusinessRules_CreditCardNumber

type BusinessRules_CreditCardNumber struct {
	CreditCardNumber bool `protobuf:"varint,2,opt,name=credit_card_number,json=creditCardNumber,oneof"`
}

type BusinessRules_CreditCardType

type BusinessRules_CreditCardType struct {
	CreditCardType bool `protobuf:"varint,4,opt,name=credit_card_type,json=creditCardType,oneof"`
}

type CodeRules

type CodeRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*CodeRules_Isbn10
	//	*CodeRules_Isbn13
	//	*CodeRules_Ean13
	//	*CodeRules_Ean8
	//	*CodeRules_Rut
	//	*CodeRules_Abn
	Type             isCodeRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte           `json:"-"`
}

func (*CodeRules) Descriptor

func (*CodeRules) Descriptor() ([]byte, []int)

func (*CodeRules) GetAbn

func (m *CodeRules) GetAbn() bool

func (*CodeRules) GetEan13

func (m *CodeRules) GetEan13() bool

func (*CodeRules) GetEan8

func (m *CodeRules) GetEan8() bool

func (*CodeRules) GetIsbn10

func (m *CodeRules) GetIsbn10() bool

func (*CodeRules) GetIsbn13

func (m *CodeRules) GetIsbn13() bool

func (*CodeRules) GetRepeated

func (m *CodeRules) GetRepeated() uint32

func (*CodeRules) GetRut

func (m *CodeRules) GetRut() bool

func (*CodeRules) GetType

func (m *CodeRules) GetType() isCodeRules_Type

func (*CodeRules) ProtoMessage

func (*CodeRules) ProtoMessage()

func (*CodeRules) Reset

func (m *CodeRules) Reset()

func (*CodeRules) String

func (m *CodeRules) String() string

func (*CodeRules) XXX_OneofFuncs

func (*CodeRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type CodeRules_Abn

type CodeRules_Abn struct {
	Abn bool `protobuf:"varint,7,opt,name=abn,oneof"`
}

type CodeRules_Ean13

type CodeRules_Ean13 struct {
	Ean13 bool `protobuf:"varint,4,opt,name=ean13,oneof"`
}

type CodeRules_Ean8

type CodeRules_Ean8 struct {
	Ean8 bool `protobuf:"varint,5,opt,name=ean8,oneof"`
}

type CodeRules_Isbn10

type CodeRules_Isbn10 struct {
	Isbn10 bool `protobuf:"varint,2,opt,name=isbn10,oneof"`
}

type CodeRules_Isbn13

type CodeRules_Isbn13 struct {
	Isbn13 bool `protobuf:"varint,3,opt,name=isbn13,oneof"`
}

type CodeRules_Rut

type CodeRules_Rut struct {
	Rut bool `protobuf:"varint,6,opt,name=rut,oneof"`
}

type CommerceRules

type CommerceRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*CommerceRules_Color
	//	*CommerceRules_Department
	//	*CommerceRules_ProductName
	//	*CommerceRules_Price
	Type             isCommerceRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte               `json:"-"`
}

func (*CommerceRules) Descriptor

func (*CommerceRules) Descriptor() ([]byte, []int)

func (*CommerceRules) GetColor

func (m *CommerceRules) GetColor() bool

func (*CommerceRules) GetDepartment

func (m *CommerceRules) GetDepartment() bool

func (*CommerceRules) GetPrice

func (m *CommerceRules) GetPrice() bool

func (*CommerceRules) GetProductName

func (m *CommerceRules) GetProductName() bool

func (*CommerceRules) GetRepeated

func (m *CommerceRules) GetRepeated() uint32

func (*CommerceRules) GetType

func (m *CommerceRules) GetType() isCommerceRules_Type

func (*CommerceRules) ProtoMessage

func (*CommerceRules) ProtoMessage()

func (*CommerceRules) Reset

func (m *CommerceRules) Reset()

func (*CommerceRules) String

func (m *CommerceRules) String() string

func (*CommerceRules) XXX_OneofFuncs

func (*CommerceRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type CommerceRules_Color

type CommerceRules_Color struct {
	Color bool `protobuf:"varint,2,opt,name=color,oneof"`
}

type CommerceRules_Department

type CommerceRules_Department struct {
	Department bool `protobuf:"varint,3,opt,name=department,oneof"`
}

type CommerceRules_Price

type CommerceRules_Price struct {
	Price bool `protobuf:"varint,5,opt,name=price,oneof"`
}

type CommerceRules_ProductName

type CommerceRules_ProductName struct {
	ProductName bool `protobuf:"varint,4,opt,name=product_name,json=productName,oneof"`
}

type CompanyRules

type CompanyRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*CompanyRules_Name
	//	*CompanyRules_Suffix
	//	*CompanyRules_CatchPhrase
	//	*CompanyRules_Bs
	//	*CompanyRules_Ein
	//	*CompanyRules_DunsNumber
	//	*CompanyRules_Logo
	//	*CompanyRules_String_
	Type             isCompanyRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte              `json:"-"`
}

func (*CompanyRules) Descriptor

func (*CompanyRules) Descriptor() ([]byte, []int)

func (*CompanyRules) GetBs

func (m *CompanyRules) GetBs() bool

func (*CompanyRules) GetCatchPhrase

func (m *CompanyRules) GetCatchPhrase() bool

func (*CompanyRules) GetDunsNumber

func (m *CompanyRules) GetDunsNumber() bool

func (*CompanyRules) GetEin

func (m *CompanyRules) GetEin() bool
func (m *CompanyRules) GetLogo() bool

func (*CompanyRules) GetName

func (m *CompanyRules) GetName() bool

func (*CompanyRules) GetRepeated

func (m *CompanyRules) GetRepeated() uint32

func (*CompanyRules) GetString_

func (m *CompanyRules) GetString_() bool

func (*CompanyRules) GetSuffix

func (m *CompanyRules) GetSuffix() bool

func (*CompanyRules) GetType

func (m *CompanyRules) GetType() isCompanyRules_Type

func (*CompanyRules) ProtoMessage

func (*CompanyRules) ProtoMessage()

func (*CompanyRules) Reset

func (m *CompanyRules) Reset()

func (*CompanyRules) String

func (m *CompanyRules) String() string

func (*CompanyRules) XXX_OneofFuncs

func (*CompanyRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type CompanyRules_Bs

type CompanyRules_Bs struct {
	Bs bool `protobuf:"varint,5,opt,name=bs,oneof"`
}

type CompanyRules_CatchPhrase

type CompanyRules_CatchPhrase struct {
	CatchPhrase bool `protobuf:"varint,4,opt,name=catch_phrase,json=catchPhrase,oneof"`
}

type CompanyRules_DunsNumber

type CompanyRules_DunsNumber struct {
	DunsNumber bool `protobuf:"varint,7,opt,name=duns_number,json=dunsNumber,oneof"`
}

type CompanyRules_Ein

type CompanyRules_Ein struct {
	Ein bool `protobuf:"varint,6,opt,name=ein,oneof"`
}
type CompanyRules_Logo struct {
}

type CompanyRules_Name

type CompanyRules_Name struct {
	Name bool `protobuf:"varint,2,opt,name=name,oneof"`
}

type CompanyRules_String_

type CompanyRules_String_ struct {
	String_ bool `protobuf:"varint,9,opt,name=string,oneof"`
}

type CompanyRules_Suffix

type CompanyRules_Suffix struct {
	Suffix bool `protobuf:"varint,3,opt,name=suffix,oneof"`
}

type DateRules

type DateRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	Format   *string `protobuf:"bytes,2,opt,name=format" json:"format,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*DateRules_Between
	//	*DateRules_Forward
	//	*DateRules_Backward
	//	*DateRules_Birthday
	//	*DateRules_Now
	Type             isDateRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte           `json:"-"`
}

func (*DateRules) Descriptor

func (*DateRules) Descriptor() ([]byte, []int)

func (*DateRules) GetBackward

func (m *DateRules) GetBackward() string

func (*DateRules) GetBetween

func (m *DateRules) GetBetween() *DateRulesBetween

func (*DateRules) GetBirthday

func (m *DateRules) GetBirthday() *DateRulesBirthday

func (*DateRules) GetFormat

func (m *DateRules) GetFormat() string

func (*DateRules) GetForward

func (m *DateRules) GetForward() string

func (*DateRules) GetNow added in v0.0.12

func (m *DateRules) GetNow() bool

func (*DateRules) GetRepeated

func (m *DateRules) GetRepeated() uint32

func (*DateRules) GetType

func (m *DateRules) GetType() isDateRules_Type

func (*DateRules) ProtoMessage

func (*DateRules) ProtoMessage()

func (*DateRules) Reset

func (m *DateRules) Reset()

func (*DateRules) String

func (m *DateRules) String() string

func (*DateRules) XXX_OneofFuncs

func (*DateRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type DateRulesBetween

type DateRulesBetween struct {
	From             *string `protobuf:"bytes,1,req,name=from" json:"from,omitempty"`
	To               *string `protobuf:"bytes,2,req,name=to" json:"to,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*DateRulesBetween) Descriptor

func (*DateRulesBetween) Descriptor() ([]byte, []int)

func (*DateRulesBetween) GetFrom

func (m *DateRulesBetween) GetFrom() string

func (*DateRulesBetween) GetTo

func (m *DateRulesBetween) GetTo() string

func (*DateRulesBetween) ProtoMessage

func (*DateRulesBetween) ProtoMessage()

func (*DateRulesBetween) Reset

func (m *DateRulesBetween) Reset()

func (*DateRulesBetween) String

func (m *DateRulesBetween) String() string

type DateRulesBirthday

type DateRulesBirthday struct {
	Min              *int32 `protobuf:"varint,1,req,name=min" json:"min,omitempty"`
	Max              *int32 `protobuf:"varint,2,req,name=max" json:"max,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*DateRulesBirthday) Descriptor

func (*DateRulesBirthday) Descriptor() ([]byte, []int)

func (*DateRulesBirthday) GetMax

func (m *DateRulesBirthday) GetMax() int32

func (*DateRulesBirthday) GetMin

func (m *DateRulesBirthday) GetMin() int32

func (*DateRulesBirthday) ProtoMessage

func (*DateRulesBirthday) ProtoMessage()

func (*DateRulesBirthday) Reset

func (m *DateRulesBirthday) Reset()

func (*DateRulesBirthday) String

func (m *DateRulesBirthday) String() string

type DateRules_Backward

type DateRules_Backward struct {
	Backward string `protobuf:"bytes,5,opt,name=backward,oneof"`
}

type DateRules_Between

type DateRules_Between struct {
	Between *DateRulesBetween `protobuf:"bytes,3,opt,name=between,oneof"`
}

type DateRules_Birthday

type DateRules_Birthday struct {
	Birthday *DateRulesBirthday `protobuf:"bytes,6,opt,name=birthday,oneof"`
}

type DateRules_Forward

type DateRules_Forward struct {
	Forward string `protobuf:"bytes,4,opt,name=forward,oneof"`
}

type DateRules_Now added in v0.0.12

type DateRules_Now struct {
	Now bool `protobuf:"varint,7,opt,name=now,oneof"`
}

type EnumRules

type EnumRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*EnumRules_Random
	//	*EnumRules_First
	//	*EnumRules_Last
	//	*EnumRules_Index
	//	*EnumRules_Value
	//	*EnumRules_RandomNoEmpty
	Type             isEnumRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte           `json:"-"`
}

func (*EnumRules) Descriptor

func (*EnumRules) Descriptor() ([]byte, []int)

func (*EnumRules) GetFirst

func (m *EnumRules) GetFirst() bool

func (*EnumRules) GetIndex

func (m *EnumRules) GetIndex() uint32

func (*EnumRules) GetLast

func (m *EnumRules) GetLast() bool

func (*EnumRules) GetRandom

func (m *EnumRules) GetRandom() bool

func (*EnumRules) GetRandomNoEmpty

func (m *EnumRules) GetRandomNoEmpty() bool

func (*EnumRules) GetRepeated

func (m *EnumRules) GetRepeated() uint32

func (*EnumRules) GetType

func (m *EnumRules) GetType() isEnumRules_Type

func (*EnumRules) GetValue

func (m *EnumRules) GetValue() uint32

func (*EnumRules) ProtoMessage

func (*EnumRules) ProtoMessage()

func (*EnumRules) Reset

func (m *EnumRules) Reset()

func (*EnumRules) String

func (m *EnumRules) String() string

func (*EnumRules) XXX_OneofFuncs

func (*EnumRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type EnumRules_First

type EnumRules_First struct {
	First bool `protobuf:"varint,3,opt,name=first,oneof"`
}

type EnumRules_Index

type EnumRules_Index struct {
	Index uint32 `protobuf:"varint,5,opt,name=index,oneof"`
}

type EnumRules_Last

type EnumRules_Last struct {
	Last bool `protobuf:"varint,4,opt,name=last,oneof"`
}

type EnumRules_Random

type EnumRules_Random struct {
	Random bool `protobuf:"varint,2,opt,name=random,oneof"`
}

type EnumRules_RandomNoEmpty

type EnumRules_RandomNoEmpty struct {
	RandomNoEmpty bool `protobuf:"varint,7,opt,name=random_no_empty,json=randomNoEmpty,oneof"`
}

type EnumRules_Value

type EnumRules_Value struct {
	Value uint32 `protobuf:"varint,6,opt,name=value,oneof"`
}

type FieldFakerRules

type FieldFakerRules struct {
	// Types that are valid to be assigned to Type:
	//	*FieldFakerRules_Value
	//	*FieldFakerRules_Uuid
	//	*FieldFakerRules_Enum
	//	*FieldFakerRules_Address
	//	*FieldFakerRules_App
	//	*FieldFakerRules_Avatar
	//	*FieldFakerRules_Bitcoin
	//	*FieldFakerRules_Business
	//	*FieldFakerRules_Code
	//	*FieldFakerRules_Commerce
	//	*FieldFakerRules_Company
	//	*FieldFakerRules_Date
	//	*FieldFakerRules_Finance
	//	*FieldFakerRules_Hacker
	//	*FieldFakerRules_Internet
	//	*FieldFakerRules_Lorem
	//	*FieldFakerRules_Name
	//	*FieldFakerRules_Number
	//	*FieldFakerRules_PhoneNumber
	//	*FieldFakerRules_Team
	//	*FieldFakerRules_Time
	//	*FieldFakerRules_Repeated
	//	*FieldFakerRules_Skip
	Type             isFieldFakerRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte                 `json:"-"`
}

func (*FieldFakerRules) Descriptor

func (*FieldFakerRules) Descriptor() ([]byte, []int)

func (*FieldFakerRules) GetAddress

func (m *FieldFakerRules) GetAddress() *AddressRules

func (*FieldFakerRules) GetApp

func (m *FieldFakerRules) GetApp() *AppRules

func (*FieldFakerRules) GetAvatar

func (m *FieldFakerRules) GetAvatar() *AvatarRules

func (*FieldFakerRules) GetBitcoin

func (m *FieldFakerRules) GetBitcoin() *BitcoinRules

func (*FieldFakerRules) GetBusiness

func (m *FieldFakerRules) GetBusiness() *BusinessRules

func (*FieldFakerRules) GetCode

func (m *FieldFakerRules) GetCode() *CodeRules

func (*FieldFakerRules) GetCommerce

func (m *FieldFakerRules) GetCommerce() *CommerceRules

func (*FieldFakerRules) GetCompany

func (m *FieldFakerRules) GetCompany() *CompanyRules

func (*FieldFakerRules) GetDate

func (m *FieldFakerRules) GetDate() *DateRules

func (*FieldFakerRules) GetEnum

func (m *FieldFakerRules) GetEnum() *EnumRules

func (*FieldFakerRules) GetFinance

func (m *FieldFakerRules) GetFinance() *FinanceRules

func (*FieldFakerRules) GetHacker

func (m *FieldFakerRules) GetHacker() *HackerRules

func (*FieldFakerRules) GetInternet

func (m *FieldFakerRules) GetInternet() *InternetRules

func (*FieldFakerRules) GetLorem

func (m *FieldFakerRules) GetLorem() *LoremRules

func (*FieldFakerRules) GetName

func (m *FieldFakerRules) GetName() *NameRules

func (*FieldFakerRules) GetNumber

func (m *FieldFakerRules) GetNumber() *NumberRules

func (*FieldFakerRules) GetPhoneNumber

func (m *FieldFakerRules) GetPhoneNumber() *PhoneNumberRules

func (*FieldFakerRules) GetRepeated

func (m *FieldFakerRules) GetRepeated() uint32

func (*FieldFakerRules) GetSkip

func (m *FieldFakerRules) GetSkip() bool

func (*FieldFakerRules) GetTeam

func (m *FieldFakerRules) GetTeam() *TeamRules

func (*FieldFakerRules) GetTime

func (m *FieldFakerRules) GetTime() *TimeRules

func (*FieldFakerRules) GetType

func (m *FieldFakerRules) GetType() isFieldFakerRules_Type

func (*FieldFakerRules) GetUuid

func (m *FieldFakerRules) GetUuid() *UuidRules

func (*FieldFakerRules) GetValue

func (m *FieldFakerRules) GetValue() *ValueRules

func (*FieldFakerRules) ProtoMessage

func (*FieldFakerRules) ProtoMessage()

func (*FieldFakerRules) Reset

func (m *FieldFakerRules) Reset()

func (*FieldFakerRules) String

func (m *FieldFakerRules) String() string

func (*FieldFakerRules) XXX_OneofFuncs

func (*FieldFakerRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type FieldFakerRules_Address

type FieldFakerRules_Address struct {
	Address *AddressRules `protobuf:"bytes,4,opt,name=address,oneof"`
}

type FieldFakerRules_App

type FieldFakerRules_App struct {
	App *AppRules `protobuf:"bytes,5,opt,name=app,oneof"`
}

type FieldFakerRules_Avatar

type FieldFakerRules_Avatar struct {
	Avatar *AvatarRules `protobuf:"bytes,6,opt,name=avatar,oneof"`
}

type FieldFakerRules_Bitcoin

type FieldFakerRules_Bitcoin struct {
	Bitcoin *BitcoinRules `protobuf:"bytes,7,opt,name=bitcoin,oneof"`
}

type FieldFakerRules_Business

type FieldFakerRules_Business struct {
	Business *BusinessRules `protobuf:"bytes,8,opt,name=business,oneof"`
}

type FieldFakerRules_Code

type FieldFakerRules_Code struct {
	Code *CodeRules `protobuf:"bytes,9,opt,name=code,oneof"`
}

type FieldFakerRules_Commerce

type FieldFakerRules_Commerce struct {
	Commerce *CommerceRules `protobuf:"bytes,10,opt,name=commerce,oneof"`
}

type FieldFakerRules_Company

type FieldFakerRules_Company struct {
	Company *CompanyRules `protobuf:"bytes,11,opt,name=company,oneof"`
}

type FieldFakerRules_Date

type FieldFakerRules_Date struct {
	Date *DateRules `protobuf:"bytes,12,opt,name=date,oneof"`
}

type FieldFakerRules_Enum

type FieldFakerRules_Enum struct {
	Enum *EnumRules `protobuf:"bytes,3,opt,name=enum,oneof"`
}

type FieldFakerRules_Finance

type FieldFakerRules_Finance struct {
	Finance *FinanceRules `protobuf:"bytes,13,opt,name=finance,oneof"`
}

type FieldFakerRules_Hacker

type FieldFakerRules_Hacker struct {
	Hacker *HackerRules `protobuf:"bytes,14,opt,name=hacker,oneof"`
}

type FieldFakerRules_Internet

type FieldFakerRules_Internet struct {
	Internet *InternetRules `protobuf:"bytes,15,opt,name=internet,oneof"`
}

type FieldFakerRules_Lorem

type FieldFakerRules_Lorem struct {
	Lorem *LoremRules `protobuf:"bytes,16,opt,name=lorem,oneof"`
}

type FieldFakerRules_Name

type FieldFakerRules_Name struct {
	Name *NameRules `protobuf:"bytes,17,opt,name=name,oneof"`
}

type FieldFakerRules_Number

type FieldFakerRules_Number struct {
	Number *NumberRules `protobuf:"bytes,18,opt,name=number,oneof"`
}

type FieldFakerRules_PhoneNumber

type FieldFakerRules_PhoneNumber struct {
	PhoneNumber *PhoneNumberRules `protobuf:"bytes,19,opt,name=phone_number,json=phoneNumber,oneof"`
}

type FieldFakerRules_Repeated

type FieldFakerRules_Repeated struct {
	Repeated uint32 `protobuf:"varint,22,opt,name=repeated,oneof"`
}

type FieldFakerRules_Skip

type FieldFakerRules_Skip struct {
	Skip bool `protobuf:"varint,23,opt,name=skip,oneof"`
}

type FieldFakerRules_Team

type FieldFakerRules_Team struct {
	Team *TeamRules `protobuf:"bytes,20,opt,name=team,oneof"`
}

type FieldFakerRules_Time

type FieldFakerRules_Time struct {
	Time *TimeRules `protobuf:"bytes,21,opt,name=time,oneof"`
}

type FieldFakerRules_Uuid

type FieldFakerRules_Uuid struct {
	Uuid *UuidRules `protobuf:"bytes,2,opt,name=uuid,oneof"`
}

type FieldFakerRules_Value

type FieldFakerRules_Value struct {
	Value *ValueRules `protobuf:"bytes,1,opt,name=value,oneof"`
}

type FinanceRules

type FinanceRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*FinanceRules_CreditCard
	Type             isFinanceRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte              `json:"-"`
}

func (*FinanceRules) Descriptor

func (*FinanceRules) Descriptor() ([]byte, []int)

func (*FinanceRules) GetCreditCard

func (m *FinanceRules) GetCreditCard() *FinanceRulesCreditCard

func (*FinanceRules) GetRepeated

func (m *FinanceRules) GetRepeated() uint32

func (*FinanceRules) GetType

func (m *FinanceRules) GetType() isFinanceRules_Type

func (*FinanceRules) ProtoMessage

func (*FinanceRules) ProtoMessage()

func (*FinanceRules) Reset

func (m *FinanceRules) Reset()

func (*FinanceRules) String

func (m *FinanceRules) String() string

func (*FinanceRules) XXX_OneofFuncs

func (*FinanceRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type FinanceRulesCreditCard

type FinanceRulesCreditCard struct {
	Type             *string `protobuf:"bytes,1,req,name=type" json:"type,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*FinanceRulesCreditCard) Descriptor

func (*FinanceRulesCreditCard) Descriptor() ([]byte, []int)

func (*FinanceRulesCreditCard) GetType

func (m *FinanceRulesCreditCard) GetType() string

func (*FinanceRulesCreditCard) ProtoMessage

func (*FinanceRulesCreditCard) ProtoMessage()

func (*FinanceRulesCreditCard) Reset

func (m *FinanceRulesCreditCard) Reset()

func (*FinanceRulesCreditCard) String

func (m *FinanceRulesCreditCard) String() string

type FinanceRules_CreditCard

type FinanceRules_CreditCard struct {
	CreditCard *FinanceRulesCreditCard `protobuf:"bytes,2,opt,name=credit_card,json=creditCard,oneof"`
}

type HackerRules

type HackerRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*HackerRules_SaySomethingSmart
	//	*HackerRules_Abbreviation
	//	*HackerRules_Adjective
	//	*HackerRules_Noun
	//	*HackerRules_Verb
	//	*HackerRules_IngVerb
	//	*HackerRules_Phrases
	Type             isHackerRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte             `json:"-"`
}

func (*HackerRules) Descriptor

func (*HackerRules) Descriptor() ([]byte, []int)

func (*HackerRules) GetAbbreviation

func (m *HackerRules) GetAbbreviation() bool

func (*HackerRules) GetAdjective

func (m *HackerRules) GetAdjective() bool

func (*HackerRules) GetIngVerb

func (m *HackerRules) GetIngVerb() bool

func (*HackerRules) GetNoun

func (m *HackerRules) GetNoun() bool

func (*HackerRules) GetPhrases

func (m *HackerRules) GetPhrases() bool

func (*HackerRules) GetRepeated

func (m *HackerRules) GetRepeated() uint32

func (*HackerRules) GetSaySomethingSmart

func (m *HackerRules) GetSaySomethingSmart() bool

func (*HackerRules) GetType

func (m *HackerRules) GetType() isHackerRules_Type

func (*HackerRules) GetVerb

func (m *HackerRules) GetVerb() bool

func (*HackerRules) ProtoMessage

func (*HackerRules) ProtoMessage()

func (*HackerRules) Reset

func (m *HackerRules) Reset()

func (*HackerRules) String

func (m *HackerRules) String() string

func (*HackerRules) XXX_OneofFuncs

func (*HackerRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type HackerRules_Abbreviation

type HackerRules_Abbreviation struct {
	Abbreviation bool `protobuf:"varint,3,opt,name=abbreviation,oneof"`
}

type HackerRules_Adjective

type HackerRules_Adjective struct {
	Adjective bool `protobuf:"varint,4,opt,name=adjective,oneof"`
}

type HackerRules_IngVerb

type HackerRules_IngVerb struct {
	IngVerb bool `protobuf:"varint,7,opt,name=ing_verb,json=ingVerb,oneof"`
}

type HackerRules_Noun

type HackerRules_Noun struct {
	Noun bool `protobuf:"varint,5,opt,name=noun,oneof"`
}

type HackerRules_Phrases

type HackerRules_Phrases struct {
	Phrases bool `protobuf:"varint,8,opt,name=phrases,oneof"`
}

type HackerRules_SaySomethingSmart

type HackerRules_SaySomethingSmart struct {
	SaySomethingSmart bool `protobuf:"varint,2,opt,name=say_something_smart,json=saySomethingSmart,oneof"`
}

type HackerRules_Verb

type HackerRules_Verb struct {
	Verb bool `protobuf:"varint,6,opt,name=verb,oneof"`
}

type InternetRules

type InternetRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*InternetRules_Email
	//	*InternetRules_FreeEmail
	//	*InternetRules_SafeEmail
	//	*InternetRules_UserName
	//	*InternetRules_Password
	//	*InternetRules_DomainName
	//	*InternetRules_DomainWord
	//	*InternetRules_DomainSuffix
	//	*InternetRules_MacAddress
	//	*InternetRules_Ipv4Address
	//	*InternetRules_Ipv6Address
	//	*InternetRules_Url
	//	*InternetRules_Slug
	Type             isInternetRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte               `json:"-"`
}

func (*InternetRules) Descriptor

func (*InternetRules) Descriptor() ([]byte, []int)

func (*InternetRules) GetDomainName

func (m *InternetRules) GetDomainName() bool

func (*InternetRules) GetDomainSuffix

func (m *InternetRules) GetDomainSuffix() bool

func (*InternetRules) GetDomainWord

func (m *InternetRules) GetDomainWord() bool

func (*InternetRules) GetEmail

func (m *InternetRules) GetEmail() bool

func (*InternetRules) GetFreeEmail

func (m *InternetRules) GetFreeEmail() bool

func (*InternetRules) GetIpv4Address

func (m *InternetRules) GetIpv4Address() bool

func (*InternetRules) GetIpv6Address

func (m *InternetRules) GetIpv6Address() bool

func (*InternetRules) GetMacAddress

func (m *InternetRules) GetMacAddress() bool

func (*InternetRules) GetPassword

func (m *InternetRules) GetPassword() *InternetRulesPassword

func (*InternetRules) GetRepeated

func (m *InternetRules) GetRepeated() uint32

func (*InternetRules) GetSafeEmail

func (m *InternetRules) GetSafeEmail() bool

func (*InternetRules) GetSlug

func (m *InternetRules) GetSlug() bool

func (*InternetRules) GetType

func (m *InternetRules) GetType() isInternetRules_Type

func (*InternetRules) GetUrl

func (m *InternetRules) GetUrl() bool

func (*InternetRules) GetUserName

func (m *InternetRules) GetUserName() bool

func (*InternetRules) ProtoMessage

func (*InternetRules) ProtoMessage()

func (*InternetRules) Reset

func (m *InternetRules) Reset()

func (*InternetRules) String

func (m *InternetRules) String() string

func (*InternetRules) XXX_OneofFuncs

func (*InternetRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type InternetRulesPassword

type InternetRulesPassword struct {
	Min              *int32 `protobuf:"varint,1,req,name=min" json:"min,omitempty"`
	Max              *int32 `protobuf:"varint,2,req,name=max" json:"max,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*InternetRulesPassword) Descriptor

func (*InternetRulesPassword) Descriptor() ([]byte, []int)

func (*InternetRulesPassword) GetMax

func (m *InternetRulesPassword) GetMax() int32

func (*InternetRulesPassword) GetMin

func (m *InternetRulesPassword) GetMin() int32

func (*InternetRulesPassword) ProtoMessage

func (*InternetRulesPassword) ProtoMessage()

func (*InternetRulesPassword) Reset

func (m *InternetRulesPassword) Reset()

func (*InternetRulesPassword) String

func (m *InternetRulesPassword) String() string

type InternetRules_DomainName

type InternetRules_DomainName struct {
	DomainName bool `protobuf:"varint,7,opt,name=domain_name,json=domainName,oneof"`
}

type InternetRules_DomainSuffix

type InternetRules_DomainSuffix struct {
	DomainSuffix bool `protobuf:"varint,9,opt,name=domain_suffix,json=domainSuffix,oneof"`
}

type InternetRules_DomainWord

type InternetRules_DomainWord struct {
	DomainWord bool `protobuf:"varint,8,opt,name=domain_word,json=domainWord,oneof"`
}

type InternetRules_Email

type InternetRules_Email struct {
	Email bool `protobuf:"varint,2,opt,name=email,oneof"`
}

type InternetRules_FreeEmail

type InternetRules_FreeEmail struct {
	FreeEmail bool `protobuf:"varint,3,opt,name=free_email,json=freeEmail,oneof"`
}

type InternetRules_Ipv4Address

type InternetRules_Ipv4Address struct {
	Ipv4Address bool `protobuf:"varint,11,opt,name=ipv4_address,json=ipv4Address,oneof"`
}

type InternetRules_Ipv6Address

type InternetRules_Ipv6Address struct {
	Ipv6Address bool `protobuf:"varint,12,opt,name=ipv6_address,json=ipv6Address,oneof"`
}

type InternetRules_MacAddress

type InternetRules_MacAddress struct {
	MacAddress bool `protobuf:"varint,10,opt,name=mac_address,json=macAddress,oneof"`
}

type InternetRules_Password

type InternetRules_Password struct {
	Password *InternetRulesPassword `protobuf:"bytes,6,opt,name=password,oneof"`
}

type InternetRules_SafeEmail

type InternetRules_SafeEmail struct {
	SafeEmail bool `protobuf:"varint,4,opt,name=safe_email,json=safeEmail,oneof"`
}

type InternetRules_Slug

type InternetRules_Slug struct {
	Slug bool `protobuf:"varint,14,opt,name=slug,oneof"`
}

type InternetRules_Url

type InternetRules_Url struct {
	Url bool `protobuf:"varint,13,opt,name=url,oneof"`
}

type InternetRules_UserName

type InternetRules_UserName struct {
	UserName bool `protobuf:"varint,5,opt,name=user_name,json=userName,oneof"`
}

type LoremRules

type LoremRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*LoremRules_Character
	//	*LoremRules_Characters
	//	*LoremRules_Word
	//	*LoremRules_Words
	//	*LoremRules_Sentence
	//	*LoremRules_Sentences
	//	*LoremRules_Paragraph
	//	*LoremRules_Paragraphs
	//	*LoremRules_String_
	Type             isLoremRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte            `json:"-"`
}

func (*LoremRules) Descriptor

func (*LoremRules) Descriptor() ([]byte, []int)

func (*LoremRules) GetCharacter

func (m *LoremRules) GetCharacter() bool

func (*LoremRules) GetCharacters

func (m *LoremRules) GetCharacters() *LoremRulesNum

func (*LoremRules) GetParagraph

func (m *LoremRules) GetParagraph() *LoremRulesParagraph

func (*LoremRules) GetParagraphs

func (m *LoremRules) GetParagraphs() *LoremRulesNum

func (*LoremRules) GetRepeated

func (m *LoremRules) GetRepeated() uint32

func (*LoremRules) GetSentence

func (m *LoremRules) GetSentence() *LoremRulesSentence

func (*LoremRules) GetSentences

func (m *LoremRules) GetSentences() *LoremRulesNum

func (*LoremRules) GetString_

func (m *LoremRules) GetString_() bool

func (*LoremRules) GetType

func (m *LoremRules) GetType() isLoremRules_Type

func (*LoremRules) GetWord

func (m *LoremRules) GetWord() bool

func (*LoremRules) GetWords

func (m *LoremRules) GetWords() *LoremRulesNum

func (*LoremRules) ProtoMessage

func (*LoremRules) ProtoMessage()

func (*LoremRules) Reset

func (m *LoremRules) Reset()

func (*LoremRules) String

func (m *LoremRules) String() string

func (*LoremRules) XXX_OneofFuncs

func (*LoremRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type LoremRulesNum

type LoremRulesNum struct {
	Num              *uint32 `protobuf:"varint,1,req,name=num" json:"num,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*LoremRulesNum) Descriptor

func (*LoremRulesNum) Descriptor() ([]byte, []int)

func (*LoremRulesNum) GetNum

func (m *LoremRulesNum) GetNum() uint32

func (*LoremRulesNum) ProtoMessage

func (*LoremRulesNum) ProtoMessage()

func (*LoremRulesNum) Reset

func (m *LoremRulesNum) Reset()

func (*LoremRulesNum) String

func (m *LoremRulesNum) String() string

type LoremRulesParagraph

type LoremRulesParagraph struct {
	Sentence         *uint32 `protobuf:"varint,1,req,name=sentence" json:"sentence,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*LoremRulesParagraph) Descriptor

func (*LoremRulesParagraph) Descriptor() ([]byte, []int)

func (*LoremRulesParagraph) GetSentence

func (m *LoremRulesParagraph) GetSentence() uint32

func (*LoremRulesParagraph) ProtoMessage

func (*LoremRulesParagraph) ProtoMessage()

func (*LoremRulesParagraph) Reset

func (m *LoremRulesParagraph) Reset()

func (*LoremRulesParagraph) String

func (m *LoremRulesParagraph) String() string

type LoremRulesSentence

type LoremRulesSentence struct {
	Words            *uint32 `protobuf:"varint,1,req,name=words" json:"words,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*LoremRulesSentence) Descriptor

func (*LoremRulesSentence) Descriptor() ([]byte, []int)

func (*LoremRulesSentence) GetWords

func (m *LoremRulesSentence) GetWords() uint32

func (*LoremRulesSentence) ProtoMessage

func (*LoremRulesSentence) ProtoMessage()

func (*LoremRulesSentence) Reset

func (m *LoremRulesSentence) Reset()

func (*LoremRulesSentence) String

func (m *LoremRulesSentence) String() string

type LoremRules_Character

type LoremRules_Character struct {
	Character bool `protobuf:"varint,2,opt,name=character,oneof"`
}

type LoremRules_Characters

type LoremRules_Characters struct {
	Characters *LoremRulesNum `protobuf:"bytes,3,opt,name=characters,oneof"`
}

type LoremRules_Paragraph

type LoremRules_Paragraph struct {
	Paragraph *LoremRulesParagraph `protobuf:"bytes,8,opt,name=paragraph,oneof"`
}

type LoremRules_Paragraphs

type LoremRules_Paragraphs struct {
	Paragraphs *LoremRulesNum `protobuf:"bytes,9,opt,name=paragraphs,oneof"`
}

type LoremRules_Sentence

type LoremRules_Sentence struct {
	Sentence *LoremRulesSentence `protobuf:"bytes,6,opt,name=sentence,oneof"`
}

type LoremRules_Sentences

type LoremRules_Sentences struct {
	Sentences *LoremRulesNum `protobuf:"bytes,7,opt,name=sentences,oneof"`
}

type LoremRules_String_

type LoremRules_String_ struct {
	String_ bool `protobuf:"varint,10,opt,name=string,oneof"`
}

type LoremRules_Word

type LoremRules_Word struct {
	Word bool `protobuf:"varint,4,opt,name=word,oneof"`
}

type LoremRules_Words

type LoremRules_Words struct {
	Words *LoremRulesNum `protobuf:"bytes,5,opt,name=words,oneof"`
}

type NameRules

type NameRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*NameRules_Name
	//	*NameRules_FirstName
	//	*NameRules_LastName
	//	*NameRules_Prefix
	//	*NameRules_Suffix
	//	*NameRules_Title
	//	*NameRules_String_
	Type             isNameRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte           `json:"-"`
}

func (*NameRules) Descriptor

func (*NameRules) Descriptor() ([]byte, []int)

func (*NameRules) GetFirstName

func (m *NameRules) GetFirstName() bool

func (*NameRules) GetLastName

func (m *NameRules) GetLastName() bool

func (*NameRules) GetName

func (m *NameRules) GetName() bool

func (*NameRules) GetPrefix

func (m *NameRules) GetPrefix() bool

func (*NameRules) GetRepeated

func (m *NameRules) GetRepeated() uint32

func (*NameRules) GetString_

func (m *NameRules) GetString_() bool

func (*NameRules) GetSuffix

func (m *NameRules) GetSuffix() bool

func (*NameRules) GetTitle

func (m *NameRules) GetTitle() bool

func (*NameRules) GetType

func (m *NameRules) GetType() isNameRules_Type

func (*NameRules) ProtoMessage

func (*NameRules) ProtoMessage()

func (*NameRules) Reset

func (m *NameRules) Reset()

func (*NameRules) String

func (m *NameRules) String() string

func (*NameRules) XXX_OneofFuncs

func (*NameRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type NameRules_FirstName

type NameRules_FirstName struct {
	FirstName bool `protobuf:"varint,3,opt,name=first_name,json=firstName,oneof"`
}

type NameRules_LastName

type NameRules_LastName struct {
	LastName bool `protobuf:"varint,4,opt,name=last_name,json=lastName,oneof"`
}

type NameRules_Name

type NameRules_Name struct {
	Name bool `protobuf:"varint,2,opt,name=name,oneof"`
}

type NameRules_Prefix

type NameRules_Prefix struct {
	Prefix bool `protobuf:"varint,5,opt,name=prefix,oneof"`
}

type NameRules_String_

type NameRules_String_ struct {
	String_ bool `protobuf:"varint,8,opt,name=string,oneof"`
}

type NameRules_Suffix

type NameRules_Suffix struct {
	Suffix bool `protobuf:"varint,6,opt,name=suffix,oneof"`
}

type NameRules_Title

type NameRules_Title struct {
	Title bool `protobuf:"varint,7,opt,name=title,oneof"`
}

type NumberRules

type NumberRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*NumberRules_Number
	//	*NumberRules_Decimal
	//	*NumberRules_Digit
	//	*NumberRules_Hexadecimal
	//	*NumberRules_Between
	//	*NumberRules_Positive
	//	*NumberRules_Negative
	Type             isNumberRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte             `json:"-"`
}

func (*NumberRules) Descriptor

func (*NumberRules) Descriptor() ([]byte, []int)

func (*NumberRules) GetBetween

func (m *NumberRules) GetBetween() *NumberRulesBetween

func (*NumberRules) GetDecimal

func (m *NumberRules) GetDecimal() *NumberRulesDecimal

func (*NumberRules) GetDigit

func (m *NumberRules) GetDigit() bool

func (*NumberRules) GetHexadecimal

func (m *NumberRules) GetHexadecimal() *NumberRulesDigit

func (*NumberRules) GetNegative

func (m *NumberRules) GetNegative() *NumberRulesNegative

func (*NumberRules) GetNumber

func (m *NumberRules) GetNumber() *NumberRulesDigit

func (*NumberRules) GetPositive

func (m *NumberRules) GetPositive() *NumberRulesPositive

func (*NumberRules) GetRepeated

func (m *NumberRules) GetRepeated() uint32

func (*NumberRules) GetType

func (m *NumberRules) GetType() isNumberRules_Type

func (*NumberRules) ProtoMessage

func (*NumberRules) ProtoMessage()

func (*NumberRules) Reset

func (m *NumberRules) Reset()

func (*NumberRules) String

func (m *NumberRules) String() string

func (*NumberRules) XXX_OneofFuncs

func (*NumberRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type NumberRulesBetween

type NumberRulesBetween struct {
	Min              *uint32 `protobuf:"varint,1,req,name=min" json:"min,omitempty"`
	Max              *uint32 `protobuf:"varint,2,req,name=max" json:"max,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*NumberRulesBetween) Descriptor

func (*NumberRulesBetween) Descriptor() ([]byte, []int)

func (*NumberRulesBetween) GetMax

func (m *NumberRulesBetween) GetMax() uint32

func (*NumberRulesBetween) GetMin

func (m *NumberRulesBetween) GetMin() uint32

func (*NumberRulesBetween) ProtoMessage

func (*NumberRulesBetween) ProtoMessage()

func (*NumberRulesBetween) Reset

func (m *NumberRulesBetween) Reset()

func (*NumberRulesBetween) String

func (m *NumberRulesBetween) String() string

type NumberRulesCount

type NumberRulesCount struct {
	C                *int32 `protobuf:"varint,1,req,name=c" json:"c,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*NumberRulesCount) Descriptor

func (*NumberRulesCount) Descriptor() ([]byte, []int)

func (*NumberRulesCount) GetC

func (m *NumberRulesCount) GetC() int32

func (*NumberRulesCount) ProtoMessage

func (*NumberRulesCount) ProtoMessage()

func (*NumberRulesCount) Reset

func (m *NumberRulesCount) Reset()

func (*NumberRulesCount) String

func (m *NumberRulesCount) String() string

type NumberRulesCount2

type NumberRulesCount2 struct {
	C1               *int32 `protobuf:"varint,1,req,name=c1" json:"c1,omitempty"`
	C2               *int32 `protobuf:"varint,2,req,name=c2" json:"c2,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*NumberRulesCount2) Descriptor

func (*NumberRulesCount2) Descriptor() ([]byte, []int)

func (*NumberRulesCount2) GetC1

func (m *NumberRulesCount2) GetC1() int32

func (*NumberRulesCount2) GetC2

func (m *NumberRulesCount2) GetC2() int32

func (*NumberRulesCount2) ProtoMessage

func (*NumberRulesCount2) ProtoMessage()

func (*NumberRulesCount2) Reset

func (m *NumberRulesCount2) Reset()

func (*NumberRulesCount2) String

func (m *NumberRulesCount2) String() string

type NumberRulesDecimal

type NumberRulesDecimal struct {
	Precision        *uint32 `protobuf:"varint,1,req,name=precision" json:"precision,omitempty"`
	Scale            *uint32 `protobuf:"varint,2,req,name=scale" json:"scale,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*NumberRulesDecimal) Descriptor

func (*NumberRulesDecimal) Descriptor() ([]byte, []int)

func (*NumberRulesDecimal) GetPrecision

func (m *NumberRulesDecimal) GetPrecision() uint32

func (*NumberRulesDecimal) GetScale

func (m *NumberRulesDecimal) GetScale() uint32

func (*NumberRulesDecimal) ProtoMessage

func (*NumberRulesDecimal) ProtoMessage()

func (*NumberRulesDecimal) Reset

func (m *NumberRulesDecimal) Reset()

func (*NumberRulesDecimal) String

func (m *NumberRulesDecimal) String() string

type NumberRulesDigit

type NumberRulesDigit struct {
	Digits           *uint32 `protobuf:"varint,1,req,name=digits" json:"digits,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*NumberRulesDigit) Descriptor

func (*NumberRulesDigit) Descriptor() ([]byte, []int)

func (*NumberRulesDigit) GetDigits

func (m *NumberRulesDigit) GetDigits() uint32

func (*NumberRulesDigit) ProtoMessage

func (*NumberRulesDigit) ProtoMessage()

func (*NumberRulesDigit) Reset

func (m *NumberRulesDigit) Reset()

func (*NumberRulesDigit) String

func (m *NumberRulesDigit) String() string

type NumberRulesNegative

type NumberRulesNegative struct {
	Min              *int32 `protobuf:"varint,1,req,name=min" json:"min,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*NumberRulesNegative) Descriptor

func (*NumberRulesNegative) Descriptor() ([]byte, []int)

func (*NumberRulesNegative) GetMin

func (m *NumberRulesNegative) GetMin() int32

func (*NumberRulesNegative) ProtoMessage

func (*NumberRulesNegative) ProtoMessage()

func (*NumberRulesNegative) Reset

func (m *NumberRulesNegative) Reset()

func (*NumberRulesNegative) String

func (m *NumberRulesNegative) String() string

type NumberRulesPositive

type NumberRulesPositive struct {
	Max              *uint32 `protobuf:"varint,1,req,name=max" json:"max,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*NumberRulesPositive) Descriptor

func (*NumberRulesPositive) Descriptor() ([]byte, []int)

func (*NumberRulesPositive) GetMax

func (m *NumberRulesPositive) GetMax() uint32

func (*NumberRulesPositive) ProtoMessage

func (*NumberRulesPositive) ProtoMessage()

func (*NumberRulesPositive) Reset

func (m *NumberRulesPositive) Reset()

func (*NumberRulesPositive) String

func (m *NumberRulesPositive) String() string

type NumberRules_Between

type NumberRules_Between struct {
	Between *NumberRulesBetween `protobuf:"bytes,6,opt,name=between,oneof"`
}

type NumberRules_Decimal

type NumberRules_Decimal struct {
	Decimal *NumberRulesDecimal `protobuf:"bytes,3,opt,name=decimal,oneof"`
}

type NumberRules_Digit

type NumberRules_Digit struct {
	Digit bool `protobuf:"varint,4,opt,name=digit,oneof"`
}

type NumberRules_Hexadecimal

type NumberRules_Hexadecimal struct {
	Hexadecimal *NumberRulesDigit `protobuf:"bytes,5,opt,name=hexadecimal,oneof"`
}

type NumberRules_Negative

type NumberRules_Negative struct {
	Negative *NumberRulesNegative `protobuf:"bytes,8,opt,name=negative,oneof"`
}

type NumberRules_Number

type NumberRules_Number struct {
	Number *NumberRulesDigit `protobuf:"bytes,2,opt,name=number,oneof"`
}

type NumberRules_Positive

type NumberRules_Positive struct {
	Positive *NumberRulesPositive `protobuf:"bytes,7,opt,name=positive,oneof"`
}

type PhoneNumberRules

type PhoneNumberRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*PhoneNumberRules_PhoneNumber
	//	*PhoneNumberRules_CellPhone
	//	*PhoneNumberRules_AreaCode
	//	*PhoneNumberRules_ExchangeCode
	//	*PhoneNumberRules_SubscriberNumber
	//	*PhoneNumberRules_String_
	Type             isPhoneNumberRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte                  `json:"-"`
}

func (*PhoneNumberRules) Descriptor

func (*PhoneNumberRules) Descriptor() ([]byte, []int)

func (*PhoneNumberRules) GetAreaCode

func (m *PhoneNumberRules) GetAreaCode() bool

func (*PhoneNumberRules) GetCellPhone

func (m *PhoneNumberRules) GetCellPhone() bool

func (*PhoneNumberRules) GetExchangeCode

func (m *PhoneNumberRules) GetExchangeCode() bool

func (*PhoneNumberRules) GetPhoneNumber

func (m *PhoneNumberRules) GetPhoneNumber() bool

func (*PhoneNumberRules) GetRepeated

func (m *PhoneNumberRules) GetRepeated() uint32

func (*PhoneNumberRules) GetString_

func (m *PhoneNumberRules) GetString_() bool

func (*PhoneNumberRules) GetSubscriberNumber

func (m *PhoneNumberRules) GetSubscriberNumber() *PhoneNumberRulesDigit

func (*PhoneNumberRules) GetType

func (m *PhoneNumberRules) GetType() isPhoneNumberRules_Type

func (*PhoneNumberRules) ProtoMessage

func (*PhoneNumberRules) ProtoMessage()

func (*PhoneNumberRules) Reset

func (m *PhoneNumberRules) Reset()

func (*PhoneNumberRules) String

func (m *PhoneNumberRules) String() string

func (*PhoneNumberRules) XXX_OneofFuncs

func (*PhoneNumberRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type PhoneNumberRulesDigit

type PhoneNumberRulesDigit struct {
	Digits           *uint32 `protobuf:"varint,1,req,name=digits" json:"digits,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*PhoneNumberRulesDigit) Descriptor

func (*PhoneNumberRulesDigit) Descriptor() ([]byte, []int)

func (*PhoneNumberRulesDigit) GetDigits

func (m *PhoneNumberRulesDigit) GetDigits() uint32

func (*PhoneNumberRulesDigit) ProtoMessage

func (*PhoneNumberRulesDigit) ProtoMessage()

func (*PhoneNumberRulesDigit) Reset

func (m *PhoneNumberRulesDigit) Reset()

func (*PhoneNumberRulesDigit) String

func (m *PhoneNumberRulesDigit) String() string

type PhoneNumberRules_AreaCode

type PhoneNumberRules_AreaCode struct {
	AreaCode bool `protobuf:"varint,4,opt,name=area_code,json=areaCode,oneof"`
}

type PhoneNumberRules_CellPhone

type PhoneNumberRules_CellPhone struct {
	CellPhone bool `protobuf:"varint,3,opt,name=cell_phone,json=cellPhone,oneof"`
}

type PhoneNumberRules_ExchangeCode

type PhoneNumberRules_ExchangeCode struct {
	ExchangeCode bool `protobuf:"varint,5,opt,name=exchange_code,json=exchangeCode,oneof"`
}

type PhoneNumberRules_PhoneNumber

type PhoneNumberRules_PhoneNumber struct {
	PhoneNumber bool `protobuf:"varint,2,opt,name=phone_number,json=phoneNumber,oneof"`
}

type PhoneNumberRules_String_

type PhoneNumberRules_String_ struct {
	String_ bool `protobuf:"varint,7,opt,name=string,oneof"`
}

type PhoneNumberRules_SubscriberNumber

type PhoneNumberRules_SubscriberNumber struct {
	SubscriberNumber *PhoneNumberRulesDigit `protobuf:"bytes,6,opt,name=subscriber_number,json=subscriberNumber,oneof"`
}

type TeamRules

type TeamRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*TeamRules_Name
	//	*TeamRules_Creature
	//	*TeamRules_State
	//	*TeamRules_String_
	Type             isTeamRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte           `json:"-"`
}

func (*TeamRules) Descriptor

func (*TeamRules) Descriptor() ([]byte, []int)

func (*TeamRules) GetCreature

func (m *TeamRules) GetCreature() bool

func (*TeamRules) GetName

func (m *TeamRules) GetName() bool

func (*TeamRules) GetRepeated

func (m *TeamRules) GetRepeated() uint32

func (*TeamRules) GetState

func (m *TeamRules) GetState() bool

func (*TeamRules) GetString_

func (m *TeamRules) GetString_() bool

func (*TeamRules) GetType

func (m *TeamRules) GetType() isTeamRules_Type

func (*TeamRules) ProtoMessage

func (*TeamRules) ProtoMessage()

func (*TeamRules) Reset

func (m *TeamRules) Reset()

func (*TeamRules) String

func (m *TeamRules) String() string

func (*TeamRules) XXX_OneofFuncs

func (*TeamRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type TeamRules_Creature

type TeamRules_Creature struct {
	Creature bool `protobuf:"varint,3,opt,name=creature,oneof"`
}

type TeamRules_Name

type TeamRules_Name struct {
	Name bool `protobuf:"varint,2,opt,name=name,oneof"`
}

type TeamRules_State

type TeamRules_State struct {
	State bool `protobuf:"varint,4,opt,name=state,oneof"`
}

type TeamRules_String_

type TeamRules_String_ struct {
	String_ bool `protobuf:"varint,5,opt,name=string,oneof"`
}

type TimeRules

type TimeRules struct {
	Repeated *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	Format   *string `protobuf:"bytes,2,opt,name=format" json:"format,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*TimeRules_Between
	//	*TimeRules_Forward
	//	*TimeRules_Backward
	//	*TimeRules_Birthday
	//	*TimeRules_Now
	Type             isTimeRules_Type `protobuf_oneof:"type"`
	XXX_unrecognized []byte           `json:"-"`
}

func (*TimeRules) Descriptor

func (*TimeRules) Descriptor() ([]byte, []int)

func (*TimeRules) GetBackward

func (m *TimeRules) GetBackward() string

func (*TimeRules) GetBetween

func (m *TimeRules) GetBetween() *TimeRulesBetween

func (*TimeRules) GetBirthday

func (m *TimeRules) GetBirthday() *TimeRulesBirthday

func (*TimeRules) GetFormat

func (m *TimeRules) GetFormat() string

func (*TimeRules) GetForward

func (m *TimeRules) GetForward() string

func (*TimeRules) GetNow added in v0.0.12

func (m *TimeRules) GetNow() bool

func (*TimeRules) GetRepeated

func (m *TimeRules) GetRepeated() uint32

func (*TimeRules) GetType

func (m *TimeRules) GetType() isTimeRules_Type

func (*TimeRules) ProtoMessage

func (*TimeRules) ProtoMessage()

func (*TimeRules) Reset

func (m *TimeRules) Reset()

func (*TimeRules) String

func (m *TimeRules) String() string

func (*TimeRules) XXX_OneofFuncs

func (*TimeRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type TimeRulesBetween

type TimeRulesBetween struct {
	From             *string `protobuf:"bytes,1,req,name=from" json:"from,omitempty"`
	To               *string `protobuf:"bytes,2,req,name=to" json:"to,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*TimeRulesBetween) Descriptor

func (*TimeRulesBetween) Descriptor() ([]byte, []int)

func (*TimeRulesBetween) GetFrom

func (m *TimeRulesBetween) GetFrom() string

func (*TimeRulesBetween) GetTo

func (m *TimeRulesBetween) GetTo() string

func (*TimeRulesBetween) ProtoMessage

func (*TimeRulesBetween) ProtoMessage()

func (*TimeRulesBetween) Reset

func (m *TimeRulesBetween) Reset()

func (*TimeRulesBetween) String

func (m *TimeRulesBetween) String() string

type TimeRulesBirthday

type TimeRulesBirthday struct {
	Min              *int32 `protobuf:"varint,1,req,name=min" json:"min,omitempty"`
	Max              *int32 `protobuf:"varint,2,req,name=max" json:"max,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*TimeRulesBirthday) Descriptor

func (*TimeRulesBirthday) Descriptor() ([]byte, []int)

func (*TimeRulesBirthday) GetMax

func (m *TimeRulesBirthday) GetMax() int32

func (*TimeRulesBirthday) GetMin

func (m *TimeRulesBirthday) GetMin() int32

func (*TimeRulesBirthday) ProtoMessage

func (*TimeRulesBirthday) ProtoMessage()

func (*TimeRulesBirthday) Reset

func (m *TimeRulesBirthday) Reset()

func (*TimeRulesBirthday) String

func (m *TimeRulesBirthday) String() string

type TimeRules_Backward

type TimeRules_Backward struct {
	Backward string `protobuf:"bytes,5,opt,name=backward,oneof"`
}

type TimeRules_Between

type TimeRules_Between struct {
	Between *TimeRulesBetween `protobuf:"bytes,3,opt,name=between,oneof"`
}

type TimeRules_Birthday

type TimeRules_Birthday struct {
	Birthday *TimeRulesBirthday `protobuf:"bytes,6,opt,name=birthday,oneof"`
}

type TimeRules_Forward

type TimeRules_Forward struct {
	Forward string `protobuf:"bytes,4,opt,name=forward,oneof"`
}

type TimeRules_Now added in v0.0.12

type TimeRules_Now struct {
	Now bool `protobuf:"varint,7,opt,name=now,oneof"`
}

type UuidRules

type UuidRules struct {
	Repeated         *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	Version          *string `protobuf:"bytes,2,req,name=version" json:"version,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*UuidRules) Descriptor

func (*UuidRules) Descriptor() ([]byte, []int)

func (*UuidRules) GetRepeated

func (m *UuidRules) GetRepeated() uint32

func (*UuidRules) GetVersion

func (m *UuidRules) GetVersion() string

func (*UuidRules) ProtoMessage

func (*UuidRules) ProtoMessage()

func (*UuidRules) Reset

func (m *UuidRules) Reset()

func (*UuidRules) String

func (m *UuidRules) String() string

type ValueRules

type ValueRules struct {
	Repeated         *uint32 `protobuf:"varint,1,opt,name=repeated" json:"repeated,omitempty"`
	Content          *string `protobuf:"bytes,2,req,name=content" json:"content,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ValueRules) Descriptor

func (*ValueRules) Descriptor() ([]byte, []int)

func (*ValueRules) GetContent

func (m *ValueRules) GetContent() string

func (*ValueRules) GetRepeated

func (m *ValueRules) GetRepeated() uint32

func (*ValueRules) ProtoMessage

func (*ValueRules) ProtoMessage()

func (*ValueRules) Reset

func (m *ValueRules) Reset()

func (*ValueRules) String

func (m *ValueRules) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL