Back to godoc.org

Package required

v1.25.0
Latest Go to latest
Published: Jun 22, 2020 | License: BSD-3-Clause | Module: google.golang.org/protobuf

Index

Package Files

Variables

var File_internal_testprotos_required_required_proto protoreflect.FileDescriptor

type Bool

type Bool struct {
	V *bool `protobuf:"varint,1,req,name=v" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Bool) Descriptor

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

Deprecated: Use Bool.ProtoReflect.Descriptor instead.

func (*Bool) GetV

func (x *Bool) GetV() bool

func (*Bool) ProtoMessage

func (*Bool) ProtoMessage()

func (*Bool) ProtoReflect

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

func (*Bool) Reset

func (x *Bool) Reset()

func (*Bool) String

func (x *Bool) String() string

type Bytes

type Bytes struct {
	V []byte `protobuf:"bytes,1,req,name=v" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Bytes) Descriptor

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

Deprecated: Use Bytes.ProtoReflect.Descriptor instead.

func (*Bytes) GetV

func (x *Bytes) GetV() []byte

func (*Bytes) ProtoMessage

func (*Bytes) ProtoMessage()

func (*Bytes) ProtoReflect

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

func (*Bytes) Reset

func (x *Bytes) Reset()

func (*Bytes) String

func (x *Bytes) String() string

type Double

type Double struct {
	V *float64 `protobuf:"fixed64,1,req,name=v" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Double) Descriptor

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

Deprecated: Use Double.ProtoReflect.Descriptor instead.

func (*Double) GetV

func (x *Double) GetV() float64

func (*Double) ProtoMessage

func (*Double) ProtoMessage()

func (*Double) ProtoReflect

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

func (*Double) Reset

func (x *Double) Reset()

func (*Double) String

func (x *Double) String() string

type Fixed32

type Fixed32 struct {
	V *uint32 `protobuf:"fixed32,1,req,name=v" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Fixed32) Descriptor

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

Deprecated: Use Fixed32.ProtoReflect.Descriptor instead.

func (*Fixed32) GetV

func (x *Fixed32) GetV() uint32

func (*Fixed32) ProtoMessage

func (*Fixed32) ProtoMessage()

func (*Fixed32) ProtoReflect

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

func (*Fixed32) Reset

func (x *Fixed32) Reset()

func (*Fixed32) String

func (x *Fixed32) String() string

type Fixed64

type Fixed64 struct {
	V *uint64 `protobuf:"fixed64,1,req,name=v" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Fixed64) Descriptor

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

Deprecated: Use Fixed64.ProtoReflect.Descriptor instead.

func (*Fixed64) GetV

func (x *Fixed64) GetV() uint64

func (*Fixed64) ProtoMessage

func (*Fixed64) ProtoMessage()

func (*Fixed64) ProtoReflect

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

func (*Fixed64) Reset

func (x *Fixed64) Reset()

func (*Fixed64) String

func (x *Fixed64) String() string

type Float

type Float struct {
	V *float32 `protobuf:"fixed32,1,req,name=v" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Float) Descriptor

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

Deprecated: Use Float.ProtoReflect.Descriptor instead.

func (*Float) GetV

func (x *Float) GetV() float32

func (*Float) ProtoMessage

func (*Float) ProtoMessage()

func (*Float) ProtoReflect

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

func (*Float) Reset

func (x *Float) Reset()

func (*Float) String

func (x *Float) String() string

type Group

type Group struct {
	Group *Group_Group `protobuf:"group,1,req,name=Group,json=group" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*Group) Descriptor

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetGroup

func (x *Group) GetGroup() *Group_Group

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

type Group_Group

type Group_Group struct {
	V *int32 `protobuf:"varint,1,opt,name=v" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Group_Group) Descriptor

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

Deprecated: Use Group_Group.ProtoReflect.Descriptor instead.

func (*Group_Group) GetV

func (x *Group_Group) GetV() int32

func (*Group_Group) ProtoMessage

func (*Group_Group) ProtoMessage()

func (*Group_Group) ProtoReflect

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

func (*Group_Group) Reset

func (x *Group_Group) Reset()

func (*Group_Group) String

func (x *Group_Group) String() string

type Int32

