protobuf: google.golang.org/protobuf/internal/testprotos/required Index | Files

package required

import "google.golang.org/protobuf/internal/testprotos/required"

Index

Package Files

required.pb.go

Variables

var File_internal_testprotos_required_required_proto protoreflect.FileDescriptor

type Bool Uses

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

func (*Bool) Descriptor Uses

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

Deprecated: Use Bool.ProtoReflect.Descriptor instead.

func (*Bool) GetV Uses

func (x *Bool) GetV() bool

func (*Bool) ProtoMessage Uses

func (*Bool) ProtoMessage()

func (*Bool) ProtoReflect Uses

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

func (*Bool) Reset Uses

func (x *Bool) Reset()

func (*Bool) String Uses

func (x *Bool) String() string

type Bytes Uses

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

func (*Bytes) Descriptor Uses

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

Deprecated: Use Bytes.ProtoReflect.Descriptor instead.

func (*Bytes) GetV Uses

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

func (*Bytes) ProtoMessage Uses

func (*Bytes) ProtoMessage()

func (*Bytes) ProtoReflect Uses

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

func (*Bytes) Reset Uses

func (x *Bytes) Reset()

func (*Bytes) String Uses

func (x *Bytes) String() string

type Double Uses

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

func (*Double) Descriptor Uses

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

Deprecated: Use Double.ProtoReflect.Descriptor instead.

func (*Double) GetV Uses

func (x *Double) GetV() float64

func (*Double) ProtoMessage Uses

func (*Double) ProtoMessage()

func (*Double) ProtoReflect Uses

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

func (*Double) Reset Uses

func (x *Double) Reset()

func (*Double) String Uses

func (x *Double) String() string

type Fixed32 Uses

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

func (*Fixed32) Descriptor Uses

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

Deprecated: Use Fixed32.ProtoReflect.Descriptor instead.

func (*Fixed32) GetV Uses

func (x *Fixed32) GetV() uint32

func (*Fixed32) ProtoMessage Uses

func (*Fixed32) ProtoMessage()

func (*Fixed32) ProtoReflect Uses

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

func (*Fixed32) Reset Uses

func (x *Fixed32) Reset()

func (*Fixed32) String Uses

func (x *Fixed32) String() string

type Fixed64 Uses

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

func (*Fixed64) Descriptor Uses

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

Deprecated: Use Fixed64.ProtoReflect.Descriptor instead.

func (*Fixed64) GetV Uses

func (x *Fixed64) GetV() uint64

func (*Fixed64) ProtoMessage Uses

func (*Fixed64) ProtoMessage()

func (*Fixed64) ProtoReflect Uses

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

func (*Fixed64) Reset Uses

func (x *Fixed64) Reset()

func (*Fixed64) String Uses

func (x *Fixed64) String() string

type Float Uses

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

func (*Float) Descriptor Uses

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

Deprecated: Use Float.ProtoReflect.Descriptor instead.

func (*Float) GetV Uses

func (x *Float) GetV() float32

func (*Float) ProtoMessage Uses

func (*Float) ProtoMessage()

func (*Float) ProtoReflect Uses

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

func (*Float) Reset Uses

func (x *Float) Reset()

func (*Float) String Uses

func (x *Float) String() string

type Group Uses

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 Uses

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetGroup Uses

func (x *Group) GetGroup() *Group_Group

func (*Group) ProtoMessage Uses

func (*Group) ProtoMessage()

func (*Group) ProtoReflect Uses

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

func (*Group) Reset Uses

func (x *Group) Reset()

func (*Group) String Uses

func (x *Group) String() string

type Group_Group Uses

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

func (*Group_Group) Descriptor Uses

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

Deprecated: Use Group_Group.ProtoReflect.Descriptor instead.

func (*Group_Group) GetV Uses

func (x *Group_Group) GetV() int32

func (*Group_Group) ProtoMessage Uses

func (*Group_Group) ProtoMessage()

func (*Group_Group) ProtoReflect Uses

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

func (*Group_Group) Reset Uses

func (x *Group_Group) Reset()

func (*Group_Group) String Uses

func (x *Group_Group) String() string

type Int32 Uses

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

func (*Int32) Descriptor Uses

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

Deprecated: Use Int32.ProtoReflect.Descriptor instead.

