api

package module
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: MIT Imports: 21 Imported by: 2

README

protos-api-go

Protobufs for SegmentQ API service

Go Report Card


Documentation

Documentation can be found in the docs folder of the project.

Usage

See the Protobuf Quickstart Guide.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ScalarType_name = map[int32]string{
		0:  "DATA_TYPE_UNDEFINED",
		10: "DATA_TYPE_STRING",
		20: "DATA_TYPE_INT",
		21: "DATA_TYPE_INT8",
		22: "DATA_TYPE_INT16",
		23: "DATA_TYPE_INT32",
		24: "DATA_TYPE_INT64",
		30: "DATA_TYPE_UINT",
		31: "DATA_TYPE_UINT8",
		32: "DATA_TYPE_UINT16",
		33: "DATA_TYPE_UINT32",
		34: "DATA_TYPE_UINT64",
		40: "DATA_TYPE_FLOAT",
		41: "DATA_TYPE_FLOAT32",
		42: "DATA_TYPE_FLOAT64",
		50: "DATA_TYPE_BOOL",
		60: "DATA_TYPE_BLOB",
	}
	ScalarType_value = map[string]int32{
		"DATA_TYPE_UNDEFINED": 0,
		"DATA_TYPE_STRING":    10,
		"DATA_TYPE_INT":       20,
		"DATA_TYPE_INT8":      21,
		"DATA_TYPE_INT16":     22,
		"DATA_TYPE_INT32":     23,
		"DATA_TYPE_INT64":     24,
		"DATA_TYPE_UINT":      30,
		"DATA_TYPE_UINT8":     31,
		"DATA_TYPE_UINT16":    32,
		"DATA_TYPE_UINT32":    33,
		"DATA_TYPE_UINT64":    34,
		"DATA_TYPE_FLOAT":     40,
		"DATA_TYPE_FLOAT32":   41,
		"DATA_TYPE_FLOAT64":   42,
		"DATA_TYPE_BOOL":      50,
		"DATA_TYPE_BLOB":      60,
	}
)

Enum value maps for ScalarType.

View Source
var (
	GeoType_name = map[int32]string{
		0:  "DATA_TYPE_RANGE",
		1:  "DATA_TYPE_RANGE_INT",
		2:  "DATA_TYPE_RANGE_FLOAT",
		10: "DATA_TYPE_GEO",
		11: "DATA_TYPE_GEO_RECT",
		12: "DATA_TYPE_GEO_POINT",
	}
	GeoType_value = map[string]int32{
		"DATA_TYPE_RANGE":       0,
		"DATA_TYPE_RANGE_INT":   1,
		"DATA_TYPE_RANGE_FLOAT": 2,
		"DATA_TYPE_GEO":         10,
		"DATA_TYPE_GEO_RECT":    11,
		"DATA_TYPE_GEO_POINT":   12,
	}
)

Enum value maps for GeoType.

View Source
var (
	Status_name = map[int32]string{
		0:  "INDEX_STATUS_UNKNOWN",
		5:  "INDEX_STATUS_CREATING",
		10: "INDEX_STATUS_ACTIVE",
		15: "INDEX_STATUS_UPDATING",
		20: "INDEX_STATUS_DELETING",
	}
	Status_value = map[string]int32{
		"INDEX_STATUS_UNKNOWN":  0,
		"INDEX_STATUS_CREATING": 5,
		"INDEX_STATUS_ACTIVE":   10,
		"INDEX_STATUS_UPDATING": 15,
		"INDEX_STATUS_DELETING": 20,
	}
)

Enum value maps for Status.

View Source
var File_field_proto protoreflect.FileDescriptor
View Source
var File_index_proto protoreflect.FileDescriptor
View Source
var File_lookup_proto protoreflect.FileDescriptor
View Source
var File_segment_proto protoreflect.FileDescriptor
View Source
var IndexService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.IndexService",
	HandlerType: (*IndexServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddIndex",
			Handler:    _IndexService_AddIndex_Handler,
		},
		{
			MethodName: "DescribeIndex",
			Handler:    _IndexService_DescribeIndex_Handler,
		},
		{
			MethodName: "DeleteIndex",
			Handler:    _IndexService_DeleteIndex_Handler,
		},
		{
			MethodName: "ListIndexes",
			Handler:    _IndexService_ListIndexes_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api.proto",
}

IndexService_ServiceDesc is the grpc.ServiceDesc for IndexService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SegmentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.SegmentService",
	HandlerType: (*SegmentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PutSegment",
			Handler:    _SegmentService_PutSegment_Handler,
		},
		{
			MethodName: "GetSegment",
			Handler:    _SegmentService_GetSegment_Handler,
		},
		{
			MethodName: "DeleteSegment",
			Handler:    _SegmentService_DeleteSegment_Handler,
		},
		{
			MethodName: "LookupSegment",
			Handler:    _SegmentService_LookupSegment_Handler,
		},
		{
			MethodName: "LookupSegmentKey",
			Handler:    _SegmentService_LookupSegmentKey_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api.proto",
}

SegmentService_ServiceDesc is the grpc.ServiceDesc for SegmentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterIndexServiceServer

func RegisterIndexServiceServer(s grpc.ServiceRegistrar, srv IndexServiceServer)

func RegisterSegmentServiceServer

func RegisterSegmentServiceServer(s grpc.ServiceRegistrar, srv SegmentServiceServer)

Types

type AddIndexRequest

type AddIndexRequest struct {
	Index *IndexDefinition `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*AddIndexRequest) Descriptor deprecated

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

Deprecated: Use AddIndexRequest.ProtoReflect.Descriptor instead.

func (*AddIndexRequest) GetIndex

func (x *AddIndexRequest) GetIndex() *IndexDefinition

func (*AddIndexRequest) ProtoMessage

func (*AddIndexRequest) ProtoMessage()

func (*AddIndexRequest) ProtoReflect

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

func (*AddIndexRequest) Reset

func (x *AddIndexRequest) Reset()

func (*AddIndexRequest) String

func (x *AddIndexRequest) String() string

func (*AddIndexRequest) Validate

func (m *AddIndexRequest) Validate() error

Validate checks the field values on AddIndexRequest 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 (*AddIndexRequest) ValidateAll

func (m *AddIndexRequest) ValidateAll() error

ValidateAll checks the field values on AddIndexRequest 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 AddIndexRequestMultiError, or nil if none found.

type AddIndexRequestMultiError

type AddIndexRequestMultiError []error

AddIndexRequestMultiError is an error wrapping multiple validation errors returned by AddIndexRequest.ValidateAll() if the designated constraints aren't met.

func (AddIndexRequestMultiError) AllErrors

func (m AddIndexRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddIndexRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AddIndexRequestValidationError

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

AddIndexRequestValidationError is the validation error returned by AddIndexRequest.Validate if the designated constraints aren't met.

func (AddIndexRequestValidationError) Cause

Cause function returns cause value.

func (AddIndexRequestValidationError) Error

Error satisfies the builtin error interface

func (AddIndexRequestValidationError) ErrorName

func (e AddIndexRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AddIndexRequestValidationError) Field

Field function returns field value.

func (AddIndexRequestValidationError) Key

Key function returns key value.

func (AddIndexRequestValidationError) Reason

Reason function returns reason value.

type AddIndexResponse

type AddIndexResponse struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*AddIndexResponse) Descriptor deprecated

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

Deprecated: Use AddIndexResponse.ProtoReflect.Descriptor instead.

func (*AddIndexResponse) GetOk

func (x *AddIndexResponse) GetOk() bool

func (*AddIndexResponse) ProtoMessage

func (*AddIndexResponse) ProtoMessage()

func (*AddIndexResponse) ProtoReflect

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

func (*AddIndexResponse) Reset

func (x *AddIndexResponse) Reset()

func (*AddIndexResponse) String

func (x *AddIndexResponse) String() string

func (*AddIndexResponse) Validate

func (m *AddIndexResponse) Validate() error

Validate checks the field values on AddIndexResponse 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 (*AddIndexResponse) ValidateAll

func (m *AddIndexResponse) ValidateAll() error

ValidateAll checks the field values on AddIndexResponse 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 AddIndexResponseMultiError, or nil if none found.

type AddIndexResponseMultiError

type AddIndexResponseMultiError []error

AddIndexResponseMultiError is an error wrapping multiple validation errors returned by AddIndexResponse.ValidateAll() if the designated constraints aren't met.

func (AddIndexResponseMultiError) AllErrors

func (m AddIndexResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddIndexResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AddIndexResponseValidationError

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

AddIndexResponseValidationError is the validation error returned by AddIndexResponse.Validate if the designated constraints aren't met.

func (AddIndexResponseValidationError) Cause

Cause function returns cause value.

func (AddIndexResponseValidationError) Error

Error satisfies the builtin error interface

func (AddIndexResponseValidationError) ErrorName

ErrorName returns error name.

func (AddIndexResponseValidationError) Field

Field function returns field value.

func (AddIndexResponseValidationError) Key

Key function returns key value.

func (AddIndexResponseValidationError) Reason

Reason function returns reason value.

type DeleteIndexRequest

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

func (*DeleteIndexRequest) Descriptor deprecated

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

Deprecated: Use DeleteIndexRequest.ProtoReflect.Descriptor instead.

func (*DeleteIndexRequest) GetName

func (x *DeleteIndexRequest) GetName() string

func (*DeleteIndexRequest) ProtoMessage

func (*DeleteIndexRequest) ProtoMessage()

func (*DeleteIndexRequest) ProtoReflect

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

func (*DeleteIndexRequest) Reset

func (x *DeleteIndexRequest) Reset()

func (*DeleteIndexRequest) String

func (x *DeleteIndexRequest) String() string

func (*DeleteIndexRequest) Validate

func (m *DeleteIndexRequest) Validate() error

Validate checks the field values on DeleteIndexRequest 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 (*DeleteIndexRequest) ValidateAll

func (m *DeleteIndexRequest) ValidateAll() error

ValidateAll checks the field values on DeleteIndexRequest 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 DeleteIndexRequestMultiError, or nil if none found.

type DeleteIndexRequestMultiError

type DeleteIndexRequestMultiError []error

DeleteIndexRequestMultiError is an error wrapping multiple validation errors returned by DeleteIndexRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteIndexRequestMultiError) AllErrors

func (m DeleteIndexRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteIndexRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteIndexRequestValidationError

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

DeleteIndexRequestValidationError is the validation error returned by DeleteIndexRequest.Validate if the designated constraints aren't met.

func (DeleteIndexRequestValidationError) Cause

Cause function returns cause value.

func (DeleteIndexRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteIndexRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteIndexRequestValidationError) Field

Field function returns field value.

func (DeleteIndexRequestValidationError) Key

Key function returns key value.

func (DeleteIndexRequestValidationError) Reason

Reason function returns reason value.

type DeleteIndexResponse

type DeleteIndexResponse struct {
	Index *IndexDefinition `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteIndexResponse) Descriptor deprecated

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

Deprecated: Use DeleteIndexResponse.ProtoReflect.Descriptor instead.

func (*DeleteIndexResponse) GetIndex

func (x *DeleteIndexResponse) GetIndex() *IndexDefinition

func (*DeleteIndexResponse) ProtoMessage

func (*DeleteIndexResponse) ProtoMessage()

func (*DeleteIndexResponse) ProtoReflect

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

func (*DeleteIndexResponse) Reset

func (x *DeleteIndexResponse) Reset()

func (*DeleteIndexResponse) String

func (x *DeleteIndexResponse) String() string

func (*DeleteIndexResponse) Validate

func (m *DeleteIndexResponse) Validate() error

Validate checks the field values on DeleteIndexResponse 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 (*DeleteIndexResponse) ValidateAll

func (m *DeleteIndexResponse) ValidateAll() error

ValidateAll checks the field values on DeleteIndexResponse 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 DeleteIndexResponseMultiError, or nil if none found.

type DeleteIndexResponseMultiError

type DeleteIndexResponseMultiError []error

DeleteIndexResponseMultiError is an error wrapping multiple validation errors returned by DeleteIndexResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteIndexResponseMultiError) AllErrors

func (m DeleteIndexResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteIndexResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteIndexResponseValidationError

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

DeleteIndexResponseValidationError is the validation error returned by DeleteIndexResponse.Validate if the designated constraints aren't met.

func (DeleteIndexResponseValidationError) Cause

Cause function returns cause value.

func (DeleteIndexResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteIndexResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteIndexResponseValidationError) Field

Field function returns field value.

func (DeleteIndexResponseValidationError) Key

Key function returns key value.

func (DeleteIndexResponseValidationError) Reason

Reason function returns reason value.

type DeleteSegmentRequest

type DeleteSegmentRequest struct {
	Index string        `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	Key   *SegmentField `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // Lookup on index primary key
	// contains filtered or unexported fields
}

func (*DeleteSegmentRequest) Descriptor deprecated

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

Deprecated: Use DeleteSegmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteSegmentRequest) GetIndex

func (x *DeleteSegmentRequest) GetIndex() string

func (*DeleteSegmentRequest) GetKey

func (x *DeleteSegmentRequest) GetKey() *SegmentField

func (*DeleteSegmentRequest) ProtoMessage

func (*DeleteSegmentRequest) ProtoMessage()

func (*DeleteSegmentRequest) ProtoReflect

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

func (*DeleteSegmentRequest) Reset

func (x *DeleteSegmentRequest) Reset()

func (*DeleteSegmentRequest) String

func (x *DeleteSegmentRequest) String() string

func (*DeleteSegmentRequest) Validate

func (m *DeleteSegmentRequest) Validate() error

Validate checks the field values on DeleteSegmentRequest 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 (*DeleteSegmentRequest) ValidateAll

func (m *DeleteSegmentRequest) ValidateAll() error

ValidateAll checks the field values on DeleteSegmentRequest 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 DeleteSegmentRequestMultiError, or nil if none found.

type DeleteSegmentRequestMultiError

type DeleteSegmentRequestMultiError []error

DeleteSegmentRequestMultiError is an error wrapping multiple validation errors returned by DeleteSegmentRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteSegmentRequestMultiError) AllErrors

func (m DeleteSegmentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteSegmentRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteSegmentRequestValidationError

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

DeleteSegmentRequestValidationError is the validation error returned by DeleteSegmentRequest.Validate if the designated constraints aren't met.

func (DeleteSegmentRequestValidationError) Cause

Cause function returns cause value.

func (DeleteSegmentRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteSegmentRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteSegmentRequestValidationError) Field

Field function returns field value.

func (DeleteSegmentRequestValidationError) Key

Key function returns key value.

func (DeleteSegmentRequestValidationError) Reason

Reason function returns reason value.

type DeleteSegmentResponse

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

func (*DeleteSegmentResponse) Descriptor deprecated

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

Deprecated: Use DeleteSegmentResponse.ProtoReflect.Descriptor instead.

func (*DeleteSegmentResponse) ProtoMessage

func (*DeleteSegmentResponse) ProtoMessage()

func (*DeleteSegmentResponse) ProtoReflect

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

func (*DeleteSegmentResponse) Reset

func (x *DeleteSegmentResponse) Reset()

func (*DeleteSegmentResponse) String

func (x *DeleteSegmentResponse) String() string

func (*DeleteSegmentResponse) Validate

func (m *DeleteSegmentResponse) Validate() error

Validate checks the field values on DeleteSegmentResponse 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 (*DeleteSegmentResponse) ValidateAll

func (m *DeleteSegmentResponse) ValidateAll() error

ValidateAll checks the field values on DeleteSegmentResponse 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 DeleteSegmentResponseMultiError, or nil if none found.

type DeleteSegmentResponseMultiError

type DeleteSegmentResponseMultiError []error

DeleteSegmentResponseMultiError is an error wrapping multiple validation errors returned by DeleteSegmentResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteSegmentResponseMultiError) AllErrors

