protocol

package
v0.0.0-...-483173e Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LogOption_name = map[int32]string{
		1: "HIDDEN",
		2: "HEX",
	}
	LogOption_value = map[string]int32{
		"HIDDEN": 1,
		"HEX":    2,
	}
)

Enum value maps for LogOption.

View Source
var (
	EntityIdRestriction_Kind_name = map[int32]string{
		0: "ANY",
		1: "ACCOUNT",
		2: "GAME_ACCOUNT",
		3: "ACCOUNT_OR_GAME_ACCOUNT",
		4: "SERVICE",
		5: "CHANNEL",
	}
	EntityIdRestriction_Kind_value = map[string]int32{
		"ANY":                     0,
		"ACCOUNT":                 1,
		"GAME_ACCOUNT":            2,
		"ACCOUNT_OR_GAME_ACCOUNT": 3,
		"SERVICE":                 4,
		"CHANNEL":                 5,
	}
)

Enum value maps for EntityIdRestriction_Kind.

View Source
var (
	// optional bgs.protocol.BGSFieldOptions field_options = 90000;
	E_FieldOptions = &file_bgs_low_pb_client_global_extensions_field_options_proto_extTypes[0]
	// optional bgs.protocol.FieldRestriction valid = 90001;
	E_Valid = &file_bgs_low_pb_client_global_extensions_field_options_proto_extTypes[1]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional bgs.protocol.BGSServiceOptions service_options = 90000;
	E_ServiceOptions = &file_bgs_low_pb_client_global_extensions_service_options_proto_extTypes[0]
	// optional bgs.protocol.SDKServiceOptions sdk_service_options = 90001;
	E_SdkServiceOptions = &file_bgs_low_pb_client_global_extensions_service_options_proto_extTypes[1]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var (
	// optional bgs.protocol.BGSMessageOptions message_options = 90000;
	E_MessageOptions = &file_bgs_low_pb_client_global_extensions_message_options_proto_extTypes[0]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var (
	// optional bgs.protocol.BGSMethodOptions method_options = 90000;
	E_MethodOptions = &file_bgs_low_pb_client_global_extensions_method_options_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_bgs_low_pb_client_global_extensions_field_options_proto protoreflect.FileDescriptor
View Source
var File_bgs_low_pb_client_global_extensions_message_options_proto protoreflect.FileDescriptor
View Source
var File_bgs_low_pb_client_global_extensions_method_options_proto protoreflect.FileDescriptor
View Source
var File_bgs_low_pb_client_global_extensions_range_proto protoreflect.FileDescriptor
View Source
var File_bgs_low_pb_client_global_extensions_service_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BGSFieldOptions

type BGSFieldOptions struct {
	Log       *LogOption `protobuf:"varint,1,opt,name=log,enum=bgs.protocol.LogOption" json:"log,omitempty"`
	ShardKey  *bool      `protobuf:"varint,2,opt,name=shard_key,json=shardKey" json:"shard_key,omitempty"`
	FanoutKey *bool      `protobuf:"varint,3,opt,name=fanout_key,json=fanoutKey" json:"fanout_key,omitempty"`
	// contains filtered or unexported fields
}

func (*BGSFieldOptions) Descriptor deprecated

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

Deprecated: Use BGSFieldOptions.ProtoReflect.Descriptor instead.

func (*BGSFieldOptions) GetFanoutKey

func (x *BGSFieldOptions) GetFanoutKey() bool

func (*BGSFieldOptions) GetLog

func (x *BGSFieldOptions) GetLog() LogOption

func (*BGSFieldOptions) GetShardKey

func (x *BGSFieldOptions) GetShardKey() bool

func (*BGSFieldOptions) ProtoMessage

func (*BGSFieldOptions) ProtoMessage()

func (*BGSFieldOptions) ProtoReflect

func (x *BGSFieldOptions) ProtoReflect() protoreflect.Message

func (*BGSFieldOptions) Reset

func (x *BGSFieldOptions) Reset()

func (*BGSFieldOptions) String

func (x *BGSFieldOptions) String() string

type BGSMessageOptions

type BGSMessageOptions struct {
	CustomSelectShard *bool `protobuf:"varint,1,opt,name=custom_select_shard,json=customSelectShard" json:"custom_select_shard,omitempty"`
	CustomValidator   *bool `protobuf:"varint,2,opt,name=custom_validator,json=customValidator" json:"custom_validator,omitempty"`
	ClientIdFanout    *bool `protobuf:"varint,3,opt,name=client_id_fanout,json=clientIdFanout" json:"client_id_fanout,omitempty"`
	// contains filtered or unexported fields
}

func (*BGSMessageOptions) Descriptor deprecated

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

Deprecated: Use BGSMessageOptions.ProtoReflect.Descriptor instead.

func (*BGSMessageOptions) GetClientIdFanout

func (x *BGSMessageOptions) GetClientIdFanout() bool

func (*BGSMessageOptions) GetCustomSelectShard

func (x *BGSMessageOptions) GetCustomSelectShard() bool

func (*BGSMessageOptions) GetCustomValidator

func (x *BGSMessageOptions) GetCustomValidator() bool

func (*BGSMessageOptions) ProtoMessage

func (*BGSMessageOptions) ProtoMessage()

func (*BGSMessageOptions) ProtoReflect

func (x *BGSMessageOptions) ProtoReflect() protoreflect.Message

func (*BGSMessageOptions) Reset

func (x *BGSMessageOptions) Reset()

func (*BGSMessageOptions) String

func (x *BGSMessageOptions) String() string

type BGSMethodOptions

type BGSMethodOptions struct {
	Id *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*BGSMethodOptions) Descriptor deprecated

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

Deprecated: Use BGSMethodOptions.ProtoReflect.Descriptor instead.

func (*BGSMethodOptions) GetId

func (x *BGSMethodOptions) GetId() uint32

func (*BGSMethodOptions) ProtoMessage

func (*BGSMethodOptions) ProtoMessage()

func (*BGSMethodOptions) ProtoReflect

func (x *BGSMethodOptions) ProtoReflect() protoreflect.Message

func (*BGSMethodOptions) Reset

func (x *BGSMethodOptions) Reset()

func (*BGSMethodOptions) String

func (x *BGSMethodOptions) String() string

type BGSServiceOptions

type BGSServiceOptions struct {
	DescriptorName *string `protobuf:"bytes,1,opt,name=descriptor_name,json=descriptorName" json:"descriptor_name,omitempty"`
	Version        *uint32 `protobuf:"varint,4,opt,name=version" json:"version,omitempty"`
	ShardName      *string `protobuf:"bytes,5,opt,name=shard_name,json=shardName" json:"shard_name,omitempty"`
	// contains filtered or unexported fields
}

func (*BGSServiceOptions) Descriptor deprecated

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

Deprecated: Use BGSServiceOptions.ProtoReflect.Descriptor instead.

func (*BGSServiceOptions) GetDescriptorName

func (x *BGSServiceOptions) GetDescriptorName() string

func (*BGSServiceOptions) GetShardName

func (x *BGSServiceOptions) GetShardName() string

func (*BGSServiceOptions) GetVersion

func (x *BGSServiceOptions) GetVersion() uint32

func (*BGSServiceOptions) ProtoMessage

func (*BGSServiceOptions) ProtoMessage()

func (*BGSServiceOptions) ProtoReflect

func (x *BGSServiceOptions) ProtoReflect() protoreflect.Message

func (*BGSServiceOptions) Reset

func (x *BGSServiceOptions) Reset()

func (*BGSServiceOptions) String

func (x *BGSServiceOptions) String() string

type EntityIdRestriction

type EntityIdRestriction struct {
	Needed *bool                     `protobuf:"varint,1,opt,name=needed" json:"needed,omitempty"`
	Kind   *EntityIdRestriction_Kind `protobuf:"varint,2,opt,name=kind,enum=bgs.protocol.EntityIdRestriction_Kind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*EntityIdRestriction) Descriptor deprecated

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

Deprecated: Use EntityIdRestriction.ProtoReflect.Descriptor instead.

func (*EntityIdRestriction) GetKind

func (*EntityIdRestriction) GetNeeded

func (x *EntityIdRestriction) GetNeeded() bool

func (*EntityIdRestriction) ProtoMessage

func (*EntityIdRestriction) ProtoMessage()

func (*EntityIdRestriction) ProtoReflect

func (x *EntityIdRestriction) ProtoReflect() protoreflect.Message

func (*EntityIdRestriction) Reset

func (x *EntityIdRestriction) Reset()

func (*EntityIdRestriction) String

func (x *EntityIdRestriction) String() string

type EntityIdRestriction_Kind

type EntityIdRestriction_Kind int32
const (
	EntityIdRestriction_ANY                     EntityIdRestriction_Kind = 0
	EntityIdRestriction_ACCOUNT                 EntityIdRestriction_Kind = 1
	EntityIdRestriction_GAME_ACCOUNT            EntityIdRestriction_Kind = 2
	EntityIdRestriction_ACCOUNT_OR_GAME_ACCOUNT EntityIdRestriction_Kind = 3
	EntityIdRestriction_SERVICE                 EntityIdRestriction_Kind = 4
	EntityIdRestriction_CHANNEL                 EntityIdRestriction_Kind = 5
)

func (EntityIdRestriction_Kind) Descriptor

func (EntityIdRestriction_Kind) Enum

func (EntityIdRestriction_Kind) EnumDescriptor deprecated

func (EntityIdRestriction_Kind) EnumDescriptor() ([]byte, []int)

Deprecated: Use EntityIdRestriction_Kind.Descriptor instead.

func (EntityIdRestriction_Kind) Number

func (EntityIdRestriction_Kind) String

func (x EntityIdRestriction_Kind) String() string

func (EntityIdRestriction_Kind) Type

func (*EntityIdRestriction_Kind) UnmarshalJSON deprecated

func (x *EntityIdRestriction_Kind) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FieldRestriction

type FieldRestriction struct {

	// Types that are assignable to Type:
	//
	//	*FieldRestriction_Signed
	//	*FieldRestriction_Unsigned
	//	*FieldRestriction_Float
	//	*FieldRestriction_String_
	//	*FieldRestriction_Repeated
	//	*FieldRestriction_Message
	//	*FieldRestriction_EntityId
	Type isFieldRestriction_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*FieldRestriction) Descriptor deprecated

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

Deprecated: Use FieldRestriction.ProtoReflect.Descriptor instead.

func (*FieldRestriction) GetEntityId

func (x *FieldRestriction) GetEntityId() *EntityIdRestriction

func (*FieldRestriction) GetFloat

func (x *FieldRestriction) GetFloat() *FloatFieldRestriction

func (*FieldRestriction) GetMessage

func (x *FieldRestriction) GetMessage() *MessageFieldRestriction

func (*FieldRestriction) GetRepeated

func (x *FieldRestriction) GetRepeated() *RepeatedFieldRestriction

func (*FieldRestriction) GetSigned

func (x *FieldRestriction) GetSigned() *SignedFieldRestriction

func (*FieldRestriction) GetString_

func (x *FieldRestriction) GetString_() *StringFieldRestriction

func (*FieldRestriction) GetType

func (m *FieldRestriction) GetType() isFieldRestriction_Type

func (*FieldRestriction) GetUnsigned

func (x *FieldRestriction) GetUnsigned() *UnsignedFieldRestriction

func (*FieldRestriction) ProtoMessage

func (*FieldRestriction) ProtoMessage()

func (*FieldRestriction) ProtoReflect

func (x *FieldRestriction) ProtoReflect() protoreflect.Message

func (*FieldRestriction) Reset

func (x *FieldRestriction) Reset()

func (*FieldRestriction) String

func (x *FieldRestriction) String() string

type FieldRestriction_EntityId

type FieldRestriction_EntityId struct {
	EntityId *EntityIdRestriction `protobuf:"bytes,7,opt,name=entity_id,json=entityId,oneof"`
}

type FieldRestriction_Float

type FieldRestriction_Float struct {
	Float *FloatFieldRestriction `protobuf:"bytes,3,opt,name=float,oneof"`
}

type FieldRestriction_Message

type FieldRestriction_Message struct {
	Message *MessageFieldRestriction `protobuf:"bytes,6,opt,name=message,oneof"`
}

type FieldRestriction_Repeated

type FieldRestriction_Repeated struct {
	Repeated *RepeatedFieldRestriction `protobuf:"bytes,5,opt,name=repeated,oneof"`
}

type FieldRestriction_Signed

type FieldRestriction_Signed struct {
	Signed *SignedFieldRestriction `protobuf:"bytes,1,opt,name=signed,oneof"`
}

type FieldRestriction_String_

type FieldRestriction_String_ struct {
	String_ *StringFieldRestriction `protobuf:"bytes,4,opt,name=string,oneof"`
}

type FieldRestriction_Unsigned

type FieldRestriction_Unsigned struct {
	Unsigned *UnsignedFieldRestriction `protobuf:"bytes,2,opt,name=unsigned,oneof"`
}

type FloatFieldRestriction

type FloatFieldRestriction struct {
	Limits  *FloatRange `protobuf:"bytes,1,opt,name=limits" json:"limits,omitempty"`
	Exclude []float32   `protobuf:"fixed32,2,rep,name=exclude" json:"exclude,omitempty"`
	// contains filtered or unexported fields
}

func (*FloatFieldRestriction) Descriptor deprecated

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

Deprecated: Use FloatFieldRestriction.ProtoReflect.Descriptor instead.

func (*FloatFieldRestriction) GetExclude

func (x *FloatFieldRestriction) GetExclude() []float32

func (*FloatFieldRestriction) GetLimits

func (x *FloatFieldRestriction) GetLimits() *FloatRange

func (*FloatFieldRestriction) ProtoMessage

func (*FloatFieldRestriction) ProtoMessage()

func (*FloatFieldRestriction) ProtoReflect

func (x *FloatFieldRestriction) ProtoReflect() protoreflect.Message

func (*FloatFieldRestriction) Reset

func (x *FloatFieldRestriction) Reset()

func (*FloatFieldRestriction) String

func (x *FloatFieldRestriction) String() string

type FloatRange

type FloatRange struct {
	Min *float32 `protobuf:"fixed32,1,opt,name=min" json:"min,omitempty"`
	Max *float32 `protobuf:"fixed32,2,opt,name=max" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*FloatRange) Descriptor deprecated

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

Deprecated: Use FloatRange.ProtoReflect.Descriptor instead.

func (*FloatRange) GetMax

func (x *FloatRange) GetMax() float32

func (*FloatRange) GetMin

func (x *FloatRange) GetMin() float32

func (*FloatRange) ProtoMessage

func (*FloatRange) ProtoMessage()

func (*FloatRange) ProtoReflect

func (x *FloatRange) ProtoReflect() protoreflect.Message

func (*FloatRange) Reset

func (x *FloatRange) Reset()

func (*FloatRange) String

func (x *FloatRange) String() string

type LogOption

type LogOption int32
const (
	LogOption_HIDDEN LogOption = 1
	LogOption_HEX    LogOption = 2
)

func (LogOption) Descriptor

func (LogOption) Descriptor() protoreflect.EnumDescriptor

func (LogOption) Enum

func (x LogOption) Enum() *LogOption

func (LogOption) EnumDescriptor deprecated

func (LogOption) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogOption.Descriptor instead.

func (LogOption) Number

func (x LogOption) Number() protoreflect.EnumNumber

func (LogOption) String

func (x LogOption) String() string

func (LogOption) Type

func (*LogOption) UnmarshalJSON deprecated

func (x *LogOption) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type MessageFieldRestriction

type MessageFieldRestriction struct {
	Needed *bool `protobuf:"varint,1,opt,name=needed" json:"needed,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageFieldRestriction) Descriptor deprecated

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

Deprecated: Use MessageFieldRestriction.ProtoReflect.Descriptor instead.

func (*MessageFieldRestriction) GetNeeded

func (x *MessageFieldRestriction) GetNeeded() bool

func (*MessageFieldRestriction) ProtoMessage

func (*MessageFieldRestriction) ProtoMessage()

func (*MessageFieldRestriction) ProtoReflect

func (x *MessageFieldRestriction) ProtoReflect() protoreflect.Message

func (*MessageFieldRestriction) Reset

func (x *MessageFieldRestriction) Reset()

func (*MessageFieldRestriction) String

func (x *MessageFieldRestriction) String() string

type RepeatedFieldRestriction

type RepeatedFieldRestriction struct {
	Size   *UnsignedIntRange `protobuf:"bytes,1,opt,name=size" json:"size,omitempty"`
	Unique *bool             `protobuf:"varint,2,opt,name=unique" json:"unique,omitempty"`
	// Types that are assignable to Type:
	//
	//	*RepeatedFieldRestriction_Signed
	//	*RepeatedFieldRestriction_Unsigned
	//	*RepeatedFieldRestriction_Float
	//	*RepeatedFieldRestriction_String_
	//	*RepeatedFieldRestriction_EntityId
	Type isRepeatedFieldRestriction_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*RepeatedFieldRestriction) Descriptor deprecated

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

Deprecated: Use RepeatedFieldRestriction.ProtoReflect.Descriptor instead.

func (*RepeatedFieldRestriction) GetEntityId

func (*RepeatedFieldRestriction) GetFloat

func (*RepeatedFieldRestriction) GetSigned

func (*RepeatedFieldRestriction) GetSize

func (*RepeatedFieldRestriction) GetString_

func (*RepeatedFieldRestriction) GetType

func (m *RepeatedFieldRestriction) GetType() isRepeatedFieldRestriction_Type

func (*RepeatedFieldRestriction) GetUnique

func (x *RepeatedFieldRestriction) GetUnique() bool

func (*RepeatedFieldRestriction) GetUnsigned

func (*RepeatedFieldRestriction) ProtoMessage

func (*RepeatedFieldRestriction) ProtoMessage()

func (*RepeatedFieldRestriction) ProtoReflect

func (x *RepeatedFieldRestriction) ProtoReflect() protoreflect.Message

func (*RepeatedFieldRestriction) Reset

func (x *RepeatedFieldRestriction) Reset()

func (*RepeatedFieldRestriction) String

func (x *RepeatedFieldRestriction) String() string

type RepeatedFieldRestriction_EntityId

type RepeatedFieldRestriction_EntityId struct {
	EntityId *EntityIdRestriction `protobuf:"bytes,7,opt,name=entity_id,json=entityId,oneof"`
}

type RepeatedFieldRestriction_Float

type RepeatedFieldRestriction_Float struct {
	Float *FloatFieldRestriction `protobuf:"bytes,5,opt,name=float,oneof"`
}

type RepeatedFieldRestriction_Signed

type RepeatedFieldRestriction_Signed struct {
	Signed *SignedFieldRestriction `protobuf:"bytes,3,opt,name=signed,oneof"`
}

type RepeatedFieldRestriction_String_

type RepeatedFieldRestriction_String_ struct {
	String_ *StringFieldRestriction `protobuf:"bytes,6,opt,name=string,oneof"`
}

type RepeatedFieldRestriction_Unsigned

type RepeatedFieldRestriction_Unsigned struct {
	Unsigned *UnsignedFieldRestriction `protobuf:"bytes,4,opt,name=unsigned,oneof"`
}

type SDKServiceOptions

type SDKServiceOptions struct {
	Inbound     *bool `protobuf:"varint,1,opt,name=inbound" json:"inbound,omitempty"`
	Outbound    *bool `protobuf:"varint,2,opt,name=outbound" json:"outbound,omitempty"`
	UseClientId *bool `protobuf:"varint,3,opt,name=use_client_id,json=useClientId" json:"use_client_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SDKServiceOptions) Descriptor deprecated

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

Deprecated: Use SDKServiceOptions.ProtoReflect.Descriptor instead.

func (*SDKServiceOptions) GetInbound

func (x *SDKServiceOptions) GetInbound() bool

func (*SDKServiceOptions) GetOutbound

func (x *SDKServiceOptions) GetOutbound() bool

func (*SDKServiceOptions) GetUseClientId

func (x *SDKServiceOptions) GetUseClientId() bool

func (*SDKServiceOptions) ProtoMessage

func (*SDKServiceOptions) ProtoMessage()

func (*SDKServiceOptions) ProtoReflect

func (x *SDKServiceOptions) ProtoReflect() protoreflect.Message

func (*SDKServiceOptions) Reset

func (x *SDKServiceOptions) Reset()

func (*SDKServiceOptions) String

func (x *SDKServiceOptions) String() string

type SignedFieldRestriction

type SignedFieldRestriction struct {
	Limits  *SignedIntRange `protobuf:"bytes,1,opt,name=limits" json:"limits,omitempty"`
	Exclude []int64         `protobuf:"zigzag64,2,rep,name=exclude" json:"exclude,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedFieldRestriction) Descriptor deprecated

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

Deprecated: Use SignedFieldRestriction.ProtoReflect.Descriptor instead.

func (*SignedFieldRestriction) GetExclude

func (x *SignedFieldRestriction) GetExclude() []int64

func (*SignedFieldRestriction) GetLimits

func (x *SignedFieldRestriction) GetLimits() *SignedIntRange

func (*SignedFieldRestriction) ProtoMessage

func (*SignedFieldRestriction) ProtoMessage()

func (*SignedFieldRestriction) ProtoReflect

func (x *SignedFieldRestriction) ProtoReflect() protoreflect.Message

func (*SignedFieldRestriction) Reset

func (x *SignedFieldRestriction) Reset()

func (*SignedFieldRestriction) String

func (x *SignedFieldRestriction) String() string

type SignedIntRange

type SignedIntRange struct {
	Min *int64 `protobuf:"varint,1,opt,name=min" json:"min,omitempty"`
	Max *int64 `protobuf:"varint,2,opt,name=max" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedIntRange) Descriptor deprecated

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

Deprecated: Use SignedIntRange.ProtoReflect.Descriptor instead.

func (*SignedIntRange) GetMax

func (x *SignedIntRange) GetMax() int64

func (*SignedIntRange) GetMin

func (x *SignedIntRange) GetMin() int64

func (*SignedIntRange) ProtoMessage

func (*SignedIntRange) ProtoMessage()

func (*SignedIntRange) ProtoReflect

func (x *SignedIntRange) ProtoReflect() protoreflect.Message

func (*SignedIntRange) Reset

func (x *SignedIntRange) Reset()

func (*SignedIntRange) String

func (x *SignedIntRange) String() string

type StringFieldRestriction

type StringFieldRestriction struct {
	Size    *UnsignedIntRange `protobuf:"bytes,1,opt,name=size" json:"size,omitempty"`
	Exclude []string          `protobuf:"bytes,2,rep,name=exclude" json:"exclude,omitempty"`
	// contains filtered or unexported fields
}

func (*StringFieldRestriction) Descriptor deprecated

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

Deprecated: Use StringFieldRestriction.ProtoReflect.Descriptor instead.

func (*StringFieldRestriction) GetExclude

func (x *StringFieldRestriction) GetExclude() []string

func (*StringFieldRestriction) GetSize

func (*StringFieldRestriction) ProtoMessage

func (*StringFieldRestriction) ProtoMessage()

func (*StringFieldRestriction) ProtoReflect

func (x *StringFieldRestriction) ProtoReflect() protoreflect.Message

func (*StringFieldRestriction) Reset

func (x *StringFieldRestriction) Reset()

func (*StringFieldRestriction) String

func (x *StringFieldRestriction) String() string

type UnsignedFieldRestriction

type UnsignedFieldRestriction struct {
	Limits  *UnsignedIntRange `protobuf:"bytes,1,opt,name=limits" json:"limits,omitempty"`
	Exclude []uint64          `protobuf:"varint,2,rep,name=exclude" json:"exclude,omitempty"`
	// contains filtered or unexported fields
}

func (*UnsignedFieldRestriction) Descriptor deprecated

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

Deprecated: Use UnsignedFieldRestriction.ProtoReflect.Descriptor instead.

func (*UnsignedFieldRestriction) GetExclude

func (x *UnsignedFieldRestriction) GetExclude() []uint64

func (*UnsignedFieldRestriction) GetLimits

func (*UnsignedFieldRestriction) ProtoMessage

func (*UnsignedFieldRestriction) ProtoMessage()

func (*UnsignedFieldRestriction) ProtoReflect

func (x *UnsignedFieldRestriction) ProtoReflect() protoreflect.Message

func (*UnsignedFieldRestriction) Reset

func (x *UnsignedFieldRestriction) Reset()

func (*UnsignedFieldRestriction) String

func (x *UnsignedFieldRestriction) String() string

type UnsignedIntRange

type UnsignedIntRange struct {
	Min *uint64 `protobuf:"varint,1,opt,name=min" json:"min,omitempty"`
	Max *uint64 `protobuf:"varint,2,opt,name=max" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*UnsignedIntRange) Descriptor deprecated

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

Deprecated: Use UnsignedIntRange.ProtoReflect.Descriptor instead.

func (*UnsignedIntRange) GetMax

func (x *UnsignedIntRange) GetMax() uint64

func (*UnsignedIntRange) GetMin

func (x *UnsignedIntRange) GetMin() uint64

func (*UnsignedIntRange) ProtoMessage

func (*UnsignedIntRange) ProtoMessage()

func (*UnsignedIntRange) ProtoReflect

func (x *UnsignedIntRange) ProtoReflect() protoreflect.Message

func (*UnsignedIntRange) Reset

func (x *UnsignedIntRange) Reset()

func (*UnsignedIntRange) String

func (x *UnsignedIntRange) String() string

Jump to

Keyboard shortcuts

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