testpb

package
v0.0.0-...-095f669 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_testpb_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type IntAsBothStringAndBytes

type IntAsBothStringAndBytes struct {
	IntAsString string `protobuf:"bytes,1,opt,name=int_as_string,json=intAsString,proto3" json:"int_as_string,omitempty"`
	IntAsBytes  []byte `protobuf:"bytes,2,opt,name=int_as_bytes,json=intAsBytes,proto3" json:"int_as_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*IntAsBothStringAndBytes) Descriptor deprecated

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

Deprecated: Use IntAsBothStringAndBytes.ProtoReflect.Descriptor instead.

func (*IntAsBothStringAndBytes) GetIntAsBytes

func (x *IntAsBothStringAndBytes) GetIntAsBytes() []byte

func (*IntAsBothStringAndBytes) GetIntAsString

func (x *IntAsBothStringAndBytes) GetIntAsString() string

func (*IntAsBothStringAndBytes) ProtoMessage

func (*IntAsBothStringAndBytes) ProtoMessage()

func (*IntAsBothStringAndBytes) ProtoReflect

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

func (*IntAsBothStringAndBytes) Reset

func (x *IntAsBothStringAndBytes) Reset()

func (*IntAsBothStringAndBytes) String

func (x *IntAsBothStringAndBytes) String() string

type IntAsBytes

type IntAsBytes struct {
	IntAsBytes []byte `protobuf:"bytes,1,opt,name=int_as_bytes,json=intAsBytes,proto3" json:"int_as_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*IntAsBytes) Descriptor deprecated

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

Deprecated: Use IntAsBytes.ProtoReflect.Descriptor instead.

func (*IntAsBytes) GetIntAsBytes

func (x *IntAsBytes) GetIntAsBytes() []byte

func (*IntAsBytes) ProtoMessage

func (*IntAsBytes) ProtoMessage()

func (*IntAsBytes) ProtoReflect

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

func (*IntAsBytes) Reset

func (x *IntAsBytes) Reset()

func (*IntAsBytes) String

func (x *IntAsBytes) String() string

type IntAsString

type IntAsString struct {
	IntAsString string `protobuf:"bytes,1,opt,name=int_as_string,json=intAsString,proto3" json:"int_as_string,omitempty"`
	// contains filtered or unexported fields
}

func (*IntAsString) Descriptor deprecated

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

Deprecated: Use IntAsString.ProtoReflect.Descriptor instead.

func (*IntAsString) GetIntAsString

func (x *IntAsString) GetIntAsString() string

func (*IntAsString) ProtoMessage

func (*IntAsString) ProtoMessage()

func (*IntAsString) ProtoReflect

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

func (*IntAsString) Reset

func (x *IntAsString) Reset()

func (*IntAsString) String

func (x *IntAsString) String() string

type Streng

type Streng struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Streng) Descriptor deprecated

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

Deprecated: Use Streng.ProtoReflect.Descriptor instead.

func (*Streng) GetValue

func (x *Streng) GetValue() string

func (*Streng) ProtoMessage

func (*Streng) ProtoMessage()

func (*Streng) ProtoReflect

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

func (*Streng) Reset

func (x *Streng) Reset()

func (*Streng) String

func (x *Streng) String() string

type TestNullableFields

type TestNullableFields struct {
	NullableOmitempty *Streng `protobuf:"bytes,1,opt,name=nullable_omitempty,json=nullableOmitempty,proto3" json:"nullable_omitempty,omitempty"`
	// not supported
	// go-amino emits nothing and the protoreflect returns an error
	// alternatively protoreflect could emit `{}`
	NullableDontOmitempty *Streng `` /* 126-byte string literal not displayed */
	// not supported
	// go-amino emits `{}` but the protoreflect library emits nothing
	NonNullableOmitempty     *Streng `protobuf:"bytes,3,opt,name=non_nullable_omitempty,json=nonNullableOmitempty,proto3" json:"non_nullable_omitempty,omitempty"`
	NonNullableDontOmitempty *Streng `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TestNullableFields) Descriptor deprecated

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

Deprecated: Use TestNullableFields.ProtoReflect.Descriptor instead.

func (*TestNullableFields) GetNonNullableDontOmitempty

func (x *TestNullableFields) GetNonNullableDontOmitempty() *Streng

func (*TestNullableFields) GetNonNullableOmitempty

func (x *TestNullableFields) GetNonNullableOmitempty() *Streng

func (*TestNullableFields) GetNullableDontOmitempty

func (x *TestNullableFields) GetNullableDontOmitempty() *Streng

func (*TestNullableFields) GetNullableOmitempty

func (x *TestNullableFields) GetNullableOmitempty() *Streng

func (*TestNullableFields) ProtoMessage

func (*TestNullableFields) ProtoMessage()

func (*TestNullableFields) ProtoReflect

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

func (*TestNullableFields) Reset

func (x *TestNullableFields) Reset()

func (*TestNullableFields) String

func (x *TestNullableFields) String() string

type TestRepeatedFields

type TestRepeatedFields struct {
	NullableOmitempty []*Streng `protobuf:"bytes,1,rep,name=nullable_omitempty,json=nullableOmitempty,proto3" json:"nullable_omitempty,omitempty"`
	// not supported for empty sets
	// go-amino emits nothing but the protoreflect library emits a null
	NullableDontOmitempty []*Streng `` /* 126-byte string literal not displayed */
	// not supported for empty sets
	// go-amino emits a null but the protoreflect library emits nothing
	NonNullableOmitempty     []*Streng `protobuf:"bytes,3,rep,name=non_nullable_omitempty,json=nonNullableOmitempty,proto3" json:"non_nullable_omitempty,omitempty"`
	NonNullableDontOmitempty []*Streng `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TestRepeatedFields) Descriptor deprecated

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

Deprecated: Use TestRepeatedFields.ProtoReflect.Descriptor instead.

func (*TestRepeatedFields) GetNonNullableDontOmitempty

func (x *TestRepeatedFields) GetNonNullableDontOmitempty() []*Streng

func (*TestRepeatedFields) GetNonNullableOmitempty

func (x *TestRepeatedFields) GetNonNullableOmitempty() []*Streng

func (*TestRepeatedFields) GetNullableDontOmitempty

func (x *TestRepeatedFields) GetNullableDontOmitempty() []*Streng

func (*TestRepeatedFields) GetNullableOmitempty

func (x *TestRepeatedFields) GetNullableOmitempty() []*Streng

func (*TestRepeatedFields) ProtoMessage

func (*TestRepeatedFields) ProtoMessage()

func (*TestRepeatedFields) ProtoReflect

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

func (*TestRepeatedFields) Reset

func (x *TestRepeatedFields) Reset()

func (*TestRepeatedFields) String

func (x *TestRepeatedFields) String() string

Jump to

Keyboard shortcuts

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