commonv1

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NullValue_name = map[int32]string{
		0: "NULL_VALUE",
	}
	NullValue_value = map[string]int32{
		"NULL_VALUE": 0,
	}
)

Enum value maps for NullValue.

View Source
var File_azarc_common_v1_struct_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ListValue

type ListValue struct {

	// Repeated field of dynamically typed values.
	Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*ListValue) Descriptor deprecated

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

Deprecated: Use ListValue.ProtoReflect.Descriptor instead.

func (*ListValue) GetValues

func (x *ListValue) GetValues() []*Value

func (*ListValue) ProtoMessage

func (*ListValue) ProtoMessage()

func (*ListValue) ProtoReflect

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

func (*ListValue) Reset

func (x *ListValue) Reset()

func (*ListValue) String

func (x *ListValue) String() string

type NullValue

type NullValue int32
const (
	// Null value.
	NullValue_NULL_VALUE NullValue = 0
)

func (NullValue) Descriptor

func (NullValue) Descriptor() protoreflect.EnumDescriptor

func (NullValue) Enum

func (x NullValue) Enum() *NullValue

func (NullValue) EnumDescriptor deprecated

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

Deprecated: Use NullValue.Descriptor instead.

func (NullValue) Number

func (x NullValue) Number() protoreflect.EnumNumber

func (NullValue) String

func (x NullValue) String() string

func (NullValue) Type

type Struct