func (m DeleteSegmentResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteSegmentResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteSegmentResponseValidationError

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

DeleteSegmentResponseValidationError is the validation error returned by DeleteSegmentResponse.Validate if the designated constraints aren't met.

func (DeleteSegmentResponseValidationError) Cause

Cause function returns cause value.

func (DeleteSegmentResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteSegmentResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteSegmentResponseValidationError) Field

Field function returns field value.

func (DeleteSegmentResponseValidationError) Key

Key function returns key value.

func (DeleteSegmentResponseValidationError) Reason

Reason function returns reason value.

type DescribeIndexRequest

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

func (*DescribeIndexRequest) Descriptor deprecated

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

Deprecated: Use DescribeIndexRequest.ProtoReflect.Descriptor instead.

func (*DescribeIndexRequest) GetName

func (x *DescribeIndexRequest) GetName() string

func (*DescribeIndexRequest) ProtoMessage

func (*DescribeIndexRequest) ProtoMessage()

func (*DescribeIndexRequest) ProtoReflect

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

func (*DescribeIndexRequest) Reset

func (x *DescribeIndexRequest) Reset()

func (*DescribeIndexRequest) String

func (x *DescribeIndexRequest) String() string

func (*DescribeIndexRequest) Validate

func (m *DescribeIndexRequest) Validate() error

Validate checks the field values on DescribeIndexRequest 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 (*DescribeIndexRequest) ValidateAll

func (m *DescribeIndexRequest) ValidateAll() error

ValidateAll checks the field values on DescribeIndexRequest 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 DescribeIndexRequestMultiError, or nil if none found.

type DescribeIndexRequestMultiError

type DescribeIndexRequestMultiError []error

DescribeIndexRequestMultiError is an error wrapping multiple validation errors returned by DescribeIndexRequest.ValidateAll() if the designated constraints aren't met.

func (DescribeIndexRequestMultiError) AllErrors

func (m DescribeIndexRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DescribeIndexRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DescribeIndexRequestValidationError

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

DescribeIndexRequestValidationError is the validation error returned by DescribeIndexRequest.Validate if the designated constraints aren't met.

func (DescribeIndexRequestValidationError) Cause

Cause function returns cause value.

func (DescribeIndexRequestValidationError) Error

Error satisfies the builtin error interface

func (DescribeIndexRequestValidationError) ErrorName

ErrorName returns error name.

func (DescribeIndexRequestValidationError) Field

Field function returns field value.

func (DescribeIndexRequestValidationError) Key

Key function returns key value.

func (DescribeIndexRequestValidationError) Reason

Reason function returns reason value.

type DescribeIndexResponse

type DescribeIndexResponse struct {
	Index *IndexDefinition `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeIndexResponse) Descriptor deprecated

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

Deprecated: Use DescribeIndexResponse.ProtoReflect.Descriptor instead.

func (*DescribeIndexResponse) GetIndex

func (x *DescribeIndexResponse) GetIndex() *IndexDefinition

func (*DescribeIndexResponse) ProtoMessage

func (*DescribeIndexResponse) ProtoMessage()

func (*DescribeIndexResponse) ProtoReflect

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

func (*DescribeIndexResponse) Reset

func (x *DescribeIndexResponse) Reset()

func (*DescribeIndexResponse) String

func (x *DescribeIndexResponse) String() string

func (*DescribeIndexResponse) Validate

func (m *DescribeIndexResponse) Validate() error

Validate checks the field values on DescribeIndexResponse 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 (*DescribeIndexResponse) ValidateAll

func (m *DescribeIndexResponse) ValidateAll() error

ValidateAll checks the field values on DescribeIndexResponse 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 DescribeIndexResponseMultiError, or nil if none found.

type DescribeIndexResponseMultiError

type DescribeIndexResponseMultiError []error

DescribeIndexResponseMultiError is an error wrapping multiple validation errors returned by DescribeIndexResponse.ValidateAll() if the designated constraints aren't met.

func (DescribeIndexResponseMultiError) AllErrors

func (m DescribeIndexResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DescribeIndexResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DescribeIndexResponseValidationError

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

DescribeIndexResponseValidationError is the validation error returned by DescribeIndexResponse.Validate if the designated constraints aren't met.

func (DescribeIndexResponseValidationError) Cause

Cause function returns cause value.

func (DescribeIndexResponseValidationError) Error

Error satisfies the builtin error interface

func (DescribeIndexResponseValidationError) ErrorName

ErrorName returns error name.

func (DescribeIndexResponseValidationError) Field

Field function returns field value.

func (DescribeIndexResponseValidationError) Key

Key function returns key value.

func (DescribeIndexResponseValidationError) Reason

Reason function returns reason value.

type FieldDefinition

type FieldDefinition struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to DataType:
	//	*FieldDefinition_Scalar
	//	*FieldDefinition_Geo
	DataType  isFieldDefinition_DataType `protobuf_oneof:"data_type"`
	IsPrimary bool                       `protobuf:"varint,4,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"`
	Repeated  bool                       `protobuf:"varint,5,opt,name=repeated,proto3" json:"repeated,omitempty"` // Allow arrays
	Fields    []*FieldDefinition         `protobuf:"bytes,6,rep,name=fields,proto3" json:"fields,omitempty"`      // Allow nested structure
	// contains filtered or unexported fields
}

func (*FieldDefinition) Descriptor deprecated

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

Deprecated: Use FieldDefinition.ProtoReflect.Descriptor instead.

func (*FieldDefinition) GetDataType

func (m *FieldDefinition) GetDataType() isFieldDefinition_DataType

func (*FieldDefinition) GetFields

func (x *FieldDefinition) GetFields() []*FieldDefinition

func (*FieldDefinition) GetGeo

func (x *FieldDefinition) GetGeo() GeoType

func (*FieldDefinition) GetIsPrimary

func (x *FieldDefinition) GetIsPrimary() bool

func (*FieldDefinition) GetName

func (x *FieldDefinition) GetName() string

func (*FieldDefinition) GetRepeated

func (x *FieldDefinition) GetRepeated() bool

func (*FieldDefinition) GetScalar

func (x *FieldDefinition) GetScalar() ScalarType

func (*FieldDefinition) ProtoMessage

func (*FieldDefinition) ProtoMessage()

func (*FieldDefinition) ProtoReflect

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

func (*FieldDefinition) Reset

func (x *FieldDefinition) Reset()

func (*FieldDefinition) String

func (x *FieldDefinition) String() string

func (*FieldDefinition) Validate

func (m *FieldDefinition) Validate() error

Validate checks the field values on FieldDefinition 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 (*FieldDefinition) ValidateAll

func (m *FieldDefinition) ValidateAll() error

ValidateAll checks the field values on FieldDefinition 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 FieldDefinitionMultiError, or nil if none found.

type FieldDefinitionMultiError

type FieldDefinitionMultiError []error

FieldDefinitionMultiError is an error wrapping multiple validation errors returned by FieldDefinition.ValidateAll() if the designated constraints aren't met.

func (FieldDefinitionMultiError) AllErrors

func (m FieldDefinitionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FieldDefinitionMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FieldDefinitionValidationError

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

FieldDefinitionValidationError is the validation error returned by FieldDefinition.Validate if the designated constraints aren't met.

func (FieldDefinitionValidationError) Cause

Cause function returns cause value.

func (FieldDefinitionValidationError) Error

Error satisfies the builtin error interface

func (FieldDefinitionValidationError) ErrorName

func (e FieldDefinitionValidationError) ErrorName() string

ErrorName returns error name.

func (FieldDefinitionValidationError) Field

Field function returns field value.

func (FieldDefinitionValidationError) Key

Key function returns key value.

func (FieldDefinitionValidationError) Reason

Reason function returns reason value.

type FieldDefinition_Geo

type FieldDefinition_Geo struct {
	Geo GeoType `protobuf:"varint,3,opt,name=geo,proto3,enum=api.GeoType,oneof"`
}

type FieldDefinition_Scalar

type FieldDefinition_Scalar struct {
	Scalar ScalarType `protobuf:"varint,2,opt,name=scalar,proto3,enum=api.ScalarType,oneof"`
}

type GeoType

type GeoType int32
const (
	// RANGEs
	GeoType_DATA_TYPE_RANGE       GeoType = 0
	GeoType_DATA_TYPE_RANGE_INT   GeoType = 1
	GeoType_DATA_TYPE_RANGE_FLOAT GeoType = 2
	// GEOs
	GeoType_DATA_TYPE_GEO       GeoType = 10
	GeoType_DATA_TYPE_GEO_RECT  GeoType = 11
	GeoType_DATA_TYPE_GEO_POINT GeoType = 12
)

func (GeoType) Descriptor

func (GeoType) Descriptor() protoreflect.EnumDescriptor

func (GeoType) Enum

func (x GeoType) Enum() *GeoType

func (GeoType) EnumDescriptor deprecated

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

Deprecated: Use GeoType.Descriptor instead.

func (GeoType) Number

func (x GeoType) Number() protoreflect.EnumNumber

func (GeoType) String

func (x GeoType) String() string

func (GeoType) Type

func (GeoType) Type() protoreflect.EnumType

type GetSegmentRequest

type GetSegmentRequest struct {
	Index string        `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	Key   *SegmentField `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // Lookup on index primary key
	// contains filtered or unexported fields
}

func (*GetSegmentRequest) Descriptor deprecated

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

Deprecated: Use GetSegmentRequest.ProtoReflect.Descriptor instead.

func (*GetSegmentRequest) GetIndex

func (x *GetSegmentRequest) GetIndex() string

func (*GetSegmentRequest) GetKey

func (x *GetSegmentRequest) GetKey() *SegmentField

func (*GetSegmentRequest) ProtoMessage

func (*GetSegmentRequest) ProtoMessage()

func (*GetSegmentRequest) ProtoReflect

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

func (*GetSegmentRequest) Reset

func (x *GetSegmentRequest) Reset()

func (*GetSegmentRequest) String

func (x *GetSegmentRequest) String() string

func (*GetSegmentRequest) Validate

func (m *GetSegmentRequest) Validate() error

Validate checks the field values on GetSegmentRequest 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 (*GetSegmentRequest) ValidateAll

func (m *GetSegmentRequest) ValidateAll() error

ValidateAll checks the field values on GetSegmentRequest 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 GetSegmentRequestMultiError, or nil if none found.

type GetSegmentRequestMultiError

type GetSegmentRequestMultiError []error

GetSegmentRequestMultiError is an error wrapping multiple validation errors returned by GetSegmentRequest.ValidateAll() if the designated constraints aren't met.

func (GetSegmentRequestMultiError) AllErrors

func (m GetSegmentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSegmentRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetSegmentRequestValidationError

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

GetSegmentRequestValidationError is the validation error returned by GetSegmentRequest.Validate if the designated constraints aren't met.

func (GetSegmentRequestValidationError) Cause

Cause function returns cause value.

func (GetSegmentRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSegmentRequestValidationError) ErrorName

ErrorName returns error name.

func (GetSegmentRequestValidationError) Field

Field function returns field value.

func (GetSegmentRequestValidationError) Key

Key function returns key value.

func (GetSegmentRequestValidationError) Reason

Reason function returns reason value.

type GetSegmentResponse

type GetSegmentResponse struct {
	Segment *Segment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSegmentResponse) Descriptor deprecated

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

Deprecated: Use GetSegmentResponse.ProtoReflect.Descriptor instead.

func (*GetSegmentResponse) GetSegment

func (x *GetSegmentResponse) GetSegment() *Segment

func (*GetSegmentResponse) ProtoMessage

func (*GetSegmentResponse) ProtoMessage()

func (*GetSegmentResponse) ProtoReflect

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

func (*GetSegmentResponse) Reset

func (x *GetSegmentResponse) Reset()

func (*GetSegmentResponse) String

func (x *GetSegmentResponse) String() string

func (*GetSegmentResponse) Validate

func (m *GetSegmentResponse) Validate() error

Validate checks the field values on GetSegmentResponse 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 (*GetSegmentResponse) ValidateAll

func (m *GetSegmentResponse) ValidateAll() error

ValidateAll checks the field values on GetSegmentResponse 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 GetSegmentResponseMultiError, or nil if none found.

type GetSegmentResponseMultiError

type GetSegmentResponseMultiError []error

GetSegmentResponseMultiError is an error wrapping multiple validation errors returned by GetSegmentResponse.ValidateAll() if the designated constraints aren't met.

func (GetSegmentResponseMultiError) AllErrors

func (m GetSegmentResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSegmentResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetSegmentResponseValidationError

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

GetSegmentResponseValidationError is the validation error returned by GetSegmentResponse.Validate if the designated constraints aren't met.

func (GetSegmentResponseValidationError) Cause

Cause function returns cause value.

func (GetSegmentResponseValidationError) Error

Error satisfies the builtin error interface

func (GetSegmentResponseValidationError) ErrorName

ErrorName returns error name.

func (GetSegmentResponseValidationError) Field

Field function returns field value.

func (GetSegmentResponseValidationError) Key

Key function returns key value.

func (GetSegmentResponseValidationError) Reason

Reason function returns reason value.

type IndexDefinition

type IndexDefinition struct {
	Name    string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Status  Status                 `protobuf:"varint,2,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"`
	Fields  []*FieldDefinition     `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`
	Created *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"`
	Updated *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexDefinition) Descriptor deprecated

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

Deprecated: Use IndexDefinition.ProtoReflect.Descriptor instead.

func (*IndexDefinition) GetCreated

func (x *IndexDefinition) GetCreated() *timestamppb.Timestamp

func (*IndexDefinition) GetFields

func (x *IndexDefinition) GetFields() []*FieldDefinition

func (*IndexDefinition) GetName

func (x *IndexDefinition) GetName() string

func (*IndexDefinition) GetStatus

func (x *IndexDefinition) GetStatus() Status

func (*IndexDefinition) GetUpdated

func (x *IndexDefinition) GetUpdated() *timestamppb.Timestamp

func (*IndexDefinition) ProtoMessage

func (*IndexDefinition) ProtoMessage()

func (*IndexDefinition) ProtoReflect

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

func (*IndexDefinition) Reset

func (x *IndexDefinition) Reset()

func (*IndexDefinition) String

func (x *IndexDefinition) String() string

func (*IndexDefinition) Validate

func (m *IndexDefinition) Validate() error

Validate checks the field values on IndexDefinition 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 (*IndexDefinition) ValidateAll

func (m *IndexDefinition) ValidateAll() error

ValidateAll checks the field values on IndexDefinition 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 IndexDefinitionMultiError, or nil if none found.

type IndexDefinitionMultiError

type IndexDefinitionMultiError []error

IndexDefinitionMultiError is an error wrapping multiple validation errors returned by IndexDefinition.ValidateAll() if the designated constraints aren't met.

func (IndexDefinitionMultiError) AllErrors

func (m IndexDefinitionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IndexDefinitionMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type IndexDefinitionValidationError

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

IndexDefinitionValidationError is the validation error returned by IndexDefinition.Validate if the designated constraints aren't met.

func (IndexDefinitionValidationError) Cause

Cause function returns cause value.

func (IndexDefinitionValidationError) Error

Error satisfies the builtin error interface

func (IndexDefinitionValidationError) ErrorName

func (e IndexDefinitionValidationError) ErrorName() string

ErrorName returns error name.

func (IndexDefinitionValidationError) Field

Field function returns field value.

func (IndexDefinitionValidationError) Key

Key function returns key value.

func (IndexDefinitionValidationError) Reason

Reason function returns reason value.

type IndexServiceClient

type IndexServiceClient interface {
	AddIndex(ctx context.Context, in *AddIndexRequest, opts ...grpc.CallOption) (*AddIndexResponse, error)
	DescribeIndex(ctx context.Context, in *DescribeIndexRequest, opts ...grpc.CallOption) (*DescribeIndexResponse, error)
	//  rpc AlterIndex(AlterIndexRequest) returns (AlterIndexResponse);
	DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*DeleteIndexResponse, error)
	ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error)
}

IndexServiceClient is the client API for IndexService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type IndexServiceServer

type IndexServiceServer interface {
	AddIndex(context.Context, *AddIndexRequest) (*AddIndexResponse, error)
	DescribeIndex(context.Context, *DescribeIndexRequest) (*DescribeIndexResponse, error)
	//  rpc AlterIndex(AlterIndexRequest) returns (AlterIndexResponse);
	DeleteIndex(context.Context, *DeleteIndexRequest) (*DeleteIndexResponse, error)
	ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error)
}

