Documentation ¶
Overview ¶
Package external is a generated protocol buffer package.
It is generated from these files:
example/external/external.proto
It has these top-level messages:
ExternalUser ExternalAddress
Index ¶
- func AtlasValidateAnnotator(ctx context.Context, r *http.Request) metadata.MD
- type ExternalAddress
- func (_ *ExternalAddress) AtlasValidateJSON(ctx context.Context, r json.RawMessage, path string) (err error)
- func (*ExternalAddress) Descriptor() ([]byte, []int)
- func (m *ExternalAddress) GetCity() string
- func (m *ExternalAddress) GetCountry() string
- func (m *ExternalAddress) GetState() string
- func (m *ExternalAddress) GetZip() string
- func (*ExternalAddress) ProtoMessage()
- func (m *ExternalAddress) Reset()
- func (m *ExternalAddress) String() string
- type ExternalUser
- func (_ *ExternalUser) AtlasValidateJSON(ctx context.Context, r json.RawMessage, path string) (err error)
- func (*ExternalUser) Descriptor() ([]byte, []int)
- func (m *ExternalUser) GetAddress() *ExternalAddress
- func (m *ExternalUser) GetId() int32
- func (m *ExternalUser) GetName() string
- func (*ExternalUser) ProtoMessage()
- func (m *ExternalUser) Reset()
- func (m *ExternalUser) String() string
- type ExternalUser_Parent
- func (_ *ExternalUser_Parent) AtlasValidateJSON(ctx context.Context, r json.RawMessage, path string) (err error)
- func (*ExternalUser_Parent) Descriptor() ([]byte, []int)
- func (m *ExternalUser_Parent) GetName() string
- func (*ExternalUser_Parent) ProtoMessage()
- func (m *ExternalUser_Parent) Reset()
- func (m *ExternalUser_Parent) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExternalAddress ¶
type ExternalAddress struct { Country string `protobuf:"bytes,1,opt,name=country" json:"country,omitempty"` State string `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` City string `protobuf:"bytes,3,opt,name=city" json:"city,omitempty"` Zip string `protobuf:"bytes,4,opt,name=zip" json:"zip,omitempty"` }
func (*ExternalAddress) AtlasValidateJSON ¶
func (_ *ExternalAddress) AtlasValidateJSON(ctx context.Context, r json.RawMessage, path string) (err error)
AtlasValidateJSON function validates a JSON for object ExternalAddress.
func (*ExternalAddress) Descriptor ¶
func (*ExternalAddress) Descriptor() ([]byte, []int)
func (*ExternalAddress) GetCity ¶
func (m *ExternalAddress) GetCity() string
func (*ExternalAddress) GetCountry ¶
func (m *ExternalAddress) GetCountry() string
func (*ExternalAddress) GetState ¶
func (m *ExternalAddress) GetState() string
func (*ExternalAddress) GetZip ¶
func (m *ExternalAddress) GetZip() string
func (*ExternalAddress) ProtoMessage ¶
func (*ExternalAddress) ProtoMessage()
func (*ExternalAddress) Reset ¶
func (m *ExternalAddress) Reset()
func (*ExternalAddress) String ¶
func (m *ExternalAddress) String() string
type ExternalUser ¶
type ExternalUser struct { Id int32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Address *ExternalAddress `protobuf:"bytes,4,opt,name=address" json:"address,omitempty"` }
func (*ExternalUser) AtlasValidateJSON ¶
func (_ *ExternalUser) AtlasValidateJSON(ctx context.Context, r json.RawMessage, path string) (err error)
AtlasValidateJSON function validates a JSON for object ExternalUser.
func (*ExternalUser) Descriptor ¶
func (*ExternalUser) Descriptor() ([]byte, []int)
func (*ExternalUser) GetAddress ¶
func (m *ExternalUser) GetAddress() *ExternalAddress
func (*ExternalUser) GetId ¶
func (m *ExternalUser) GetId() int32
func (*ExternalUser) GetName ¶
func (m *ExternalUser) GetName() string
func (*ExternalUser) ProtoMessage ¶
func (*ExternalUser) ProtoMessage()
func (*ExternalUser) Reset ¶
func (m *ExternalUser) Reset()
func (*ExternalUser) String ¶
func (m *ExternalUser) String() string
type ExternalUser_Parent ¶
type ExternalUser_Parent struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (*ExternalUser_Parent) AtlasValidateJSON ¶
func (_ *ExternalUser_Parent) AtlasValidateJSON(ctx context.Context, r json.RawMessage, path string) (err error)
AtlasValidateJSON function validates a JSON for object ExternalUser_Parent.
func (*ExternalUser_Parent) Descriptor ¶
func (*ExternalUser_Parent) Descriptor() ([]byte, []int)
func (*ExternalUser_Parent) GetName ¶
func (m *ExternalUser_Parent) GetName() string
func (*ExternalUser_Parent) ProtoMessage ¶
func (*ExternalUser_Parent) ProtoMessage()
func (*ExternalUser_Parent) Reset ¶
func (m *ExternalUser_Parent) Reset()
func (*ExternalUser_Parent) String ¶
func (m *ExternalUser_Parent) String() string
Click to show internal directories.
Click to hide internal directories.