type Struct struct {

	// Unordered map of dynamically typed values.
	Fields map[string]*Value `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Struct) Descriptor deprecated

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

Deprecated: Use Struct.ProtoReflect.Descriptor instead.

func (*Struct) GetFields

func (x *Struct) GetFields() map[string]*Value

func (*Struct) ProtoMessage

func (*Struct) ProtoMessage()

func (*Struct) ProtoReflect

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

func (*Struct) Reset

func (x *Struct) Reset()

func (*Struct) String

func (x *Struct) String() string

type Value

type Value struct {

	// The kind of value.
	//
	// Types that are assignable to Kind:
	//
	//	*Value_NullValue
	//	*Value_DoubleValue
	//	*Value_FloatValue
	//	*Value_Int32Value
	//	*Value_Int64Value
	//	*Value_Uint32Value
	//	*Value_Uint64Value
	//	*Value_Sint32Value
	//	*Value_Sint64Value
	//	*Value_Fixed32Value
	//	*Value_Fixed64Value
	//	*Value_Sfixed32Value
	//	*Value_Sfixed64Value
	//	*Value_BoolValue
	//	*Value_StringValue
	//	*Value_BytesValue
	//	*Value_AnyValue
	//	*Value_StructValue
	//	*Value_ListValue
	Kind isValue_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*Value) Descriptor deprecated

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

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetAnyValue

func (x *Value) GetAnyValue() *anypb.Any

func (*Value) GetBoolValue

func (x *Value) GetBoolValue() bool

func (*Value) GetBytesValue

func (x *Value) GetBytesValue() []byte

func (*Value) GetDoubleValue

func (x *Value) GetDoubleValue() float64

func (*Value) GetFixed32Value

func (x *Value) GetFixed32Value() uint32

func (*Value) GetFixed64Value

func (x *Value) GetFixed64Value() uint64

func (*Value) GetFloatValue

func (x *Value) GetFloatValue() float32

func (*Value) GetInt32Value

func (x *Value) GetInt32Value() int32

func (*Value) GetInt64Value

func (x *Value) GetInt64Value() int64

func (*Value) GetKind

func (m *Value) GetKind() isValue_Kind

func (*Value) GetListValue

func (x *Value) GetListValue() *ListValue

func (*Value) GetNullValue

func (x *Value) GetNullValue() NullValue

func (*Value) GetSfixed32Value

func (x *Value) GetSfixed32Value() int32

func (*Value) GetSfixed64Value

func (x *Value) GetSfixed64Value() int64

func (*Value) GetSint32Value

func (x *Value) GetSint32Value() int32

func (*Value) GetSint64Value

func (x *Value) GetSint64Value() int64

func (*Value) GetStringValue

func (x *Value) GetStringValue() string

func (*Value) GetStructValue

func (x *Value) GetStructValue() *Struct

func (*Value) GetUint32Value

func (x *Value) GetUint32Value() uint32

func (*Value) GetUint64Value

func (x *Value) GetUint64Value() uint64

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

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

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

type Value_AnyValue

type Value_AnyValue struct {
	// Represents an Any value.
	AnyValue *anypb.Any `protobuf:"bytes,17,opt,name=any_value,json=anyValue,proto3,oneof"`
}

type Value_BoolValue

type Value_BoolValue struct {
	// Represents a boolean value.
	BoolValue bool `protobuf:"varint,14,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type Value_BytesValue

type Value_BytesValue struct {
	// Represents a bytes value.
	BytesValue []byte `protobuf:"bytes,16,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}

type Value_DoubleValue

type Value_DoubleValue struct {
	// Represents a double value.
	DoubleValue float64 `protobuf:"fixed64,2,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type Value_Fixed32Value

type Value_Fixed32Value struct {
	// Represents a fixed32 value.
	Fixed32Value uint32 `protobuf:"fixed32,10,opt,name=fixed32_value,json=fixed32Value,proto3,oneof"`
}

type Value_Fixed64Value

type Value_Fixed64Value struct {
	// Represents a fixed64 value.
	Fixed64Value uint64 `protobuf:"fixed64,11,opt,name=fixed64_value,json=fixed64Value,proto3,oneof"`
}

type Value_FloatValue

type Value_FloatValue struct {
	// Represents a float value.
	FloatValue float32 `protobuf:"fixed32,3,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type Value_Int32Value

type Value_Int32Value struct {
	// Represents an int32 value.
	Int32Value int32 `protobuf:"varint,4,opt,name=int32_value,json=int32Value,proto3,oneof"`
}

type Value_Int64Value

type Value_Int64Value struct {
	// Represents an int64 value.
	Int64Value int64 `protobuf:"varint,5,opt,name=int64_value,json=int64Value,proto3,oneof"`
}

type Value_ListValue

type Value_ListValue struct {
	// Represents a repeated `Value`.
	ListValue *ListValue `protobuf:"bytes,19,opt,name=list_value,json=listValue,proto3,oneof"`
}

type Value_NullValue

type Value_NullValue struct {
	// Represents a null value.
	NullValue NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=common.v1.NullValue,oneof"`
}

type Value_Sfixed32Value

type Value_Sfixed32Value struct {
	// Represents a sfixed32 value.
	Sfixed32Value int32 `protobuf:"fixed32,12,opt,name=sfixed32_value,json=sfixed32Value,proto3,oneof"`
}

type Value_Sfixed64Value

type Value_Sfixed64Value struct {
	// Represents a sfixed64 value.
	Sfixed64Value int64 `protobuf:"fixed64,13,opt,name=sfixed64_value,json=sfixed64Value,proto3,oneof"`
}

type Value_Sint32Value

type Value_Sint32Value struct {
	// Represents a sint32 value.
	Sint32Value int32 `protobuf:"zigzag32,8,opt,name=sint32_value,json=sint32Value,proto3,oneof"`
}

type Value_Sint64Value

type Value_Sint64Value struct {
	// Represents a sint64 value.
	Sint64Value int64 `protobuf:"zigzag64,9,opt,name=sint64_value,json=sint64Value,proto3,oneof"`
}

type Value_StringValue

type Value_StringValue struct {
	// Represents a string value.
	StringValue string `protobuf:"bytes,15,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type Value_StructValue

type Value_StructValue struct {
	// Represents a structured value.
	StructValue *Struct `protobuf:"bytes,18,opt,name=struct_value,json=structValue,proto3,oneof"`
}

type Value_Uint32Value

type Value_Uint32Value struct {
	// Represents an uint32 value.
	Uint32Value uint32 `protobuf:"varint,6,opt,name=uint32_value,json=uint32Value,proto3,oneof"`
}

type Value_Uint64Value

type Value_Uint64Value struct {
	// Represents an uint64 value.
	Uint64Value uint64 `protobuf:"varint,7,opt,name=uint64_value,json=uint64Value,proto3,oneof"`
}

type Void added in v1.13.0

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

func (*Void) Descriptor deprecated added in v1.13.0

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

Deprecated: Use Void.ProtoReflect.Descriptor instead.

func (*Void) ProtoMessage added in v1.13.0

func (*Void) ProtoMessage()

func (*Void) ProtoReflect added in v1.13.0

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

func (*Void) Reset added in v1.13.0

func (x *Void) Reset()

func (*Void) String added in v1.13.0

func (x *Void) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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