external

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_external_external_proto protoreflect.FileDescriptor

Functions

func AtlasValidateAnnotator

func AtlasValidateAnnotator(ctx context.Context, r *http.Request) metadata.MD

AtlasValidateAnnotator parses JSON input and validates unknown fields based on 'allow_unknown_fields' options specified in proto file.

Types

type ExternalAddress

type ExternalAddress struct {
	Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"`
	State   string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	City    string `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"`
	Zip     string `protobuf:"bytes,4,opt,name=zip,proto3" json:"zip,omitempty"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use ExternalAddress.ProtoReflect.Descriptor instead.

func (*ExternalAddress) GetCity

func (x *ExternalAddress) GetCity() string

func (*ExternalAddress) GetCountry

func (x *ExternalAddress) GetCountry() string

func (*ExternalAddress) GetState

func (x *ExternalAddress) GetState() string

func (*ExternalAddress) GetZip

func (x *ExternalAddress) GetZip() string

func (*ExternalAddress) ProtoMessage

func (*ExternalAddress) ProtoMessage()

func (*ExternalAddress) ProtoReflect added in v0.5.0

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

func (*ExternalAddress) Reset

func (x *ExternalAddress) Reset()

func (*ExternalAddress) String

func (x *ExternalAddress) String() string

type ExternalUser

type ExternalUser struct {
	Id      int32            `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string           `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Address *ExternalAddress `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use ExternalUser.ProtoReflect.Descriptor instead.

func (*ExternalUser) GetAddress

func (x *ExternalUser) GetAddress() *ExternalAddress

func (*ExternalUser) GetId

func (x *ExternalUser) GetId() int32

func (*ExternalUser) GetName

func (x *ExternalUser) GetName() string

func (*ExternalUser) ProtoMessage

func (*ExternalUser) ProtoMessage()

func (*ExternalUser) ProtoReflect added in v0.5.0

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

func (*ExternalUser) Reset

func (x *ExternalUser) Reset()

func (*ExternalUser) String

func (x *ExternalUser) String() string

type ExternalUser_Parent

type ExternalUser_Parent struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use ExternalUser_Parent.ProtoReflect.Descriptor instead.

func (*ExternalUser_Parent) GetName

func (x *ExternalUser_Parent) GetName() string

func (*ExternalUser_Parent) ProtoMessage

func (*ExternalUser_Parent) ProtoMessage()

func (*ExternalUser_Parent) ProtoReflect added in v0.5.0

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

func (*ExternalUser_Parent) Reset

func (x *ExternalUser_Parent) Reset()

func (*ExternalUser_Parent) String

func (x *ExternalUser_Parent) String() string

Jump to

Keyboard shortcuts

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