Documentation ¶
Index ¶
- Variables
- type PreprocessFieldOptions
- func (*PreprocessFieldOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PreprocessFieldOptions) GetString_() *PreprocessString
- func (*PreprocessFieldOptions) ProtoMessage()
- func (x *PreprocessFieldOptions) ProtoReflect() protoreflect.Message
- func (x *PreprocessFieldOptions) Reset()
- func (x *PreprocessFieldOptions) String() string
- type PreprocessMessageOptions
- func (*PreprocessMessageOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PreprocessMessageOptions) GetString_() *PreprocessString
- func (*PreprocessMessageOptions) ProtoMessage()
- func (x *PreprocessMessageOptions) ProtoReflect() protoreflect.Message
- func (x *PreprocessMessageOptions) Reset()
- func (x *PreprocessMessageOptions) String() string
- type PreprocessString
- func (*PreprocessString) Descriptor() ([]byte, []int)deprecated
- func (x *PreprocessString) GetMethods() []PreprocessString_Methods
- func (*PreprocessString) ProtoMessage()
- func (x *PreprocessString) ProtoReflect() protoreflect.Message
- func (x *PreprocessString) Reset()
- func (x *PreprocessString) String() string
- type PreprocessString_Methods
- func (PreprocessString_Methods) Descriptor() protoreflect.EnumDescriptor
- func (x PreprocessString_Methods) Enum() *PreprocessString_Methods
- func (PreprocessString_Methods) EnumDescriptor() ([]byte, []int)deprecated
- func (x PreprocessString_Methods) Number() protoreflect.EnumNumber
- func (x PreprocessString_Methods) String() string
- func (PreprocessString_Methods) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PreprocessString_Methods_name = map[int32]string{ 0: "none", 1: "trim", 2: "upper", 3: "lower", 4: "clear", } PreprocessString_Methods_value = map[string]int32{ "none": 0, "trim": 1, "upper": 2, "lower": 3, "clear": 4, } )
Enum value maps for PreprocessString_Methods.
View Source
var (
// optional preprocess.PreprocessMessageOptions each = 11111;
E_Each = &file_github_com_infobloxopen_protoc_gen_preprocess_options_preprocess_proto_extTypes[0]
)
Extension fields to descriptorpb.MessageOptions.
View Source
var (
// optional preprocess.PreprocessFieldOptions field = 11111;
E_Field = &file_github_com_infobloxopen_protoc_gen_preprocess_options_preprocess_proto_extTypes[1]
)
Extension fields to descriptorpb.FieldOptions.
View Source
var File_github_com_infobloxopen_protoc_gen_preprocess_options_preprocess_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PreprocessFieldOptions ¶
type PreprocessFieldOptions struct { String_ *PreprocessString `protobuf:"bytes,1,opt,name=string,proto3" json:"string,omitempty"` // contains filtered or unexported fields }
func (*PreprocessFieldOptions) Descriptor
deprecated
func (*PreprocessFieldOptions) Descriptor() ([]byte, []int)
Deprecated: Use PreprocessFieldOptions.ProtoReflect.Descriptor instead.
func (*PreprocessFieldOptions) GetString_ ¶
func (x *PreprocessFieldOptions) GetString_() *PreprocessString
func (*PreprocessFieldOptions) ProtoMessage ¶
func (*PreprocessFieldOptions) ProtoMessage()
func (*PreprocessFieldOptions) ProtoReflect ¶ added in v0.4.2
func (x *PreprocessFieldOptions) ProtoReflect() protoreflect.Message
func (*PreprocessFieldOptions) Reset ¶
func (x *PreprocessFieldOptions) Reset()
func (*PreprocessFieldOptions) String ¶
func (x *PreprocessFieldOptions) String() string
type PreprocessMessageOptions ¶ added in v0.2.0
type PreprocessMessageOptions struct { String_ *PreprocessString `protobuf:"bytes,1,opt,name=string,proto3" json:"string,omitempty"` // contains filtered or unexported fields }
func (*PreprocessMessageOptions) Descriptor
deprecated
added in
v0.2.0
func (*PreprocessMessageOptions) Descriptor() ([]byte, []int)
Deprecated: Use PreprocessMessageOptions.ProtoReflect.Descriptor instead.
func (*PreprocessMessageOptions) GetString_ ¶ added in v0.2.0
func (x *PreprocessMessageOptions) GetString_() *PreprocessString
func (*PreprocessMessageOptions) ProtoMessage ¶ added in v0.2.0
func (*PreprocessMessageOptions) ProtoMessage()
func (*PreprocessMessageOptions) ProtoReflect ¶ added in v0.4.2
func (x *PreprocessMessageOptions) ProtoReflect() protoreflect.Message
func (*PreprocessMessageOptions) Reset ¶ added in v0.2.0
func (x *PreprocessMessageOptions) Reset()
func (*PreprocessMessageOptions) String ¶ added in v0.2.0
func (x *PreprocessMessageOptions) String() string
type PreprocessString ¶
type PreprocessString struct { Methods []PreprocessString_Methods `protobuf:"varint,1,rep,packed,name=methods,proto3,enum=preprocess.PreprocessString_Methods" json:"methods,omitempty"` // contains filtered or unexported fields }
func (*PreprocessString) Descriptor
deprecated
func (*PreprocessString) Descriptor() ([]byte, []int)
Deprecated: Use PreprocessString.ProtoReflect.Descriptor instead.
func (*PreprocessString) GetMethods ¶ added in v0.2.0
func (x *PreprocessString) GetMethods() []PreprocessString_Methods
func (*PreprocessString) ProtoMessage ¶
func (*PreprocessString) ProtoMessage()
func (*PreprocessString) ProtoReflect ¶ added in v0.4.2
func (x *PreprocessString) ProtoReflect() protoreflect.Message
func (*PreprocessString) Reset ¶
func (x *PreprocessString) Reset()
func (*PreprocessString) String ¶
func (x *PreprocessString) String() string
type PreprocessString_Methods ¶ added in v0.2.0
type PreprocessString_Methods int32
const ( PreprocessString_none PreprocessString_Methods = 0 PreprocessString_trim PreprocessString_Methods = 1 PreprocessString_upper PreprocessString_Methods = 2 PreprocessString_lower PreprocessString_Methods = 3 PreprocessString_clear PreprocessString_Methods = 4 )
func (PreprocessString_Methods) Descriptor ¶ added in v0.4.2
func (PreprocessString_Methods) Descriptor() protoreflect.EnumDescriptor
func (PreprocessString_Methods) Enum ¶ added in v0.4.2
func (x PreprocessString_Methods) Enum() *PreprocessString_Methods
func (PreprocessString_Methods) EnumDescriptor
deprecated
added in
v0.2.0
func (PreprocessString_Methods) EnumDescriptor() ([]byte, []int)
Deprecated: Use PreprocessString_Methods.Descriptor instead.
func (PreprocessString_Methods) Number ¶ added in v0.4.2
func (x PreprocessString_Methods) Number() protoreflect.EnumNumber
func (PreprocessString_Methods) String ¶ added in v0.2.0
func (x PreprocessString_Methods) String() string
func (PreprocessString_Methods) Type ¶ added in v0.4.2
func (PreprocessString_Methods) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.