proto

package
v0.0.0-...-baa1f0e Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnumValue_name = map[int32]string{
	0: "FIZZ",
	1: "BUZZ",
}
View Source
var EnumValue_value = map[string]int32{
	"FIZZ": 0,
	"BUZZ": 1,
}
View Source
var Foo_NestedEnum_name = map[int32]string{
	0: "JEDEN",
	1: "DWA",
}
View Source
var Foo_NestedEnum_value = map[string]int32{
	"JEDEN": 0,
	"DWA":   1,
}

Functions

This section is empty.

Types

type Bar

type Bar struct {
	// Mesh7CodeGenOpenAPIEnum
	EnumValue EnumValue `protobuf:"varint,1,opt,name=enum_value,json=enumValue,proto3,enum=proto.EnumValue" json:"enum_value,omitempty"`
	// Types that are valid to be assigned to OneofValue:
	//	*Bar_OneofValueString
	//	*Bar_OneofValueInt
	OneofValue           isBar_OneofValue `protobuf_oneof:"oneof_value"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

+k8s:openapi-gen=true

func (*Bar) Descriptor

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

func (*Bar) GetEnumValue

func (m *Bar) GetEnumValue() EnumValue

func (*Bar) GetOneofValue

func (m *Bar) GetOneofValue() isBar_OneofValue

func (*Bar) GetOneofValueInt

func (m *Bar) GetOneofValueInt() int32

func (*Bar) GetOneofValueString

func (m *Bar) GetOneofValueString() string

func (*Bar) ProtoMessage

func (*Bar) ProtoMessage()

func (*Bar) Reset

func (m *Bar) Reset()

func (*Bar) String

func (m *Bar) String() string

func (*Bar) XXX_DiscardUnknown

func (m *Bar) XXX_DiscardUnknown()

func (*Bar) XXX_Marshal

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

func (*Bar) XXX_Merge

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

func (*Bar) XXX_OneofWrappers

func (*Bar) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Bar) XXX_Size

func (m *Bar) XXX_Size() int

func (*Bar) XXX_Unmarshal

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

type Bar_OneofValueInt

type Bar_OneofValueInt struct {
	OneofValueInt int32 `protobuf:"varint,3,opt,name=oneof_value_int,json=oneofValueInt,proto3,oneof" json:"oneof_value_int,omitempty"`
}

type Bar_OneofValueString

type Bar_OneofValueString struct {
	OneofValueString string `protobuf:"bytes,2,opt,name=oneof_value_string,json=oneofValueString,proto3,oneof" json:"oneof_value_string,omitempty"`
}

type EnumValue

type EnumValue int32

+k8s:openapi-gen=true

const (
	EnumValue_FIZZ EnumValue = 0
	EnumValue_BUZZ EnumValue = 1
)

func (EnumValue) EnumDescriptor

func (EnumValue) EnumDescriptor() ([]byte, []int)

func (EnumValue) String

func (x EnumValue) String() string

type Foo

type Foo struct {
	DoubleValue   float64 `protobuf:"fixed64,1,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"`
	FloatValue    float32 `protobuf:"fixed32,2,opt,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"`
	Int32Value    int32   `protobuf:"varint,3,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"`
	Int64Value    int64   `protobuf:"varint,4,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"`
	Uint32Value   uint32  `protobuf:"varint,5,opt,name=uint32_value,json=uint32Value,proto3" json:"uint32_value,omitempty"`
	Uint64Value   uint64  `protobuf:"varint,6,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"`
	Sint32Value   int32   `protobuf:"zigzag32,7,opt,name=sint32_value,json=sint32Value,proto3" json:"sint32_value,omitempty"`
	Sint64Value   int64   `protobuf:"zigzag64,8,opt,name=sint64_value,json=sint64Value,proto3" json:"sint64_value,omitempty"`
	Fixed32Value  uint32  `protobuf:"fixed32,9,opt,name=fixed32_value,json=fixed32Value,proto3" json:"fixed32_value,omitempty"`
	Fixed64Value  uint64  `protobuf:"fixed64,10,opt,name=fixed64_value,json=fixed64Value,proto3" json:"fixed64_value,omitempty"`
	Sfixed32Value int32   `protobuf:"fixed32,11,opt,name=sfixed32_value,json=sfixed32Value,proto3" json:"sfixed32_value,omitempty"`
	Sfixed64Value int64   `protobuf:"fixed64,12,opt,name=sfixed64_value,json=sfixed64Value,proto3" json:"sfixed64_value,omitempty"`
	BoolValue     bool    `protobuf:"varint,13,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"`
	StringValue   string  `protobuf:"bytes,14,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
	BytesValue    []byte  `protobuf:"bytes,15,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"`
	// Mesh7CodeGenOpenAPIEnum
	EnumValue EnumValue `protobuf:"varint,17,opt,name=enum_value,json=enumValue,proto3,enum=proto.EnumValue" json:"enum_value,omitempty"`
	// Mesh7CodeGenOpenAPIEnum
	NestedEnumValue Foo_NestedEnum     `` /* 136-byte string literal not displayed */
	NestedMessage   *Foo_NestedMessage `protobuf:"bytes,19,opt,name=nested_message,json=nestedMessage,proto3" json:"nested_message,omitempty"`
	// Types that are valid to be assigned to OneofValue:
	//	*Foo_OneofValueString
	//	*Foo_OneofValueInt
	OneofValue           isFoo_OneofValue  `protobuf_oneof:"oneof_value"`
	MapValue             map[string]string `` /* 174-byte string literal not displayed */
	RepeatedValue        []int32           `protobuf:"varint,23,rep,packed,name=repeated_value,json=repeatedValue,proto3" json:"repeated_value,omitempty"`
	BarValue             *Bar              `protobuf:"bytes,24,opt,name=bar_value,json=barValue,proto3" json:"bar_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

+k8s:openapi-gen=true

func (*Foo) Descriptor

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

func (*Foo) GetBarValue

func (m *Foo) GetBarValue() *Bar

func (*Foo) GetBoolValue

func (m *Foo) GetBoolValue() bool

func (*Foo) GetBytesValue

func (m *Foo) GetBytesValue() []byte

func (*Foo) GetDoubleValue

func (m *Foo) GetDoubleValue() float64

func (*Foo) GetEnumValue

func (m *Foo) GetEnumValue() EnumValue

func (*Foo) GetFixed32Value

func (m *Foo) GetFixed32Value() uint32

func (*Foo) GetFixed64Value

func (m *Foo) GetFixed64Value() uint64

func (*Foo) GetFloatValue

func (m *Foo) GetFloatValue() float32

func (*Foo) GetInt32Value

func (m *Foo) GetInt32Value() int32

func (*Foo) GetInt64Value

func (m *Foo) GetInt64Value() int64

func (*Foo) GetMapValue

func (m *Foo) GetMapValue() map[string]string

func (*Foo) GetNestedEnumValue

func (m *Foo) GetNestedEnumValue() Foo_NestedEnum

func (*Foo) GetNestedMessage

func (m *Foo) GetNestedMessage() *Foo_NestedMessage

func (*Foo) GetOneofValue

func (m *Foo) GetOneofValue() isFoo_OneofValue

func (*Foo) GetOneofValueInt

func (m *Foo) GetOneofValueInt() int32

func (*Foo) GetOneofValueString

func (m *Foo) GetOneofValueString() string

func (*Foo) GetRepeatedValue

func (m *Foo) GetRepeatedValue() []int32

func (*Foo) GetSfixed32Value

func (m *Foo) GetSfixed32Value() int32

func (*Foo) GetSfixed64Value

func (m *Foo) GetSfixed64Value() int64

func (*Foo) GetSint32Value

func (m *Foo) GetSint32Value() int32

func (*Foo) GetSint64Value

func (m *Foo) GetSint64Value() int64

func (*Foo) GetStringValue

func (m *Foo) GetStringValue() string

func (*Foo) GetUint32Value

func (m *Foo) GetUint32Value() uint32

func (*Foo) GetUint64Value

func (m *Foo) GetUint64Value() uint64

func (*Foo) ProtoMessage

func (*Foo) ProtoMessage()

func (*Foo) Reset

func (m *Foo) Reset()

func (*Foo) String

func (m *Foo) String() string

func (*Foo) XXX_DiscardUnknown

func (m *Foo) XXX_DiscardUnknown()

func (*Foo) XXX_Marshal

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

func (*Foo) XXX_Merge

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

func (*Foo) XXX_OneofWrappers

func (*Foo) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Foo) XXX_Size

func (m *Foo) XXX_Size() int

func (*Foo) XXX_Unmarshal

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

type Foo_NestedEnum

type Foo_NestedEnum int32
const (
	Foo_JEDEN Foo_NestedEnum = 0
	Foo_DWA   Foo_NestedEnum = 1
)

func (Foo_NestedEnum) EnumDescriptor

func (Foo_NestedEnum) EnumDescriptor() ([]byte, []int)

func (Foo_NestedEnum) String

func (x Foo_NestedEnum) String() string

type Foo_NestedMessage

type Foo_NestedMessage struct {
	NestedMessageValue   string   `protobuf:"bytes,16,opt,name=nested_message_value,json=nestedMessageValue,proto3" json:"nested_message_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

+k8s:openapi-gen=true

func (*Foo_NestedMessage) Descriptor

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

func (*Foo_NestedMessage) GetNestedMessageValue

func (m *Foo_NestedMessage) GetNestedMessageValue() string

func (*Foo_NestedMessage) ProtoMessage

func (*Foo_NestedMessage) ProtoMessage()

func (*Foo_NestedMessage) Reset

func (m *Foo_NestedMessage) Reset()

func (*Foo_NestedMessage) String

func (m *Foo_NestedMessage) String() string

func (*Foo_NestedMessage) XXX_DiscardUnknown

func (m *Foo_NestedMessage) XXX_DiscardUnknown()

func (*Foo_NestedMessage) XXX_Marshal

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

func (*Foo_NestedMessage) XXX_Merge

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

func (*Foo_NestedMessage) XXX_Size

func (m *Foo_NestedMessage) XXX_Size() int

func (*Foo_NestedMessage) XXX_Unmarshal

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

type Foo_OneofValueInt

type Foo_OneofValueInt struct {
	OneofValueInt int32 `protobuf:"varint,21,opt,name=oneof_value_int,json=oneofValueInt,proto3,oneof" json:"oneof_value_int,omitempty"`
}

type Foo_OneofValueString

type Foo_OneofValueString struct {
	OneofValueString string `protobuf:"bytes,20,opt,name=oneof_value_string,json=oneofValueString,proto3,oneof" json:"oneof_value_string,omitempty"`
}

Jump to

Keyboard shortcuts

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