IndexServiceServer is the server API for IndexService service. All implementations should embed UnimplementedIndexServiceServer for forward compatibility

type ListIndexesRequest

type ListIndexesRequest struct {
	Pattern       string                 `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
	CreatedAfter  *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_after,json=createdAfter,proto3" json:"created_after,omitempty"`
	CreatedBefore *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_before,json=createdBefore,proto3" json:"created_before,omitempty"`
	UpdatedAfter  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_after,json=updatedAfter,proto3" json:"updated_after,omitempty"`
	UpdatedBefore *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_before,json=updatedBefore,proto3" json:"updated_before,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIndexesRequest) Descriptor deprecated

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

Deprecated: Use ListIndexesRequest.ProtoReflect.Descriptor instead.

func (*ListIndexesRequest) GetCreatedAfter

func (x *ListIndexesRequest) GetCreatedAfter() *timestamppb.Timestamp

func (*ListIndexesRequest) GetCreatedBefore

func (x *ListIndexesRequest) GetCreatedBefore() *timestamppb.Timestamp

func (*ListIndexesRequest) GetPattern

func (x *ListIndexesRequest) GetPattern() string

func (*ListIndexesRequest) GetUpdatedAfter

func (x *ListIndexesRequest) GetUpdatedAfter() *timestamppb.Timestamp

func (*ListIndexesRequest) GetUpdatedBefore

func (x *ListIndexesRequest) GetUpdatedBefore() *timestamppb.Timestamp

func (*ListIndexesRequest) ProtoMessage

func (*ListIndexesRequest) ProtoMessage()

func (*ListIndexesRequest) ProtoReflect

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

func (*ListIndexesRequest) Reset

func (x *ListIndexesRequest) Reset()

func (*ListIndexesRequest) String

func (x *ListIndexesRequest) String() string

func (*ListIndexesRequest) Validate

func (m *ListIndexesRequest) Validate() error

Validate checks the field values on ListIndexesRequest 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 (*ListIndexesRequest) ValidateAll

func (m *ListIndexesRequest) ValidateAll() error

ValidateAll checks the field values on ListIndexesRequest 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 ListIndexesRequestMultiError, or nil if none found.

type ListIndexesRequestMultiError

type ListIndexesRequestMultiError []error

ListIndexesRequestMultiError is an error wrapping multiple validation errors returned by ListIndexesRequest.ValidateAll() if the designated constraints aren't met.

func (ListIndexesRequestMultiError) AllErrors

func (m ListIndexesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListIndexesRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListIndexesRequestValidationError

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

ListIndexesRequestValidationError is the validation error returned by ListIndexesRequest.Validate if the designated constraints aren't met.

func (ListIndexesRequestValidationError) Cause

Cause function returns cause value.

func (ListIndexesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListIndexesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListIndexesRequestValidationError) Field

Field function returns field value.

func (ListIndexesRequestValidationError) Key

Key function returns key value.

func (ListIndexesRequestValidationError) Reason

Reason function returns reason value.

type ListIndexesResponse

type ListIndexesResponse struct {
	Results []*DescribeIndexResponse `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIndexesResponse) Descriptor deprecated

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

Deprecated: Use ListIndexesResponse.ProtoReflect.Descriptor instead.

func (*ListIndexesResponse) GetResults

func (x *ListIndexesResponse) GetResults() []*DescribeIndexResponse

func (*ListIndexesResponse) ProtoMessage

func (*ListIndexesResponse) ProtoMessage()

func (*ListIndexesResponse) ProtoReflect

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

func (*ListIndexesResponse) Reset

func (x *ListIndexesResponse) Reset()

func (*ListIndexesResponse) String

func (x *ListIndexesResponse) String() string

func (*ListIndexesResponse) Validate

func (m *ListIndexesResponse) Validate() error

Validate checks the field values on ListIndexesResponse 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 (*ListIndexesResponse) ValidateAll

func (m *ListIndexesResponse) ValidateAll() error

ValidateAll checks the field values on ListIndexesResponse 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 ListIndexesResponseMultiError, or nil if none found.

type ListIndexesResponseMultiError

type ListIndexesResponseMultiError []error

ListIndexesResponseMultiError is an error wrapping multiple validation errors returned by ListIndexesResponse.ValidateAll() if the designated constraints aren't met.

func (ListIndexesResponseMultiError) AllErrors

func (m ListIndexesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListIndexesResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListIndexesResponseValidationError

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

ListIndexesResponseValidationError is the validation error returned by ListIndexesResponse.Validate if the designated constraints aren't met.

func (ListIndexesResponseValidationError) Cause

Cause function returns cause value.

func (ListIndexesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListIndexesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListIndexesResponseValidationError) Field

Field function returns field value.

func (ListIndexesResponseValidationError) Key

Key function returns key value.

func (ListIndexesResponseValidationError) Reason

Reason function returns reason value.

type Lookup

type Lookup struct {
	Fields []*LookupField `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*Lookup) Descriptor deprecated

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

Deprecated: Use Lookup.ProtoReflect.Descriptor instead.

func (*Lookup) GetFields

func (x *Lookup) GetFields() []*LookupField

func (*Lookup) ProtoMessage

func (*Lookup) ProtoMessage()

func (*Lookup) ProtoReflect

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

func (*Lookup) Reset

func (x *Lookup) Reset()

func (*Lookup) String

func (x *Lookup) String() string

func (*Lookup) Validate

func (m *Lookup) Validate() error

Validate checks the field values on Lookup 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 (*Lookup) ValidateAll

func (m *Lookup) ValidateAll() error

ValidateAll checks the field values on Lookup 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 LookupMultiError, or nil if none found.

type LookupField

type LookupField struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Value:
	//	*LookupField_StringValue
	//	*LookupField_RepeatedStringValue
	//	*LookupField_IntValue
	//	*LookupField_RepeatedIntValue
	//	*LookupField_UintValue
	//	*LookupField_RepeatedUintValue
	//	*LookupField_FloatValue
	//	*LookupField_RepeatedFloatValue
	//	*LookupField_BoolValue
	//	*LookupField_RepeatedBoolValue
	//	*LookupField_RangeIntValue
	//	*LookupField_RepeatedRangeIntValue
	//	*LookupField_RangeFloatValue
	//	*LookupField_RepeatedRangeFloatValue
	//	*LookupField_GeoPointValue
	//	*LookupField_RepeatedGeoPointValue
	//	*LookupField_GeoRectValue
	//	*LookupField_RepeatedGeoRectValue
	Value isLookupField_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*LookupField) Descriptor deprecated

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

Deprecated: Use LookupField.ProtoReflect.Descriptor instead.

func (*LookupField) GetBoolValue

func (x *LookupField) GetBoolValue() *SegmentFieldBool

func (*LookupField) GetFloatValue

func (x *LookupField) GetFloatValue() *SegmentFieldFloat

func (*LookupField) GetGeoPointValue

func (x *LookupField) GetGeoPointValue() *SegmentFieldGeoPoint

func (*LookupField) GetGeoRectValue

func (x *LookupField) GetGeoRectValue() *SegmentFieldGeoRect

func (*LookupField) GetIntValue

func (x *LookupField) GetIntValue() *SegmentFieldInt

func (*LookupField) GetName

func (x *LookupField) GetName() string

func (*LookupField) GetRangeFloatValue

func (x *LookupField) GetRangeFloatValue() *SegmentFieldRangeFloat

func (*LookupField) GetRangeIntValue

func (x *LookupField) GetRangeIntValue() *SegmentFieldRangeInt

func (*LookupField) GetRepeatedBoolValue

func (x *LookupField) GetRepeatedBoolValue() *SegmentFieldRepeatedBool

func (*LookupField) GetRepeatedFloatValue

func (x *LookupField) GetRepeatedFloatValue() *SegmentFieldRepeatedFloat

func (*LookupField) GetRepeatedGeoPointValue

func (x *LookupField) GetRepeatedGeoPointValue() *SegmentFieldRepeatedGeoPoint

func (*LookupField) GetRepeatedGeoRectValue

func (x *LookupField) GetRepeatedGeoRectValue() *SegmentFieldRepeatedGeoRect

func (*LookupField) GetRepeatedIntValue

func (x *LookupField) GetRepeatedIntValue() *SegmentFieldRepeatedInt

func (*LookupField) GetRepeatedRangeFloatValue

func (x *LookupField) GetRepeatedRangeFloatValue() *SegmentFieldRepeatedRangeFloat

func (*LookupField) GetRepeatedRangeIntValue

func (x *LookupField) GetRepeatedRangeIntValue() *SegmentFieldRepeatedRangeInt

func (*LookupField) GetRepeatedStringValue

func (x *LookupField) GetRepeatedStringValue() *SegmentFieldRepeatedString

func (*LookupField) GetRepeatedUintValue

func (x *LookupField) GetRepeatedUintValue() *SegmentFieldRepeatedUInt

func (*LookupField) GetStringValue

func (x *LookupField) GetStringValue() *SegmentFieldString

func (*LookupField) GetUintValue

func (x *LookupField) GetUintValue() *SegmentFieldUInt

func (*LookupField) GetValue

func (m *LookupField) GetValue() isLookupField_Value

func (*LookupField) ProtoMessage

func (*LookupField) ProtoMessage()

func (*LookupField) ProtoReflect

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

func (*LookupField) Reset

func (x *LookupField) Reset()

func (*LookupField) String

func (x *LookupField) String() string

func (*LookupField) Validate

func (m *LookupField) Validate() error

Validate checks the field values on LookupField 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 (*LookupField) ValidateAll

func (m *LookupField) ValidateAll() error

ValidateAll checks the field values on LookupField 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 LookupFieldMultiError, or nil if none found.

type LookupFieldMultiError

type LookupFieldMultiError []error

LookupFieldMultiError is an error wrapping multiple validation errors returned by LookupField.ValidateAll() if the designated constraints aren't met.

func (LookupFieldMultiError) AllErrors

func (m LookupFieldMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LookupFieldMultiError) Error

func (m LookupFieldMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LookupFieldValidationError

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

LookupFieldValidationError is the validation error returned by LookupField.Validate if the designated constraints aren't met.

func (LookupFieldValidationError) Cause

Cause function returns cause value.

func (LookupFieldValidationError) Error

Error satisfies the builtin error interface

func (LookupFieldValidationError) ErrorName

func (e LookupFieldValidationError) ErrorName() string

ErrorName returns error name.

func (LookupFieldValidationError) Field

Field function returns field value.

func (LookupFieldValidationError) Key

Key function returns key value.

func (LookupFieldValidationError) Reason

Reason function returns reason value.

type LookupField_BoolValue

type LookupField_BoolValue struct {
	BoolValue *SegmentFieldBool `protobuf:"bytes,50,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type LookupField_FloatValue

type LookupField_FloatValue struct {
	FloatValue *SegmentFieldFloat `protobuf:"bytes,40,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type LookupField_GeoPointValue

type LookupField_GeoPointValue struct {
	GeoPointValue *SegmentFieldGeoPoint `protobuf:"bytes,90,opt,name=geo_point_value,json=geoPointValue,proto3,oneof"`
}

type LookupField_GeoRectValue

type LookupField_GeoRectValue struct {
	GeoRectValue *SegmentFieldGeoRect `protobuf:"bytes,100,opt,name=geo_rect_value,json=geoRectValue,proto3,oneof"`
}

type LookupField_IntValue

type LookupField_IntValue struct {
	IntValue *SegmentFieldInt `protobuf:"bytes,20,opt,name=int_value,json=intValue,proto3,oneof"`
}

type LookupField_RangeFloatValue

type LookupField_RangeFloatValue struct {
	RangeFloatValue *SegmentFieldRangeFloat `protobuf:"bytes,80,opt,name=range_float_value,json=rangeFloatValue,proto3,oneof"`
}

type LookupField_RangeIntValue

type LookupField_RangeIntValue struct {
	RangeIntValue *SegmentFieldRangeInt `protobuf:"bytes,70,opt,name=range_int_value,json=rangeIntValue,proto3,oneof"`
}

type LookupField_RepeatedBoolValue

type LookupField_RepeatedBoolValue struct {
	RepeatedBoolValue *SegmentFieldRepeatedBool `protobuf:"bytes,51,opt,name=repeated_bool_value,json=repeatedBoolValue,proto3,oneof"`
}

type LookupField_RepeatedFloatValue

type LookupField_RepeatedFloatValue struct {
	RepeatedFloatValue *SegmentFieldRepeatedFloat `protobuf:"bytes,41,opt,name=repeated_float_value,json=repeatedFloatValue,proto3,oneof"`
}

type LookupField_RepeatedGeoPointValue

type LookupField_RepeatedGeoPointValue struct {
	RepeatedGeoPointValue *SegmentFieldRepeatedGeoPoint `protobuf:"bytes,91,opt,name=repeated_geo_point_value,json=repeatedGeoPointValue,proto3,oneof"`
}

type LookupField_RepeatedGeoRectValue

type LookupField_RepeatedGeoRectValue struct {
	RepeatedGeoRectValue *SegmentFieldRepeatedGeoRect `protobuf:"bytes,101,opt,name=repeated_geo_rect_value,json=repeatedGeoRectValue,proto3,oneof"`
}

type LookupField_RepeatedIntValue

type LookupField_RepeatedIntValue struct {
	RepeatedIntValue *SegmentFieldRepeatedInt `protobuf:"bytes,21,opt,name=repeated_int_value,json=repeatedIntValue,proto3,oneof"`
}

type LookupField_RepeatedRangeFloatValue

type LookupField_RepeatedRangeFloatValue struct {
	RepeatedRangeFloatValue *SegmentFieldRepeatedRangeFloat `protobuf:"bytes,81,opt,name=repeated_range_float_value,json=repeatedRangeFloatValue,proto3,oneof"`
}

type LookupField_RepeatedRangeIntValue

type LookupField_RepeatedRangeIntValue struct {
	RepeatedRangeIntValue *SegmentFieldRepeatedRangeInt `protobuf:"bytes,71,opt,name=repeated_range_int_value,json=repeatedRangeIntValue,proto3,oneof"`
}

type LookupField_RepeatedStringValue

type LookupField_RepeatedStringValue struct {
	RepeatedStringValue *SegmentFieldRepeatedString `protobuf:"bytes,11,opt,name=repeated_string_value,json=repeatedStringValue,proto3,oneof"`
}

type LookupField_RepeatedUintValue

type LookupField_RepeatedUintValue struct {
	RepeatedUintValue *SegmentFieldRepeatedUInt `protobuf:"bytes,31,opt,name=repeated_uint_value,json=repeatedUintValue,proto3,oneof"`
}

type LookupField_StringValue

type LookupField_StringValue struct {
	StringValue *SegmentFieldString `protobuf:"bytes,10,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type LookupField_UintValue

type LookupField_UintValue struct {
	UintValue *SegmentFieldUInt `protobuf:"bytes,30,opt,name=uint_value,json=uintValue,proto3,oneof"`
}

type LookupMultiError

type LookupMultiError []error

LookupMultiError is an error wrapping multiple validation errors returned by Lookup.ValidateAll() if the designated constraints aren't met.

func (LookupMultiError) AllErrors

func (m LookupMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LookupMultiError) Error

func (m LookupMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LookupSegmentKeyRequest

type LookupSegmentKeyRequest struct {
	Index  string  `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	Lookup *Lookup `protobuf:"bytes,2,opt,name=lookup,proto3" json:"lookup,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupSegmentKeyRequest) Descriptor deprecated

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

Deprecated: Use LookupSegmentKeyRequest.ProtoReflect.Descriptor instead.

func (*LookupSegmentKeyRequest) GetIndex

func (x *LookupSegmentKeyRequest) GetIndex() string

func (*LookupSegmentKeyRequest) GetLookup

func (x *LookupSegmentKeyRequest) GetLookup() *Lookup

func (*LookupSegmentKeyRequest) ProtoMessage

func (*LookupSegmentKeyRequest) ProtoMessage()

func (*LookupSegmentKeyRequest) ProtoReflect

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

func (*LookupSegmentKeyRequest) Reset

func (x *LookupSegmentKeyRequest) Reset()

func (*LookupSegmentKeyRequest) String

func (x *LookupSegmentKeyRequest) String() string

func (*LookupSegmentKeyRequest) Validate

func (m *LookupSegmentKeyRequest) Validate() error

Validate checks the field values on LookupSegmentKeyRequest 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 (*LookupSegmentKeyRequest) ValidateAll

func (m *LookupSegmentKeyRequest) ValidateAll() error

ValidateAll checks the field values on LookupSegmentKeyRequest 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 LookupSegmentKeyRequestMultiError, or nil if none found.

type LookupSegmentKeyRequestMultiError

type LookupSegmentKeyRequestMultiError []error

LookupSegmentKeyRequestMultiError is an error wrapping multiple validation errors returned by LookupSegmentKeyRequest.ValidateAll() if the designated constraints aren't met.

func (LookupSegmentKeyRequestMultiError) AllErrors

func (m LookupSegmentKeyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LookupSegmentKeyRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type LookupSegmentKeyRequestValidationError

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

LookupSegmentKeyRequestValidationError is the validation error returned by LookupSegmentKeyRequest.Validate if the designated constraints aren't met.

func (LookupSegmentKeyRequestValidationError) Cause

Cause function returns cause value.

func (LookupSegmentKeyRequestValidationError) Error

Error satisfies the builtin error interface

func (LookupSegmentKeyRequestValidationError) ErrorName

ErrorName returns error name.

func (LookupSegmentKeyRequestValidationError) Field

Field function returns field value.

func (LookupSegmentKeyRequestValidationError) Key

Key function returns key value.

func (LookupSegmentKeyRequestValidationError) Reason

Reason function returns reason value.

type LookupSegmentKeyResponse

type LookupSegmentKeyResponse struct {
	Results []*SegmentField `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupSegmentKeyResponse) Descriptor deprecated

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

Deprecated: Use LookupSegmentKeyResponse.ProtoReflect.Descriptor instead.

func (*LookupSegmentKeyResponse) GetResults

func (x *LookupSegmentKeyResponse) GetResults() []*SegmentField

func (*LookupSegmentKeyResponse) ProtoMessage

func (*LookupSegmentKeyResponse) ProtoMessage()

func (*LookupSegmentKeyResponse) ProtoReflect

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

func (*LookupSegmentKeyResponse) Reset

func (x *LookupSegmentKeyResponse) Reset()

func (*LookupSegmentKeyResponse) String

func (x *LookupSegmentKeyResponse) String() string

func (*LookupSegmentKeyResponse) Validate

func (m *LookupSegmentKeyResponse) Validate() error

Validate checks the field values on LookupSegmentKeyResponse 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 (*LookupSegmentKeyResponse) ValidateAll

func (m *LookupSegmentKeyResponse) ValidateAll() error

ValidateAll checks the field values on LookupSegmentKeyResponse 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 LookupSegmentKeyResponseMultiError, or nil if none found.

type LookupSegmentKeyResponseMultiError

type LookupSegmentKeyResponseMultiError []error

LookupSegmentKeyResponseMultiError is an error wrapping multiple validation errors returned by LookupSegmentKeyResponse.ValidateAll() if the designated constraints aren't met.

func (LookupSegmentKeyResponseMultiError) AllErrors

func (m LookupSegmentKeyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LookupSegmentKeyResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type LookupSegmentKeyResponseValidationError

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

LookupSegmentKeyResponseValidationError is the validation error returned by LookupSegmentKeyResponse.Validate if the designated constraints aren't met.

func (LookupSegmentKeyResponseValidationError) Cause

Cause function returns cause value.

func (LookupSegmentKeyResponseValidationError) Error

Error satisfies the builtin error interface

func (LookupSegmentKeyResponseValidationError) ErrorName

ErrorName returns error name.

func (LookupSegmentKeyResponseValidationError) Field

Field function returns field value.

func (LookupSegmentKeyResponseValidationError) Key

Key function returns key value.

func (LookupSegmentKeyResponseValidationError) Reason

Reason function returns reason value.

type LookupSegmentRequest

type LookupSegmentRequest struct {
	Index  string  `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	Lookup *Lookup `protobuf:"bytes,2,opt,name=lookup,proto3" json:"lookup,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupSegmentRequest) Descriptor deprecated

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

Deprecated: Use LookupSegmentRequest.ProtoReflect.Descriptor instead.

func (*LookupSegmentRequest) GetIndex

func (x *LookupSegmentRequest) GetIndex() string

func (*LookupSegmentRequest) GetLookup

func (x *LookupSegmentRequest) GetLookup() *Lookup

func (*LookupSegmentRequest) ProtoMessage

func (*LookupSegmentRequest) ProtoMessage()

func (*LookupSegmentRequest) ProtoReflect

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

func (*LookupSegmentRequest) Reset

func (x *LookupSegmentRequest) Reset()

func (*LookupSegmentRequest) String

func (x *LookupSegmentRequest) String() string

func (*LookupSegmentRequest) Validate

func (m *LookupSegmentRequest) Validate() error

Validate checks the field values on LookupSegmentRequest 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 (*LookupSegmentRequest) ValidateAll

func (m *LookupSegmentRequest) ValidateAll() error

ValidateAll checks the field values on LookupSegmentRequest 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 LookupSegmentRequestMultiError, or nil if none found.

type LookupSegmentRequestMultiError

type LookupSegmentRequestMultiError []error

LookupSegmentRequestMultiError is an error wrapping multiple validation errors returned by LookupSegmentRequest.ValidateAll() if the designated constraints aren't met.

func (LookupSegmentRequestMultiError) AllErrors

func (m LookupSegmentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LookupSegmentRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type LookupSegmentRequestValidationError

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

LookupSegmentRequestValidationError is the validation error returned by LookupSegmentRequest.Validate if the designated constraints aren't met.

func (LookupSegmentRequestValidationError) Cause

Cause function returns cause value.

func (LookupSegmentRequestValidationError) Error

Error satisfies the builtin error interface

func (LookupSegmentRequestValidationError) ErrorName

ErrorName returns error name.

func (LookupSegmentRequestValidationError) Field

Field function returns field value.

func (LookupSegmentRequestValidationError) Key

Key function returns key value.

func (LookupSegmentRequestValidationError) Reason

Reason function returns reason value.

type LookupSegmentResponse

type LookupSegmentResponse struct {
	Results []*Segment `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupSegmentResponse) Descriptor deprecated

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

Deprecated: Use LookupSegmentResponse.ProtoReflect.Descriptor instead.

func (*LookupSegmentResponse) GetResults

func (x *LookupSegmentResponse) GetResults() []*Segment

func (*LookupSegmentResponse) ProtoMessage

func (*LookupSegmentResponse) ProtoMessage()

func (*LookupSegmentResponse) ProtoReflect

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

func (*LookupSegmentResponse) Reset

func (x *LookupSegmentResponse) Reset()

func (*LookupSegmentResponse) String

func (x *LookupSegmentResponse) String() string

func (*LookupSegmentResponse) Validate

func (m *LookupSegmentResponse) Validate() error

Validate checks the field values on LookupSegmentResponse 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 (*LookupSegmentResponse) ValidateAll

func (m *LookupSegmentResponse) ValidateAll() error

ValidateAll checks the field values on LookupSegmentResponse 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 LookupSegmentResponseMultiError, or nil if none found.

type LookupSegmentResponseMultiError

type LookupSegmentResponseMultiError []error

LookupSegmentResponseMultiError is an error wrapping multiple validation errors returned by LookupSegmentResponse.ValidateAll() if the designated constraints aren't met.

func (LookupSegmentResponseMultiError) AllErrors

func (m LookupSegmentResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LookupSegmentResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type LookupSegmentResponseValidationError

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

LookupSegmentResponseValidationError is the validation error returned by LookupSegmentResponse.Validate if the designated constraints aren't met.

func (LookupSegmentResponseValidationError) Cause

Cause function returns cause value.

func (LookupSegmentResponseValidationError) Error

Error satisfies the builtin error interface

func (LookupSegmentResponseValidationError) ErrorName

ErrorName returns error name.

func (LookupSegmentResponseValidationError) Field

Field function returns field value.

func (LookupSegmentResponseValidationError) Key

Key function returns key value.

func (LookupSegmentResponseValidationError) Reason

Reason function returns reason value.

type LookupValidationError

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

LookupValidationError is the validation error returned by Lookup.Validate if the designated constraints aren't met.

func (LookupValidationError) Cause

func (e LookupValidationError) Cause() error

Cause function returns cause value.

func (LookupValidationError) Error

func (e LookupValidationError) Error() string

Error satisfies the builtin error interface

func (LookupValidationError) ErrorName

func (e LookupValidationError) ErrorName() string

ErrorName returns error name.

func (LookupValidationError) Field

func (e LookupValidationError) Field() string

Field function returns field value.

func (LookupValidationError) Key

func (e LookupValidationError) Key() bool

Key function returns key value.

func (LookupValidationError) Reason

func (e LookupValidationError) Reason() string

Reason function returns reason value.

type PutSegmentRequest

type PutSegmentRequest struct {
	Index   string   `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	Segment *Segment `protobuf:"bytes,2,opt,name=segment,proto3" json:"segment,omitempty"`
	// contains filtered or unexported fields
}

func (*PutSegmentRequest) Descriptor deprecated

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

Deprecated: Use PutSegmentRequest.ProtoReflect.Descriptor instead.

func (*PutSegmentRequest) GetIndex

func (x *PutSegmentRequest) GetIndex() string

func (*PutSegmentRequest) GetSegment

func (x *PutSegmentRequest) GetSegment() *Segment

func (*PutSegmentRequest) ProtoMessage

func (*PutSegmentRequest) ProtoMessage()

func (*PutSegmentRequest) ProtoReflect

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

func (*PutSegmentRequest) Reset

func (x *PutSegmentRequest) Reset()

func (*PutSegmentRequest) String

func (x *PutSegmentRequest) String() string

func (*PutSegmentRequest) Validate

func (m *PutSegmentRequest) Validate() error

Validate checks the field values on PutSegmentRequest 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 (*PutSegmentRequest) ValidateAll

func (m *PutSegmentRequest) ValidateAll() error

ValidateAll checks the field values on PutSegmentRequest 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 PutSegmentRequestMultiError, or nil if none found.

type PutSegmentRequestMultiError

type PutSegmentRequestMultiError []error

PutSegmentRequestMultiError is an error wrapping multiple validation errors returned by PutSegmentRequest.ValidateAll() if the designated constraints aren't met.

func (PutSegmentRequestMultiError) AllErrors

func (m PutSegmentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PutSegmentRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PutSegmentRequestValidationError

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

PutSegmentRequestValidationError is the validation error returned by PutSegmentRequest.Validate if the designated constraints aren't met.

func (PutSegmentRequestValidationError) Cause

Cause function returns cause value.

func (PutSegmentRequestValidationError) Error

Error satisfies the builtin error interface

func (PutSegmentRequestValidationError) ErrorName

ErrorName returns error name.

func (PutSegmentRequestValidationError) Field

Field function returns field value.

func (PutSegmentRequestValidationError) Key

Key function returns key value.

func (PutSegmentRequestValidationError) Reason

Reason function returns reason value.

type PutSegmentResponse

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

func (*PutSegmentResponse) Descriptor deprecated

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

Deprecated: Use PutSegmentResponse.ProtoReflect.Descriptor instead.

func (*PutSegmentResponse) ProtoMessage

func (*PutSegmentResponse) ProtoMessage()

func (*PutSegmentResponse) ProtoReflect

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

func (*PutSegmentResponse) Reset

func (x *PutSegmentResponse) Reset()

func (*PutSegmentResponse) String

func (x *PutSegmentResponse) String() string

func (*PutSegmentResponse) Validate

func (m *PutSegmentResponse) Validate() error

Validate checks the field values on PutSegmentResponse 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 (*PutSegmentResponse) ValidateAll

func (m *PutSegmentResponse) ValidateAll() error

ValidateAll checks the field values on PutSegmentResponse 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 PutSegmentResponseMultiError, or nil if none found.

type PutSegmentResponseMultiError

type PutSegmentResponseMultiError []error

PutSegmentResponseMultiError is an error wrapping multiple validation errors returned by PutSegmentResponse.ValidateAll() if the designated constraints aren't met.

func (PutSegmentResponseMultiError) AllErrors

func (m PutSegmentResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PutSegmentResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PutSegmentResponseValidationError

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

PutSegmentResponseValidationError is the validation error returned by PutSegmentResponse.Validate if the designated constraints aren't met.

func (PutSegmentResponseValidationError) Cause

Cause function returns cause value.

func (PutSegmentResponseValidationError) Error

Error satisfies the builtin error interface

func (PutSegmentResponseValidationError) ErrorName

ErrorName returns error name.

func (PutSegmentResponseValidationError) Field

Field function returns field value.

func (PutSegmentResponseValidationError) Key

Key function returns key value.

func (PutSegmentResponseValidationError) Reason

Reason function returns reason value.

type ScalarType

type ScalarType int32
const (
	ScalarType_DATA_TYPE_UNDEFINED ScalarType = 0
	// STRINGs
	ScalarType_DATA_TYPE_STRING ScalarType = 10
	// INTs
	ScalarType_DATA_TYPE_INT   ScalarType = 20
	ScalarType_DATA_TYPE_INT8  ScalarType = 21
	ScalarType_DATA_TYPE_INT16 ScalarType = 22
	ScalarType_DATA_TYPE_INT32 ScalarType = 23
	ScalarType_DATA_TYPE_INT64 ScalarType = 24
	// UINTs
	ScalarType_DATA_TYPE_UINT   ScalarType = 30
	ScalarType_DATA_TYPE_UINT8  ScalarType = 31
	ScalarType_DATA_TYPE_UINT16 ScalarType = 32
	ScalarType_DATA_TYPE_UINT32 ScalarType = 33
	ScalarType_DATA_TYPE_UINT64 ScalarType = 34
	// FLOATs
	ScalarType_DATA_TYPE_FLOAT   ScalarType = 40
	ScalarType_DATA_TYPE_FLOAT32 ScalarType = 41
	ScalarType_DATA_TYPE_FLOAT64 ScalarType = 42
	// BOOL
	ScalarType_DATA_TYPE_BOOL ScalarType = 50
	// BLOB
	ScalarType_DATA_TYPE_BLOB ScalarType = 60
)

func (ScalarType) Descriptor

func (ScalarType) Descriptor() protoreflect.EnumDescriptor

func (ScalarType) Enum

func (x ScalarType) Enum() *ScalarType

func (ScalarType) EnumDescriptor deprecated

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

Deprecated: Use ScalarType.Descriptor instead.

func (ScalarType) Number

func (x ScalarType) Number() protoreflect.EnumNumber

func (ScalarType) String

func (x ScalarType) String() string

func (ScalarType) Type

type Segment

type Segment struct {
	Fields []*SegmentField `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*Segment) Descriptor deprecated

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

Deprecated: Use Segment.ProtoReflect.Descriptor instead.

func (*Segment) GetFields

func (x *Segment) GetFields() []*SegmentField

func (*Segment) ProtoMessage

func (*Segment) ProtoMessage()

func (*Segment) ProtoReflect

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

func (*Segment) Reset

func (x *Segment) Reset()

func (*Segment) String

func (x *Segment) String() string

func (*Segment) Validate

func (m *Segment) Validate() error

Validate checks the field values on Segment 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 (*Segment) ValidateAll

func (m *Segment) ValidateAll() error

ValidateAll checks the field values on Segment 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 SegmentMultiError, or nil if none found.

type SegmentField

type SegmentField struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Value:
	//	*SegmentField_StringValue
	//	*SegmentField_RepeatedStringValue
	//	*SegmentField_IntValue
	//	*SegmentField_RepeatedIntValue
	//	*SegmentField_UintValue
	//	*SegmentField_RepeatedUintValue
	//	*SegmentField_FloatValue
	//	*SegmentField_RepeatedFloatValue
	//	*SegmentField_BoolValue
	//	*SegmentField_RepeatedBoolValue
	//	*SegmentField_BlobValue
	//	*SegmentField_RepeatedBlobValue
	//	*SegmentField_RangeIntValue
	//	*SegmentField_RepeatedRangeIntValue
	//	*SegmentField_RangeFloatValue
	//	*SegmentField_RepeatedRangeFloatValue
	//	*SegmentField_GeoPointValue
	//	*SegmentField_RepeatedGeoPointValue
	//	*SegmentField_GeoRectValue
	//	*SegmentField_RepeatedGeoRectValue
	Value isSegmentField_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*SegmentField) Descriptor deprecated

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

Deprecated: Use SegmentField.ProtoReflect.Descriptor instead.

func (*SegmentField) GetBlobValue

func (x *SegmentField) GetBlobValue() *SegmentFieldBlob

func (*SegmentField) GetBoolValue

func (x *SegmentField) GetBoolValue() *SegmentFieldBool

func (*SegmentField) GetFloatValue

func (x *SegmentField) GetFloatValue() *SegmentFieldFloat

func (*SegmentField) GetGeoPointValue

func (x *SegmentField) GetGeoPointValue() *SegmentFieldGeoPoint

func (*SegmentField) GetGeoRectValue

func (x *SegmentField) GetGeoRectValue() *SegmentFieldGeoRect

func (*SegmentField) GetIntValue

func (x *SegmentField) GetIntValue() *SegmentFieldInt

func (*SegmentField) GetName

func (x *SegmentField) GetName() string

func (*SegmentField) GetRangeFloatValue

func (x *SegmentField) GetRangeFloatValue() *SegmentFieldRangeFloat

func (*SegmentField) GetRangeIntValue

func (x *SegmentField) GetRangeIntValue() *SegmentFieldRangeInt

func (*SegmentField) GetRepeatedBlobValue

func (x *SegmentField) GetRepeatedBlobValue() *SegmentFieldRepeatedBlob

func (*SegmentField) GetRepeatedBoolValue

func (x *SegmentField) GetRepeatedBoolValue() *SegmentFieldRepeatedBool

func (*SegmentField) GetRepeatedFloatValue

func (x *SegmentField) GetRepeatedFloatValue() *SegmentFieldRepeatedFloat

func (*SegmentField) GetRepeatedGeoPointValue

func (x *SegmentField) GetRepeatedGeoPointValue() *SegmentFieldRepeatedGeoPoint

func (*SegmentField) GetRepeatedGeoRectValue

func (x *SegmentField) GetRepeatedGeoRectValue() *SegmentFieldRepeatedGeoRect

func (*SegmentField) GetRepeatedIntValue

func (x *SegmentField) GetRepeatedIntValue() *SegmentFieldRepeatedInt

func (*SegmentField) GetRepeatedRangeFloatValue

func (x *SegmentField) GetRepeatedRangeFloatValue() *SegmentFieldRepeatedRangeFloat

func (*SegmentField) GetRepeatedRangeIntValue

func (x *SegmentField) GetRepeatedRangeIntValue() *SegmentFieldRepeatedRangeInt

func (*SegmentField) GetRepeatedStringValue

func (x *SegmentField) GetRepeatedStringValue() *SegmentFieldRepeatedString

func (*SegmentField) GetRepeatedUintValue

func (x *SegmentField) GetRepeatedUintValue() *SegmentFieldRepeatedUInt

func (*SegmentField) GetStringValue

func (x *SegmentField) GetStringValue() *SegmentFieldString

func (*SegmentField) GetUintValue

func (x *SegmentField) GetUintValue() *SegmentFieldUInt

func (*SegmentField) GetValue

func (m *SegmentField) GetValue() isSegmentField_Value

func (*SegmentField) ProtoMessage

func (*SegmentField) ProtoMessage()

func (*SegmentField) ProtoReflect

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

func (*SegmentField) Reset

func (x *SegmentField) Reset()

func (*SegmentField) String

func (x *SegmentField) String() string

func (*SegmentField) Validate

func (m *SegmentField) Validate() error

Validate checks the field values on SegmentField 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 (*SegmentField) ValidateAll

func (m *SegmentField) ValidateAll() error

ValidateAll checks the field values on SegmentField 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 SegmentFieldMultiError, or nil if none found.

type SegmentFieldBlob

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

func (*SegmentFieldBlob) Descriptor deprecated

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

Deprecated: Use SegmentFieldBlob.ProtoReflect.Descriptor instead.

func (*SegmentFieldBlob) GetValue

func (x *SegmentFieldBlob) GetValue() string

func (*SegmentFieldBlob) ProtoMessage

func (*SegmentFieldBlob) ProtoMessage()

func (*SegmentFieldBlob) ProtoReflect

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

func (*SegmentFieldBlob) Reset

func (x *SegmentFieldBlob) Reset()

func (*SegmentFieldBlob) String

func (x *SegmentFieldBlob) String() string

func (*SegmentFieldBlob) Validate

func (m *SegmentFieldBlob) Validate() error

Validate checks the field values on SegmentFieldBlob 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 (*SegmentFieldBlob) ValidateAll

func (m *SegmentFieldBlob) ValidateAll() error

ValidateAll checks the field values on SegmentFieldBlob 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 SegmentFieldBlobMultiError, or nil if none found.

type SegmentFieldBlobMultiError

type SegmentFieldBlobMultiError []error

SegmentFieldBlobMultiError is an error wrapping multiple validation errors returned by SegmentFieldBlob.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldBlobMultiError) AllErrors

func (m SegmentFieldBlobMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentFieldBlobMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldBlobValidationError

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

SegmentFieldBlobValidationError is the validation error returned by SegmentFieldBlob.Validate if the designated constraints aren't met.

func (SegmentFieldBlobValidationError) Cause

Cause function returns cause value.

func (SegmentFieldBlobValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldBlobValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldBlobValidationError) Field

Field function returns field value.

func (SegmentFieldBlobValidationError) Key

Key function returns key value.

func (SegmentFieldBlobValidationError) Reason

Reason function returns reason value.

type SegmentFieldBool

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

func (*SegmentFieldBool) Descriptor deprecated

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

Deprecated: Use SegmentFieldBool.ProtoReflect.Descriptor instead.

func (*SegmentFieldBool) GetValue

func (x *SegmentFieldBool) GetValue() bool

func (*SegmentFieldBool) ProtoMessage

func (*SegmentFieldBool) ProtoMessage()

func (*SegmentFieldBool) ProtoReflect

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

func (*SegmentFieldBool) Reset

func (x *SegmentFieldBool) Reset()

func (*SegmentFieldBool) String

func (x *SegmentFieldBool) String() string

func (*SegmentFieldBool) Validate

func (m *SegmentFieldBool) Validate() error

Validate checks the field values on SegmentFieldBool 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 (*SegmentFieldBool) ValidateAll

func (m *SegmentFieldBool) ValidateAll() error

ValidateAll checks the field values on SegmentFieldBool 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 SegmentFieldBoolMultiError, or nil if none found.

type SegmentFieldBoolMultiError

type SegmentFieldBoolMultiError []error

SegmentFieldBoolMultiError is an error wrapping multiple validation errors returned by SegmentFieldBool.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldBoolMultiError) AllErrors

func (m SegmentFieldBoolMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentFieldBoolMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldBoolValidationError

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

SegmentFieldBoolValidationError is the validation error returned by SegmentFieldBool.Validate if the designated constraints aren't met.

func (SegmentFieldBoolValidationError) Cause

Cause function returns cause value.

func (SegmentFieldBoolValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldBoolValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldBoolValidationError) Field

Field function returns field value.

func (SegmentFieldBoolValidationError) Key

Key function returns key value.

func (SegmentFieldBoolValidationError) Reason

Reason function returns reason value.

type SegmentFieldFloat

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

func (*SegmentFieldFloat) Descriptor deprecated

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

Deprecated: Use SegmentFieldFloat.ProtoReflect.Descriptor instead.

func (*SegmentFieldFloat) GetValue

func (x *SegmentFieldFloat) GetValue() float64

func (*SegmentFieldFloat) ProtoMessage

func (*SegmentFieldFloat) ProtoMessage()

func (*SegmentFieldFloat) ProtoReflect

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

func (*SegmentFieldFloat) Reset

func (x *SegmentFieldFloat) Reset()

func (*SegmentFieldFloat) String

func (x *SegmentFieldFloat) String() string

func (*SegmentFieldFloat) Validate

func (m *SegmentFieldFloat) Validate() error

Validate checks the field values on SegmentFieldFloat 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 (*SegmentFieldFloat) ValidateAll

func (m *SegmentFieldFloat) ValidateAll() error

ValidateAll checks the field values on SegmentFieldFloat 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 SegmentFieldFloatMultiError, or nil if none found.

type SegmentFieldFloatMultiError

type SegmentFieldFloatMultiError []error

SegmentFieldFloatMultiError is an error wrapping multiple validation errors returned by SegmentFieldFloat.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldFloatMultiError) AllErrors

func (m SegmentFieldFloatMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentFieldFloatMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldFloatValidationError

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

SegmentFieldFloatValidationError is the validation error returned by SegmentFieldFloat.Validate if the designated constraints aren't met.

func (SegmentFieldFloatValidationError) Cause

Cause function returns cause value.

func (SegmentFieldFloatValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldFloatValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldFloatValidationError) Field

Field function returns field value.

func (SegmentFieldFloatValidationError) Key

Key function returns key value.

func (SegmentFieldFloatValidationError) Reason

Reason function returns reason value.

type SegmentFieldGeoPoint

type SegmentFieldGeoPoint struct {
	X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"`
	Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

func (*SegmentFieldGeoPoint) Descriptor deprecated

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

Deprecated: Use SegmentFieldGeoPoint.ProtoReflect.Descriptor instead.

func (*SegmentFieldGeoPoint) GetX

func (x *SegmentFieldGeoPoint) GetX() float64

func (*SegmentFieldGeoPoint) GetY

func (x *SegmentFieldGeoPoint) GetY() float64

func (*SegmentFieldGeoPoint) ProtoMessage

func (*SegmentFieldGeoPoint) ProtoMessage()

func (*SegmentFieldGeoPoint) ProtoReflect

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

func (*SegmentFieldGeoPoint) Reset

func (x *SegmentFieldGeoPoint) Reset()

func (*SegmentFieldGeoPoint) String

func (x *SegmentFieldGeoPoint) String() string

func (*SegmentFieldGeoPoint) Validate

func (m *SegmentFieldGeoPoint) Validate() error

Validate checks the field values on SegmentFieldGeoPoint 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 (*SegmentFieldGeoPoint) ValidateAll

func (m *SegmentFieldGeoPoint) ValidateAll() error

ValidateAll checks the field values on SegmentFieldGeoPoint 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 SegmentFieldGeoPointMultiError, or nil if none found.

type SegmentFieldGeoPointMultiError

type SegmentFieldGeoPointMultiError []error

SegmentFieldGeoPointMultiError is an error wrapping multiple validation errors returned by SegmentFieldGeoPoint.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldGeoPointMultiError) AllErrors

func (m SegmentFieldGeoPointMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentFieldGeoPointMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldGeoPointValidationError

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

SegmentFieldGeoPointValidationError is the validation error returned by SegmentFieldGeoPoint.Validate if the designated constraints aren't met.

func (SegmentFieldGeoPointValidationError) Cause

Cause function returns cause value.

func (SegmentFieldGeoPointValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldGeoPointValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldGeoPointValidationError) Field

Field function returns field value.

func (SegmentFieldGeoPointValidationError) Key

Key function returns key value.

func (SegmentFieldGeoPointValidationError) Reason

Reason function returns reason value.

type SegmentFieldGeoRect

type SegmentFieldGeoRect struct {
	TopLeft     *SegmentFieldGeoPoint `protobuf:"bytes,1,opt,name=top_left,json=topLeft,proto3" json:"top_left,omitempty"`
	BottomRight *SegmentFieldGeoPoint `protobuf:"bytes,2,opt,name=bottom_right,json=bottomRight,proto3" json:"bottom_right,omitempty"`
	// contains filtered or unexported fields
}

func (*SegmentFieldGeoRect) Descriptor deprecated

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

Deprecated: Use SegmentFieldGeoRect.ProtoReflect.Descriptor instead.

func (*SegmentFieldGeoRect) GetBottomRight

func (x *SegmentFieldGeoRect) GetBottomRight() *SegmentFieldGeoPoint

func (*SegmentFieldGeoRect) GetTopLeft

func (x *SegmentFieldGeoRect) GetTopLeft() *SegmentFieldGeoPoint

func (*SegmentFieldGeoRect) ProtoMessage

func (*SegmentFieldGeoRect) ProtoMessage()

func (*SegmentFieldGeoRect) ProtoReflect

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

func (*SegmentFieldGeoRect) Reset

func (x *SegmentFieldGeoRect) Reset()

func (*SegmentFieldGeoRect) String

func (x *SegmentFieldGeoRect) String() string

func (*SegmentFieldGeoRect) Validate

func (m *SegmentFieldGeoRect) Validate() error

Validate checks the field values on SegmentFieldGeoRect 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 (*SegmentFieldGeoRect) ValidateAll

func (m *SegmentFieldGeoRect) ValidateAll() error

ValidateAll checks the field values on SegmentFieldGeoRect 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 SegmentFieldGeoRectMultiError, or nil if none found.

type SegmentFieldGeoRectMultiError

type SegmentFieldGeoRectMultiError []error

SegmentFieldGeoRectMultiError is an error wrapping multiple validation errors returned by SegmentFieldGeoRect.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldGeoRectMultiError) AllErrors

func (m SegmentFieldGeoRectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentFieldGeoRectMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldGeoRectValidationError

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

SegmentFieldGeoRectValidationError is the validation error returned by SegmentFieldGeoRect.Validate if the designated constraints aren't met.

func (SegmentFieldGeoRectValidationError) Cause

Cause function returns cause value.

func (SegmentFieldGeoRectValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldGeoRectValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldGeoRectValidationError) Field

Field function returns field value.

func (SegmentFieldGeoRectValidationError) Key

Key function returns key value.

func (SegmentFieldGeoRectValidationError) Reason

Reason function returns reason value.

type SegmentFieldInt

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

func (*SegmentFieldInt) Descriptor deprecated

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

Deprecated: Use SegmentFieldInt.ProtoReflect.Descriptor instead.

func (*SegmentFieldInt) GetValue

func (x *SegmentFieldInt) GetValue() int64

func (*SegmentFieldInt) ProtoMessage

func (*SegmentFieldInt) ProtoMessage()

func (*SegmentFieldInt) ProtoReflect

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

func (*SegmentFieldInt) Reset

func (x *SegmentFieldInt) Reset()

func (*SegmentFieldInt) String

func (x *SegmentFieldInt) String() string

func (*SegmentFieldInt) Validate

func (m *SegmentFieldInt) Validate() error

Validate checks the field values on SegmentFieldInt 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 (*SegmentFieldInt) ValidateAll

func (m *SegmentFieldInt) ValidateAll() error

ValidateAll checks the field values on SegmentFieldInt 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 SegmentFieldIntMultiError, or nil if none found.

type SegmentFieldIntMultiError

type SegmentFieldIntMultiError []error

SegmentFieldIntMultiError is an error wrapping multiple validation errors returned by SegmentFieldInt.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldIntMultiError) AllErrors

func (m SegmentFieldIntMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentFieldIntMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldIntValidationError

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

SegmentFieldIntValidationError is the validation error returned by SegmentFieldInt.Validate if the designated constraints aren't met.

func (SegmentFieldIntValidationError) Cause

Cause function returns cause value.

func (SegmentFieldIntValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldIntValidationError) ErrorName

func (e SegmentFieldIntValidationError) ErrorName() string

ErrorName returns error name.

func (SegmentFieldIntValidationError) Field

Field function returns field value.

func (SegmentFieldIntValidationError) Key

Key function returns key value.

func (SegmentFieldIntValidationError) Reason

Reason function returns reason value.

type SegmentFieldMultiError

type SegmentFieldMultiError []error

SegmentFieldMultiError is an error wrapping multiple validation errors returned by SegmentField.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldMultiError) AllErrors

func (m SegmentFieldMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentFieldMultiError) Error

func (m SegmentFieldMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldRangeFloat

type SegmentFieldRangeFloat struct {
	Min float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty"`
	Max float64 `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*SegmentFieldRangeFloat) Descriptor deprecated

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

Deprecated: Use SegmentFieldRangeFloat.ProtoReflect.Descriptor instead.

func (*SegmentFieldRangeFloat) GetMax

func (x *SegmentFieldRangeFloat) GetMax() float64

func (*SegmentFieldRangeFloat) GetMin

func (x *SegmentFieldRangeFloat) GetMin() float64

func (*SegmentFieldRangeFloat) ProtoMessage

func (*SegmentFieldRangeFloat) ProtoMessage()

func (*SegmentFieldRangeFloat) ProtoReflect

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

func (*SegmentFieldRangeFloat) Reset

func (x *SegmentFieldRangeFloat) Reset()

func (*SegmentFieldRangeFloat) String

func (x *SegmentFieldRangeFloat) String() string

func (*SegmentFieldRangeFloat) Validate

func (m *SegmentFieldRangeFloat) Validate() error

Validate checks the field values on SegmentFieldRangeFloat 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 (*SegmentFieldRangeFloat) ValidateAll

func (m *SegmentFieldRangeFloat) ValidateAll() error

ValidateAll checks the field values on SegmentFieldRangeFloat 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 SegmentFieldRangeFloatMultiError, or nil if none found.

type SegmentFieldRangeFloatMultiError

type SegmentFieldRangeFloatMultiError []error

SegmentFieldRangeFloatMultiError is an error wrapping multiple validation errors returned by SegmentFieldRangeFloat.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldRangeFloatMultiError) AllErrors

func (m SegmentFieldRangeFloatMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentFieldRangeFloatMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldRangeFloatValidationError

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

SegmentFieldRangeFloatValidationError is the validation error returned by SegmentFieldRangeFloat.Validate if the designated constraints aren't met.

func (SegmentFieldRangeFloatValidationError) Cause

Cause function returns cause value.

func (SegmentFieldRangeFloatValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldRangeFloatValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldRangeFloatValidationError) Field

Field function returns field value.

func (SegmentFieldRangeFloatValidationError) Key

Key function returns key value.

func (SegmentFieldRangeFloatValidationError) Reason

Reason function returns reason value.

type SegmentFieldRangeInt

type SegmentFieldRangeInt struct {
	Min int64 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"`
	Max int64 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*SegmentFieldRangeInt) Descriptor deprecated

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

Deprecated: Use SegmentFieldRangeInt.ProtoReflect.Descriptor instead.

func (*SegmentFieldRangeInt) GetMax

func (x *SegmentFieldRangeInt) GetMax() int64

func (*SegmentFieldRangeInt) GetMin

func (x *SegmentFieldRangeInt) GetMin() int64

func (*SegmentFieldRangeInt) ProtoMessage

func (*SegmentFieldRangeInt) ProtoMessage()

func (*SegmentFieldRangeInt) ProtoReflect

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

func (*SegmentFieldRangeInt) Reset

func (x *SegmentFieldRangeInt) Reset()

func (*SegmentFieldRangeInt) String

func (x *SegmentFieldRangeInt) String() string

func (*SegmentFieldRangeInt) Validate

func (m *SegmentFieldRangeInt) Validate() error

Validate checks the field values on SegmentFieldRangeInt 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 (*SegmentFieldRangeInt) ValidateAll

func (m *SegmentFieldRangeInt) ValidateAll() error

ValidateAll checks the field values on SegmentFieldRangeInt 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 SegmentFieldRangeIntMultiError, or nil if none found.

type SegmentFieldRangeIntMultiError

type SegmentFieldRangeIntMultiError []error

SegmentFieldRangeIntMultiError is an error wrapping multiple validation errors returned by SegmentFieldRangeInt.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldRangeIntMultiError) AllErrors

func (m SegmentFieldRangeIntMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentFieldRangeIntMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldRangeIntValidationError

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

SegmentFieldRangeIntValidationError is the validation error returned by SegmentFieldRangeInt.Validate if the designated constraints aren't met.

func (SegmentFieldRangeIntValidationError) Cause

Cause function returns cause value.

func (SegmentFieldRangeIntValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldRangeIntValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldRangeIntValidationError) Field

Field function returns field value.

func (SegmentFieldRangeIntValidationError) Key

Key function returns key value.

func (SegmentFieldRangeIntValidationError) Reason

Reason function returns reason value.

type SegmentFieldRepeatedBlob

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

func (*SegmentFieldRepeatedBlob) Descriptor deprecated

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

Deprecated: Use SegmentFieldRepeatedBlob.ProtoReflect.Descriptor instead.

func (*SegmentFieldRepeatedBlob) GetValue

func (x *SegmentFieldRepeatedBlob) GetValue() []string

func (*SegmentFieldRepeatedBlob) ProtoMessage

func (*SegmentFieldRepeatedBlob) ProtoMessage()

func (*SegmentFieldRepeatedBlob) ProtoReflect

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

func (*SegmentFieldRepeatedBlob) Reset

func (x *SegmentFieldRepeatedBlob) Reset()

func (*SegmentFieldRepeatedBlob) String

func (x *SegmentFieldRepeatedBlob) String() string

func (*SegmentFieldRepeatedBlob) Validate

func (m *SegmentFieldRepeatedBlob) Validate() error

Validate checks the field values on SegmentFieldRepeatedBlob 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 (*SegmentFieldRepeatedBlob) ValidateAll

func (m *SegmentFieldRepeatedBlob) ValidateAll() error

ValidateAll checks the field values on SegmentFieldRepeatedBlob 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 SegmentFieldRepeatedBlobMultiError, or nil if none found.

type SegmentFieldRepeatedBlobMultiError

type SegmentFieldRepeatedBlobMultiError []error

SegmentFieldRepeatedBlobMultiError is an error wrapping multiple validation errors returned by SegmentFieldRepeatedBlob.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldRepeatedBlobMultiError) AllErrors

func (m SegmentFieldRepeatedBlobMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentFieldRepeatedBlobMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldRepeatedBlobValidationError

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

SegmentFieldRepeatedBlobValidationError is the validation error returned by SegmentFieldRepeatedBlob.Validate if the designated constraints aren't met.

func (SegmentFieldRepeatedBlobValidationError) Cause

Cause function returns cause value.

func (SegmentFieldRepeatedBlobValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldRepeatedBlobValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldRepeatedBlobValidationError) Field

Field function returns field value.

func (SegmentFieldRepeatedBlobValidationError) Key

Key function returns key value.

func (SegmentFieldRepeatedBlobValidationError) Reason

Reason function returns reason value.

type SegmentFieldRepeatedBool

type SegmentFieldRepeatedBool struct {
	Value []bool `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SegmentFieldRepeatedBool) Descriptor deprecated

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

Deprecated: Use SegmentFieldRepeatedBool.ProtoReflect.Descriptor instead.

func (*SegmentFieldRepeatedBool) GetValue

func (x *SegmentFieldRepeatedBool) GetValue() []bool

func (*SegmentFieldRepeatedBool) ProtoMessage

func (*SegmentFieldRepeatedBool) ProtoMessage()

func (*SegmentFieldRepeatedBool) ProtoReflect

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

func (*SegmentFieldRepeatedBool) Reset

func (x *SegmentFieldRepeatedBool) Reset()

func (*SegmentFieldRepeatedBool) String

func (x *SegmentFieldRepeatedBool) String() string

func (*SegmentFieldRepeatedBool) Validate

func (m *SegmentFieldRepeatedBool) Validate() error

Validate checks the field values on SegmentFieldRepeatedBool 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 (*SegmentFieldRepeatedBool) ValidateAll

func (m *SegmentFieldRepeatedBool) ValidateAll() error

ValidateAll checks the field values on SegmentFieldRepeatedBool 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 SegmentFieldRepeatedBoolMultiError, or nil if none found.

type SegmentFieldRepeatedBoolMultiError

type SegmentFieldRepeatedBoolMultiError []error

SegmentFieldRepeatedBoolMultiError is an error wrapping multiple validation errors returned by SegmentFieldRepeatedBool.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldRepeatedBoolMultiError) AllErrors

func (m SegmentFieldRepeatedBoolMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentFieldRepeatedBoolMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldRepeatedBoolValidationError

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

SegmentFieldRepeatedBoolValidationError is the validation error returned by SegmentFieldRepeatedBool.Validate if the designated constraints aren't met.

func (SegmentFieldRepeatedBoolValidationError) Cause

Cause function returns cause value.

func (SegmentFieldRepeatedBoolValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldRepeatedBoolValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldRepeatedBoolValidationError) Field

Field function returns field value.

func (SegmentFieldRepeatedBoolValidationError) Key

Key function returns key value.

func (SegmentFieldRepeatedBoolValidationError) Reason

Reason function returns reason value.

type SegmentFieldRepeatedFloat

type SegmentFieldRepeatedFloat struct {
	Value []float64 `protobuf:"fixed64,1,rep,packed,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SegmentFieldRepeatedFloat) Descriptor deprecated

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

Deprecated: Use SegmentFieldRepeatedFloat.ProtoReflect.Descriptor instead.

func (*SegmentFieldRepeatedFloat) GetValue

func (x *SegmentFieldRepeatedFloat) GetValue() []float64

func (*SegmentFieldRepeatedFloat) ProtoMessage

func (*SegmentFieldRepeatedFloat) ProtoMessage()

func (*SegmentFieldRepeatedFloat) ProtoReflect

func (*SegmentFieldRepeatedFloat) Reset

func (x *SegmentFieldRepeatedFloat) Reset()

func (*SegmentFieldRepeatedFloat) String

func (x *SegmentFieldRepeatedFloat) String() string

func (*SegmentFieldRepeatedFloat) Validate

func (m *SegmentFieldRepeatedFloat) Validate() error

Validate checks the field values on SegmentFieldRepeatedFloat 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 (*SegmentFieldRepeatedFloat) ValidateAll

func (m *SegmentFieldRepeatedFloat) ValidateAll() error

ValidateAll checks the field values on SegmentFieldRepeatedFloat 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 SegmentFieldRepeatedFloatMultiError, or nil if none found.

type SegmentFieldRepeatedFloatMultiError

type SegmentFieldRepeatedFloatMultiError []error

SegmentFieldRepeatedFloatMultiError is an error wrapping multiple validation errors returned by SegmentFieldRepeatedFloat.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldRepeatedFloatMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SegmentFieldRepeatedFloatMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldRepeatedFloatValidationError

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

SegmentFieldRepeatedFloatValidationError is the validation error returned by SegmentFieldRepeatedFloat.Validate if the designated constraints aren't met.

func (SegmentFieldRepeatedFloatValidationError) Cause

Cause function returns cause value.

func (SegmentFieldRepeatedFloatValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldRepeatedFloatValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldRepeatedFloatValidationError) Field

Field function returns field value.

func (SegmentFieldRepeatedFloatValidationError) Key

Key function returns key value.

func (SegmentFieldRepeatedFloatValidationError) Reason

Reason function returns reason value.

type SegmentFieldRepeatedGeoPoint

type SegmentFieldRepeatedGeoPoint struct {
	Value []*SegmentFieldGeoPoint `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SegmentFieldRepeatedGeoPoint) Descriptor deprecated

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

Deprecated: Use SegmentFieldRepeatedGeoPoint.ProtoReflect.Descriptor instead.

func (*SegmentFieldRepeatedGeoPoint) GetValue

func (*SegmentFieldRepeatedGeoPoint) ProtoMessage

func (*SegmentFieldRepeatedGeoPoint) ProtoMessage()

func (*SegmentFieldRepeatedGeoPoint) ProtoReflect

func (*SegmentFieldRepeatedGeoPoint) Reset

func (x *SegmentFieldRepeatedGeoPoint) Reset()

func (*SegmentFieldRepeatedGeoPoint) String

func (*SegmentFieldRepeatedGeoPoint) Validate

func (m *SegmentFieldRepeatedGeoPoint) Validate() error

Validate checks the field values on SegmentFieldRepeatedGeoPoint 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 (*SegmentFieldRepeatedGeoPoint) ValidateAll

func (m *SegmentFieldRepeatedGeoPoint) ValidateAll() error

ValidateAll checks the field values on SegmentFieldRepeatedGeoPoint 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 SegmentFieldRepeatedGeoPointMultiError, or nil if none found.

type SegmentFieldRepeatedGeoPointMultiError

type SegmentFieldRepeatedGeoPointMultiError []error

SegmentFieldRepeatedGeoPointMultiError is an error wrapping multiple validation errors returned by SegmentFieldRepeatedGeoPoint.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldRepeatedGeoPointMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SegmentFieldRepeatedGeoPointMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldRepeatedGeoPointValidationError

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

SegmentFieldRepeatedGeoPointValidationError is the validation error returned by SegmentFieldRepeatedGeoPoint.Validate if the designated constraints aren't met.

func (SegmentFieldRepeatedGeoPointValidationError) Cause

Cause function returns cause value.

func (SegmentFieldRepeatedGeoPointValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldRepeatedGeoPointValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldRepeatedGeoPointValidationError) Field

Field function returns field value.

func (SegmentFieldRepeatedGeoPointValidationError) Key

Key function returns key value.

func (SegmentFieldRepeatedGeoPointValidationError) Reason

Reason function returns reason value.

type SegmentFieldRepeatedGeoRect

type SegmentFieldRepeatedGeoRect struct {
	Value []*SegmentFieldGeoRect `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SegmentFieldRepeatedGeoRect) Descriptor deprecated

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

Deprecated: Use SegmentFieldRepeatedGeoRect.ProtoReflect.Descriptor instead.

func (*SegmentFieldRepeatedGeoRect) GetValue

func (*SegmentFieldRepeatedGeoRect) ProtoMessage

func (*SegmentFieldRepeatedGeoRect) ProtoMessage()

func (*SegmentFieldRepeatedGeoRect) ProtoReflect

func (*SegmentFieldRepeatedGeoRect) Reset

func (x *SegmentFieldRepeatedGeoRect) Reset()

func (*SegmentFieldRepeatedGeoRect) String

func (x *SegmentFieldRepeatedGeoRect) String() string

func (*SegmentFieldRepeatedGeoRect) Validate

func (m *SegmentFieldRepeatedGeoRect) Validate() error

Validate checks the field values on SegmentFieldRepeatedGeoRect 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 (*SegmentFieldRepeatedGeoRect) ValidateAll

func (m *SegmentFieldRepeatedGeoRect) ValidateAll() error

ValidateAll checks the field values on SegmentFieldRepeatedGeoRect 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 SegmentFieldRepeatedGeoRectMultiError, or nil if none found.

type SegmentFieldRepeatedGeoRectMultiError

type SegmentFieldRepeatedGeoRectMultiError []error

SegmentFieldRepeatedGeoRectMultiError is an error wrapping multiple validation errors returned by SegmentFieldRepeatedGeoRect.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldRepeatedGeoRectMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SegmentFieldRepeatedGeoRectMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldRepeatedGeoRectValidationError

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

SegmentFieldRepeatedGeoRectValidationError is the validation error returned by SegmentFieldRepeatedGeoRect.Validate if the designated constraints aren't met.

func (SegmentFieldRepeatedGeoRectValidationError) Cause

Cause function returns cause value.

func (SegmentFieldRepeatedGeoRectValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldRepeatedGeoRectValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldRepeatedGeoRectValidationError) Field

Field function returns field value.

func (SegmentFieldRepeatedGeoRectValidationError) Key

Key function returns key value.

func (SegmentFieldRepeatedGeoRectValidationError) Reason

Reason function returns reason value.

type SegmentFieldRepeatedInt

type SegmentFieldRepeatedInt struct {
	Value []int64 `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SegmentFieldRepeatedInt) Descriptor deprecated

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

Deprecated: Use SegmentFieldRepeatedInt.ProtoReflect.Descriptor instead.

func (*SegmentFieldRepeatedInt) GetValue

func (x *SegmentFieldRepeatedInt) GetValue() []int64

func (*SegmentFieldRepeatedInt) ProtoMessage

func (*SegmentFieldRepeatedInt) ProtoMessage()

func (*SegmentFieldRepeatedInt) ProtoReflect

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

func (*SegmentFieldRepeatedInt) Reset

func (x *SegmentFieldRepeatedInt) Reset()

func (*SegmentFieldRepeatedInt) String

func (x *SegmentFieldRepeatedInt) String() string

func (*SegmentFieldRepeatedInt) Validate

func (m *SegmentFieldRepeatedInt) Validate() error

Validate checks the field values on SegmentFieldRepeatedInt 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 (*SegmentFieldRepeatedInt) ValidateAll

func (m *SegmentFieldRepeatedInt) ValidateAll() error

ValidateAll checks the field values on SegmentFieldRepeatedInt 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 SegmentFieldRepeatedIntMultiError, or nil if none found.

type SegmentFieldRepeatedIntMultiError

type SegmentFieldRepeatedIntMultiError []error

SegmentFieldRepeatedIntMultiError is an error wrapping multiple validation errors returned by SegmentFieldRepeatedInt.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldRepeatedIntMultiError) AllErrors

func (m SegmentFieldRepeatedIntMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentFieldRepeatedIntMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldRepeatedIntValidationError

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

SegmentFieldRepeatedIntValidationError is the validation error returned by SegmentFieldRepeatedInt.Validate if the designated constraints aren't met.

func (SegmentFieldRepeatedIntValidationError) Cause

Cause function returns cause value.

func (SegmentFieldRepeatedIntValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldRepeatedIntValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldRepeatedIntValidationError) Field

Field function returns field value.

func (SegmentFieldRepeatedIntValidationError) Key

Key function returns key value.

func (SegmentFieldRepeatedIntValidationError) Reason

Reason function returns reason value.

type SegmentFieldRepeatedRangeFloat

type SegmentFieldRepeatedRangeFloat struct {
	Value []*SegmentFieldRangeFloat `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SegmentFieldRepeatedRangeFloat) Descriptor deprecated

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

Deprecated: Use SegmentFieldRepeatedRangeFloat.ProtoReflect.Descriptor instead.

func (*SegmentFieldRepeatedRangeFloat) GetValue

func (*SegmentFieldRepeatedRangeFloat) ProtoMessage

func (*SegmentFieldRepeatedRangeFloat) ProtoMessage()

func (*SegmentFieldRepeatedRangeFloat) ProtoReflect

func (*SegmentFieldRepeatedRangeFloat) Reset

func (x *SegmentFieldRepeatedRangeFloat) Reset()

func (*SegmentFieldRepeatedRangeFloat) String

func (*SegmentFieldRepeatedRangeFloat) Validate

func (m *SegmentFieldRepeatedRangeFloat) Validate() error

Validate checks the field values on SegmentFieldRepeatedRangeFloat 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 (*SegmentFieldRepeatedRangeFloat) ValidateAll

func (m *SegmentFieldRepeatedRangeFloat) ValidateAll() error

ValidateAll checks the field values on SegmentFieldRepeatedRangeFloat 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 SegmentFieldRepeatedRangeFloatMultiError, or nil if none found.

type SegmentFieldRepeatedRangeFloatMultiError

type SegmentFieldRepeatedRangeFloatMultiError []error

SegmentFieldRepeatedRangeFloatMultiError is an error wrapping multiple validation errors returned by SegmentFieldRepeatedRangeFloat.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldRepeatedRangeFloatMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SegmentFieldRepeatedRangeFloatMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldRepeatedRangeFloatValidationError

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

SegmentFieldRepeatedRangeFloatValidationError is the validation error returned by SegmentFieldRepeatedRangeFloat.Validate if the designated constraints aren't met.

func (SegmentFieldRepeatedRangeFloatValidationError) Cause

Cause function returns cause value.

func (SegmentFieldRepeatedRangeFloatValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldRepeatedRangeFloatValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldRepeatedRangeFloatValidationError) Field

Field function returns field value.

func (SegmentFieldRepeatedRangeFloatValidationError) Key

Key function returns key value.

func (SegmentFieldRepeatedRangeFloatValidationError) Reason

Reason function returns reason value.

type SegmentFieldRepeatedRangeInt

type SegmentFieldRepeatedRangeInt struct {
	Value []*SegmentFieldRangeInt `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SegmentFieldRepeatedRangeInt) Descriptor deprecated

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

Deprecated: Use SegmentFieldRepeatedRangeInt.ProtoReflect.Descriptor instead.

func (*SegmentFieldRepeatedRangeInt) GetValue

func (*SegmentFieldRepeatedRangeInt) ProtoMessage

func (*SegmentFieldRepeatedRangeInt) ProtoMessage()

func (*SegmentFieldRepeatedRangeInt) ProtoReflect

func (*SegmentFieldRepeatedRangeInt) Reset

func (x *SegmentFieldRepeatedRangeInt) Reset()

func (*SegmentFieldRepeatedRangeInt) String

func (*SegmentFieldRepeatedRangeInt) Validate

func (m *SegmentFieldRepeatedRangeInt) Validate() error

Validate checks the field values on SegmentFieldRepeatedRangeInt 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 (*SegmentFieldRepeatedRangeInt) ValidateAll

func (m *SegmentFieldRepeatedRangeInt) ValidateAll() error

ValidateAll checks the field values on SegmentFieldRepeatedRangeInt 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 SegmentFieldRepeatedRangeIntMultiError, or nil if none found.

type SegmentFieldRepeatedRangeIntMultiError

type SegmentFieldRepeatedRangeIntMultiError []error

SegmentFieldRepeatedRangeIntMultiError is an error wrapping multiple validation errors returned by SegmentFieldRepeatedRangeInt.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldRepeatedRangeIntMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SegmentFieldRepeatedRangeIntMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldRepeatedRangeIntValidationError

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

SegmentFieldRepeatedRangeIntValidationError is the validation error returned by SegmentFieldRepeatedRangeInt.Validate if the designated constraints aren't met.

func (SegmentFieldRepeatedRangeIntValidationError) Cause

Cause function returns cause value.

func (SegmentFieldRepeatedRangeIntValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldRepeatedRangeIntValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldRepeatedRangeIntValidationError) Field

Field function returns field value.

func (SegmentFieldRepeatedRangeIntValidationError) Key

Key function returns key value.

func (SegmentFieldRepeatedRangeIntValidationError) Reason

Reason function returns reason value.

type SegmentFieldRepeatedString

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

func (*SegmentFieldRepeatedString) Descriptor deprecated

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

Deprecated: Use SegmentFieldRepeatedString.ProtoReflect.Descriptor instead.

func (*SegmentFieldRepeatedString) GetValue

func (x *SegmentFieldRepeatedString) GetValue() []string

func (*SegmentFieldRepeatedString) ProtoMessage

func (*SegmentFieldRepeatedString) ProtoMessage()

func (*SegmentFieldRepeatedString) ProtoReflect

func (*SegmentFieldRepeatedString) Reset

func (x *SegmentFieldRepeatedString) Reset()

func (*SegmentFieldRepeatedString) String

func (x *SegmentFieldRepeatedString) String() string

func (*SegmentFieldRepeatedString) Validate

func (m *SegmentFieldRepeatedString) Validate() error

Validate checks the field values on SegmentFieldRepeatedString 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 (*SegmentFieldRepeatedString) ValidateAll

func (m *SegmentFieldRepeatedString) ValidateAll() error

ValidateAll checks the field values on SegmentFieldRepeatedString 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 SegmentFieldRepeatedStringMultiError, or nil if none found.

type SegmentFieldRepeatedStringMultiError

type SegmentFieldRepeatedStringMultiError []error

SegmentFieldRepeatedStringMultiError is an error wrapping multiple validation errors returned by SegmentFieldRepeatedString.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldRepeatedStringMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SegmentFieldRepeatedStringMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldRepeatedStringValidationError

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

SegmentFieldRepeatedStringValidationError is the validation error returned by SegmentFieldRepeatedString.Validate if the designated constraints aren't met.

func (SegmentFieldRepeatedStringValidationError) Cause

Cause function returns cause value.

func (SegmentFieldRepeatedStringValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldRepeatedStringValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldRepeatedStringValidationError) Field

Field function returns field value.

func (SegmentFieldRepeatedStringValidationError) Key

Key function returns key value.

func (SegmentFieldRepeatedStringValidationError) Reason

Reason function returns reason value.

type SegmentFieldRepeatedUInt

type SegmentFieldRepeatedUInt struct {
	Value []uint64 `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SegmentFieldRepeatedUInt) Descriptor deprecated

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

Deprecated: Use SegmentFieldRepeatedUInt.ProtoReflect.Descriptor instead.

func (*SegmentFieldRepeatedUInt) GetValue

func (x *SegmentFieldRepeatedUInt) GetValue() []uint64

func (*SegmentFieldRepeatedUInt) ProtoMessage

func (*SegmentFieldRepeatedUInt) ProtoMessage()

func (*SegmentFieldRepeatedUInt) ProtoReflect

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

func (*SegmentFieldRepeatedUInt) Reset

func (x *SegmentFieldRepeatedUInt) Reset()

func (*SegmentFieldRepeatedUInt) String

func (x *SegmentFieldRepeatedUInt) String() string

func (*SegmentFieldRepeatedUInt) Validate

func (m *SegmentFieldRepeatedUInt) Validate() error

Validate checks the field values on SegmentFieldRepeatedUInt 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 (*SegmentFieldRepeatedUInt) ValidateAll

func (m *SegmentFieldRepeatedUInt) ValidateAll() error

ValidateAll checks the field values on SegmentFieldRepeatedUInt 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 SegmentFieldRepeatedUIntMultiError, or nil if none found.

type SegmentFieldRepeatedUIntMultiError

type SegmentFieldRepeatedUIntMultiError []error

SegmentFieldRepeatedUIntMultiError is an error wrapping multiple validation errors returned by SegmentFieldRepeatedUInt.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldRepeatedUIntMultiError) AllErrors

func (m SegmentFieldRepeatedUIntMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentFieldRepeatedUIntMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldRepeatedUIntValidationError

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

SegmentFieldRepeatedUIntValidationError is the validation error returned by SegmentFieldRepeatedUInt.Validate if the designated constraints aren't met.

func (SegmentFieldRepeatedUIntValidationError) Cause

Cause function returns cause value.

func (SegmentFieldRepeatedUIntValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldRepeatedUIntValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldRepeatedUIntValidationError) Field

Field function returns field value.

func (SegmentFieldRepeatedUIntValidationError) Key

Key function returns key value.

func (SegmentFieldRepeatedUIntValidationError) Reason

Reason function returns reason value.

type SegmentFieldString

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

func (*SegmentFieldString) Descriptor deprecated

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

Deprecated: Use SegmentFieldString.ProtoReflect.Descriptor instead.

func (*SegmentFieldString) GetValue

func (x *SegmentFieldString) GetValue() string

func (*SegmentFieldString) ProtoMessage

func (*SegmentFieldString) ProtoMessage()

func (*SegmentFieldString) ProtoReflect

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

func (*SegmentFieldString) Reset

func (x *SegmentFieldString) Reset()

func (*SegmentFieldString) String

func (x *SegmentFieldString) String() string

func (*SegmentFieldString) Validate

func (m *SegmentFieldString) Validate() error

Validate checks the field values on SegmentFieldString 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 (*SegmentFieldString) ValidateAll

func (m *SegmentFieldString) ValidateAll() error

ValidateAll checks the field values on SegmentFieldString 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 SegmentFieldStringMultiError, or nil if none found.

type SegmentFieldStringMultiError

type SegmentFieldStringMultiError []error

SegmentFieldStringMultiError is an error wrapping multiple validation errors returned by SegmentFieldString.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldStringMultiError) AllErrors

func (m SegmentFieldStringMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentFieldStringMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldStringValidationError

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

SegmentFieldStringValidationError is the validation error returned by SegmentFieldString.Validate if the designated constraints aren't met.

func (SegmentFieldStringValidationError) Cause

Cause function returns cause value.

func (SegmentFieldStringValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldStringValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldStringValidationError) Field

Field function returns field value.

func (SegmentFieldStringValidationError) Key

Key function returns key value.

func (SegmentFieldStringValidationError) Reason

Reason function returns reason value.

type SegmentFieldUInt

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

func (*SegmentFieldUInt) Descriptor deprecated

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

Deprecated: Use SegmentFieldUInt.ProtoReflect.Descriptor instead.

func (*SegmentFieldUInt) GetValue

func (x *SegmentFieldUInt) GetValue() uint64

func (*SegmentFieldUInt) ProtoMessage

func (*SegmentFieldUInt) ProtoMessage()

func (*SegmentFieldUInt) ProtoReflect

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

func (*SegmentFieldUInt) Reset

func (x *SegmentFieldUInt) Reset()

func (*SegmentFieldUInt) String

func (x *SegmentFieldUInt) String() string

func (*SegmentFieldUInt) Validate

func (m *SegmentFieldUInt) Validate() error

Validate checks the field values on SegmentFieldUInt 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 (*SegmentFieldUInt) ValidateAll

func (m *SegmentFieldUInt) ValidateAll() error

ValidateAll checks the field values on SegmentFieldUInt 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 SegmentFieldUIntMultiError, or nil if none found.

type SegmentFieldUIntMultiError

type SegmentFieldUIntMultiError []error

SegmentFieldUIntMultiError is an error wrapping multiple validation errors returned by SegmentFieldUInt.ValidateAll() if the designated constraints aren't met.

func (SegmentFieldUIntMultiError) AllErrors

func (m SegmentFieldUIntMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentFieldUIntMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SegmentFieldUIntValidationError

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

SegmentFieldUIntValidationError is the validation error returned by SegmentFieldUInt.Validate if the designated constraints aren't met.

func (SegmentFieldUIntValidationError) Cause

Cause function returns cause value.

func (SegmentFieldUIntValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldUIntValidationError) ErrorName

ErrorName returns error name.

func (SegmentFieldUIntValidationError) Field

Field function returns field value.

func (SegmentFieldUIntValidationError) Key

Key function returns key value.

func (SegmentFieldUIntValidationError) Reason

Reason function returns reason value.

type SegmentFieldValidationError

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

SegmentFieldValidationError is the validation error returned by SegmentField.Validate if the designated constraints aren't met.

func (SegmentFieldValidationError) Cause

Cause function returns cause value.

func (SegmentFieldValidationError) Error

Error satisfies the builtin error interface

func (SegmentFieldValidationError) ErrorName

func (e SegmentFieldValidationError) ErrorName() string

ErrorName returns error name.

func (SegmentFieldValidationError) Field

Field function returns field value.

func (SegmentFieldValidationError) Key

Key function returns key value.

func (SegmentFieldValidationError) Reason

Reason function returns reason value.

type SegmentField_BlobValue

type SegmentField_BlobValue struct {
	BlobValue *SegmentFieldBlob `protobuf:"bytes,60,opt,name=blob_value,json=blobValue,proto3,oneof"`
}

type SegmentField_BoolValue

type SegmentField_BoolValue struct {
	BoolValue *SegmentFieldBool `protobuf:"bytes,50,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type SegmentField_FloatValue

type SegmentField_FloatValue struct {
	FloatValue *SegmentFieldFloat `protobuf:"bytes,40,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type SegmentField_GeoPointValue

type SegmentField_GeoPointValue struct {
	GeoPointValue *SegmentFieldGeoPoint `protobuf:"bytes,90,opt,name=geo_point_value,json=geoPointValue,proto3,oneof"`
}

type SegmentField_GeoRectValue

type SegmentField_GeoRectValue struct {
	GeoRectValue *SegmentFieldGeoRect `protobuf:"bytes,100,opt,name=geo_rect_value,json=geoRectValue,proto3,oneof"`
}

type SegmentField_IntValue

type SegmentField_IntValue struct {
	IntValue *SegmentFieldInt `protobuf:"bytes,20,opt,name=int_value,json=intValue,proto3,oneof"`
}

type SegmentField_RangeFloatValue

type SegmentField_RangeFloatValue struct {
	RangeFloatValue *SegmentFieldRangeFloat `protobuf:"bytes,80,opt,name=range_float_value,json=rangeFloatValue,proto3,oneof"`
}

type SegmentField_RangeIntValue

type SegmentField_RangeIntValue struct {
	RangeIntValue *SegmentFieldRangeInt `protobuf:"bytes,70,opt,name=range_int_value,json=rangeIntValue,proto3,oneof"`
}

type SegmentField_RepeatedBlobValue

type SegmentField_RepeatedBlobValue struct {
	RepeatedBlobValue *SegmentFieldRepeatedBlob `protobuf:"bytes,61,opt,name=repeated_blob_value,json=repeatedBlobValue,proto3,oneof"`
}

type SegmentField_RepeatedBoolValue

type SegmentField_RepeatedBoolValue struct {
	RepeatedBoolValue *SegmentFieldRepeatedBool `protobuf:"bytes,51,opt,name=repeated_bool_value,json=repeatedBoolValue,proto3,oneof"`
}

type SegmentField_RepeatedFloatValue

type SegmentField_RepeatedFloatValue struct {
	RepeatedFloatValue *SegmentFieldRepeatedFloat `protobuf:"bytes,41,opt,name=repeated_float_value,json=repeatedFloatValue,proto3,oneof"`
}

type SegmentField_RepeatedGeoPointValue

type SegmentField_RepeatedGeoPointValue struct {
	RepeatedGeoPointValue *SegmentFieldRepeatedGeoPoint `protobuf:"bytes,91,opt,name=repeated_geo_point_value,json=repeatedGeoPointValue,proto3,oneof"`
}

type SegmentField_RepeatedGeoRectValue

type SegmentField_RepeatedGeoRectValue struct {
	RepeatedGeoRectValue *SegmentFieldRepeatedGeoRect `protobuf:"bytes,101,opt,name=repeated_geo_rect_value,json=repeatedGeoRectValue,proto3,oneof"`
}

type SegmentField_RepeatedIntValue

type SegmentField_RepeatedIntValue struct {
	RepeatedIntValue *SegmentFieldRepeatedInt `protobuf:"bytes,21,opt,name=repeated_int_value,json=repeatedIntValue,proto3,oneof"`
}

type SegmentField_RepeatedRangeFloatValue

type SegmentField_RepeatedRangeFloatValue struct {
	RepeatedRangeFloatValue *SegmentFieldRepeatedRangeFloat `protobuf:"bytes,81,opt,name=repeated_range_float_value,json=repeatedRangeFloatValue,proto3,oneof"`
}

type SegmentField_RepeatedRangeIntValue

type SegmentField_RepeatedRangeIntValue struct {
	RepeatedRangeIntValue *SegmentFieldRepeatedRangeInt `protobuf:"bytes,71,opt,name=repeated_range_int_value,json=repeatedRangeIntValue,proto3,oneof"`
}

type SegmentField_RepeatedStringValue

type SegmentField_RepeatedStringValue struct {
	RepeatedStringValue *SegmentFieldRepeatedString `protobuf:"bytes,11,opt,name=repeated_string_value,json=repeatedStringValue,proto3,oneof"`
}

type SegmentField_RepeatedUintValue

type SegmentField_RepeatedUintValue struct {
	RepeatedUintValue *SegmentFieldRepeatedUInt `protobuf:"bytes,31,opt,name=repeated_uint_value,json=repeatedUintValue,proto3,oneof"`
}

type SegmentField_StringValue

type SegmentField_StringValue struct {
	StringValue *SegmentFieldString `protobuf:"bytes,10,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type SegmentField_UintValue

type SegmentField_UintValue struct {
	UintValue *SegmentFieldUInt `protobuf:"bytes,30,opt,name=uint_value,json=uintValue,proto3,oneof"`
}

type SegmentMultiError

type SegmentMultiError []error

SegmentMultiError is an error wrapping multiple validation errors returned by Segment.ValidateAll() if the designated constraints aren't met.

func (SegmentMultiError) AllErrors

func (m SegmentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SegmentMultiError) Error

func (m SegmentMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SegmentServiceClient

type SegmentServiceClient interface {
	PutSegment(ctx context.Context, in *PutSegmentRequest, opts ...grpc.CallOption) (*PutSegmentResponse, error)
	GetSegment(ctx context.Context, in *GetSegmentRequest, opts ...grpc.CallOption) (*GetSegmentResponse, error)
	DeleteSegment(ctx context.Context, in *DeleteSegmentRequest, opts ...grpc.CallOption) (*DeleteSegmentResponse, error)
	LookupSegment(ctx context.Context, in *LookupSegmentRequest, opts ...grpc.CallOption) (*LookupSegmentResponse, error)
	LookupSegmentKey(ctx context.Context, in *LookupSegmentKeyRequest, opts ...grpc.CallOption) (*LookupSegmentKeyResponse, error)
}

SegmentServiceClient is the client API for SegmentService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SegmentServiceServer

SegmentServiceServer is the server API for SegmentService service. All implementations should embed UnimplementedSegmentServiceServer for forward compatibility

type SegmentValidationError

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

SegmentValidationError is the validation error returned by Segment.Validate if the designated constraints aren't met.

func (SegmentValidationError) Cause

func (e SegmentValidationError) Cause() error

Cause function returns cause value.

func (SegmentValidationError) Error

func (e SegmentValidationError) Error() string

Error satisfies the builtin error interface

func (SegmentValidationError) ErrorName

func (e SegmentValidationError) ErrorName() string

ErrorName returns error name.

func (SegmentValidationError) Field

func (e SegmentValidationError) Field() string

Field function returns field value.

func (SegmentValidationError) Key

func (e SegmentValidationError) Key() bool

Key function returns key value.

func (SegmentValidationError) Reason

func (e SegmentValidationError) Reason() string

Reason function returns reason value.

type Status

type Status int32
const (
	Status_INDEX_STATUS_UNKNOWN  Status = 0
	Status_INDEX_STATUS_CREATING Status = 5
	Status_INDEX_STATUS_ACTIVE   Status = 10
	Status_INDEX_STATUS_UPDATING Status = 15
	Status_INDEX_STATUS_DELETING Status = 20
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

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

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

func (Status) Type

func (Status) Type() protoreflect.EnumType

type UnimplementedIndexServiceServer

type UnimplementedIndexServiceServer struct {
}

UnimplementedIndexServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedIndexServiceServer) AddIndex

func (UnimplementedIndexServiceServer) DeleteIndex

func (UnimplementedIndexServiceServer) DescribeIndex

func (UnimplementedIndexServiceServer) ListIndexes

type UnimplementedSegmentServiceServer

type UnimplementedSegmentServiceServer struct {
}

UnimplementedSegmentServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedSegmentServiceServer) DeleteSegment

func (UnimplementedSegmentServiceServer) GetSegment

func (UnimplementedSegmentServiceServer) LookupSegment

func (UnimplementedSegmentServiceServer) LookupSegmentKey

func (UnimplementedSegmentServiceServer) PutSegment

type UnsafeIndexServiceServer

type UnsafeIndexServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeIndexServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IndexServiceServer will result in compilation errors.

type UnsafeSegmentServiceServer

type UnsafeSegmentServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSegmentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SegmentServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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