Documentation ¶
Overview ¶
Package preprocess is a generated protocol buffer package.
It is generated from these files:
options/preprocess.proto
It has these top-level messages:
PreprocessMessageOptions PreprocessFieldOptions PreprocessString
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Each = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.MessageOptions)(nil), ExtensionType: (*PreprocessMessageOptions)(nil), Field: 11111, Name: "preprocess.each", Tag: "bytes,11111,opt,name=each", Filename: "options/preprocess.proto", }
View Source
var E_Field = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.FieldOptions)(nil), ExtensionType: (*PreprocessFieldOptions)(nil), Field: 11111, Name: "preprocess.field", Tag: "bytes,11111,opt,name=field", Filename: "options/preprocess.proto", }
View Source
var PreprocessString_Methods_name = map[int32]string{
0: "none",
1: "trim",
2: "upper",
3: "lower",
}
View Source
var PreprocessString_Methods_value = map[string]int32{
"none": 0,
"trim": 1,
"upper": 2,
"lower": 3,
}
Functions ¶
This section is empty.
Types ¶
type PreprocessFieldOptions ¶
type PreprocessFieldOptions struct {
String_ *PreprocessString `protobuf:"bytes,1,opt,name=string" json:"string,omitempty"`
}
func (*PreprocessFieldOptions) Descriptor ¶
func (*PreprocessFieldOptions) Descriptor() ([]byte, []int)
func (*PreprocessFieldOptions) GetString_ ¶
func (m *PreprocessFieldOptions) GetString_() *PreprocessString
func (*PreprocessFieldOptions) ProtoMessage ¶
func (*PreprocessFieldOptions) ProtoMessage()
func (*PreprocessFieldOptions) Reset ¶
func (m *PreprocessFieldOptions) Reset()
func (*PreprocessFieldOptions) String ¶
func (m *PreprocessFieldOptions) String() string
type PreprocessMessageOptions ¶
type PreprocessMessageOptions struct {
String_ *PreprocessString `protobuf:"bytes,1,opt,name=string" json:"string,omitempty"`
}
func (*PreprocessMessageOptions) Descriptor ¶
func (*PreprocessMessageOptions) Descriptor() ([]byte, []int)
func (*PreprocessMessageOptions) GetString_ ¶
func (m *PreprocessMessageOptions) GetString_() *PreprocessString
func (*PreprocessMessageOptions) ProtoMessage ¶
func (*PreprocessMessageOptions) ProtoMessage()
func (*PreprocessMessageOptions) Reset ¶
func (m *PreprocessMessageOptions) Reset()
func (*PreprocessMessageOptions) String ¶
func (m *PreprocessMessageOptions) String() string
type PreprocessString ¶
type PreprocessString struct {
Methods []PreprocessString_Methods `protobuf:"varint,1,rep,packed,name=methods,enum=preprocess.PreprocessString_Methods" json:"methods,omitempty"`
}
func (*PreprocessString) Descriptor ¶
func (*PreprocessString) Descriptor() ([]byte, []int)
func (*PreprocessString) GetMethods ¶
func (m *PreprocessString) GetMethods() []PreprocessString_Methods
func (*PreprocessString) ProtoMessage ¶
func (*PreprocessString) ProtoMessage()
func (*PreprocessString) Reset ¶
func (m *PreprocessString) Reset()
func (*PreprocessString) String ¶
func (m *PreprocessString) String() string
type PreprocessString_Methods ¶
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 )
func (PreprocessString_Methods) EnumDescriptor ¶
func (PreprocessString_Methods) EnumDescriptor() ([]byte, []int)
func (PreprocessString_Methods) String ¶
func (x PreprocessString_Methods) String() string
Click to show internal directories.
Click to hide internal directories.