google_protobuf

package
v0.13.1-0...-264b242 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Any

type Any struct {
	//
	TypeUrl string `protobuf:"bytes,1,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	//
	Value                []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. client uses type `ArrayBuffer` for the value field . https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/any.proto

func (*Any) Descriptor

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

func (*Any) GetTypeUrl

func (m *Any) GetTypeUrl() string

func (*Any) GetValue

func (m *Any) GetValue() []byte

func (*Any) ProtoMessage

func (*Any) ProtoMessage()

func (*Any) Reset

func (m *Any) Reset()

func (*Any) String

func (m *Any) String() string

func (*Any) XXX_DiscardUnknown

func (m *Any) XXX_DiscardUnknown()

func (*Any) XXX_Marshal

func (m *Any) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Any) XXX_Merge

func (m *Any) XXX_Merge(src proto.Message)

func (*Any) XXX_Size

func (m *Any) XXX_Size() int

func (*Any) XXX_Unmarshal

func (m *Any) XXX_Unmarshal(b []byte) error

func (*Any) XXX_WellKnownType

func (*Any) XXX_WellKnownType() string

type BoolValue

type BoolValue struct {
	// The JSON representation for `BoolValue` is JSON `true` and `false`
	Value                bool     `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `bool`. https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/wrappers.proto

func (*BoolValue) Descriptor

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

func (*BoolValue) GetValue

func (m *BoolValue) GetValue() bool

func (*BoolValue) ProtoMessage

func (*BoolValue) ProtoMessage()

func (*BoolValue) Reset

func (m *BoolValue) Reset()

func (*BoolValue) String

func (m *BoolValue) String() string

func (*BoolValue) XXX_DiscardUnknown

func (m *BoolValue) XXX_DiscardUnknown()

func (*BoolValue) XXX_Marshal

func (m *BoolValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BoolValue) XXX_Merge

func (m *BoolValue) XXX_Merge(src proto.Message)

func (*BoolValue) XXX_Size

func (m *BoolValue) XXX_Size() int

func (*BoolValue) XXX_Unmarshal

func (m *BoolValue) XXX_Unmarshal(b []byte) error

func (*BoolValue) XXX_WellKnownType

func (*BoolValue) XXX_WellKnownType() string

type BytesValue

type BytesValue struct {
	// The JSON representation for `BytesValue` is JSON string
	Value                []byte   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `bytes`. https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/wrappers.proto

func (*BytesValue) Descriptor

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

func (*BytesValue) GetValue

func (m *BytesValue) GetValue() []byte

func (*BytesValue) ProtoMessage

func (*BytesValue) ProtoMessage()

func (*BytesValue) Reset

func (m *BytesValue) Reset()

func (*BytesValue) String

func (m *BytesValue) String() string

func (*BytesValue) XXX_DiscardUnknown

func (m *BytesValue) XXX_DiscardUnknown()

func (*BytesValue) XXX_Marshal

func (m *BytesValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BytesValue) XXX_Merge

func (m *BytesValue) XXX_Merge(src proto.Message)

func (*BytesValue) XXX_Size

func (m *BytesValue) XXX_Size() int

func (*BytesValue) XXX_Unmarshal

func (m *BytesValue) XXX_Unmarshal(b []byte) error

func (*BytesValue) XXX_WellKnownType

func (*BytesValue) XXX_WellKnownType() string

type DoubleValue

type DoubleValue struct {
	// The JSON representation for `DoubleValue` is JSON number
	Value                float64  `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `double`. https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/wrappers.proto

func (*DoubleValue) Descriptor

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

func (*DoubleValue) GetValue

func (m *DoubleValue) GetValue() float64

func (*DoubleValue) ProtoMessage

func (*DoubleValue) ProtoMessage()

func (*DoubleValue) Reset

func (m *DoubleValue) Reset()

func (*DoubleValue) String

func (m *DoubleValue) String() string

func (*DoubleValue) XXX_DiscardUnknown

func (m *DoubleValue) XXX_DiscardUnknown()

func (*DoubleValue) XXX_Marshal

func (m *DoubleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DoubleValue) XXX_Merge

func (m *DoubleValue) XXX_Merge(src proto.Message)

func (*DoubleValue) XXX_Size

func (m *DoubleValue) XXX_Size() int

func (*DoubleValue) XXX_Unmarshal

func (m *DoubleValue) XXX_Unmarshal(b []byte) error

func (*DoubleValue) XXX_WellKnownType

func (*DoubleValue) XXX_WellKnownType() string

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

https://github.com/protocolbuffers/protobuf/blob/master/src/protobuf/empty.proto

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge

func (m *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

func (m *Empty) XXX_Unmarshal(b []byte) error

func (*Empty) XXX_WellKnownType

func (*Empty) XXX_WellKnownType() string

type FieldMask

type FieldMask struct {
	// The implementation of any API method which has a FieldMask type field in the request should verify the included field paths, and return an `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
	Paths                []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A field mask in update operations specifies which fields of the targeted resource are going to be updated. https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto

func (*FieldMask) Descriptor

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

func (*FieldMask) GetPaths

func (m *FieldMask) GetPaths() []string

func (*FieldMask) ProtoMessage

func (*FieldMask) ProtoMessage()

func (*FieldMask) Reset

func (m *FieldMask) Reset()

func (*FieldMask) String

func (m *FieldMask) String() string

func (*FieldMask) XXX_DiscardUnknown

func (m *FieldMask) XXX_DiscardUnknown()

func (*FieldMask) XXX_Marshal

func (m *FieldMask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FieldMask) XXX_Merge

func (m *FieldMask) XXX_Merge(src proto.Message)

func (*FieldMask) XXX_Size

func (m *FieldMask) XXX_Size() int

func (*FieldMask) XXX_Unmarshal

func (m *FieldMask) XXX_Unmarshal(b []byte) error

type FloatValue

type FloatValue struct {
	// The JSON representation for `FloatValue` is JSON number
	Value                float32  `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `float`. https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/wrappers.proto

func (*FloatValue) Descriptor

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

func (*FloatValue) GetValue

func (m *FloatValue) GetValue() float32

func (*FloatValue) ProtoMessage

func (*FloatValue) ProtoMessage()

func (*FloatValue) Reset

func (m *FloatValue) Reset()

func (*FloatValue) String

func (m *FloatValue) String() string

func (*FloatValue) XXX_DiscardUnknown

func (m *FloatValue) XXX_DiscardUnknown()

func (*FloatValue) XXX_Marshal

func (m *FloatValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FloatValue) XXX_Merge

func (m *FloatValue) XXX_Merge(src proto.Message)

func (*FloatValue) XXX_Size

func (m *FloatValue) XXX_Size() int

func (*FloatValue) XXX_Unmarshal

func (m *FloatValue) XXX_Unmarshal(b []byte) error

func (*FloatValue) XXX_WellKnownType

func (*FloatValue) XXX_WellKnownType() string

type Int32Value

type Int32Value struct {
	// The JSON representation for `Int32Value` is JSON number
	Value                int32    `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `int32`. https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/wrappers.proto

func (*Int32Value) Descriptor

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

func (*Int32Value) GetValue

func (m *Int32Value) GetValue() int32

func (*Int32Value) ProtoMessage

func (*Int32Value) ProtoMessage()

func (*Int32Value) Reset

func (m *Int32Value) Reset()

func (*Int32Value) String

func (m *Int32Value) String() string

func (*Int32Value) XXX_DiscardUnknown

func (m *Int32Value) XXX_DiscardUnknown()

func (*Int32Value) XXX_Marshal

func (m *Int32Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Int32Value) XXX_Merge

func (m *Int32Value) XXX_Merge(src proto.Message)

func (*Int32Value) XXX_Size

func (m *Int32Value) XXX_Size() int

func (*Int32Value) XXX_Unmarshal

func (m *Int32Value) XXX_Unmarshal(b []byte) error

func (*Int32Value) XXX_WellKnownType

func (*Int32Value) XXX_WellKnownType() string

type Int64Value

type Int64Value struct {
	// The JSON representation for `Int64Value` is JSON string
	Value                int64    `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `int64`. https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/wrappers.proto

func (*Int64Value) Descriptor

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

func (*Int64Value) GetValue

func (m *Int64Value) GetValue() int64

func (*Int64Value) ProtoMessage

func (*Int64Value) ProtoMessage()

func (*Int64Value) Reset

func (m *Int64Value) Reset()

func (*Int64Value) String

func (m *Int64Value) String() string

func (*Int64Value) XXX_DiscardUnknown

func (m *Int64Value) XXX_DiscardUnknown()

func (*Int64Value) XXX_Marshal

func (m *Int64Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Int64Value) XXX_Merge

func (m *Int64Value) XXX_Merge(src proto.Message)

func (*Int64Value) XXX_Size

func (m *Int64Value) XXX_Size() int

func (*Int64Value) XXX_Unmarshal

func (m *Int64Value) XXX_Unmarshal(b []byte) error

func (*Int64Value) XXX_WellKnownType

func (*Int64Value) XXX_WellKnownType() string

type StringValue

type StringValue struct {
	// The JSON representation for `StringValue` is JSON string
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `string`. https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/wrappers.proto

func (*StringValue) Descriptor

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

func (*StringValue) GetValue

func (m *StringValue) GetValue() string

func (*StringValue) ProtoMessage

func (*StringValue) ProtoMessage()

func (*StringValue) Reset

func (m *StringValue) Reset()

func (*StringValue) String

func (m *StringValue) String() string

func (*StringValue) XXX_DiscardUnknown

func (m *StringValue) XXX_DiscardUnknown()

func (*StringValue) XXX_Marshal

func (m *StringValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringValue) XXX_Merge

func (m *StringValue) XXX_Merge(src proto.Message)

func (*StringValue) XXX_Size

func (m *StringValue) XXX_Size() int

func (*StringValue) XXX_Unmarshal

func (m *StringValue) XXX_Unmarshal(b []byte) error

func (*StringValue) XXX_WellKnownType

func (*StringValue) XXX_WellKnownType() string

type UInt32Value

type UInt32Value struct {
	// The JSON representation for `UInt32Value` is JSON number
	Value                uint32   `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `uint32`. https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/wrappers.proto

func (*UInt32Value) Descriptor

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

func (*UInt32Value) GetValue

func (m *UInt32Value) GetValue() uint32

func (*UInt32Value) ProtoMessage

func (*UInt32Value) ProtoMessage()

func (*UInt32Value) Reset

func (m *UInt32Value) Reset()

func (*UInt32Value) String

func (m *UInt32Value) String() string

func (*UInt32Value) XXX_DiscardUnknown

func (m *UInt32Value) XXX_DiscardUnknown()

func (*UInt32Value) XXX_Marshal

func (m *UInt32Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UInt32Value) XXX_Merge

func (m *UInt32Value) XXX_Merge(src proto.Message)

func (*UInt32Value) XXX_Size

func (m *UInt32Value) XXX_Size() int

func (*UInt32Value) XXX_Unmarshal

func (m *UInt32Value) XXX_Unmarshal(b []byte) error

func (*UInt32Value) XXX_WellKnownType

func (*UInt32Value) XXX_WellKnownType() string

type UInt64Value

type UInt64Value struct {
	// The JSON representation for `UInt64Value` is JSON string
	Value                uint64   `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Wrapper message for `uint64`. https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/wrappers.proto

func (*UInt64Value) Descriptor

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

func (*UInt64Value) GetValue

func (m *UInt64Value) GetValue() uint64

func (*UInt64Value) ProtoMessage

func (*UInt64Value) ProtoMessage()

func (*UInt64Value) Reset

func (m *UInt64Value) Reset()

func (*UInt64Value) String

func (m *UInt64Value) String() string

func (*UInt64Value) XXX_DiscardUnknown

func (m *UInt64Value) XXX_DiscardUnknown()

func (*UInt64Value) XXX_Marshal

func (m *UInt64Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UInt64Value) XXX_Merge

func (m *UInt64Value) XXX_Merge(src proto.Message)

func (*UInt64Value) XXX_Size

func (m *UInt64Value) XXX_Size() int

func (*UInt64Value) XXX_Unmarshal

func (m *UInt64Value) XXX_Unmarshal(b []byte) error

func (*UInt64Value) XXX_WellKnownType

func (*UInt64Value) XXX_WellKnownType() string

Jump to

Keyboard shortcuts

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