external

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

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" 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 (o *ExternalAddress) AtlasValidateJSON(r json.RawMessage, path string, allowUnknown bool) (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 (o *ExternalUser) AtlasValidateJSON(r json.RawMessage, path string, allowUnknown bool) (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 (o *ExternalUser_Parent) AtlasValidateJSON(r json.RawMessage, path string, allowUnknown bool) (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

Jump to

Keyboard shortcuts

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