func (*Int32) GetV Uses

func (x *Int32) GetV() int32

func (*Int32) ProtoMessage Uses

func (*Int32) ProtoMessage()

func (*Int32) ProtoReflect Uses

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

func (*Int32) Reset Uses

func (x *Int32) Reset()

func (*Int32) String Uses

func (x *Int32) String() string

type Int64 Uses

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

func (*Int64) Descriptor Uses

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

Deprecated: Use Int64.ProtoReflect.Descriptor instead.

func (*Int64) GetV Uses

func (x *Int64) GetV() int64

func (*Int64) ProtoMessage Uses

func (*Int64) ProtoMessage()

func (*Int64) ProtoReflect Uses

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

func (*Int64) Reset Uses

func (x *Int64) Reset()

func (*Int64) String Uses

func (x *Int64) String() string

type Message Uses

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

func (*Message) Descriptor Uses

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetV Uses

func (x *Message) GetV() *Message_M

func (*Message) ProtoMessage Uses

func (*Message) ProtoMessage()

func (*Message) ProtoReflect Uses

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

func (*Message) Reset Uses

func (x *Message) Reset()

func (*Message) String Uses

func (x *Message) String() string

type Message_M Uses

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

func (*Message_M) Descriptor Uses

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

Deprecated: Use Message_M.ProtoReflect.Descriptor instead.

func (*Message_M) ProtoMessage Uses

func (*Message_M) ProtoMessage()

func (*Message_M) ProtoReflect Uses

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

func (*Message_M) Reset Uses

func (x *Message_M) Reset()

func (*Message_M) String Uses

func (x *Message_M) String() string

type Sint32 Uses

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

func (*Sint32) Descriptor Uses

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

Deprecated: Use Sint32.ProtoReflect.Descriptor instead.

func (*Sint32) GetV Uses

func (x *Sint32) GetV() int32

func (*Sint32) ProtoMessage Uses

func (*Sint32) ProtoMessage()

func (*Sint32) ProtoReflect Uses

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

func (*Sint32) Reset Uses

func (x *Sint32) Reset()

func (*Sint32) String Uses

func (x *Sint32) String() string

type Sint64 Uses

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

func (*Sint64) Descriptor Uses

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

Deprecated: Use Sint64.ProtoReflect.Descriptor instead.

func (*Sint64) GetV Uses

func (x *Sint64) GetV() int64

func (*Sint64) ProtoMessage Uses

func (*Sint64) ProtoMessage()

func (*Sint64) ProtoReflect Uses

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

func (*Sint64) Reset Uses

func (x *Sint64) Reset()

func (*Sint64) String Uses

func (x *Sint64) String() string

type String Uses

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

func (*String) Descriptor Uses

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

Deprecated: Use String.ProtoReflect.Descriptor instead.

func (*String) GetV Uses

func (x *String) GetV() string

func (*String) ProtoMessage Uses

func (*String) ProtoMessage()

func (*String) ProtoReflect Uses

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

func (*String) Reset Uses

func (x *String) Reset()

func (*String) String Uses

func (x *String) String() string

type Uint32 Uses

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

func (*Uint32) Descriptor Uses

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

Deprecated: Use Uint32.ProtoReflect.Descriptor instead.

func (*Uint32) GetV Uses

func (x *Uint32) GetV() uint32

func (*Uint32) ProtoMessage Uses

func (*Uint32) ProtoMessage()

func (*Uint32) ProtoReflect Uses

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

func (*Uint32) Reset Uses

func (x *Uint32) Reset()

func (*Uint32) String Uses

func (x *Uint32) String() string

type Uint64 Uses

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

func (*Uint64) Descriptor Uses

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

Deprecated: Use Uint64.ProtoReflect.Descriptor instead.

func (*Uint64) GetV Uses

func (x *Uint64) GetV() uint64

func (*Uint64) ProtoMessage Uses

func (*Uint64) ProtoMessage()

func (*Uint64) ProtoReflect Uses

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

func (*Uint64) Reset Uses

func (x *Uint64) Reset()

func (*Uint64) String Uses

func (x *Uint64) String() string

Package required imports 4 packages (graph). Updated 2020-07-14. Refresh now. Tools for package owners.