type Int32 struct {
	V *int32 `protobuf:"varint,1,req,name=v" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Int32) Descriptor

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

Deprecated: Use Int32.ProtoReflect.Descriptor instead.

func (*Int32) GetV

func (x *Int32) GetV() int32

func (*Int32) ProtoMessage

func (*Int32) ProtoMessage()

func (*Int32) ProtoReflect

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

func (*Int32) Reset

func (x *Int32) Reset()

func (*Int32) String

func (x *Int32) String() string

type Int64

type Int64 struct {
	V *int64 `protobuf:"varint,1,req,name=v" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Int64) Descriptor

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

Deprecated: Use Int64.ProtoReflect.Descriptor instead.

func (*Int64) GetV

func (x *Int64) GetV() int64

func (*Int64) ProtoMessage

func (*Int64) ProtoMessage()

func (*Int64) ProtoReflect

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

func (*Int64) Reset

func (x *Int64) Reset()

func (*Int64) String

func (x *Int64) String() string

type Message

type Message struct {
	V *Message_M `protobuf:"bytes,1,req,name=v" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetV

func (x *Message) GetV() *Message_M

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type Message_M

type Message_M struct {
	// contains filtered or unexported fields
}

func (*Message_M) Descriptor

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

Deprecated: Use Message_M.ProtoReflect.Descriptor instead.

func (*Message_M) ProtoMessage

func (*Message_M) ProtoMessage()

func (*Message_M) ProtoReflect

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

func (*Message_M) Reset

func (x *Message_M) Reset()

func (*Message_M) String

func (x *Message_M) String() string

type Sint32

type Sint32 struct {
	V *int32 `protobuf:"zigzag32,1,req,name=v" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Sint32) Descriptor

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

Deprecated: Use Sint32.ProtoReflect.Descriptor instead.

func (*Sint32) GetV

func (x *Sint32) GetV() int32

func (*Sint32) ProtoMessage

func (*Sint32) ProtoMessage()

func (*Sint32) ProtoReflect

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

func (*Sint32) Reset

func (x *Sint32) Reset()

func (*Sint32) String

func (x *Sint32) String() string

type Sint64

type Sint64 struct {
	V *int64 `protobuf:"zigzag64,1,req,name=v" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Sint64) Descriptor

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

Deprecated: Use Sint64.ProtoReflect.Descriptor instead.

func (*Sint64) GetV

func (x *Sint64) GetV() int64

func (*Sint64) ProtoMessage

func (*Sint64) ProtoMessage()

func (*Sint64) ProtoReflect

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

func (*Sint64) Reset

func (x *Sint64) Reset()

func (*Sint64) String

func (x *Sint64) String() string

type String

type String struct {
	V *string `protobuf:"bytes,1,req,name=v" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*String) Descriptor

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

Deprecated: Use String.ProtoReflect.Descriptor instead.

func (*String) GetV

func (x *String) GetV() string

func (*String) ProtoMessage

func (*String) ProtoMessage()

func (*String) ProtoReflect

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

func (*String) Reset

func (x *String) Reset()

func (*String) String

func (x *String) String() string

type Uint32

type Uint32 struct {
	V *uint32 `protobuf:"varint,1,req,name=v" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Uint32) Descriptor

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

Deprecated: Use Uint32.ProtoReflect.Descriptor instead.

func (*Uint32) GetV

func (x *Uint32) GetV() uint32

func (*Uint32) ProtoMessage

func (*Uint32) ProtoMessage()

func (*Uint32) ProtoReflect

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

func (*Uint32) Reset

func (x *Uint32) Reset()

func (*Uint32) String

func (x *Uint32) String() string

type Uint64

type Uint64 struct {
	V *uint64 `protobuf:"varint,1,req,name=v" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Uint64) Descriptor

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

Deprecated: Use Uint64.ProtoReflect.Descriptor instead.

func (*Uint64) GetV

func (x *Uint64) GetV() uint64

func (*Uint64) ProtoMessage

func (*Uint64) ProtoMessage()

func (*Uint64) ProtoReflect

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

func (*Uint64) Reset

func (x *Uint64) Reset()

func (*Uint64) String

func (x *Uint64) String() string
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier