Documentation ¶
Overview ¶
Package objectsv1beta1 is generated from proto package.
Index ¶
- Variables
- func FromValue(v *Value) (any, error)
- func ToMap(fields map[string]*Value) (map[string]any, error)
- func ToMapValue(in map[string]any) (map[string]*Value, error)
- type ArrayValue
- func (*ArrayValue) Append(protoreflect.Value)
- func (*ArrayValue) AppendMutable() protoreflect.Value
- func (*ArrayValue) Descriptor() ([]byte, []int)deprecated
- func (x *ArrayValue) Get(i int) protoreflect.Value
- func (x *ArrayValue) GetValues() []*Value
- func (*ArrayValue) IsValid() bool
- func (x *ArrayValue) Len() int
- func (*ArrayValue) NewElement() protoreflect.Value
- func (*ArrayValue) ProtoMessage()
- func (x *ArrayValue) ProtoReflect() protoreflect.Message
- func (x *ArrayValue) Reset()
- func (*ArrayValue) Set(int, protoreflect.Value)
- func (x *ArrayValue) String() string
- func (*ArrayValue) Truncate(int)
- func (m *ArrayValue) Validate() error
- func (m *ArrayValue) ValidateAll() error
- type ArrayValueMultiError
- type ArrayValueValidationError
- type Identifier
- func (*Identifier) Descriptor() ([]byte, []int)deprecated
- func (m *Identifier) GetId() isIdentifier_Id
- func (x *Identifier) GetIdBytes() []byte
- func (x *Identifier) GetIdString() string
- func (*Identifier) ProtoMessage()
- func (x *Identifier) ProtoReflect() protoreflect.Message
- func (x *Identifier) Reset()
- func (x *Identifier) String() string
- func (m *Identifier) Validate() error
- func (m *Identifier) ValidateAll() error
- type IdentifierMultiError
- type IdentifierValidationError
- type Identifier_IdBytes
- type Identifier_IdString
- type MapValue
- func (*MapValue) Descriptor() ([]byte, []int)deprecated
- func (x *MapValue) GetFields() map[string]*Value
- func (*MapValue) ProtoMessage()
- func (x *MapValue) ProtoReflect() protoreflect.Message
- func (x *MapValue) Reset()
- func (x *MapValue) String() string
- func (m *MapValue) Validate() error
- func (m *MapValue) ValidateAll() error
- type MapValueMultiError
- type MapValueValidationError
- type ObjectReference
- func (*ObjectReference) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectReference) GetAppId() *Identifier
- func (x *ObjectReference) GetAppSpaceId() *Identifier
- func (x *ObjectReference) GetCustomerId() *Identifier
- func (x *ObjectReference) GetId() *Identifier
- func (x *ObjectReference) GetTenantId() *Identifier
- func (x *ObjectReference) GetTypeHint() string
- func (*ObjectReference) ProtoMessage()
- func (x *ObjectReference) ProtoReflect() protoreflect.Message
- func (x *ObjectReference) Reset()
- func (x *ObjectReference) String() string
- func (m *ObjectReference) Validate() error
- func (m *ObjectReference) ValidateAll() error
- type ObjectReferenceMultiError
- type ObjectReferenceValidationError
- func (e ObjectReferenceValidationError) Cause() error
- func (e ObjectReferenceValidationError) Error() string
- func (e ObjectReferenceValidationError) ErrorName() string
- func (e ObjectReferenceValidationError) Field() string
- func (e ObjectReferenceValidationError) Key() bool
- func (e ObjectReferenceValidationError) Reason() string
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetAnyValue() *anypb.Any
- func (x *Value) GetArrayValue() *ArrayValue
- func (x *Value) GetBoolValue() bool
- func (x *Value) GetBytesValue() []byte
- func (x *Value) GetDoubleValue() float64
- func (x *Value) GetDurationValue() *durationpb.Duration
- func (x *Value) GetGeoPointValue() *latlng.LatLng
- func (x *Value) GetIntegerValue() int64
- func (x *Value) GetMapValue() *MapValue
- func (x *Value) GetNullValue() structpb.NullValue
- func (x *Value) GetStringValue() string
- func (x *Value) GetUnsignedIntegerValue() uint64
- func (m *Value) GetValue() isValue_Value
- func (x *Value) GetValueTime() *timestamppb.Timestamp
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- func (m *Value) Validate() error
- func (m *Value) ValidateAll() error
- type ValueMultiError
- type ValueValidationError
- type Value_AnyValue
- type Value_ArrayValue
- type Value_BoolValue
- type Value_BytesValue
- type Value_DoubleValue
- type Value_DurationValue
- type Value_GeoPointValue
- type Value_IntegerValue
- type Value_MapValue
- type Value_NullValue
- type Value_StringValue
- type Value_UnsignedIntegerValue
- type Value_ValueTime
Constants ¶
This section is empty.
Variables ¶
var File_indykite_objects_v1beta1_id_proto protoreflect.FileDescriptor
var File_indykite_objects_v1beta1_struct_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type ArrayValue ¶
type ArrayValue struct { // Values in the array. Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
An array value.
func (*ArrayValue) Append ¶
func (*ArrayValue) Append(protoreflect.Value)
func (*ArrayValue) AppendMutable ¶
func (*ArrayValue) AppendMutable() protoreflect.Value
func (*ArrayValue) Descriptor
deprecated
func (*ArrayValue) Descriptor() ([]byte, []int)
Deprecated: Use ArrayValue.ProtoReflect.Descriptor instead.
func (*ArrayValue) Get ¶
func (x *ArrayValue) Get(i int) protoreflect.Value
func (*ArrayValue) GetValues ¶
func (x *ArrayValue) GetValues() []*Value
func (*ArrayValue) IsValid ¶
func (*ArrayValue) IsValid() bool
func (*ArrayValue) Len ¶
func (x *ArrayValue) Len() int
func (*ArrayValue) NewElement ¶
func (*ArrayValue) NewElement() protoreflect.Value
func (*ArrayValue) ProtoMessage ¶
func (*ArrayValue) ProtoMessage()
func (*ArrayValue) ProtoReflect ¶
func (x *ArrayValue) ProtoReflect() protoreflect.Message
func (*ArrayValue) Reset ¶
func (x *ArrayValue) Reset()
func (*ArrayValue) Set ¶
func (*ArrayValue) Set(int, protoreflect.Value)
func (*ArrayValue) String ¶
func (x *ArrayValue) String() string
func (*ArrayValue) Truncate ¶
func (*ArrayValue) Truncate(int)
func (*ArrayValue) Validate ¶
func (m *ArrayValue) Validate() error
Validate checks the field values on ArrayValue with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ArrayValue) ValidateAll ¶
func (m *ArrayValue) ValidateAll() error
ValidateAll checks the field values on ArrayValue with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ArrayValueMultiError, or nil if none found.
type ArrayValueMultiError ¶
type ArrayValueMultiError []error
ArrayValueMultiError is an error wrapping multiple validation errors returned by ArrayValue.ValidateAll() if the designated constraints aren't met.
func (ArrayValueMultiError) AllErrors ¶
func (m ArrayValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ArrayValueMultiError) Error ¶
func (m ArrayValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ArrayValueValidationError ¶
type ArrayValueValidationError struct {
// contains filtered or unexported fields
}
ArrayValueValidationError is the validation error returned by ArrayValue.Validate if the designated constraints aren't met.
func (ArrayValueValidationError) Cause ¶
func (e ArrayValueValidationError) Cause() error
Cause function returns cause value.
func (ArrayValueValidationError) Error ¶
func (e ArrayValueValidationError) Error() string
Error satisfies the builtin error interface
func (ArrayValueValidationError) ErrorName ¶
func (e ArrayValueValidationError) ErrorName() string
ErrorName returns error name.
func (ArrayValueValidationError) Field ¶
func (e ArrayValueValidationError) Field() string
Field function returns field value.
func (ArrayValueValidationError) Key ¶
func (e ArrayValueValidationError) Key() bool
Key function returns key value.
func (ArrayValueValidationError) Reason ¶
func (e ArrayValueValidationError) Reason() string
Reason function returns reason value.
type Identifier ¶
type Identifier struct { // Types that are assignable to Id: // *Identifier_IdString // *Identifier_IdBytes Id isIdentifier_Id `protobuf_oneof:"id"` // contains filtered or unexported fields }
Identifier is a universally unique identifier (UUID) a 128-bit number used to identify information in system.
func (*Identifier) Descriptor
deprecated
func (*Identifier) Descriptor() ([]byte, []int)
Deprecated: Use Identifier.ProtoReflect.Descriptor instead.
func (*Identifier) GetId ¶
func (m *Identifier) GetId() isIdentifier_Id
func (*Identifier) GetIdBytes ¶
func (x *Identifier) GetIdBytes() []byte
func (*Identifier) GetIdString ¶
func (x *Identifier) GetIdString() string
func (*Identifier) ProtoMessage ¶
func (*Identifier) ProtoMessage()
func (*Identifier) ProtoReflect ¶
func (x *Identifier) ProtoReflect() protoreflect.Message
func (*Identifier) Reset ¶
func (x *Identifier) Reset()
func (*Identifier) String ¶
func (x *Identifier) String() string
func (*Identifier) Validate ¶
func (m *Identifier) Validate() error
Validate checks the field values on Identifier with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Identifier) ValidateAll ¶
func (m *Identifier) ValidateAll() error
ValidateAll checks the field values on Identifier with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IdentifierMultiError, or nil if none found.
type IdentifierMultiError ¶
type IdentifierMultiError []error
IdentifierMultiError is an error wrapping multiple validation errors returned by Identifier.ValidateAll() if the designated constraints aren't met.
func (IdentifierMultiError) AllErrors ¶
func (m IdentifierMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IdentifierMultiError) Error ¶
func (m IdentifierMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IdentifierValidationError ¶
type IdentifierValidationError struct {
// contains filtered or unexported fields
}
IdentifierValidationError is the validation error returned by Identifier.Validate if the designated constraints aren't met.
func (IdentifierValidationError) Cause ¶
func (e IdentifierValidationError) Cause() error
Cause function returns cause value.
func (IdentifierValidationError) Error ¶
func (e IdentifierValidationError) Error() string
Error satisfies the builtin error interface
func (IdentifierValidationError) ErrorName ¶
func (e IdentifierValidationError) ErrorName() string
ErrorName returns error name.
func (IdentifierValidationError) Field ¶
func (e IdentifierValidationError) Field() string
Field function returns field value.
func (IdentifierValidationError) Key ¶
func (e IdentifierValidationError) Key() bool
Key function returns key value.
func (IdentifierValidationError) Reason ¶
func (e IdentifierValidationError) Reason() string
Reason function returns reason value.
type Identifier_IdBytes ¶
type Identifier_IdBytes struct { // Byte[16] array representation of an RFC4122 compliant UUID. IdBytes []byte `protobuf:"bytes,8,opt,name=id_bytes,json=idBytes,proto3,oneof"` }
type Identifier_IdString ¶
type Identifier_IdString struct { //String representation of an RFC4122 compliant UUID. IdString string `protobuf:"bytes,7,opt,name=id_string,json=idString,proto3,oneof"` }
type MapValue ¶
type MapValue struct { // The map's keys and values. Fields map[string]*Value `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
A map value.
func (*MapValue) Descriptor
deprecated
func (*MapValue) ProtoMessage ¶
func (*MapValue) ProtoMessage()
func (*MapValue) ProtoReflect ¶
func (x *MapValue) ProtoReflect() protoreflect.Message
func (*MapValue) Validate ¶
Validate checks the field values on MapValue with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MapValue) ValidateAll ¶
ValidateAll checks the field values on MapValue with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MapValueMultiError, or nil if none found.
type MapValueMultiError ¶
type MapValueMultiError []error
MapValueMultiError is an error wrapping multiple validation errors returned by MapValue.ValidateAll() if the designated constraints aren't met.
func (MapValueMultiError) AllErrors ¶
func (m MapValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MapValueMultiError) Error ¶
func (m MapValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MapValueValidationError ¶
type MapValueValidationError struct {
// contains filtered or unexported fields
}
MapValueValidationError is the validation error returned by MapValue.Validate if the designated constraints aren't met.
func (MapValueValidationError) Cause ¶
func (e MapValueValidationError) Cause() error
Cause function returns cause value.
func (MapValueValidationError) Error ¶
func (e MapValueValidationError) Error() string
Error satisfies the builtin error interface
func (MapValueValidationError) ErrorName ¶
func (e MapValueValidationError) ErrorName() string
ErrorName returns error name.
func (MapValueValidationError) Field ¶
func (e MapValueValidationError) Field() string
Field function returns field value.
func (MapValueValidationError) Key ¶
func (e MapValueValidationError) Key() bool
Key function returns key value.
func (MapValueValidationError) Reason ¶
func (e MapValueValidationError) Reason() string
Reason function returns reason value.
type ObjectReference ¶
type ObjectReference struct { //UUID of the top level Customer. CustomerId *Identifier `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` //UUID of Application Space in Customer. AppSpaceId *Identifier `protobuf:"bytes,2,opt,name=app_space_id,json=appSpaceId,proto3" json:"app_space_id,omitempty"` //UUID of Application in Application Space. AppId *Identifier `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` //UUID of Tenant in Application Space. TenantId *Identifier `protobuf:"bytes,4,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` //Gives a hint about what the identifier refers to. Usually a URL to the schema of the target object. TypeHint string `protobuf:"bytes,6,opt,name=type_hint,json=typeHint,proto3" json:"type_hint,omitempty"` //UUID of Object to refer to. Id *Identifier `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
ObjectReference ...
func (*ObjectReference) Descriptor
deprecated
func (*ObjectReference) Descriptor() ([]byte, []int)
Deprecated: Use ObjectReference.ProtoReflect.Descriptor instead.
func (*ObjectReference) GetAppId ¶
func (x *ObjectReference) GetAppId() *Identifier
func (*ObjectReference) GetAppSpaceId ¶
func (x *ObjectReference) GetAppSpaceId() *Identifier
func (*ObjectReference) GetCustomerId ¶
func (x *ObjectReference) GetCustomerId() *Identifier
func (*ObjectReference) GetId ¶
func (x *ObjectReference) GetId() *Identifier
func (*ObjectReference) GetTenantId ¶
func (x *ObjectReference) GetTenantId() *Identifier
func (*ObjectReference) GetTypeHint ¶
func (x *ObjectReference) GetTypeHint() string
func (*ObjectReference) ProtoMessage ¶
func (*ObjectReference) ProtoMessage()
func (*ObjectReference) ProtoReflect ¶
func (x *ObjectReference) ProtoReflect() protoreflect.Message
func (*ObjectReference) Reset ¶
func (x *ObjectReference) Reset()
func (*ObjectReference) String ¶
func (x *ObjectReference) String() string
func (*ObjectReference) Validate ¶
func (m *ObjectReference) Validate() error
Validate checks the field values on ObjectReference with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ObjectReference) ValidateAll ¶
func (m *ObjectReference) ValidateAll() error
ValidateAll checks the field values on ObjectReference with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ObjectReferenceMultiError, or nil if none found.
type ObjectReferenceMultiError ¶
type ObjectReferenceMultiError []error
ObjectReferenceMultiError is an error wrapping multiple validation errors returned by ObjectReference.ValidateAll() if the designated constraints aren't met.
func (ObjectReferenceMultiError) AllErrors ¶
func (m ObjectReferenceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ObjectReferenceMultiError) Error ¶
func (m ObjectReferenceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ObjectReferenceValidationError ¶
type ObjectReferenceValidationError struct {
// contains filtered or unexported fields
}
ObjectReferenceValidationError is the validation error returned by ObjectReference.Validate if the designated constraints aren't met.
func (ObjectReferenceValidationError) Cause ¶
func (e ObjectReferenceValidationError) Cause() error
Cause function returns cause value.
func (ObjectReferenceValidationError) Error ¶
func (e ObjectReferenceValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectReferenceValidationError) ErrorName ¶
func (e ObjectReferenceValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectReferenceValidationError) Field ¶
func (e ObjectReferenceValidationError) Field() string
Field function returns field value.
func (ObjectReferenceValidationError) Key ¶
func (e ObjectReferenceValidationError) Key() bool
Key function returns key value.
func (ObjectReferenceValidationError) Reason ¶
func (e ObjectReferenceValidationError) Reason() string
Reason function returns reason value.
type Value ¶
type Value struct { // Must have a value set. // // Types that are assignable to Value: // // *Value_NullValue // *Value_BoolValue // *Value_IntegerValue // *Value_UnsignedIntegerValue // *Value_DoubleValue // *Value_AnyValue // *Value_ValueTime // *Value_DurationValue // *Value_StringValue // *Value_BytesValue // *Value_GeoPointValue // *Value_ArrayValue // *Value_MapValue Value isValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
A message that can hold any of the supported value types.
func (*Value) Descriptor
deprecated
func (*Value) GetAnyValue ¶
func (*Value) GetArrayValue ¶
func (x *Value) GetArrayValue() *ArrayValue
func (*Value) GetBoolValue ¶
func (*Value) GetBytesValue ¶
func (*Value) GetDoubleValue ¶
func (*Value) GetDurationValue ¶
func (x *Value) GetDurationValue() *durationpb.Duration
func (*Value) GetGeoPointValue ¶
func (*Value) GetIntegerValue ¶
func (*Value) GetMapValue ¶
func (*Value) GetNullValue ¶
func (*Value) GetStringValue ¶
func (*Value) GetUnsignedIntegerValue ¶
func (*Value) GetValueTime ¶
func (x *Value) GetValueTime() *timestamppb.Timestamp
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
func (*Value) Validate ¶
Validate checks the field values on Value with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Value) ValidateAll ¶
ValidateAll checks the field values on Value with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ValueMultiError, or nil if none found.
type ValueMultiError ¶
type ValueMultiError []error
ValueMultiError is an error wrapping multiple validation errors returned by Value.ValidateAll() if the designated constraints aren't met.
func (ValueMultiError) AllErrors ¶
func (m ValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValueMultiError) Error ¶
func (m ValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValueValidationError ¶
type ValueValidationError struct {
// contains filtered or unexported fields
}
ValueValidationError is the validation error returned by Value.Validate if the designated constraints aren't met.
func (ValueValidationError) Cause ¶
func (e ValueValidationError) Cause() error
Cause function returns cause value.
func (ValueValidationError) Error ¶
func (e ValueValidationError) Error() string
Error satisfies the builtin error interface
func (ValueValidationError) ErrorName ¶
func (e ValueValidationError) ErrorName() string
ErrorName returns error name.
func (ValueValidationError) Field ¶
func (e ValueValidationError) Field() string
Field function returns field value.
func (ValueValidationError) Key ¶
func (e ValueValidationError) Key() bool
Key function returns key value.
func (ValueValidationError) Reason ¶
func (e ValueValidationError) Reason() string
Reason function returns reason value.
type Value_AnyValue ¶
type Value_ArrayValue ¶
type Value_ArrayValue struct { // An array value. ArrayValue *ArrayValue `protobuf:"bytes,10,opt,name=array_value,json=arrayValue,proto3,oneof"` }
type Value_BoolValue ¶
type Value_BoolValue struct { // A boolean value. BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"` }
type Value_BytesValue ¶
type Value_BytesValue struct { // A bytes value. BytesValue []byte `protobuf:"bytes,8,opt,name=bytes_value,json=bytesValue,proto3,oneof"` }
type Value_DoubleValue ¶
type Value_DoubleValue struct { // A double value. DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof"` }
type Value_DurationValue ¶
type Value_DurationValue struct { // A duration value. DurationValue *durationpb.Duration `protobuf:"bytes,12,opt,name=duration_value,json=durationValue,proto3,oneof"` }
type Value_GeoPointValue ¶
type Value_IntegerValue ¶
type Value_IntegerValue struct { // An integer value. IntegerValue int64 `protobuf:"varint,3,opt,name=integer_value,json=integerValue,proto3,oneof"` }
type Value_MapValue ¶
type Value_MapValue struct { // A map value. MapValue *MapValue `protobuf:"bytes,11,opt,name=map_value,json=mapValue,proto3,oneof"` }
type Value_NullValue ¶
type Value_StringValue ¶
type Value_StringValue struct { // A string value. StringValue string `protobuf:"bytes,7,opt,name=string_value,json=stringValue,proto3,oneof"` }
type Value_UnsignedIntegerValue ¶
type Value_UnsignedIntegerValue struct { // An integer value. UnsignedIntegerValue uint64 `protobuf:"varint,14,opt,name=unsigned_integer_value,json=unsignedIntegerValue,proto3,oneof"` }
type Value_ValueTime ¶
type Value_ValueTime struct { // A timestamp value. ValueTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=value_time,json=valueTime,proto3,oneof"` }