...

Package issue780_oneof_conflict

import "google.golang.org/protobuf/cmd/protoc-gen-go/testdata/issue780_oneof_conflict"
Overview
Index

Overview ▾

Variables

var File_cmd_protoc_gen_go_testdata_issue780_oneof_conflict_test_proto protoreflect.FileDescriptor

type Foo

type Foo struct {

    // Types that are assignable to Bar:
    //
    //	*Foo_GetBar
    Bar isFoo_Bar `protobuf_oneof:"bar"`
    // contains filtered or unexported fields
}

func (*Foo) Descriptor

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

Deprecated: Use Foo.ProtoReflect.Descriptor instead.

func (*Foo) GetBar

func (m *Foo) GetBar() isFoo_Bar

func (*Foo) GetGetBar

func (x *Foo) GetGetBar() string

func (*Foo) ProtoMessage

func (*Foo) ProtoMessage()

func (*Foo) ProtoReflect

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

func (*Foo) Reset

func (x *Foo) Reset()

func (*Foo) String

func (x *Foo) String() string

type Foo_GetBar

type Foo_GetBar struct {
    GetBar string `protobuf:"bytes,1,opt,name=get_bar,json=getBar,oneof"`
}