Documentation
¶
Index ¶
- Variables
- func Update[T proto.Message](old, update T, updateMask *fieldmaskpb.FieldMask) T
- type Example
- type FieldMask
- type TestRoot
- type TestRoot_Nested
- func (*TestRoot_Nested) Descriptor() ([]byte, []int)deprecated
- func (x *TestRoot_Nested) GetExample() *Example
- func (x *TestRoot_Nested) GetSomeRepeatedString() []string
- func (x *TestRoot_Nested) GetSomeString() string
- func (x *TestRoot_Nested) GetStringMap() map[string]string
- func (*TestRoot_Nested) ProtoMessage()
- func (x *TestRoot_Nested) ProtoReflect() protoreflect.Message
- func (x *TestRoot_Nested) Reset()
- func (x *TestRoot_Nested) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_example_proto protoreflect.FileDescriptor
View Source
var File_fieldmask_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type Example ¶
type Example struct {
SomeString string `protobuf:"bytes,1,opt,name=some_string,json=someString,proto3" json:"some_string,omitempty"`
SomeOtherString string `protobuf:"bytes,2,opt,name=some_other_string,json=someOtherString,proto3" json:"some_other_string,omitempty"`
// contains filtered or unexported fields
}
func (*Example) Descriptor
deprecated
func (*Example) GetSomeOtherString ¶
func (*Example) GetSomeString ¶
func (*Example) ProtoMessage ¶
func (*Example) ProtoMessage()
func (*Example) ProtoReflect ¶
func (x *Example) ProtoReflect() protoreflect.Message
type FieldMask ¶
type FieldMask struct {
Paths string `protobuf:"bytes,1,opt,name=paths,proto3" json:"paths,omitempty"`
// contains filtered or unexported fields
}
func (*FieldMask) Descriptor
deprecated
func (*FieldMask) ProtoMessage ¶
func (*FieldMask) ProtoMessage()
func (*FieldMask) ProtoReflect ¶
func (x *FieldMask) ProtoReflect() protoreflect.Message
type TestRoot ¶
type TestRoot struct {
Nested *TestRoot_Nested `protobuf:"bytes,1,opt,name=nested,proto3" json:"nested,omitempty"`
// contains filtered or unexported fields
}
func (*TestRoot) Descriptor
deprecated
func (*TestRoot) GetNested ¶
func (x *TestRoot) GetNested() *TestRoot_Nested
func (*TestRoot) ProtoMessage ¶
func (*TestRoot) ProtoMessage()
func (*TestRoot) ProtoReflect ¶
func (x *TestRoot) ProtoReflect() protoreflect.Message
type TestRoot_Nested ¶
type TestRoot_Nested struct {
Example *Example `protobuf:"bytes,1,opt,name=example,proto3" json:"example,omitempty"`
SomeString string `protobuf:"bytes,2,opt,name=some_string,json=someString,proto3" json:"some_string,omitempty"`
SomeRepeatedString []string `protobuf:"bytes,3,rep,name=some_repeated_string,json=someRepeatedString,proto3" json:"some_repeated_string,omitempty"`
StringMap map[string]string `` /* 176-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*TestRoot_Nested) Descriptor
deprecated
func (*TestRoot_Nested) Descriptor() ([]byte, []int)
Deprecated: Use TestRoot_Nested.ProtoReflect.Descriptor instead.
func (*TestRoot_Nested) GetExample ¶
func (x *TestRoot_Nested) GetExample() *Example
func (*TestRoot_Nested) GetSomeRepeatedString ¶
func (x *TestRoot_Nested) GetSomeRepeatedString() []string
func (*TestRoot_Nested) GetSomeString ¶
func (x *TestRoot_Nested) GetSomeString() string
func (*TestRoot_Nested) GetStringMap ¶
func (x *TestRoot_Nested) GetStringMap() map[string]string
func (*TestRoot_Nested) ProtoMessage ¶
func (*TestRoot_Nested) ProtoMessage()
func (*TestRoot_Nested) ProtoReflect ¶
func (x *TestRoot_Nested) ProtoReflect() protoreflect.Message
func (*TestRoot_Nested) Reset ¶
func (x *TestRoot_Nested) Reset()
func (*TestRoot_Nested) String ¶
func (x *TestRoot_Nested) String() string
Click to show internal directories.
Click to hide internal directories.