value

package
v0.0.0-...-507a3c1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2018 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TypeValue_BasicType_name = map[int32]string{
	0:  "BASIC_TYPE_UNSPECIFIED",
	1:  "NULL_TYPE",
	2:  "BOOL_TYPE",
	3:  "INT_TYPE",
	4:  "UINT_TYPE",
	5:  "DOUBLE_TYPE",
	6:  "STRING_TYPE",
	7:  "BYTES_TYPE",
	8:  "TYPE_TYPE",
	9:  "MAP_TYPE",
	10: "LIST_TYPE",
}
View Source
var TypeValue_BasicType_value = map[string]int32{
	"BASIC_TYPE_UNSPECIFIED": 0,
	"NULL_TYPE":              1,
	"BOOL_TYPE":              2,
	"INT_TYPE":               3,
	"UINT_TYPE":              4,
	"DOUBLE_TYPE":            5,
	"STRING_TYPE":            6,
	"BYTES_TYPE":             7,
	"TYPE_TYPE":              8,
	"MAP_TYPE":               9,
	"LIST_TYPE":              10,
}

Functions

This section is empty.

Types

type ListValue

type ListValue struct {
	Values               []*Value `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListValue) Descriptor

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

func (*ListValue) GetValues

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

func (*ListValue) ProtoMessage

func (*ListValue) ProtoMessage()

func (*ListValue) Reset

func (m *ListValue) Reset()

func (*ListValue) String

func (m *ListValue) String() string

func (*ListValue) XXX_DiscardUnknown

func (m *ListValue) XXX_DiscardUnknown()

func (*ListValue) XXX_Marshal

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

func (*ListValue) XXX_Merge

func (dst *ListValue) XXX_Merge(src proto.Message)

func (*ListValue) XXX_Size

func (m *ListValue) XXX_Size() int

func (*ListValue) XXX_Unmarshal

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

type MapValue

type MapValue struct {
	Entries              []*MapValue_Entry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*MapValue) Descriptor

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

func (*MapValue) GetEntries

func (m *MapValue) GetEntries() []*MapValue_Entry

func (*MapValue) ProtoMessage

func (*MapValue) ProtoMessage()

func (*MapValue) Reset

func (m *MapValue) Reset()

func (*MapValue) String

func (m *MapValue) String() string

func (*MapValue) XXX_DiscardUnknown

func (m *MapValue) XXX_DiscardUnknown()

func (*MapValue) XXX_Marshal

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

func (*MapValue) XXX_Merge

func (dst *MapValue) XXX_Merge(src proto.Message)

func (*MapValue) XXX_Size

func (m *MapValue) XXX_Size() int

func (*MapValue) XXX_Unmarshal

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

type MapValue_Entry

type MapValue_Entry struct {
	Key                  *Value   `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Value                *Value   `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MapValue_Entry) Descriptor

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

func (*MapValue_Entry) GetKey

func (m *MapValue_Entry) GetKey() *Value

func (*MapValue_Entry) GetValue

func (m *MapValue_Entry) GetValue() *Value

func (*MapValue_Entry) ProtoMessage

func (*MapValue_Entry) ProtoMessage()

func (*MapValue_Entry) Reset

func (m *MapValue_Entry) Reset()

func (*MapValue_Entry) String

func (m *MapValue_Entry) String() string

func (*MapValue_Entry) XXX_DiscardUnknown

func (m *MapValue_Entry) XXX_DiscardUnknown()

func (*MapValue_Entry) XXX_Marshal

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

func (*MapValue_Entry) XXX_Merge

func (dst *MapValue_Entry) XXX_Merge(src proto.Message)

func (*MapValue_Entry) XXX_Size

func (m *MapValue_Entry) XXX_Size() int

func (*MapValue_Entry) XXX_Unmarshal

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

type TypeValue

type TypeValue struct {
	// Types that are valid to be assigned to DesignatorKind:
	//	*TypeValue_BasicType_
	//	*TypeValue_ObjectType
	DesignatorKind       isTypeValue_DesignatorKind `protobuf_oneof:"designator_kind"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*TypeValue) Descriptor

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

func (*TypeValue) GetBasicType

func (m *TypeValue) GetBasicType() TypeValue_BasicType

func (*TypeValue) GetDesignatorKind

func (m *TypeValue) GetDesignatorKind() isTypeValue_DesignatorKind

func (*TypeValue) GetObjectType

func (m *TypeValue) GetObjectType() string

func (*TypeValue) ProtoMessage

func (*TypeValue) ProtoMessage()

func (*TypeValue) Reset

func (m *TypeValue) Reset()

func (*TypeValue) String

func (m *TypeValue) String() string

func (*TypeValue) XXX_DiscardUnknown

func (m *TypeValue) XXX_DiscardUnknown()

func (*TypeValue) XXX_Marshal

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

func (*TypeValue) XXX_Merge

func (dst *TypeValue) XXX_Merge(src proto.Message)

func (*TypeValue) XXX_OneofFuncs

func (*TypeValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*TypeValue) XXX_Size

func (m *TypeValue) XXX_Size() int

func (*TypeValue) XXX_Unmarshal

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

type TypeValue_BasicType

type TypeValue_BasicType int32
const (
	TypeValue_BASIC_TYPE_UNSPECIFIED TypeValue_BasicType = 0
	TypeValue_NULL_TYPE              TypeValue_BasicType = 1
	TypeValue_BOOL_TYPE              TypeValue_BasicType = 2
	TypeValue_INT_TYPE               TypeValue_BasicType = 3
	TypeValue_UINT_TYPE              TypeValue_BasicType = 4
	TypeValue_DOUBLE_TYPE            TypeValue_BasicType = 5
	TypeValue_STRING_TYPE            TypeValue_BasicType = 6
	TypeValue_BYTES_TYPE             TypeValue_BasicType = 7
	TypeValue_TYPE_TYPE              TypeValue_BasicType = 8
	TypeValue_MAP_TYPE               TypeValue_BasicType = 9
	TypeValue_LIST_TYPE              TypeValue_BasicType = 10
)

func (TypeValue_BasicType) EnumDescriptor

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

func (TypeValue_BasicType) String

func (x TypeValue_BasicType) String() string

type TypeValue_BasicType_

type TypeValue_BasicType_ struct {
	BasicType TypeValue_BasicType `protobuf:"varint,1,opt,name=basic_type,json=basicType,enum=google.api.expr.v1.TypeValue_BasicType,oneof"`
}

type TypeValue_ObjectType

type TypeValue_ObjectType struct {
	ObjectType string `protobuf:"bytes,6,opt,name=object_type,json=objectType,oneof"`
}

type Value

type Value struct {
	// Types that are valid to be assigned to Kind:
	//	*Value_NullValue
	//	*Value_BoolValue
	//	*Value_Int64Value
	//	*Value_Uint64Value
	//	*Value_DoubleValue
	//	*Value_StringValue
	//	*Value_BytesValue
	//	*Value_ObjectValue
	//	*Value_MapValue
	//	*Value_ListValue
	//	*Value_TypeValue
	Kind                 isValue_Kind `protobuf_oneof:"kind"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*Value) Descriptor

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

func (*Value) GetBoolValue

func (m *Value) GetBoolValue() bool

func (*Value) GetBytesValue

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

func (*Value) GetDoubleValue

func (m *Value) GetDoubleValue() float64

func (*Value) GetInt64Value

func (m *Value) GetInt64Value() int64

func (*Value) GetKind

func (m *Value) GetKind() isValue_Kind

func (*Value) GetListValue

func (m *Value) GetListValue() *ListValue

func (*Value) GetMapValue

func (m *Value) GetMapValue() *MapValue

func (*Value) GetNullValue

func (m *Value) GetNullValue() _struct.NullValue

func (*Value) GetObjectValue

func (m *Value) GetObjectValue() *any.Any

func (*Value) GetStringValue

func (m *Value) GetStringValue() string

func (*Value) GetTypeValue

func (m *Value) GetTypeValue() *TypeValue

func (*Value) GetUint64Value

func (m *Value) GetUint64Value() uint64

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) Reset

func (m *Value) Reset()

func (*Value) String

func (m *Value) String() string

func (*Value) XXX_DiscardUnknown

func (m *Value) XXX_DiscardUnknown()

func (*Value) XXX_Marshal

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

func (*Value) XXX_Merge

func (dst *Value) XXX_Merge(src proto.Message)

func (*Value) XXX_OneofFuncs

func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Value) XXX_Size

func (m *Value) XXX_Size() int

func (*Value) XXX_Unmarshal

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

type Value_BoolValue

type Value_BoolValue struct {
	BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,oneof"`
}

type Value_BytesValue

type Value_BytesValue struct {
	BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}

type Value_DoubleValue

type Value_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,oneof"`
}

type Value_Int64Value

type Value_Int64Value struct {
	Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,oneof"`
}

type Value_ListValue

type Value_ListValue struct {
	ListValue *ListValue `protobuf:"bytes,12,opt,name=list_value,json=listValue,oneof"`
}

type Value_MapValue

type Value_MapValue struct {
	MapValue *MapValue `protobuf:"bytes,11,opt,name=map_value,json=mapValue,oneof"`
}

type Value_NullValue

type Value_NullValue struct {
	NullValue _struct.NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,enum=google.protobuf.NullValue,oneof"`
}

type Value_ObjectValue

type Value_ObjectValue struct {
	ObjectValue *any.Any `protobuf:"bytes,10,opt,name=object_value,json=objectValue,oneof"`
}

type Value_StringValue

type Value_StringValue struct {
	StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,oneof"`
}

type Value_TypeValue

type Value_TypeValue struct {
	TypeValue *TypeValue `protobuf:"bytes,15,opt,name=type_value,json=typeValue,oneof"`
}

type Value_Uint64Value

type Value_Uint64Value struct {
	Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,oneof"`
}

Jump to

Keyboard shortcuts

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