Variables
StreamAnnotationType_name, StreamAnnotationType_value
var (
StreamAnnotationType_name = map[int32]string{
0: "STREAM_ANNOTATION_TYPE_UNSPECIFIED",
1: "STREAM_ANNOTATION_TYPE_ACTIVE_ZONE",
2: "STREAM_ANNOTATION_TYPE_CROSSING_LINE",
}
StreamAnnotationType_value = map[string]int32{
"STREAM_ANNOTATION_TYPE_UNSPECIFIED": 0,
"STREAM_ANNOTATION_TYPE_ACTIVE_ZONE": 1,
"STREAM_ANNOTATION_TYPE_CROSSING_LINE": 2,
}
)
Enum value maps for StreamAnnotationType.
Cluster_State_name, Cluster_State_value
var (
Cluster_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "PROVISIONING",
2: "RUNNING",
3: "STOPPING",
4: "ERROR",
}
Cluster_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PROVISIONING": 1,
"RUNNING": 2,
"STOPPING": 3,
"ERROR": 4,
}
)
Enum value maps for Cluster_State.
RunMode_name, RunMode_value
var (
RunMode_name = map[int32]string{
0: "RUN_MODE_UNSPECIFIED",
1: "LIVE",
2: "SUBMISSION",
}
RunMode_value = map[string]int32{
"RUN_MODE_UNSPECIFIED": 0,
"LIVE": 1,
"SUBMISSION": 2,
}
)
Enum value maps for RunMode.
RunStatus_State_name, RunStatus_State_value
var (
RunStatus_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "INITIALIZING",
2: "RUNNING",
3: "COMPLETED",
4: "FAILED",
5: "PENDING",
}
RunStatus_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"INITIALIZING": 1,
"RUNNING": 2,
"COMPLETED": 3,
"FAILED": 4,
"PENDING": 5,
}
)
Enum value maps for RunStatus_State.
Registry_name, Registry_value
var (
Registry_name = map[int32]string{
0: "REGISTRY_UNSPECIFIED",
1: "PUBLIC",
2: "PRIVATE",
}
Registry_value = map[string]int32{
"REGISTRY_UNSPECIFIED": 0,
"PUBLIC": 1,
"PRIVATE": 2,
}
)
Enum value maps for Registry.
ModelType_name, ModelType_value
var (
ModelType_name = map[int32]string{
0: "MODEL_TYPE_UNSPECIFIED",
1: "IMAGE_CLASSIFICATION",
2: "OBJECT_DETECTION",
3: "VIDEO_CLASSIFICATION",
4: "VIDEO_OBJECT_TRACKING",
5: "VIDEO_ACTION_RECOGNITION",
6: "OCCUPANCY_COUNTING",
7: "PERSON_BLUR",
8: "VERTEX_CUSTOM",
9: "PRODUCT_RECOGNIZER",
10: "TAG_RECOGNIZER",
15: "SYNTH_ID",
}
ModelType_value = map[string]int32{
"MODEL_TYPE_UNSPECIFIED": 0,
"IMAGE_CLASSIFICATION": 1,
"OBJECT_DETECTION": 2,
"VIDEO_CLASSIFICATION": 3,
"VIDEO_OBJECT_TRACKING": 4,
"VIDEO_ACTION_RECOGNITION": 5,
"OCCUPANCY_COUNTING": 6,
"PERSON_BLUR": 7,
"VERTEX_CUSTOM": 8,
"PRODUCT_RECOGNIZER": 9,
"TAG_RECOGNIZER": 10,
"SYNTH_ID": 15,
}
)
Enum value maps for ModelType.
AcceleratorType_name, AcceleratorType_value
var (
AcceleratorType_name = map[int32]string{
0: "ACCELERATOR_TYPE_UNSPECIFIED",
1: "NVIDIA_TESLA_K80",
2: "NVIDIA_TESLA_P100",
3: "NVIDIA_TESLA_V100",
4: "NVIDIA_TESLA_P4",
5: "NVIDIA_TESLA_T4",
8: "NVIDIA_TESLA_A100",
6: "TPU_V2",
7: "TPU_V3",
}
AcceleratorType_value = map[string]int32{
"ACCELERATOR_TYPE_UNSPECIFIED": 0,
"NVIDIA_TESLA_K80": 1,
"NVIDIA_TESLA_P100": 2,
"NVIDIA_TESLA_V100": 3,
"NVIDIA_TESLA_P4": 4,
"NVIDIA_TESLA_T4": 5,
"NVIDIA_TESLA_A100": 8,
"TPU_V2": 6,
"TPU_V3": 7,
}
)
Enum value maps for AcceleratorType.
DataType_name, DataType_value
var (
DataType_name = map[int32]string{
0: "DATA_TYPE_UNSPECIFIED",
1: "VIDEO",
3: "IMAGE",
2: "PROTO",
4: "PLACEHOLDER",
}
DataType_value = map[string]int32{
"DATA_TYPE_UNSPECIFIED": 0,
"VIDEO": 1,
"IMAGE": 3,
"PROTO": 2,
"PLACEHOLDER": 4,
}
)
Enum value maps for DataType.
Application_State_name, Application_State_value
var (
Application_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATED",
2: "DEPLOYING",
3: "DEPLOYED",
4: "UNDEPLOYING",
5: "DELETED",
6: "ERROR",
7: "CREATING",
8: "UPDATING",
9: "DELETING",
10: "FIXING",
}
Application_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATED": 1,
"DEPLOYING": 2,
"DEPLOYED": 3,
"UNDEPLOYING": 4,
"DELETED": 5,
"ERROR": 6,
"CREATING": 7,
"UPDATING": 8,
"DELETING": 9,
"FIXING": 10,
}
)
Enum value maps for Application_State.
Application_BillingMode_name, Application_BillingMode_value
var (
Application_BillingMode_name = map[int32]string{
0: "BILLING_MODE_UNSPECIFIED",
1: "PAYG",
2: "MONTHLY",
}
Application_BillingMode_value = map[string]int32{
"BILLING_MODE_UNSPECIFIED": 0,
"PAYG": 1,
"MONTHLY": 2,
}
)
Enum value maps for Application_BillingMode.
Instance_InstanceType_name, Instance_InstanceType_value
var (
Instance_InstanceType_name = map[int32]string{
0: "INSTANCE_TYPE_UNSPECIFIED",
1: "STREAMING_PREDICTION",
2: "BATCH_PREDICTION",
3: "ONLINE_PREDICTION",
}
Instance_InstanceType_value = map[string]int32{
"INSTANCE_TYPE_UNSPECIFIED": 0,
"STREAMING_PREDICTION": 1,
"BATCH_PREDICTION": 2,
"ONLINE_PREDICTION": 3,
}
)
Enum value maps for Instance_InstanceType.
Instance_State_name, Instance_State_value
var (
Instance_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "CREATED",
3: "DEPLOYING",
4: "DEPLOYED",
5: "UNDEPLOYING",
6: "DELETED",
7: "ERROR",
8: "UPDATING",
9: "DELETING",
10: "FIXING",
11: "FINISHED",
}
Instance_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"CREATED": 2,
"DEPLOYING": 3,
"DEPLOYED": 4,
"UNDEPLOYING": 5,
"DELETED": 6,
"ERROR": 7,
"UPDATING": 8,
"DELETING": 9,
"FIXING": 10,
"FINISHED": 11,
}
)
Enum value maps for Instance_State.
Processor_ProcessorType_name, Processor_ProcessorType_value
var (
Processor_ProcessorType_name = map[int32]string{
0: "PROCESSOR_TYPE_UNSPECIFIED",
1: "PRETRAINED",
2: "CUSTOM",
3: "CONNECTOR",
}
Processor_ProcessorType_value = map[string]int32{
"PROCESSOR_TYPE_UNSPECIFIED": 0,
"PRETRAINED": 1,
"CUSTOM": 2,
"CONNECTOR": 3,
}
)
Enum value maps for Processor_ProcessorType.
Processor_ProcessorState_name, Processor_ProcessorState_value
var (
Processor_ProcessorState_name = map[int32]string{
0: "PROCESSOR_STATE_UNSPECIFIED",
1: "CREATING",
2: "ACTIVE",
3: "DELETING",
4: "FAILED",
}
Processor_ProcessorState_value = map[string]int32{
"PROCESSOR_STATE_UNSPECIFIED": 0,
"CREATING": 1,
"ACTIVE": 2,
"DELETING": 3,
"FAILED": 4,
}
)
Enum value maps for Processor_ProcessorState.
CustomProcessorSourceInfo_SourceType_name, CustomProcessorSourceInfo_SourceType_value
var (
CustomProcessorSourceInfo_SourceType_name = map[int32]string{
0: "SOURCE_TYPE_UNSPECIFIED",
1: "VERTEX_AUTOML",
2: "VERTEX_CUSTOM",
3: "PRODUCT_RECOGNIZER",
}
CustomProcessorSourceInfo_SourceType_value = map[string]int32{
"SOURCE_TYPE_UNSPECIFIED": 0,
"VERTEX_AUTOML": 1,
"VERTEX_CUSTOM": 2,
"PRODUCT_RECOGNIZER": 3,
}
)
Enum value maps for CustomProcessorSourceInfo_SourceType.
PersonBlurConfig_PersonBlurType_name, PersonBlurConfig_PersonBlurType_value
var (
PersonBlurConfig_PersonBlurType_name = map[int32]string{
0: "PERSON_BLUR_TYPE_UNSPECIFIED",
1: "FULL_OCCULUSION",
2: "BLUR_FILTER",
}
PersonBlurConfig_PersonBlurType_value = map[string]int32{
"PERSON_BLUR_TYPE_UNSPECIFIED": 0,
"FULL_OCCULUSION": 1,
"BLUR_FILTER": 2,
}
)
Enum value maps for PersonBlurConfig_PersonBlurType.
TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy_name, TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy_value
var (
TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy_name = map[int32]string{
0: "ENTITY_MATCHING_STRATEGY_UNSPECIFIED",
1: "MULTI_LINE_MATCHING",
2: "MAX_OVERLAP_AREA",
}
TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy_value = map[string]int32{
"ENTITY_MATCHING_STRATEGY_UNSPECIFIED": 0,
"MULTI_LINE_MATCHING": 1,
"MAX_OVERLAP_AREA": 2,
}
)
Enum value maps for TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy.
LeaseType_name, LeaseType_value
var (
LeaseType_name = map[int32]string{
0: "LEASE_TYPE_UNSPECIFIED",
1: "LEASE_TYPE_READER",
2: "LEASE_TYPE_WRITER",
}
LeaseType_value = map[string]int32{
"LEASE_TYPE_UNSPECIFIED": 0,
"LEASE_TYPE_READER": 1,
"LEASE_TYPE_WRITER": 2,
}
)
Enum value maps for LeaseType.
Event_Clock_name, Event_Clock_value
var (
Event_Clock_name = map[int32]string{
0: "CLOCK_UNSPECIFIED",
1: "CAPTURE",
2: "INGEST",
}
Event_Clock_value = map[string]int32{
"CLOCK_UNSPECIFIED": 0,
"CAPTURE": 1,
"INGEST": 2,
}
)
Enum value maps for Event_Clock.
FacetBucketType_name, FacetBucketType_value
var (
FacetBucketType_name = map[int32]string{
0: "FACET_BUCKET_TYPE_UNSPECIFIED",
1: "FACET_BUCKET_TYPE_VALUE",
2: "FACET_BUCKET_TYPE_DATETIME",
3: "FACET_BUCKET_TYPE_FIXED_RANGE",
4: "FACET_BUCKET_TYPE_CUSTOM_RANGE",
}
FacetBucketType_value = map[string]int32{
"FACET_BUCKET_TYPE_UNSPECIFIED": 0,
"FACET_BUCKET_TYPE_VALUE": 1,
"FACET_BUCKET_TYPE_DATETIME": 2,
"FACET_BUCKET_TYPE_FIXED_RANGE": 3,
"FACET_BUCKET_TYPE_CUSTOM_RANGE": 4,
}
)
Enum value maps for FacetBucketType.
AnalyzeAssetMetadata_AnalysisStatus_State_name, AnalyzeAssetMetadata_AnalysisStatus_State_value
var (
AnalyzeAssetMetadata_AnalysisStatus_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "IN_PROGRESS",
2: "SUCCEEDED",
3: "FAILED",
}
AnalyzeAssetMetadata_AnalysisStatus_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"IN_PROGRESS": 1,
"SUCCEEDED": 2,
"FAILED": 3,
}
)
Enum value maps for AnalyzeAssetMetadata_AnalysisStatus_State.
IndexingStatus_State_name, IndexingStatus_State_value
var (
IndexingStatus_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "IN_PROGRESS",
2: "SUCCEEDED",
3: "FAILED",
}
IndexingStatus_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"IN_PROGRESS": 1,
"SUCCEEDED": 2,
"FAILED": 3,
}
)
Enum value maps for IndexingStatus_State.
SearchCapability_Type_name, SearchCapability_Type_value
var (
SearchCapability_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "EMBEDDING_SEARCH",
}
SearchCapability_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"EMBEDDING_SEARCH": 1,
}
)
Enum value maps for SearchCapability_Type.
CollectionItem_Type_name, CollectionItem_Type_value
var (
CollectionItem_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "ASSET",
}
CollectionItem_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"ASSET": 1,
}
)
Enum value maps for CollectionItem_Type.
Index_State_name, Index_State_value
var (
Index_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "CREATED",
3: "UPDATING",
}
Index_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"CREATED": 2,
"UPDATING": 3,
}
)
Enum value maps for Index_State.
Corpus_Type_name, Corpus_Type_value
var (
Corpus_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "STREAM_VIDEO",
2: "IMAGE",
3: "VIDEO_ON_DEMAND",
}
Corpus_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"STREAM_VIDEO": 1,
"IMAGE": 2,
"VIDEO_ON_DEMAND": 3,
}
)
Enum value maps for Corpus_Type.
DataSchemaDetails_DataType_name, DataSchemaDetails_DataType_value
var (
DataSchemaDetails_DataType_name = map[int32]string{
0: "DATA_TYPE_UNSPECIFIED",
1: "INTEGER",
2: "FLOAT",
3: "STRING",
5: "DATETIME",
7: "GEO_COORDINATE",
8: "PROTO_ANY",
9: "BOOLEAN",
10: "LIST",
6: "CUSTOMIZED_STRUCT",
}
DataSchemaDetails_DataType_value = map[string]int32{
"DATA_TYPE_UNSPECIFIED": 0,
"INTEGER": 1,
"FLOAT": 2,
"STRING": 3,
"DATETIME": 5,
"GEO_COORDINATE": 7,
"PROTO_ANY": 8,
"BOOLEAN": 9,
"LIST": 10,
"CUSTOMIZED_STRUCT": 6,
}
)
Enum value maps for DataSchemaDetails_DataType.
DataSchemaDetails_Granularity_name, DataSchemaDetails_Granularity_value
var (
DataSchemaDetails_Granularity_name = map[int32]string{
0: "GRANULARITY_UNSPECIFIED",
1: "GRANULARITY_ASSET_LEVEL",
2: "GRANULARITY_PARTITION_LEVEL",
}
DataSchemaDetails_Granularity_value = map[string]int32{
"GRANULARITY_UNSPECIFIED": 0,
"GRANULARITY_ASSET_LEVEL": 1,
"GRANULARITY_PARTITION_LEVEL": 2,
}
)
Enum value maps for DataSchemaDetails_Granularity.
DataSchemaDetails_SearchStrategy_SearchStrategyType_name, DataSchemaDetails_SearchStrategy_SearchStrategyType_value
var (
DataSchemaDetails_SearchStrategy_SearchStrategyType_name = map[int32]string{
0: "NO_SEARCH",
1: "EXACT_SEARCH",
2: "SMART_SEARCH",
}
DataSchemaDetails_SearchStrategy_SearchStrategyType_value = map[string]int32{
"NO_SEARCH": 0,
"EXACT_SEARCH": 1,
"SMART_SEARCH": 2,
}
)
Enum value maps for DataSchemaDetails_SearchStrategy_SearchStrategyType.
IndexEndpoint_State_name, IndexEndpoint_State_value
var (
IndexEndpoint_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "CREATED",
3: "UPDATING",
4: "FAILED",
}
IndexEndpoint_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"CREATED": 2,
"UPDATING": 3,
"FAILED": 4,
}
)
Enum value maps for IndexEndpoint_State.
FacetProperty_DateTimeBucketSpec_Granularity_name, FacetProperty_DateTimeBucketSpec_Granularity_value
var (
FacetProperty_DateTimeBucketSpec_Granularity_name = map[int32]string{
0: "GRANULARITY_UNSPECIFIED",
1: "YEAR",
2: "MONTH",
3: "DAY",
}
FacetProperty_DateTimeBucketSpec_Granularity_value = map[string]int32{
"GRANULARITY_UNSPECIFIED": 0,
"YEAR": 1,
"MONTH": 2,
"DAY": 3,
}
)
Enum value maps for FacetProperty_DateTimeBucketSpec_Granularity.
IngestAssetRequest_Config_VideoType_ContainerFormat_name, IngestAssetRequest_Config_VideoType_ContainerFormat_value
var (
IngestAssetRequest_Config_VideoType_ContainerFormat_name = map[int32]string{
0: "CONTAINER_FORMAT_UNSPECIFIED",
1: "CONTAINER_FORMAT_MP4",
}
IngestAssetRequest_Config_VideoType_ContainerFormat_value = map[string]int32{
"CONTAINER_FORMAT_UNSPECIFIED": 0,
"CONTAINER_FORMAT_MP4": 1,
}
)
Enum value maps for IngestAssetRequest_Config_VideoType_ContainerFormat.
SchemaKeySortingStrategy_Option_AggregateMethod_name, SchemaKeySortingStrategy_Option_AggregateMethod_value
var (
SchemaKeySortingStrategy_Option_AggregateMethod_name = map[int32]string{
0: "AGGREGATE_METHOD_UNSPECIFIED",
1: "AGGREGATE_METHOD_LARGEST",
2: "AGGREGATE_METHOD_SMALLEST",
}
SchemaKeySortingStrategy_Option_AggregateMethod_value = map[string]int32{
"AGGREGATE_METHOD_UNSPECIFIED": 0,
"AGGREGATE_METHOD_LARGEST": 1,
"AGGREGATE_METHOD_SMALLEST": 2,
}
)
Enum value maps for SchemaKeySortingStrategy_Option_AggregateMethod.
File_google_cloud_visionai_v1_annotations_proto
var File_google_cloud_visionai_v1_annotations_proto protoreflect.FileDescriptor
File_google_cloud_visionai_v1_common_proto
var File_google_cloud_visionai_v1_common_proto protoreflect.FileDescriptor
File_google_cloud_visionai_v1_health_service_proto
var File_google_cloud_visionai_v1_health_service_proto protoreflect.FileDescriptor
File_google_cloud_visionai_v1_lva_proto
var File_google_cloud_visionai_v1_lva_proto protoreflect.FileDescriptor
File_google_cloud_visionai_v1_lva_resources_proto
var File_google_cloud_visionai_v1_lva_resources_proto protoreflect.FileDescriptor
File_google_cloud_visionai_v1_lva_service_proto
var File_google_cloud_visionai_v1_lva_service_proto protoreflect.FileDescriptor
File_google_cloud_visionai_v1_platform_proto
var File_google_cloud_visionai_v1_platform_proto protoreflect.FileDescriptor
File_google_cloud_visionai_v1_streaming_resources_proto
var File_google_cloud_visionai_v1_streaming_resources_proto protoreflect.FileDescriptor
File_google_cloud_visionai_v1_streaming_service_proto
var File_google_cloud_visionai_v1_streaming_service_proto protoreflect.FileDescriptor
File_google_cloud_visionai_v1_streams_resources_proto
var File_google_cloud_visionai_v1_streams_resources_proto protoreflect.FileDescriptor
File_google_cloud_visionai_v1_streams_service_proto
var File_google_cloud_visionai_v1_streams_service_proto protoreflect.FileDescriptor
File_google_cloud_visionai_v1_warehouse_proto
var File_google_cloud_visionai_v1_warehouse_proto protoreflect.FileDescriptor
Functions
func RegisterAppPlatformServer
func RegisterAppPlatformServer(s *grpc.Server, srv AppPlatformServer)
func RegisterHealthCheckServiceServer
func RegisterHealthCheckServiceServer(s *grpc.Server, srv HealthCheckServiceServer)
func RegisterLiveVideoAnalyticsServer
func RegisterLiveVideoAnalyticsServer(s *grpc.Server, srv LiveVideoAnalyticsServer)
func RegisterStreamingServiceServer
func RegisterStreamingServiceServer(s *grpc.Server, srv StreamingServiceServer)
func RegisterStreamsServiceServer
func RegisterStreamsServiceServer(s *grpc.Server, srv StreamsServiceServer)
func RegisterWarehouseServer
func RegisterWarehouseServer(s *grpc.Server, srv WarehouseServer)
AIEnabledDevicesInputConfig
type AIEnabledDevicesInputConfig struct {
// contains filtered or unexported fields
}
Message describing AI-enabled Devices Input Config.
func (*AIEnabledDevicesInputConfig) Descriptor
func (*AIEnabledDevicesInputConfig) Descriptor() ([]byte, []int)
Deprecated: Use AIEnabledDevicesInputConfig.ProtoReflect.Descriptor instead.
func (*AIEnabledDevicesInputConfig) ProtoMessage
func (*AIEnabledDevicesInputConfig) ProtoMessage()
func (*AIEnabledDevicesInputConfig) ProtoReflect
func (x *AIEnabledDevicesInputConfig) ProtoReflect() protoreflect.Message
func (*AIEnabledDevicesInputConfig) Reset
func (x *AIEnabledDevicesInputConfig) Reset()
func (*AIEnabledDevicesInputConfig) String
func (x *AIEnabledDevicesInputConfig) String() string
AcceleratorType
type AcceleratorType int32
Represents a hardware accelerator type.
AcceleratorType_ACCELERATOR_TYPE_UNSPECIFIED, AcceleratorType_NVIDIA_TESLA_K80, AcceleratorType_NVIDIA_TESLA_P100, AcceleratorType_NVIDIA_TESLA_V100, AcceleratorType_NVIDIA_TESLA_P4, AcceleratorType_NVIDIA_TESLA_T4, AcceleratorType_NVIDIA_TESLA_A100, AcceleratorType_TPU_V2, AcceleratorType_TPU_V3
const (
// Unspecified accelerator type, which means no accelerator.
AcceleratorType_ACCELERATOR_TYPE_UNSPECIFIED AcceleratorType = 0
// Nvidia Tesla K80 GPU.
AcceleratorType_NVIDIA_TESLA_K80 AcceleratorType = 1
// Nvidia Tesla P100 GPU.
AcceleratorType_NVIDIA_TESLA_P100 AcceleratorType = 2
// Nvidia Tesla V100 GPU.
AcceleratorType_NVIDIA_TESLA_V100 AcceleratorType = 3
// Nvidia Tesla P4 GPU.
AcceleratorType_NVIDIA_TESLA_P4 AcceleratorType = 4
// Nvidia Tesla T4 GPU.
AcceleratorType_NVIDIA_TESLA_T4 AcceleratorType = 5
// Nvidia Tesla A100 GPU.
AcceleratorType_NVIDIA_TESLA_A100 AcceleratorType = 8
// TPU v2.
AcceleratorType_TPU_V2 AcceleratorType = 6
// TPU v3.
AcceleratorType_TPU_V3 AcceleratorType = 7
)
func (AcceleratorType) Descriptor
func (AcceleratorType) Descriptor() protoreflect.EnumDescriptor
func (AcceleratorType) Enum
func (x AcceleratorType) Enum() *AcceleratorType
func (AcceleratorType) EnumDescriptor
func (AcceleratorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AcceleratorType.Descriptor instead.
func (AcceleratorType) Number
func (x AcceleratorType) Number() protoreflect.EnumNumber
func (AcceleratorType) String
func (x AcceleratorType) String() string
func (AcceleratorType) Type
func (AcceleratorType) Type() protoreflect.EnumType
AcquireLeaseRequest
type AcquireLeaseRequest struct {
Series string `protobuf:"bytes,1,opt,name=series,proto3" json:"series,omitempty"`
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
Term *durationpb.Duration `protobuf:"bytes,3,opt,name=term,proto3" json:"term,omitempty"`
LeaseType LeaseType "" /* 129 byte string literal not displayed */
}
Request message for acquiring a lease.
func (*AcquireLeaseRequest) Descriptor
func (*AcquireLeaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use AcquireLeaseRequest.ProtoReflect.Descriptor instead.
func (*AcquireLeaseRequest) GetLeaseType
func (x *AcquireLeaseRequest) GetLeaseType() LeaseType
func (*AcquireLeaseRequest) GetOwner
func (x *AcquireLeaseRequest) GetOwner() string
func (*AcquireLeaseRequest) GetSeries
func (x *AcquireLeaseRequest) GetSeries() string
func (*AcquireLeaseRequest) GetTerm
func (x *AcquireLeaseRequest) GetTerm() *durationpb.Duration
func (*AcquireLeaseRequest) ProtoMessage
func (*AcquireLeaseRequest) ProtoMessage()
func (*AcquireLeaseRequest) ProtoReflect
func (x *AcquireLeaseRequest) ProtoReflect() protoreflect.Message
func (*AcquireLeaseRequest) Reset
func (x *AcquireLeaseRequest) Reset()
func (*AcquireLeaseRequest) String
func (x *AcquireLeaseRequest) String() string
AddApplicationStreamInputRequest
type AddApplicationStreamInputRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
ApplicationStreamInputs []*ApplicationStreamInput "" /* 132 byte string literal not displayed */
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
}
Message for adding stream input to an Application.
func (*AddApplicationStreamInputRequest) Descriptor
func (*AddApplicationStreamInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddApplicationStreamInputRequest.ProtoReflect.Descriptor instead.
func (*AddApplicationStreamInputRequest) GetApplicationStreamInputs
func (x *AddApplicationStreamInputRequest) GetApplicationStreamInputs() []*ApplicationStreamInput
func (*AddApplicationStreamInputRequest) GetName
func (x *AddApplicationStreamInputRequest) GetName() string
func (*AddApplicationStreamInputRequest) GetRequestId
func (x *AddApplicationStreamInputRequest) GetRequestId() string
func (*AddApplicationStreamInputRequest) ProtoMessage
func (*AddApplicationStreamInputRequest) ProtoMessage()
func (*AddApplicationStreamInputRequest) ProtoReflect
func (x *AddApplicationStreamInputRequest) ProtoReflect() protoreflect.Message
func (*AddApplicationStreamInputRequest) Reset
func (x *AddApplicationStreamInputRequest) Reset()
func (*AddApplicationStreamInputRequest) String
func (x *AddApplicationStreamInputRequest) String() string
AddApplicationStreamInputResponse
type AddApplicationStreamInputResponse struct {
// contains filtered or unexported fields
}
Message for AddApplicationStreamInput Response.
func (*AddApplicationStreamInputResponse) Descriptor
func (*AddApplicationStreamInputResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddApplicationStreamInputResponse.ProtoReflect.Descriptor instead.
func (*AddApplicationStreamInputResponse) ProtoMessage
func (*AddApplicationStreamInputResponse) ProtoMessage()
func (*AddApplicationStreamInputResponse) ProtoReflect
func (x *AddApplicationStreamInputResponse) ProtoReflect() protoreflect.Message
func (*AddApplicationStreamInputResponse) Reset
func (x *AddApplicationStreamInputResponse) Reset()
func (*AddApplicationStreamInputResponse) String
func (x *AddApplicationStreamInputResponse) String() string
AddCollectionItemRequest
type AddCollectionItemRequest struct {
// Required. The item to be added.
Item *CollectionItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
// contains filtered or unexported fields
}
Request message for AddCollectionItem.
func (*AddCollectionItemRequest) Descriptor
func (*AddCollectionItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddCollectionItemRequest.ProtoReflect.Descriptor instead.
func (*AddCollectionItemRequest) GetItem
func (x *AddCollectionItemRequest) GetItem() *CollectionItem
func (*AddCollectionItemRequest) ProtoMessage
func (*AddCollectionItemRequest) ProtoMessage()
func (*AddCollectionItemRequest) ProtoReflect
func (x *AddCollectionItemRequest) ProtoReflect() protoreflect.Message
func (*AddCollectionItemRequest) Reset
func (x *AddCollectionItemRequest) Reset()
func (*AddCollectionItemRequest) String
func (x *AddCollectionItemRequest) String() string
AddCollectionItemResponse
type AddCollectionItemResponse struct {
// The item that has already been added.
Item *CollectionItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
// contains filtered or unexported fields
}
Response message for AddCollectionItem.
func (*AddCollectionItemResponse) Descriptor
func (*AddCollectionItemResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddCollectionItemResponse.ProtoReflect.Descriptor instead.
func (*AddCollectionItemResponse) GetItem
func (x *AddCollectionItemResponse) GetItem() *CollectionItem
func (*AddCollectionItemResponse) ProtoMessage
func (*AddCollectionItemResponse) ProtoMessage()
func (*AddCollectionItemResponse) ProtoReflect
func (x *AddCollectionItemResponse) ProtoReflect() protoreflect.Message
func (*AddCollectionItemResponse) Reset
func (x *AddCollectionItemResponse) Reset()
func (*AddCollectionItemResponse) String
func (x *AddCollectionItemResponse) String() string
Analysis
type Analysis struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
AnalysisDefinition *AnalysisDefinition `protobuf:"bytes,5,opt,name=analysis_definition,json=analysisDefinition,proto3" json:"analysis_definition,omitempty"`
InputStreamsMapping map[string]string "" /* 208 byte string literal not displayed */
OutputStreamsMapping map[string]string "" /* 211 byte string literal not displayed */
DisableEventWatch bool `protobuf:"varint,8,opt,name=disable_event_watch,json=disableEventWatch,proto3" json:"disable_event_watch,omitempty"`
}
Message describing the Analysis object.
func (*Analysis) Descriptor
Deprecated: Use Analysis.ProtoReflect.Descriptor instead.
func (*Analysis) GetAnalysisDefinition
func (x *Analysis) GetAnalysisDefinition() *AnalysisDefinition
func (*Analysis) GetCreateTime
func (x *Analysis) GetCreateTime() *timestamppb.Timestamp
func (*Analysis) GetDisableEventWatch
func (*Analysis) GetInputStreamsMapping
func (*Analysis) GetLabels
func (*Analysis) GetName
func (*Analysis) GetOutputStreamsMapping
func (*Analysis) GetUpdateTime
func (x *Analysis) GetUpdateTime() *timestamppb.Timestamp
func (*Analysis) ProtoMessage
func (*Analysis) ProtoMessage()
func (*Analysis) ProtoReflect
func (x *Analysis) ProtoReflect() protoreflect.Message
func (*Analysis) Reset
func (x *Analysis) Reset()
func (*Analysis) String
AnalysisDefinition
type AnalysisDefinition struct {
// Analyzer definitions.
Analyzers []*AnalyzerDefinition `protobuf:"bytes,1,rep,name=analyzers,proto3" json:"analyzers,omitempty"`
// contains filtered or unexported fields
}
Defines a full analysis.
This is a description of the overall live analytics pipeline. You may think of this as an edge list representation of a multigraph.
This may be directly authored by a human in protobuf textformat, or it may be generated by a programming API (perhaps Python or JavaScript depending on context).
func (*AnalysisDefinition) Descriptor
func (*AnalysisDefinition) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisDefinition.ProtoReflect.Descriptor instead.
func (*AnalysisDefinition) GetAnalyzers
func (x *AnalysisDefinition) GetAnalyzers() []*AnalyzerDefinition
func (*AnalysisDefinition) ProtoMessage
func (*AnalysisDefinition) ProtoMessage()
func (*AnalysisDefinition) ProtoReflect
func (x *AnalysisDefinition) ProtoReflect() protoreflect.Message
func (*AnalysisDefinition) Reset
func (x *AnalysisDefinition) Reset()
func (*AnalysisDefinition) String
func (x *AnalysisDefinition) String() string
AnalyzeAssetMetadata
type AnalyzeAssetMetadata struct {
// The status of analysis on all search capabilities.
AnalysisStatus []*AnalyzeAssetMetadata_AnalysisStatus `protobuf:"bytes,1,rep,name=analysis_status,json=analysisStatus,proto3" json:"analysis_status,omitempty"`
// The start time of the operation.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The update time of the operation.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}
Metadata for AnalyzeAsset.
func (*AnalyzeAssetMetadata) Descriptor
func (*AnalyzeAssetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeAssetMetadata.ProtoReflect.Descriptor instead.
func (*AnalyzeAssetMetadata) GetAnalysisStatus
func (x *AnalyzeAssetMetadata) GetAnalysisStatus() []*AnalyzeAssetMetadata_AnalysisStatus
func (*AnalyzeAssetMetadata) GetStartTime
func (x *AnalyzeAssetMetadata) GetStartTime() *timestamppb.Timestamp
func (*AnalyzeAssetMetadata) GetUpdateTime
func (x *AnalyzeAssetMetadata) GetUpdateTime() *timestamppb.Timestamp
func (*AnalyzeAssetMetadata) ProtoMessage
func (*AnalyzeAssetMetadata) ProtoMessage()
func (*AnalyzeAssetMetadata) ProtoReflect
func (x *AnalyzeAssetMetadata) ProtoReflect() protoreflect.Message
func (*AnalyzeAssetMetadata) Reset
func (x *AnalyzeAssetMetadata) Reset()
func (*AnalyzeAssetMetadata) String
func (x *AnalyzeAssetMetadata) String() string
AnalyzeAssetMetadata_AnalysisStatus
type AnalyzeAssetMetadata_AnalysisStatus struct {
State AnalyzeAssetMetadata_AnalysisStatus_State "" /* 136 byte string literal not displayed */
StatusMessage string `protobuf:"bytes,3,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
SearchCapability *SearchCapability `protobuf:"bytes,4,opt,name=search_capability,json=searchCapability,proto3" json:"search_capability,omitempty"`
}
The status of analysis on each search capability.
func (*AnalyzeAssetMetadata_AnalysisStatus) Descriptor
func (*AnalyzeAssetMetadata_AnalysisStatus) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeAssetMetadata_AnalysisStatus.ProtoReflect.Descriptor instead.
func (*AnalyzeAssetMetadata_AnalysisStatus) GetSearchCapability
func (x *AnalyzeAssetMetadata_AnalysisStatus) GetSearchCapability() *SearchCapability
func (*AnalyzeAssetMetadata_AnalysisStatus) GetState
func (x *AnalyzeAssetMetadata_AnalysisStatus) GetState() AnalyzeAssetMetadata_AnalysisStatus_State
func (*AnalyzeAssetMetadata_AnalysisStatus) GetStatusMessage
func (x *AnalyzeAssetMetadata_AnalysisStatus) GetStatusMessage() string
func (*AnalyzeAssetMetadata_AnalysisStatus) ProtoMessage
func (*AnalyzeAssetMetadata_AnalysisStatus) ProtoMessage()
func (*AnalyzeAssetMetadata_AnalysisStatus) ProtoReflect
func (x *AnalyzeAssetMetadata_AnalysisStatus) ProtoReflect() protoreflect.Message
func (*AnalyzeAssetMetadata_AnalysisStatus) Reset
func (x *AnalyzeAssetMetadata_AnalysisStatus) Reset()
func (*AnalyzeAssetMetadata_AnalysisStatus) String
func (x *AnalyzeAssetMetadata_AnalysisStatus) String() string
AnalyzeAssetMetadata_AnalysisStatus_State
type AnalyzeAssetMetadata_AnalysisStatus_State int32
The state of the search capability.
AnalyzeAssetMetadata_AnalysisStatus_STATE_UNSPECIFIED, AnalyzeAssetMetadata_AnalysisStatus_IN_PROGRESS, AnalyzeAssetMetadata_AnalysisStatus_SUCCEEDED, AnalyzeAssetMetadata_AnalysisStatus_FAILED
const (
// The default process state should never happen.
AnalyzeAssetMetadata_AnalysisStatus_STATE_UNSPECIFIED AnalyzeAssetMetadata_AnalysisStatus_State = 0
// The feature is in progress.
AnalyzeAssetMetadata_AnalysisStatus_IN_PROGRESS AnalyzeAssetMetadata_AnalysisStatus_State = 1
// The process is successfully done.
AnalyzeAssetMetadata_AnalysisStatus_SUCCEEDED AnalyzeAssetMetadata_AnalysisStatus_State = 2
// The process failed.
AnalyzeAssetMetadata_AnalysisStatus_FAILED AnalyzeAssetMetadata_AnalysisStatus_State = 3
)
func (AnalyzeAssetMetadata_AnalysisStatus_State) Descriptor
func (AnalyzeAssetMetadata_AnalysisStatus_State) Descriptor() protoreflect.EnumDescriptor
func (AnalyzeAssetMetadata_AnalysisStatus_State) Enum
func (x AnalyzeAssetMetadata_AnalysisStatus_State) Enum() *AnalyzeAssetMetadata_AnalysisStatus_State
func (AnalyzeAssetMetadata_AnalysisStatus_State) EnumDescriptor
func (AnalyzeAssetMetadata_AnalysisStatus_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnalyzeAssetMetadata_AnalysisStatus_State.Descriptor instead.
func (AnalyzeAssetMetadata_AnalysisStatus_State) Number
func (x AnalyzeAssetMetadata_AnalysisStatus_State) Number() protoreflect.EnumNumber
func (AnalyzeAssetMetadata_AnalysisStatus_State) String
func (x AnalyzeAssetMetadata_AnalysisStatus_State) String() string
func (AnalyzeAssetMetadata_AnalysisStatus_State) Type
func (AnalyzeAssetMetadata_AnalysisStatus_State) Type() protoreflect.EnumType
AnalyzeAssetRequest
type AnalyzeAssetRequest struct {
// Required. The resource name of the asset to analyze.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for AnalyzeAsset.
func (*AnalyzeAssetRequest) Descriptor
func (*AnalyzeAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeAssetRequest.ProtoReflect.Descriptor instead.
func (*AnalyzeAssetRequest) GetName
func (x *AnalyzeAssetRequest) GetName() string
func (*AnalyzeAssetRequest) ProtoMessage
func (*AnalyzeAssetRequest) ProtoMessage()
func (*AnalyzeAssetRequest) ProtoReflect
func (x *AnalyzeAssetRequest) ProtoReflect() protoreflect.Message
func (*AnalyzeAssetRequest) Reset
func (x *AnalyzeAssetRequest) Reset()
func (*AnalyzeAssetRequest) String
func (x *AnalyzeAssetRequest) String() string
AnalyzeAssetResponse
type AnalyzeAssetResponse struct {
// contains filtered or unexported fields
}
Response message for AnalyzeAsset.
func (*AnalyzeAssetResponse) Descriptor
func (*AnalyzeAssetResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeAssetResponse.ProtoReflect.Descriptor instead.
func (*AnalyzeAssetResponse) ProtoMessage
func (*AnalyzeAssetResponse) ProtoMessage()
func (*AnalyzeAssetResponse) ProtoReflect
func (x *AnalyzeAssetResponse) ProtoReflect() protoreflect.Message
func (*AnalyzeAssetResponse) Reset
func (x *AnalyzeAssetResponse) Reset()
func (*AnalyzeAssetResponse) String
func (x *AnalyzeAssetResponse) String() string
AnalyzeCorpusMetadata
type AnalyzeCorpusMetadata struct {
// The metadata of the operation.
Metadata *OperationMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
The metadata message for AnalyzeCorpus LRO.
func (*AnalyzeCorpusMetadata) Descriptor
func (*AnalyzeCorpusMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeCorpusMetadata.ProtoReflect.Descriptor instead.
func (*AnalyzeCorpusMetadata) GetMetadata
func (x *AnalyzeCorpusMetadata) GetMetadata() *OperationMetadata
func (*AnalyzeCorpusMetadata) ProtoMessage
func (*AnalyzeCorpusMetadata) ProtoMessage()
func (*AnalyzeCorpusMetadata) ProtoReflect
func (x *AnalyzeCorpusMetadata) ProtoReflect() protoreflect.Message
func (*AnalyzeCorpusMetadata) Reset
func (x *AnalyzeCorpusMetadata) Reset()
func (*AnalyzeCorpusMetadata) String
func (x *AnalyzeCorpusMetadata) String() string
AnalyzeCorpusRequest
type AnalyzeCorpusRequest struct {
// Required. The parent corpus resource where the assets will be analyzed.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for AnalyzeCorpus.
func (*AnalyzeCorpusRequest) Descriptor
func (*AnalyzeCorpusRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeCorpusRequest.ProtoReflect.Descriptor instead.
func (*AnalyzeCorpusRequest) GetName
func (x *AnalyzeCorpusRequest) GetName() string
func (*AnalyzeCorpusRequest) ProtoMessage
func (*AnalyzeCorpusRequest) ProtoMessage()
func (*AnalyzeCorpusRequest) ProtoReflect
func (x *AnalyzeCorpusRequest) ProtoReflect() protoreflect.Message
func (*AnalyzeCorpusRequest) Reset
func (x *AnalyzeCorpusRequest) Reset()
func (*AnalyzeCorpusRequest) String
func (x *AnalyzeCorpusRequest) String() string
AnalyzeCorpusResponse
type AnalyzeCorpusResponse struct {
// contains filtered or unexported fields
}
The response message for AnalyzeCorpus LRO.
func (*AnalyzeCorpusResponse) Descriptor
func (*AnalyzeCorpusResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeCorpusResponse.ProtoReflect.Descriptor instead.
func (*AnalyzeCorpusResponse) ProtoMessage
func (*AnalyzeCorpusResponse) ProtoMessage()
func (*AnalyzeCorpusResponse) ProtoReflect
func (x *AnalyzeCorpusResponse) ProtoReflect() protoreflect.Message
func (*AnalyzeCorpusResponse) Reset
func (x *AnalyzeCorpusResponse) Reset()
func (*AnalyzeCorpusResponse) String
func (x *AnalyzeCorpusResponse) String() string
AnalyzerDefinition
type AnalyzerDefinition struct {
Analyzer string `protobuf:"bytes,1,opt,name=analyzer,proto3" json:"analyzer,omitempty"`
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
Inputs []*AnalyzerDefinition_StreamInput `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"`
Attrs map[string]*AttributeValue "" /* 151 byte string literal not displayed */
DebugOptions *AnalyzerDefinition_DebugOptions `protobuf:"bytes,5,opt,name=debug_options,json=debugOptions,proto3" json:"debug_options,omitempty"`
OperatorOption *AnalyzerDefinition_OperatorOption `protobuf:"bytes,6,opt,name=operator_option,json=operatorOption,proto3" json:"operator_option,omitempty"`
}
Defines an Analyzer.
An analyzer processes data from its input streams using the logic defined in the Operator that it represents. Of course, it produces data for the output streams declared in the Operator.
func (*AnalyzerDefinition) Descriptor
func (*AnalyzerDefinition) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzerDefinition.ProtoReflect.Descriptor instead.
func (*AnalyzerDefinition) GetAnalyzer
func (x *AnalyzerDefinition) GetAnalyzer() string
func (*AnalyzerDefinition) GetAttrs
func (x *AnalyzerDefinition) GetAttrs() map[string]*AttributeValue
func (*AnalyzerDefinition) GetDebugOptions
func (x *AnalyzerDefinition) GetDebugOptions() *AnalyzerDefinition_DebugOptions
func (*AnalyzerDefinition) GetInputs
func (x *AnalyzerDefinition) GetInputs() []*AnalyzerDefinition_StreamInput
func (*AnalyzerDefinition) GetOperator
func (x *AnalyzerDefinition) GetOperator() string
func (*AnalyzerDefinition) GetOperatorOption
func (x *AnalyzerDefinition) GetOperatorOption() *AnalyzerDefinition_OperatorOption
func (*AnalyzerDefinition) ProtoMessage
func (*AnalyzerDefinition) ProtoMessage()
func (*AnalyzerDefinition) ProtoReflect
func (x *AnalyzerDefinition) ProtoReflect() protoreflect.Message
func (*AnalyzerDefinition) Reset
func (x *AnalyzerDefinition) Reset()
func (*AnalyzerDefinition) String
func (x *AnalyzerDefinition) String() string
AnalyzerDefinition_DebugOptions
type AnalyzerDefinition_DebugOptions struct {
EnvironmentVariables map[string]string "" /* 209 byte string literal not displayed */
}
Options available for debugging purposes only.
func (*AnalyzerDefinition_DebugOptions) Descriptor
func (*AnalyzerDefinition_DebugOptions) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzerDefinition_DebugOptions.ProtoReflect.Descriptor instead.
func (*AnalyzerDefinition_DebugOptions) GetEnvironmentVariables
func (x *AnalyzerDefinition_DebugOptions) GetEnvironmentVariables() map[string]string
func (*AnalyzerDefinition_DebugOptions) ProtoMessage
func (*AnalyzerDefinition_DebugOptions) ProtoMessage()
func (*AnalyzerDefinition_DebugOptions) ProtoReflect
func (x *AnalyzerDefinition_DebugOptions) ProtoReflect() protoreflect.Message
func (*AnalyzerDefinition_DebugOptions) Reset
func (x *AnalyzerDefinition_DebugOptions) Reset()
func (*AnalyzerDefinition_DebugOptions) String
func (x *AnalyzerDefinition_DebugOptions) String() string
AnalyzerDefinition_OperatorOption
type AnalyzerDefinition_OperatorOption struct {
// Tag of the operator.
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
// Registry of the operator. e.g. public, dev.
Registry string `protobuf:"bytes,2,opt,name=registry,proto3" json:"registry,omitempty"`
// contains filtered or unexported fields
}
Option related to the operator.
func (*AnalyzerDefinition_OperatorOption) Descriptor
func (*AnalyzerDefinition_OperatorOption) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzerDefinition_OperatorOption.ProtoReflect.Descriptor instead.
func (*AnalyzerDefinition_OperatorOption) GetRegistry
func (x *AnalyzerDefinition_OperatorOption) GetRegistry() string
func (*AnalyzerDefinition_OperatorOption) GetTag
func (x *AnalyzerDefinition_OperatorOption) GetTag() string
func (*AnalyzerDefinition_OperatorOption) ProtoMessage
func (*AnalyzerDefinition_OperatorOption) ProtoMessage()
func (*AnalyzerDefinition_OperatorOption) ProtoReflect
func (x *AnalyzerDefinition_OperatorOption) ProtoReflect() protoreflect.Message
func (*AnalyzerDefinition_OperatorOption) Reset
func (x *AnalyzerDefinition_OperatorOption) Reset()
func (*AnalyzerDefinition_OperatorOption) String
func (x *AnalyzerDefinition_OperatorOption) String() string
AnalyzerDefinition_StreamInput
type AnalyzerDefinition_StreamInput struct {
// The name of the stream input (as discussed above).
Input string `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
// contains filtered or unexported fields
}
The inputs to this analyzer.
We accept input name references of the following form:
Example:
Suppose you had an operator named "SomeOp" that has 2 output arguments, the first of which is named "foo" and the second of which is named "bar", and an operator named "MyOp" that accepts 2 inputs.
Also suppose that there is an analyzer named "some-analyzer" that is running "SomeOp" and another analyzer named "my-analyzer" running "MyOp".
To indicate that "my-analyzer" is to consume "some-analyzer"'s "foo" output as its first input and "some-analyzer"'s "bar" output as its second input, you can set this field to the following: input = ["some-analyzer:foo", "some-analyzer:bar"]
func (*AnalyzerDefinition_StreamInput) Descriptor
func (*AnalyzerDefinition_StreamInput) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzerDefinition_StreamInput.ProtoReflect.Descriptor instead.
func (*AnalyzerDefinition_StreamInput) GetInput
func (x *AnalyzerDefinition_StreamInput) GetInput() string
func (*AnalyzerDefinition_StreamInput) ProtoMessage
func (*AnalyzerDefinition_StreamInput) ProtoMessage()
func (*AnalyzerDefinition_StreamInput) ProtoReflect
func (x *AnalyzerDefinition_StreamInput) ProtoReflect() protoreflect.Message
func (*AnalyzerDefinition_StreamInput) Reset
func (x *AnalyzerDefinition_StreamInput) Reset()
func (*AnalyzerDefinition_StreamInput) String
func (x *AnalyzerDefinition_StreamInput) String() string
Annotation
type Annotation struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
UserSpecifiedAnnotation *UserSpecifiedAnnotation "" /* 132 byte string literal not displayed */
}
An annotation is a resource in asset. It represents a key-value mapping of content in asset.
func (*Annotation) Descriptor
func (*Annotation) Descriptor() ([]byte, []int)
Deprecated: Use Annotation.ProtoReflect.Descriptor instead.
func (*Annotation) GetName
func (x *Annotation) GetName() string
func (*Annotation) GetUserSpecifiedAnnotation
func (x *Annotation) GetUserSpecifiedAnnotation() *UserSpecifiedAnnotation
func (*Annotation) ProtoMessage
func (*Annotation) ProtoMessage()
func (*Annotation) ProtoReflect
func (x *Annotation) ProtoReflect() protoreflect.Message
func (*Annotation) Reset
func (x *Annotation) Reset()
func (*Annotation) String
func (x *Annotation) String() string
AnnotationCustomizedStruct
type AnnotationCustomizedStruct struct {
Elements map[string]*AnnotationValue "" /* 157 byte string literal not displayed */
}
Customized struct represnation in annotation.
func (*AnnotationCustomizedStruct) Descriptor
func (*AnnotationCustomizedStruct) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationCustomizedStruct.ProtoReflect.Descriptor instead.
func (*AnnotationCustomizedStruct) GetElements
func (x *AnnotationCustomizedStruct) GetElements() map[string]*AnnotationValue
func (*AnnotationCustomizedStruct) ProtoMessage
func (*AnnotationCustomizedStruct) ProtoMessage()
func (*AnnotationCustomizedStruct) ProtoReflect
func (x *AnnotationCustomizedStruct) ProtoReflect() protoreflect.Message
func (*AnnotationCustomizedStruct) Reset
func (x *AnnotationCustomizedStruct) Reset()
func (*AnnotationCustomizedStruct) String
func (x *AnnotationCustomizedStruct) String() string
AnnotationList
type AnnotationList struct {
// The values of `LIST` data type annotation.
Values []*AnnotationValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
List representation in annotation.
func (*AnnotationList) Descriptor
func (*AnnotationList) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationList.ProtoReflect.Descriptor instead.
func (*AnnotationList) GetValues
func (x *AnnotationList) GetValues() []*AnnotationValue
func (*AnnotationList) ProtoMessage
func (*AnnotationList) ProtoMessage()
func (*AnnotationList) ProtoReflect
func (x *AnnotationList) ProtoReflect() protoreflect.Message
func (*AnnotationList) Reset
func (x *AnnotationList) Reset()
func (*AnnotationList) String
func (x *AnnotationList) String() string
AnnotationMatchingResult
type AnnotationMatchingResult struct {
// The criteria used for matching. It can be an input search criteria or a
// criteria converted from a facet selection.
Criteria *Criteria `protobuf:"bytes,1,opt,name=criteria,proto3" json:"criteria,omitempty"`
// Matched annotations for the criteria.
MatchedAnnotations []*Annotation `protobuf:"bytes,2,rep,name=matched_annotations,json=matchedAnnotations,proto3" json:"matched_annotations,omitempty"`
// Status of the match result. Possible values:
// FAILED_PRECONDITION - the criteria is not eligible for match.
// OK - matching is performed.
Status *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Stores the criteria-annotation matching results for each search result item.
func (*AnnotationMatchingResult) Descriptor
func (*AnnotationMatchingResult) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationMatchingResult.ProtoReflect.Descriptor instead.
func (*AnnotationMatchingResult) GetCriteria
func (x *AnnotationMatchingResult) GetCriteria() *Criteria
func (*AnnotationMatchingResult) GetMatchedAnnotations
func (x *AnnotationMatchingResult) GetMatchedAnnotations() []*Annotation
func (*AnnotationMatchingResult) GetStatus
func (x *AnnotationMatchingResult) GetStatus() *status.Status
func (*AnnotationMatchingResult) ProtoMessage
func (*AnnotationMatchingResult) ProtoMessage()
func (*AnnotationMatchingResult) ProtoReflect
func (x *AnnotationMatchingResult) ProtoReflect() protoreflect.Message
func (*AnnotationMatchingResult) Reset
func (x *AnnotationMatchingResult) Reset()
func (*AnnotationMatchingResult) String
func (x *AnnotationMatchingResult) String() string
AnnotationValue
type AnnotationValue struct {
// Types that are assignable to Value:
//
// *AnnotationValue_IntValue
// *AnnotationValue_FloatValue
// *AnnotationValue_StrValue
// *AnnotationValue_DatetimeValue
// *AnnotationValue_GeoCoordinate
// *AnnotationValue_ProtoAnyValue
// *AnnotationValue_BoolValue
// *AnnotationValue_CustomizedStructDataValue
// *AnnotationValue_ListValue
// *AnnotationValue_CustomizedStructValue
Value isAnnotationValue_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
Value of annotation, including all types available in data schema.
func (*AnnotationValue) Descriptor
func (*AnnotationValue) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationValue.ProtoReflect.Descriptor instead.
func (*AnnotationValue) GetBoolValue
func (x *AnnotationValue) GetBoolValue() bool
func (*AnnotationValue) GetCustomizedStructDataValue
func (x *AnnotationValue) GetCustomizedStructDataValue() *structpb.Struct
func (*AnnotationValue) GetCustomizedStructValue
func (x *AnnotationValue) GetCustomizedStructValue() *AnnotationCustomizedStruct
func (*AnnotationValue) GetDatetimeValue
func (x *AnnotationValue) GetDatetimeValue() string
func (*AnnotationValue) GetFloatValue
func (x *AnnotationValue) GetFloatValue() float32
func (*AnnotationValue) GetGeoCoordinate
func (x *AnnotationValue) GetGeoCoordinate() *GeoCoordinate
func (*AnnotationValue) GetIntValue
func (x *AnnotationValue) GetIntValue() int64
func (*AnnotationValue) GetListValue
func (x *AnnotationValue) GetListValue() *AnnotationList
func (*AnnotationValue) GetProtoAnyValue
func (x *AnnotationValue) GetProtoAnyValue() *anypb.Any
func (*AnnotationValue) GetStrValue
func (x *AnnotationValue) GetStrValue() string
func (*AnnotationValue) GetValue
func (m *AnnotationValue) GetValue() isAnnotationValue_Value
func (*AnnotationValue) ProtoMessage
func (*AnnotationValue) ProtoMessage()
func (*AnnotationValue) ProtoReflect
func (x *AnnotationValue) ProtoReflect() protoreflect.Message
func (*AnnotationValue) Reset
func (x *AnnotationValue) Reset()
func (*AnnotationValue) String
func (x *AnnotationValue) String() string
AnnotationValue_BoolValue
type AnnotationValue_BoolValue struct {
// Value of boolean type annotation.
BoolValue bool `protobuf:"varint,9,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
AnnotationValue_CustomizedStructDataValue
type AnnotationValue_CustomizedStructDataValue struct {
// Value of customized struct annotation. This field does not have effects.
// Use customized_struct_value instead for customized struct annotation.
CustomizedStructDataValue *structpb.Struct `protobuf:"bytes,10,opt,name=customized_struct_data_value,json=customizedStructDataValue,proto3,oneof"`
}
AnnotationValue_CustomizedStructValue
type AnnotationValue_CustomizedStructValue struct {
// Value of custom struct type annotation.
CustomizedStructValue *AnnotationCustomizedStruct `protobuf:"bytes,6,opt,name=customized_struct_value,json=customizedStructValue,proto3,oneof"`
}
AnnotationValue_DatetimeValue
type AnnotationValue_DatetimeValue struct {
// Value of date time type annotation.
DatetimeValue string `protobuf:"bytes,5,opt,name=datetime_value,json=datetimeValue,proto3,oneof"`
}
AnnotationValue_FloatValue
type AnnotationValue_FloatValue struct {
// Value of float type annotation.
FloatValue float32 `protobuf:"fixed32,2,opt,name=float_value,json=floatValue,proto3,oneof"`
}
AnnotationValue_GeoCoordinate
type AnnotationValue_GeoCoordinate struct {
// Value of geo coordinate type annotation.
GeoCoordinate *GeoCoordinate `protobuf:"bytes,7,opt,name=geo_coordinate,json=geoCoordinate,proto3,oneof"`
}
AnnotationValue_IntValue
type AnnotationValue_IntValue struct {
// Value of int type annotation.
IntValue int64 `protobuf:"varint,1,opt,name=int_value,json=intValue,proto3,oneof"`
}
AnnotationValue_ListValue
type AnnotationValue_ListValue struct {
// Value of list type annotation.
ListValue *AnnotationList `protobuf:"bytes,11,opt,name=list_value,json=listValue,proto3,oneof"`
}
AnnotationValue_ProtoAnyValue
type AnnotationValue_ProtoAnyValue struct {
// Value of any proto value.
ProtoAnyValue *anypb.Any `protobuf:"bytes,8,opt,name=proto_any_value,json=protoAnyValue,proto3,oneof"`
}
AnnotationValue_StrValue
type AnnotationValue_StrValue struct {
// Value of string type annotation.
StrValue string `protobuf:"bytes,3,opt,name=str_value,json=strValue,proto3,oneof"`
}
AppPlatformClient
type AppPlatformClient interface {
// Lists Applications in a given project and location.
ListApplications(ctx context.Context, in *ListApplicationsRequest, opts ...grpc.CallOption) (*ListApplicationsResponse, error)
// Gets details of a single Application.
GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error)
// Creates a new Application in a given project and location.
CreateApplication(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Application.
UpdateApplication(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Application.
DeleteApplication(ctx context.Context, in *DeleteApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deploys a single Application.
DeployApplication(ctx context.Context, in *DeployApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Undeploys a single Application.
UndeployApplication(ctx context.Context, in *UndeployApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Adds target stream input to the Application.
// If the Application is deployed, the corresponding new Application instance
// will be created. If the stream has already been in the Application, the RPC
// will fail.
AddApplicationStreamInput(ctx context.Context, in *AddApplicationStreamInputRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Remove target stream input to the Application, if the Application is
// deployed, the corresponding instance based will be deleted. If the stream
// is not in the Application, the RPC will fail.
RemoveApplicationStreamInput(ctx context.Context, in *RemoveApplicationStreamInputRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Update target stream input to the Application, if the Application is
// deployed, the corresponding instance based will be deployed. For
// CreateOrUpdate behavior, set allow_missing to true.
UpdateApplicationStreamInput(ctx context.Context, in *UpdateApplicationStreamInputRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Instances in a given project and location.
ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error)
// Gets details of a single Instance.
GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
// Adds target stream input to the Application.
// If the Application is deployed, the corresponding new Application instance
// will be created. If the stream has already been in the Application, the RPC
// will fail.
CreateApplicationInstances(ctx context.Context, in *CreateApplicationInstancesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Remove target stream input to the Application, if the Application is
// deployed, the corresponding instance based will be deleted. If the stream
// is not in the Application, the RPC will fail.
DeleteApplicationInstances(ctx context.Context, in *DeleteApplicationInstancesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Adds target stream input to the Application.
// If the Application is deployed, the corresponding new Application instance
// will be created. If the stream has already been in the Application, the RPC
// will fail.
UpdateApplicationInstances(ctx context.Context, in *UpdateApplicationInstancesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Drafts in a given project and location.
ListDrafts(ctx context.Context, in *ListDraftsRequest, opts ...grpc.CallOption) (*ListDraftsResponse, error)
// Gets details of a single Draft.
GetDraft(ctx context.Context, in *GetDraftRequest, opts ...grpc.CallOption) (*Draft, error)
// Creates a new Draft in a given project and location.
CreateDraft(ctx context.Context, in *CreateDraftRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Draft.
UpdateDraft(ctx context.Context, in *UpdateDraftRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Draft.
DeleteDraft(ctx context.Context, in *DeleteDraftRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Processors in a given project and location.
ListProcessors(ctx context.Context, in *ListProcessorsRequest, opts ...grpc.CallOption) (*ListProcessorsResponse, error)
// ListPrebuiltProcessors is a custom pass-through verb that Lists Prebuilt
// Processors.
ListPrebuiltProcessors(ctx context.Context, in *ListPrebuiltProcessorsRequest, opts ...grpc.CallOption) (*ListPrebuiltProcessorsResponse, error)
// Gets details of a single Processor.
GetProcessor(ctx context.Context, in *GetProcessorRequest, opts ...grpc.CallOption) (*Processor, error)
// Creates a new Processor in a given project and location.
CreateProcessor(ctx context.Context, in *CreateProcessorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Processor.
UpdateProcessor(ctx context.Context, in *UpdateProcessorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Processor.
DeleteProcessor(ctx context.Context, in *DeleteProcessorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
AppPlatformClient is the client API for AppPlatform service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAppPlatformClient
func NewAppPlatformClient(cc grpc.ClientConnInterface) AppPlatformClient
AppPlatformCloudFunctionRequest
type AppPlatformCloudFunctionRequest struct {
// The metadata of the AppPlatform for customer to identify the source of the
// payload.
AppPlatformMetadata *AppPlatformMetadata `protobuf:"bytes,1,opt,name=app_platform_metadata,json=appPlatformMetadata,proto3" json:"app_platform_metadata,omitempty"`
// The actual annotations to be processed by the customized Cloud Function.
Annotations []*AppPlatformCloudFunctionRequest_StructedInputAnnotation `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty"`
// contains filtered or unexported fields
}
For any cloud function based customer processing logic, customer's cloud function is expected to receive AppPlatformCloudFunctionRequest as request and send back AppPlatformCloudFunctionResponse as response. Message of request from AppPlatform to Cloud Function.
func (*AppPlatformCloudFunctionRequest) Descriptor
func (*AppPlatformCloudFunctionRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppPlatformCloudFunctionRequest.ProtoReflect.Descriptor instead.
func (*AppPlatformCloudFunctionRequest) GetAnnotations
func (x *AppPlatformCloudFunctionRequest) GetAnnotations() []*AppPlatformCloudFunctionRequest_StructedInputAnnotation
func (*AppPlatformCloudFunctionRequest) GetAppPlatformMetadata
func (x *AppPlatformCloudFunctionRequest) GetAppPlatformMetadata() *AppPlatformMetadata
func (*AppPlatformCloudFunctionRequest) ProtoMessage
func (*AppPlatformCloudFunctionRequest) ProtoMessage()
func (*AppPlatformCloudFunctionRequest) ProtoReflect
func (x *AppPlatformCloudFunctionRequest) ProtoReflect() protoreflect.Message
func (*AppPlatformCloudFunctionRequest) Reset
func (x *AppPlatformCloudFunctionRequest) Reset()
func (*AppPlatformCloudFunctionRequest) String
func (x *AppPlatformCloudFunctionRequest) String() string
AppPlatformCloudFunctionRequest_StructedInputAnnotation
type AppPlatformCloudFunctionRequest_StructedInputAnnotation struct {
// The ingestion time of the current annotation.
IngestionTimeMicros int64 `protobuf:"varint,1,opt,name=ingestion_time_micros,json=ingestionTimeMicros,proto3" json:"ingestion_time_micros,omitempty"`
// The struct format of the actual annotation.
Annotation *structpb.Struct `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"`
// contains filtered or unexported fields
}
A general annotation message that uses struct format to represent different concrete annotation protobufs.
func (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) Descriptor
func (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use AppPlatformCloudFunctionRequest_StructedInputAnnotation.ProtoReflect.Descriptor instead.
func (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) GetAnnotation
func (x *AppPlatformCloudFunctionRequest_StructedInputAnnotation) GetAnnotation() *structpb.Struct
func (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) GetIngestionTimeMicros
func (x *AppPlatformCloudFunctionRequest_StructedInputAnnotation) GetIngestionTimeMicros() int64
func (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) ProtoMessage
func (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) ProtoMessage()
func (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) ProtoReflect
func (x *AppPlatformCloudFunctionRequest_StructedInputAnnotation) ProtoReflect() protoreflect.Message
func (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) Reset
func (x *AppPlatformCloudFunctionRequest_StructedInputAnnotation) Reset()
func (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) String
func (x *AppPlatformCloudFunctionRequest_StructedInputAnnotation) String() string
AppPlatformCloudFunctionResponse
type AppPlatformCloudFunctionResponse struct {
// The modified annotations that is returned back to AppPlatform.
// If the annotations fields are empty, then those annotations will be dropped
// by AppPlatform.
Annotations []*AppPlatformCloudFunctionResponse_StructedOutputAnnotation `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty"`
// If set to true, AppPlatform will use original annotations instead of
// dropping them, even if it is empty in the annotations filed.
AnnotationPassthrough bool `protobuf:"varint,3,opt,name=annotation_passthrough,json=annotationPassthrough,proto3" json:"annotation_passthrough,omitempty"`
// The event notifications that is returned back to AppPlatform. Typically it
// will then be configured to be consumed/forwared to a operator that handles
// events, such as Pub/Sub operator.
Events []*AppPlatformEventBody `protobuf:"bytes,4,rep,name=events,proto3" json:"events,omitempty"`
// contains filtered or unexported fields
}
Message of the response from customer's Cloud Function to AppPlatform.
func (*AppPlatformCloudFunctionResponse) Descriptor
func (*AppPlatformCloudFunctionResponse) Descriptor() ([]byte, []int)
Deprecated: Use AppPlatformCloudFunctionResponse.ProtoReflect.Descriptor instead.
func (*AppPlatformCloudFunctionResponse) GetAnnotationPassthrough
func (x *AppPlatformCloudFunctionResponse) GetAnnotationPassthrough() bool
func (*AppPlatformCloudFunctionResponse) GetAnnotations
func (x *AppPlatformCloudFunctionResponse) GetAnnotations() []*AppPlatformCloudFunctionResponse_StructedOutputAnnotation
func (*AppPlatformCloudFunctionResponse) GetEvents
func (x *AppPlatformCloudFunctionResponse) GetEvents() []*AppPlatformEventBody
func (*AppPlatformCloudFunctionResponse) ProtoMessage
func (*AppPlatformCloudFunctionResponse) ProtoMessage()
func (*AppPlatformCloudFunctionResponse) ProtoReflect
func (x *AppPlatformCloudFunctionResponse) ProtoReflect() protoreflect.Message
func (*AppPlatformCloudFunctionResponse) Reset
func (x *AppPlatformCloudFunctionResponse) Reset()
func (*AppPlatformCloudFunctionResponse) String
func (x *AppPlatformCloudFunctionResponse) String() string
AppPlatformCloudFunctionResponse_StructedOutputAnnotation
type AppPlatformCloudFunctionResponse_StructedOutputAnnotation struct {
// The struct format of the actual annotation.
Annotation *structpb.Struct `protobuf:"bytes,1,opt,name=annotation,proto3" json:"annotation,omitempty"`
// contains filtered or unexported fields
}
A general annotation message that uses struct format to represent different concrete annotation protobufs.
func (*AppPlatformCloudFunctionResponse_StructedOutputAnnotation) Descriptor
func (*AppPlatformCloudFunctionResponse_StructedOutputAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use AppPlatformCloudFunctionResponse_StructedOutputAnnotation.ProtoReflect.Descriptor instead.
func (*AppPlatformCloudFunctionResponse_StructedOutputAnnotation) GetAnnotation
func (x *AppPlatformCloudFunctionResponse_StructedOutputAnnotation) GetAnnotation() *structpb.Struct
func (*AppPlatformCloudFunctionResponse_StructedOutputAnnotation) ProtoMessage
func (*AppPlatformCloudFunctionResponse_StructedOutputAnnotation) ProtoMessage()
func (*AppPlatformCloudFunctionResponse_StructedOutputAnnotation) ProtoReflect
func (x *AppPlatformCloudFunctionResponse_StructedOutputAnnotation) ProtoReflect() protoreflect.Message
func (*AppPlatformCloudFunctionResponse_StructedOutputAnnotation) Reset
func (x *AppPlatformCloudFunctionResponse_StructedOutputAnnotation) Reset()
func (*AppPlatformCloudFunctionResponse_StructedOutputAnnotation) String
func (x *AppPlatformCloudFunctionResponse_StructedOutputAnnotation) String() string
AppPlatformEventBody
type AppPlatformEventBody struct {
// Human readable string of the event like "There are more than 6 people in
// the scene". or "Shelf is empty!".
EventMessage string `protobuf:"bytes,1,opt,name=event_message,json=eventMessage,proto3" json:"event_message,omitempty"`
// For the case of Pub/Sub, it will be stored in the message attributes.
// pubsub.proto
Payload *structpb.Struct `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
// User defined Event Id, used to classify event, within a delivery interval,
// events from the same application instance with the same id will be
// de-duplicated & only first one will be sent out. Empty event_id will be
// treated as "".
EventId string `protobuf:"bytes,3,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
// contains filtered or unexported fields
}
Message of content of appPlatform event
func (*AppPlatformEventBody) Descriptor
func (*AppPlatformEventBody) Descriptor() ([]byte, []int)
Deprecated: Use AppPlatformEventBody.ProtoReflect.Descriptor instead.
func (*AppPlatformEventBody) GetEventId
func (x *AppPlatformEventBody) GetEventId() string
func (*AppPlatformEventBody) GetEventMessage
func (x *AppPlatformEventBody) GetEventMessage() string
func (*AppPlatformEventBody) GetPayload
func (x *AppPlatformEventBody) GetPayload() *structpb.Struct
func (*AppPlatformEventBody) ProtoMessage
func (*AppPlatformEventBody) ProtoMessage()
func (*AppPlatformEventBody) ProtoReflect
func (x *AppPlatformEventBody) ProtoReflect() protoreflect.Message
func (*AppPlatformEventBody) Reset
func (x *AppPlatformEventBody) Reset()
func (*AppPlatformEventBody) String
func (x *AppPlatformEventBody) String() string
AppPlatformMetadata
type AppPlatformMetadata struct {
// The application resource name.
Application string `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
// The instance resource id. Instance is the nested resource of application
// under collection 'instances'.
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// The node name of the application graph.
Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"`
// The referred processor resource name of the application node.
Processor string `protobuf:"bytes,4,opt,name=processor,proto3" json:"processor,omitempty"`
// contains filtered or unexported fields
}
Message of essential metadata of App Platform. This message is usually attached to a certain processor output annotation for customer to identify the source of the data.
func (*AppPlatformMetadata) Descriptor
func (*AppPlatformMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AppPlatformMetadata.ProtoReflect.Descriptor instead.
func (*AppPlatformMetadata) GetApplication
func (x *AppPlatformMetadata) GetApplication() string
func (*AppPlatformMetadata) GetInstanceId
func (x *AppPlatformMetadata) GetInstanceId() string
func (*AppPlatformMetadata) GetNode
func (x *AppPlatformMetadata) GetNode() string
func (*AppPlatformMetadata) GetProcessor
func (x *AppPlatformMetadata) GetProcessor() string
func (*AppPlatformMetadata) ProtoMessage
func (*AppPlatformMetadata) ProtoMessage()
func (*AppPlatformMetadata) ProtoReflect
func (x *AppPlatformMetadata) ProtoReflect() protoreflect.Message
func (*AppPlatformMetadata) Reset
func (x *AppPlatformMetadata) Reset()
func (*AppPlatformMetadata) String
func (x *AppPlatformMetadata) String() string
AppPlatformServer
type AppPlatformServer interface {
// Lists Applications in a given project and location.
ListApplications(context.Context, *ListApplicationsRequest) (*ListApplicationsResponse, error)
// Gets details of a single Application.
GetApplication(context.Context, *GetApplicationRequest) (*Application, error)
// Creates a new Application in a given project and location.
CreateApplication(context.Context, *CreateApplicationRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Application.
UpdateApplication(context.Context, *UpdateApplicationRequest) (*longrunningpb.Operation, error)
// Deletes a single Application.
DeleteApplication(context.Context, *DeleteApplicationRequest) (*longrunningpb.Operation, error)
// Deploys a single Application.
DeployApplication(context.Context, *DeployApplicationRequest) (*longrunningpb.Operation, error)
// Undeploys a single Application.
UndeployApplication(context.Context, *UndeployApplicationRequest) (*longrunningpb.Operation, error)
// Adds target stream input to the Application.
// If the Application is deployed, the corresponding new Application instance
// will be created. If the stream has already been in the Application, the RPC
// will fail.
AddApplicationStreamInput(context.Context, *AddApplicationStreamInputRequest) (*longrunningpb.Operation, error)
// Remove target stream input to the Application, if the Application is
// deployed, the corresponding instance based will be deleted. If the stream
// is not in the Application, the RPC will fail.
RemoveApplicationStreamInput(context.Context, *RemoveApplicationStreamInputRequest) (*longrunningpb.Operation, error)
// Update target stream input to the Application, if the Application is
// deployed, the corresponding instance based will be deployed. For
// CreateOrUpdate behavior, set allow_missing to true.
UpdateApplicationStreamInput(context.Context, *UpdateApplicationStreamInputRequest) (*longrunningpb.Operation, error)
// Lists Instances in a given project and location.
ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
// Gets details of a single Instance.
GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
// Adds target stream input to the Application.
// If the Application is deployed, the corresponding new Application instance
// will be created. If the stream has already been in the Application, the RPC
// will fail.
CreateApplicationInstances(context.Context, *CreateApplicationInstancesRequest) (*longrunningpb.Operation, error)
// Remove target stream input to the Application, if the Application is
// deployed, the corresponding instance based will be deleted. If the stream
// is not in the Application, the RPC will fail.
DeleteApplicationInstances(context.Context, *DeleteApplicationInstancesRequest) (*longrunningpb.Operation, error)
// Adds target stream input to the Application.
// If the Application is deployed, the corresponding new Application instance
// will be created. If the stream has already been in the Application, the RPC
// will fail.
UpdateApplicationInstances(context.Context, *UpdateApplicationInstancesRequest) (*longrunningpb.Operation, error)
// Lists Drafts in a given project and location.
ListDrafts(context.Context, *ListDraftsRequest) (*ListDraftsResponse, error)
// Gets details of a single Draft.
GetDraft(context.Context, *GetDraftRequest) (*Draft, error)
// Creates a new Draft in a given project and location.
CreateDraft(context.Context, *CreateDraftRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Draft.
UpdateDraft(context.Context, *UpdateDraftRequest) (*longrunningpb.Operation, error)
// Deletes a single Draft.
DeleteDraft(context.Context, *DeleteDraftRequest) (*longrunningpb.Operation, error)
// Lists Processors in a given project and location.
ListProcessors(context.Context, *ListProcessorsRequest) (*ListProcessorsResponse, error)
// ListPrebuiltProcessors is a custom pass-through verb that Lists Prebuilt
// Processors.
ListPrebuiltProcessors(context.Context, *ListPrebuiltProcessorsRequest) (*ListPrebuiltProcessorsResponse, error)
// Gets details of a single Processor.
GetProcessor(context.Context, *GetProcessorRequest) (*Processor, error)
// Creates a new Processor in a given project and location.
CreateProcessor(context.Context, *CreateProcessorRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Processor.
UpdateProcessor(context.Context, *UpdateProcessorRequest) (*longrunningpb.Operation, error)
// Deletes a single Processor.
DeleteProcessor(context.Context, *DeleteProcessorRequest) (*longrunningpb.Operation, error)
}
AppPlatformServer is the server API for AppPlatform service.
Application
type Application struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
ApplicationConfigs *ApplicationConfigs `protobuf:"bytes,7,opt,name=application_configs,json=applicationConfigs,proto3" json:"application_configs,omitempty"`
RuntimeInfo *Application_ApplicationRuntimeInfo `protobuf:"bytes,8,opt,name=runtime_info,json=runtimeInfo,proto3" json:"runtime_info,omitempty"`
State Application_State `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.visionai.v1.Application_State" json:"state,omitempty"`
BillingMode Application_BillingMode "" /* 150 byte string literal not displayed */
}
Message describing Application object
func (*Application) Descriptor
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (*Application) GetApplicationConfigs
func (x *Application) GetApplicationConfigs() *ApplicationConfigs
func (*Application) GetBillingMode
func (x *Application) GetBillingMode() Application_BillingMode
func (*Application) GetCreateTime
func (x *Application) GetCreateTime() *timestamppb.Timestamp
func (*Application) GetDescription
func (x *Application) GetDescription() string
func (*Application) GetDisplayName
func (x *Application) GetDisplayName() string
func (*Application) GetLabels
func (x *Application) GetLabels() map[string]string
func (*Application) GetName
func (x *Application) GetName() string
func (*Application) GetRuntimeInfo
func (x *Application) GetRuntimeInfo() *Application_ApplicationRuntimeInfo
func (*Application) GetState
func (x *Application) GetState() Application_State
func (*Application) GetUpdateTime
func (x *Application) GetUpdateTime() *timestamppb.Timestamp
func (*Application) ProtoMessage
func (*Application) ProtoMessage()
func (*Application) ProtoReflect
func (x *Application) ProtoReflect() protoreflect.Message
func (*Application) Reset
func (x *Application) Reset()
func (*Application) String
func (x *Application) String() string
ApplicationConfigs
type ApplicationConfigs struct {
// A list of nodes in the application graph.
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
// Event-related configuration for this application.
EventDeliveryConfig *ApplicationConfigs_EventDeliveryConfig `protobuf:"bytes,3,opt,name=event_delivery_config,json=eventDeliveryConfig,proto3" json:"event_delivery_config,omitempty"`
// contains filtered or unexported fields
}
Message storing the graph of the application.
func (*ApplicationConfigs) Descriptor
func (*ApplicationConfigs) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationConfigs.ProtoReflect.Descriptor instead.
func (*ApplicationConfigs) GetEventDeliveryConfig
func (x *ApplicationConfigs) GetEventDeliveryConfig() *ApplicationConfigs_EventDeliveryConfig
func (*ApplicationConfigs) GetNodes
func (x *ApplicationConfigs) GetNodes() []*Node
func (*ApplicationConfigs) ProtoMessage
func (*ApplicationConfigs) ProtoMessage()
func (*ApplicationConfigs) ProtoReflect
func (x *ApplicationConfigs) ProtoReflect() protoreflect.Message
func (*ApplicationConfigs) Reset
func (x *ApplicationConfigs) Reset()
func (*ApplicationConfigs) String
func (x *ApplicationConfigs) String() string
ApplicationConfigs_EventDeliveryConfig
type ApplicationConfigs_EventDeliveryConfig struct {
Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
MinimalDeliveryInterval *durationpb.Duration "" /* 132 byte string literal not displayed */
}
message storing the config for event delivery
func (*ApplicationConfigs_EventDeliveryConfig) Descriptor
func (*ApplicationConfigs_EventDeliveryConfig) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationConfigs_EventDeliveryConfig.ProtoReflect.Descriptor instead.
func (*ApplicationConfigs_EventDeliveryConfig) GetChannel
func (x *ApplicationConfigs_EventDeliveryConfig) GetChannel() string
func (*ApplicationConfigs_EventDeliveryConfig) GetMinimalDeliveryInterval
func (x *ApplicationConfigs_EventDeliveryConfig) GetMinimalDeliveryInterval() *durationpb.Duration
func (*ApplicationConfigs_EventDeliveryConfig) ProtoMessage
func (*ApplicationConfigs_EventDeliveryConfig) ProtoMessage()
func (*ApplicationConfigs_EventDeliveryConfig) ProtoReflect
func (x *ApplicationConfigs_EventDeliveryConfig) ProtoReflect() protoreflect.Message
func (*ApplicationConfigs_EventDeliveryConfig) Reset
func (x *ApplicationConfigs_EventDeliveryConfig) Reset()
func (*ApplicationConfigs_EventDeliveryConfig) String
func (x *ApplicationConfigs_EventDeliveryConfig) String() string
ApplicationInstance
type ApplicationInstance struct {
// Required. Id of the requesting object.
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Required. The resource being created.
Instance *Instance `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
// contains filtered or unexported fields
}
Message for creating a Instance.
func (*ApplicationInstance) Descriptor
func (*ApplicationInstance) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationInstance.ProtoReflect.Descriptor instead.
func (*ApplicationInstance) GetInstance
func (x *ApplicationInstance) GetInstance() *Instance
func (*ApplicationInstance) GetInstanceId
func (x *ApplicationInstance) GetInstanceId() string
func (*ApplicationInstance) ProtoMessage
func (*ApplicationInstance) ProtoMessage()
func (*ApplicationInstance) ProtoReflect
func (x *ApplicationInstance) ProtoReflect() protoreflect.Message
func (*ApplicationInstance) Reset
func (x *ApplicationInstance) Reset()
func (*ApplicationInstance) String
func (x *ApplicationInstance) String() string
ApplicationNodeAnnotation
type ApplicationNodeAnnotation struct {
// The node name of the application graph.
Node string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
// The node specific stream annotations.
Annotations []*StreamAnnotation `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty"`
// contains filtered or unexported fields
}
Message describing annotations specific to application node. This message is a duplication of StreamWithAnnotation.NodeAnnotation.
func (*ApplicationNodeAnnotation) Descriptor
func (*ApplicationNodeAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationNodeAnnotation.ProtoReflect.Descriptor instead.
func (*ApplicationNodeAnnotation) GetAnnotations
func (x *ApplicationNodeAnnotation) GetAnnotations() []*StreamAnnotation
func (*ApplicationNodeAnnotation) GetNode
func (x *ApplicationNodeAnnotation) GetNode() string
func (*ApplicationNodeAnnotation) ProtoMessage
func (*ApplicationNodeAnnotation) ProtoMessage()
func (*ApplicationNodeAnnotation) ProtoReflect
func (x *ApplicationNodeAnnotation) ProtoReflect() protoreflect.Message
func (*ApplicationNodeAnnotation) Reset
func (x *ApplicationNodeAnnotation) Reset()
func (*ApplicationNodeAnnotation) String
func (x *ApplicationNodeAnnotation) String() string
ApplicationStreamInput
type ApplicationStreamInput struct {
StreamWithAnnotation *StreamWithAnnotation `protobuf:"bytes,1,opt,name=stream_with_annotation,json=streamWithAnnotation,proto3" json:"stream_with_annotation,omitempty"`
// contains filtered or unexported fields
}
Message about a single stream input config.
func (*ApplicationStreamInput) Descriptor
func (*ApplicationStreamInput) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationStreamInput.ProtoReflect.Descriptor instead.
func (*ApplicationStreamInput) GetStreamWithAnnotation
func (x *ApplicationStreamInput) GetStreamWithAnnotation() *StreamWithAnnotation
func (*ApplicationStreamInput) ProtoMessage
func (*ApplicationStreamInput) ProtoMessage()
func (*ApplicationStreamInput) ProtoReflect
func (x *ApplicationStreamInput) ProtoReflect() protoreflect.Message
func (*ApplicationStreamInput) Reset
func (x *ApplicationStreamInput) Reset()
func (*ApplicationStreamInput) String
func (x *ApplicationStreamInput) String() string
Application_ApplicationRuntimeInfo
type Application_ApplicationRuntimeInfo struct {
// Timestamp when the engine be deployed
DeployTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=deploy_time,json=deployTime,proto3" json:"deploy_time,omitempty"`
// Globally created resources like warehouse dataschemas.
GlobalOutputResources []*Application_ApplicationRuntimeInfo_GlobalOutputResource `protobuf:"bytes,3,rep,name=global_output_resources,json=globalOutputResources,proto3" json:"global_output_resources,omitempty"`
// Monitoring-related configuration for this application.
MonitoringConfig *Application_ApplicationRuntimeInfo_MonitoringConfig `protobuf:"bytes,4,opt,name=monitoring_config,json=monitoringConfig,proto3" json:"monitoring_config,omitempty"`
// contains filtered or unexported fields
}
Message storing the runtime information of the application.
func (*Application_ApplicationRuntimeInfo) Descriptor
func (*Application_ApplicationRuntimeInfo) Descriptor() ([]byte, []int)
Deprecated: Use Application_ApplicationRuntimeInfo.ProtoReflect.Descriptor instead.
func (*Application_ApplicationRuntimeInfo) GetDeployTime
func (x *Application_ApplicationRuntimeInfo) GetDeployTime() *timestamppb.Timestamp
func (*Application_ApplicationRuntimeInfo) GetGlobalOutputResources
func (x *Application_ApplicationRuntimeInfo) GetGlobalOutputResources() []*Application_ApplicationRuntimeInfo_GlobalOutputResource
func (*Application_ApplicationRuntimeInfo) GetMonitoringConfig
func (x *Application_ApplicationRuntimeInfo) GetMonitoringConfig() *Application_ApplicationRuntimeInfo_MonitoringConfig
func (*Application_ApplicationRuntimeInfo) ProtoMessage
func (*Application_ApplicationRuntimeInfo) ProtoMessage()
func (*Application_ApplicationRuntimeInfo) ProtoReflect
func (x *Application_ApplicationRuntimeInfo) ProtoReflect() protoreflect.Message
func (*Application_ApplicationRuntimeInfo) Reset
func (x *Application_ApplicationRuntimeInfo) Reset()
func (*Application_ApplicationRuntimeInfo) String
func (x *Application_ApplicationRuntimeInfo) String() string
Application_ApplicationRuntimeInfo_GlobalOutputResource
type Application_ApplicationRuntimeInfo_GlobalOutputResource struct {
// The full resource name of the outputted resources.
OutputResource string `protobuf:"bytes,1,opt,name=output_resource,json=outputResource,proto3" json:"output_resource,omitempty"`
// The name of graph node who produces the output resource name.
// For example:
// output_resource:
// /projects/123/locations/us-central1/corpora/my-corpus/dataSchemas/my-schema
// producer_node: occupancy-count
ProducerNode string `protobuf:"bytes,2,opt,name=producer_node,json=producerNode,proto3" json:"producer_node,omitempty"`
// The key of the output resource, it has to be unique within the same
// producer node. One producer node can output several output resources,
// the key can be used to match corresponding output resources.
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
Message about output resources from application.
func (*Application_ApplicationRuntimeInfo_GlobalOutputResource) Descriptor
func (*Application_ApplicationRuntimeInfo_GlobalOutputResource) Descriptor() ([]byte, []int)
Deprecated: Use Application_ApplicationRuntimeInfo_GlobalOutputResource.ProtoReflect.Descriptor instead.
func (*Application_ApplicationRuntimeInfo_GlobalOutputResource) GetKey
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) GetKey() string
func (*Application_ApplicationRuntimeInfo_GlobalOutputResource) GetOutputResource
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) GetOutputResource() string
func (*Application_ApplicationRuntimeInfo_GlobalOutputResource) GetProducerNode
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) GetProducerNode() string
func (*Application_ApplicationRuntimeInfo_GlobalOutputResource) ProtoMessage
func (*Application_ApplicationRuntimeInfo_GlobalOutputResource) ProtoMessage()
func (*Application_ApplicationRuntimeInfo_GlobalOutputResource) ProtoReflect
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) ProtoReflect() protoreflect.Message
func (*Application_ApplicationRuntimeInfo_GlobalOutputResource) Reset
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) Reset()
func (*Application_ApplicationRuntimeInfo_GlobalOutputResource) String
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) String() string
Application_ApplicationRuntimeInfo_MonitoringConfig
type Application_ApplicationRuntimeInfo_MonitoringConfig struct {
// Whether this application has monitoring enabled.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
Monitoring-related configuration for an application.
func (*Application_ApplicationRuntimeInfo_MonitoringConfig) Descriptor
func (*Application_ApplicationRuntimeInfo_MonitoringConfig) Descriptor() ([]byte, []int)
Deprecated: Use Application_ApplicationRuntimeInfo_MonitoringConfig.ProtoReflect.Descriptor instead.
func (*Application_ApplicationRuntimeInfo_MonitoringConfig) GetEnabled
func (x *Application_ApplicationRuntimeInfo_MonitoringConfig) GetEnabled() bool
func (*Application_ApplicationRuntimeInfo_MonitoringConfig) ProtoMessage
func (*Application_ApplicationRuntimeInfo_MonitoringConfig) ProtoMessage()
func (*Application_ApplicationRuntimeInfo_MonitoringConfig) ProtoReflect
func (x *Application_ApplicationRuntimeInfo_MonitoringConfig) ProtoReflect() protoreflect.Message
func (*Application_ApplicationRuntimeInfo_MonitoringConfig) Reset
func (x *Application_ApplicationRuntimeInfo_MonitoringConfig) Reset()
func (*Application_ApplicationRuntimeInfo_MonitoringConfig) String
func (x *Application_ApplicationRuntimeInfo_MonitoringConfig) String() string
Application_BillingMode
type Application_BillingMode int32
Billing mode of the Application
Application_BILLING_MODE_UNSPECIFIED, Application_PAYG, Application_MONTHLY
const (
// The default value.
Application_BILLING_MODE_UNSPECIFIED Application_BillingMode = 0
// Pay as you go billing mode.
Application_PAYG Application_BillingMode = 1
// Monthly billing mode.
Application_MONTHLY Application_BillingMode = 2
)
func (Application_BillingMode) Descriptor
func (Application_BillingMode) Descriptor() protoreflect.EnumDescriptor
func (Application_BillingMode) Enum
func (x Application_BillingMode) Enum() *Application_BillingMode
func (Application_BillingMode) EnumDescriptor
func (Application_BillingMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Application_BillingMode.Descriptor instead.
func (Application_BillingMode) Number
func (x Application_BillingMode) Number() protoreflect.EnumNumber
func (Application_BillingMode) String
func (x Application_BillingMode) String() string
func (Application_BillingMode) Type
func (Application_BillingMode) Type() protoreflect.EnumType
Application_State
type Application_State int32
State of the Application
Application_STATE_UNSPECIFIED, Application_CREATED, Application_DEPLOYING, Application_DEPLOYED, Application_UNDEPLOYING, Application_DELETED, Application_ERROR, Application_CREATING, Application_UPDATING, Application_DELETING, Application_FIXING
const (
// The default value. This value is used if the state is omitted.
Application_STATE_UNSPECIFIED Application_State = 0
// State CREATED.
Application_CREATED Application_State = 1
// State DEPLOYING.
Application_DEPLOYING Application_State = 2
// State DEPLOYED.
Application_DEPLOYED Application_State = 3
// State UNDEPLOYING.
Application_UNDEPLOYING Application_State = 4
// State DELETED.
Application_DELETED Application_State = 5
// State ERROR.
Application_ERROR Application_State = 6
// State CREATING.
Application_CREATING Application_State = 7
// State Updating.
Application_UPDATING Application_State = 8
// State Deleting.
Application_DELETING Application_State = 9
// State Fixing.
Application_FIXING Application_State = 10
)
func (Application_State) Descriptor
func (Application_State) Descriptor() protoreflect.EnumDescriptor
func (Application_State) Enum
func (x Application_State) Enum() *Application_State
func (Application_State) EnumDescriptor
func (Application_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Application_State.Descriptor instead.
func (Application_State) Number
func (x Application_State) Number() protoreflect.EnumNumber
func (Application_State) String
func (x Application_State) String() string
func (Application_State) Type
func (Application_State) Type() protoreflect.EnumType
Asset
type Asset struct {
// Resource name of the asset.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The duration for which all media assets, associated metadata, and search
// documents can exist. If not set, then it will using the default ttl in the
// parent corpus resource.
Ttl *durationpb.Duration `protobuf:"bytes,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
// Output only. The original cloud storage source uri that is associated with
// this asset.
AssetGcsSource *AssetSource_AssetGcsSource `protobuf:"bytes,4,opt,name=asset_gcs_source,json=assetGcsSource,proto3" json:"asset_gcs_source,omitempty"`
// contains filtered or unexported fields
}
An asset is a resource in corpus. It represents a media object inside corpus, contains metadata and another resource annotation. Different feature could be applied to the asset to generate annotations. User could specified annotation related to the target asset.
func (*Asset) Descriptor
Deprecated: Use Asset.ProtoReflect.Descriptor instead.
func (*Asset) GetAssetGcsSource
func (x *Asset) GetAssetGcsSource() *AssetSource_AssetGcsSource
func (*Asset) GetName
func (*Asset) GetTtl
func (x *Asset) GetTtl() *durationpb.Duration
func (*Asset) ProtoMessage
func (*Asset) ProtoMessage()
func (*Asset) ProtoReflect
func (x *Asset) ProtoReflect() protoreflect.Message
func (*Asset) Reset
func (x *Asset) Reset()
func (*Asset) String
AssetSource
type AssetSource struct {
// Types that are assignable to SourceForm:
//
// *AssetSource_AssetGcsSource_
// *AssetSource_AssetContentData_
SourceForm isAssetSource_SourceForm `protobuf_oneof:"source_form"`
// contains filtered or unexported fields
}
The source of the asset.
func (*AssetSource) Descriptor
func (*AssetSource) Descriptor() ([]byte, []int)
Deprecated: Use AssetSource.ProtoReflect.Descriptor instead.
func (*AssetSource) GetAssetContentData
func (x *AssetSource) GetAssetContentData() *AssetSource_AssetContentData
func (*AssetSource) GetAssetGcsSource
func (x *AssetSource) GetAssetGcsSource() *AssetSource_AssetGcsSource
func (*AssetSource) GetSourceForm
func (m *AssetSource) GetSourceForm() isAssetSource_SourceForm
func (*AssetSource) ProtoMessage
func (*AssetSource) ProtoMessage()
func (*AssetSource) ProtoReflect
func (x *AssetSource) ProtoReflect() protoreflect.Message
func (*AssetSource) Reset
func (x *AssetSource) Reset()
func (*AssetSource) String
func (x *AssetSource) String() string
AssetSource_AssetContentData
type AssetSource_AssetContentData struct {
AssetContentData []byte `protobuf:"bytes,1,opt,name=asset_content_data,json=assetContentData,proto3" json:"asset_content_data,omitempty"`
// contains filtered or unexported fields
}
The content of the asset.
func (*AssetSource_AssetContentData) Descriptor
func (*AssetSource_AssetContentData) Descriptor() ([]byte, []int)
Deprecated: Use AssetSource_AssetContentData.ProtoReflect.Descriptor instead.
func (*AssetSource_AssetContentData) GetAssetContentData
func (x *AssetSource_AssetContentData) GetAssetContentData() []byte
func (*AssetSource_AssetContentData) ProtoMessage
func (*AssetSource_AssetContentData) ProtoMessage()
func (*AssetSource_AssetContentData) ProtoReflect
func (x *AssetSource_AssetContentData) ProtoReflect() protoreflect.Message
func (*AssetSource_AssetContentData) Reset
func (x *AssetSource_AssetContentData) Reset()
func (*AssetSource_AssetContentData) String
func (x *AssetSource_AssetContentData) String() string
AssetSource_AssetContentData_
type AssetSource_AssetContentData_ struct {
// The source of the asset is from content bytes.
AssetContentData *AssetSource_AssetContentData `protobuf:"bytes,2,opt,name=asset_content_data,json=assetContentData,proto3,oneof"`
}
AssetSource_AssetGcsSource
type AssetSource_AssetGcsSource struct {
// Cloud storage uri.
GcsUri string `protobuf:"bytes,1,opt,name=gcs_uri,json=gcsUri,proto3" json:"gcs_uri,omitempty"`
// contains filtered or unexported fields
}
The asset source is from Cloud Storage.
func (*AssetSource_AssetGcsSource) Descriptor
func (*AssetSource_AssetGcsSource) Descriptor() ([]byte, []int)
Deprecated: Use AssetSource_AssetGcsSource.ProtoReflect.Descriptor instead.
func (*AssetSource_AssetGcsSource) GetGcsUri
func (x *AssetSource_AssetGcsSource) GetGcsUri() string
func (*AssetSource_AssetGcsSource) ProtoMessage
func (*AssetSource_AssetGcsSource) ProtoMessage()
func (*AssetSource_AssetGcsSource) ProtoReflect
func (x *AssetSource_AssetGcsSource) ProtoReflect() protoreflect.Message
func (*AssetSource_AssetGcsSource) Reset
func (x *AssetSource_AssetGcsSource) Reset()
func (*AssetSource_AssetGcsSource) String
func (x *AssetSource_AssetGcsSource) String() string
AssetSource_AssetGcsSource_
type AssetSource_AssetGcsSource_ struct {
// The source of the asset is from Cloud Storage.
AssetGcsSource *AssetSource_AssetGcsSource `protobuf:"bytes,1,opt,name=asset_gcs_source,json=assetGcsSource,proto3,oneof"`
}
AttributeValue
type AttributeValue struct {
// Attribute value.
//
// Types that are assignable to Value:
//
// *AttributeValue_I
// *AttributeValue_F
// *AttributeValue_B
// *AttributeValue_S
Value isAttributeValue_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
Represents an actual value of an operator attribute.
func (*AttributeValue) Descriptor
func (*AttributeValue) Descriptor() ([]byte, []int)
Deprecated: Use AttributeValue.ProtoReflect.Descriptor instead.
func (*AttributeValue) GetB
func (x *AttributeValue) GetB() bool
func (*AttributeValue) GetF
func (x *AttributeValue) GetF() float32
func (*AttributeValue) GetI
func (x *AttributeValue) GetI() int64
func (*AttributeValue) GetS
func (x *AttributeValue) GetS() []byte
func (*AttributeValue) GetValue
func (m *AttributeValue) GetValue() isAttributeValue_Value
func (*AttributeValue) ProtoMessage
func (*AttributeValue) ProtoMessage()
func (*AttributeValue) ProtoReflect
func (x *AttributeValue) ProtoReflect() protoreflect.Message
func (*AttributeValue) Reset
func (x *AttributeValue) Reset()
func (*AttributeValue) String
func (x *AttributeValue) String() string
AttributeValue_B
type AttributeValue_B struct {
// bool.
B bool `protobuf:"varint,3,opt,name=b,proto3,oneof"`
}
AttributeValue_F
type AttributeValue_F struct {
// float.
F float32 `protobuf:"fixed32,2,opt,name=f,proto3,oneof"`
}
AttributeValue_I
type AttributeValue_I struct {
// int.
I int64 `protobuf:"varint,1,opt,name=i,proto3,oneof"`
}
AttributeValue_S
type AttributeValue_S struct {
// string.
S []byte `protobuf:"bytes,4,opt,name=s,proto3,oneof"`
}
AutoscalingMetricSpec
type AutoscalingMetricSpec struct {
// Required. The resource metric name.
// Supported metrics:
//
// * For Online Prediction:
// * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle`
// * `aiplatform.googleapis.com/prediction/online/cpu/utilization`
MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"`
// The target resource utilization in percentage (1% - 100%) for the given
// metric; once the real usage deviates from the target by a certain
// percentage, the machine replicas change. The default value is 60
// (representing 60%) if not provided.
Target int32 `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"`
// contains filtered or unexported fields
}
The metric specification that defines the target resource utilization (CPU utilization, accelerator's duty cycle, and so on) for calculating the desired replica count.
func (*AutoscalingMetricSpec) Descriptor
func (*AutoscalingMetricSpec) Descriptor() ([]byte, []int)
Deprecated: Use AutoscalingMetricSpec.ProtoReflect.Descriptor instead.
func (*AutoscalingMetricSpec) GetMetricName
func (x *AutoscalingMetricSpec) GetMetricName() string
func (*AutoscalingMetricSpec) GetTarget
func (x *AutoscalingMetricSpec) GetTarget() int32
func (*AutoscalingMetricSpec) ProtoMessage
func (*AutoscalingMetricSpec) ProtoMessage()
func (*AutoscalingMetricSpec) ProtoReflect
func (x *AutoscalingMetricSpec) ProtoReflect() protoreflect.Message
func (*AutoscalingMetricSpec) Reset
func (x *AutoscalingMetricSpec) Reset()
func (*AutoscalingMetricSpec) String
func (x *AutoscalingMetricSpec) String() string
BatchRunProcessRequest
type BatchRunProcessRequest struct {
// Required. The parent resource shared by all processes being created.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The create process requests.
Requests []*CreateProcessRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
// Optional. Options for batch processes.
Options *BatchRunProcessRequest_BatchRunProcessOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
// Output only. The batch ID.
BatchId string `protobuf:"bytes,4,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
// contains filtered or unexported fields
}
Request message for running the processes in a batch.
func (*BatchRunProcessRequest) Descriptor
func (*BatchRunProcessRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchRunProcessRequest.ProtoReflect.Descriptor instead.
func (*BatchRunProcessRequest) GetBatchId
func (x *BatchRunProcessRequest) GetBatchId() string
func (*BatchRunProcessRequest) GetOptions
func (x *BatchRunProcessRequest) GetOptions() *BatchRunProcessRequest_BatchRunProcessOptions
func (*BatchRunProcessRequest) GetParent
func (x *BatchRunProcessRequest) GetParent() string
func (*BatchRunProcessRequest) GetRequests
func (x *BatchRunProcessRequest) GetRequests() []*CreateProcessRequest
func (*BatchRunProcessRequest) ProtoMessage
func (*BatchRunProcessRequest) ProtoMessage()
func (*BatchRunProcessRequest) ProtoReflect
func (x *BatchRunProcessRequest) ProtoReflect() protoreflect.Message
func (*BatchRunProcessRequest) Reset
func (x *BatchRunProcessRequest) Reset()
func (*BatchRunProcessRequest) String
func (x *BatchRunProcessRequest) String() string
BatchRunProcessRequest_BatchRunProcessOptions
type BatchRunProcessRequest_BatchRunProcessOptions struct {
// The retry counts per process. Default: 3.
RetryCount int32 `protobuf:"varint,1,opt,name=retry_count,json=retryCount,proto3" json:"retry_count,omitempty"`
// The batch size. Default: 5, maximum: 100.
BatchSize int32 `protobuf:"varint,2,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
// contains filtered or unexported fields
}
Options for batch processes.
func (*BatchRunProcessRequest_BatchRunProcessOptions) Descriptor
func (*BatchRunProcessRequest_BatchRunProcessOptions) Descriptor() ([]byte, []int)
Deprecated: Use BatchRunProcessRequest_BatchRunProcessOptions.ProtoReflect.Descriptor instead.
func (*BatchRunProcessRequest_BatchRunProcessOptions) GetBatchSize
func (x *BatchRunProcessRequest_BatchRunProcessOptions) GetBatchSize() int32
func (*BatchRunProcessRequest_BatchRunProcessOptions) GetRetryCount
func (x *BatchRunProcessRequest_BatchRunProcessOptions) GetRetryCount() int32
func (*BatchRunProcessRequest_BatchRunProcessOptions) ProtoMessage
func (*BatchRunProcessRequest_BatchRunProcessOptions) ProtoMessage()
func (*BatchRunProcessRequest_BatchRunProcessOptions) ProtoReflect
func (x *BatchRunProcessRequest_BatchRunProcessOptions) ProtoReflect() protoreflect.Message
func (*BatchRunProcessRequest_BatchRunProcessOptions) Reset
func (x *BatchRunProcessRequest_BatchRunProcessOptions) Reset()
func (*BatchRunProcessRequest_BatchRunProcessOptions) String
func (x *BatchRunProcessRequest_BatchRunProcessOptions) String() string
BatchRunProcessResponse
type BatchRunProcessResponse struct {
// The batch ID.
BatchId string `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
// Processes created.
Processes []*Process `protobuf:"bytes,2,rep,name=processes,proto3" json:"processes,omitempty"`
// contains filtered or unexported fields
}
Response message for running the processes in a batch.
func (*BatchRunProcessResponse) Descriptor
func (*BatchRunProcessResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchRunProcessResponse.ProtoReflect.Descriptor instead.
func (*BatchRunProcessResponse) GetBatchId
func (x *BatchRunProcessResponse) GetBatchId() string
func (*BatchRunProcessResponse) GetProcesses
func (x *BatchRunProcessResponse) GetProcesses() []*Process
func (*BatchRunProcessResponse) ProtoMessage
func (*BatchRunProcessResponse) ProtoMessage()
func (*BatchRunProcessResponse) ProtoReflect
func (x *BatchRunProcessResponse) ProtoReflect() protoreflect.Message
func (*BatchRunProcessResponse) Reset
func (x *BatchRunProcessResponse) Reset()
func (*BatchRunProcessResponse) String
func (x *BatchRunProcessResponse) String() string
BigQueryConfig
type BigQueryConfig struct {
Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
CloudFunctionMapping map[string]string "" /* 211 byte string literal not displayed */
CreateDefaultTableIfNotExists bool "" /* 157 byte string literal not displayed */
}
Message of configurations for BigQuery processor.
func (*BigQueryConfig) Descriptor
func (*BigQueryConfig) Descriptor() ([]byte, []int)
Deprecated: Use BigQueryConfig.ProtoReflect.Descriptor instead.
func (*BigQueryConfig) GetCloudFunctionMapping
func (x *BigQueryConfig) GetCloudFunctionMapping() map[string]string
func (*BigQueryConfig) GetCreateDefaultTableIfNotExists
func (x *BigQueryConfig) GetCreateDefaultTableIfNotExists() bool
func (*BigQueryConfig) GetTable
func (x *BigQueryConfig) GetTable() string
func (*BigQueryConfig) ProtoMessage
func (*BigQueryConfig) ProtoMessage()
func (*BigQueryConfig) ProtoReflect
func (x *BigQueryConfig) ProtoReflect() protoreflect.Message
func (*BigQueryConfig) Reset
func (x *BigQueryConfig) Reset()
func (*BigQueryConfig) String
func (x *BigQueryConfig) String() string
BoolValue
type BoolValue struct {
Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*BoolValue) Descriptor
Deprecated: Use BoolValue.ProtoReflect.Descriptor instead.
func (*BoolValue) GetValue
func (*BoolValue) ProtoMessage
func (*BoolValue) ProtoMessage()
func (*BoolValue) ProtoReflect
func (x *BoolValue) ProtoReflect() protoreflect.Message
func (*BoolValue) Reset
func (x *BoolValue) Reset()
func (*BoolValue) String
Channel
type Channel struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
Annotations map[string]string "" /* 163 byte string literal not displayed */
Stream string `protobuf:"bytes,6,opt,name=stream,proto3" json:"stream,omitempty"`
Event string `protobuf:"bytes,7,opt,name=event,proto3" json:"event,omitempty"`
}
Message describing the Channel object.
func (*Channel) Descriptor
Deprecated: Use Channel.ProtoReflect.Descriptor instead.
func (*Channel) GetAnnotations
func (*Channel) GetCreateTime
func (x *Channel) GetCreateTime() *timestamppb.Timestamp
func (*Channel) GetEvent
func (*Channel) GetLabels
func (*Channel) GetName
func (*Channel) GetStream
func (*Channel) GetUpdateTime
func (x *Channel) GetUpdateTime() *timestamppb.Timestamp
func (*Channel) ProtoMessage
func (*Channel) ProtoMessage()
func (*Channel) ProtoReflect
func (x *Channel) ProtoReflect() protoreflect.Message
func (*Channel) Reset
func (x *Channel) Reset()
func (*Channel) String
CircleArea
type CircleArea struct {
// Latitude of circle area's center. Degrees [-90 .. 90]
Latitude float64 `protobuf:"fixed64,1,opt,name=latitude,proto3" json:"latitude,omitempty"`
// Longitude of circle area's center. Degrees [-180 .. 180]
Longitude float64 `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
// Radius of the circle area in meters.
RadiusMeter float64 `protobuf:"fixed64,3,opt,name=radius_meter,json=radiusMeter,proto3" json:"radius_meter,omitempty"`
// contains filtered or unexported fields
}
Representation of a circle area.
func (*CircleArea) Descriptor
func (*CircleArea) Descriptor() ([]byte, []int)
Deprecated: Use CircleArea.ProtoReflect.Descriptor instead.
func (*CircleArea) GetLatitude
func (x *CircleArea) GetLatitude() float64
func (*CircleArea) GetLongitude
func (x *CircleArea) GetLongitude() float64
func (*CircleArea) GetRadiusMeter
func (x *CircleArea) GetRadiusMeter() float64
func (*CircleArea) ProtoMessage
func (*CircleArea) ProtoMessage()
func (*CircleArea) ProtoReflect
func (x *CircleArea) ProtoReflect() protoreflect.Message
func (*CircleArea) Reset
func (x *CircleArea) Reset()
func (*CircleArea) String
func (x *CircleArea) String() string
ClassificationPredictionResult
type ClassificationPredictionResult struct {
// The resource IDs of the AnnotationSpecs that had been identified.
Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
// The display names of the AnnotationSpecs that had been identified, order
// matches the IDs.
DisplayNames []string `protobuf:"bytes,2,rep,name=display_names,json=displayNames,proto3" json:"display_names,omitempty"`
// The Model's confidences in correctness of the predicted IDs, higher value
// means higher confidence. Order matches the Ids.
Confidences []float32 `protobuf:"fixed32,3,rep,packed,name=confidences,proto3" json:"confidences,omitempty"`
// contains filtered or unexported fields
}
Prediction output format for Image and Text Classification.
func (*ClassificationPredictionResult) Descriptor
func (*ClassificationPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use ClassificationPredictionResult.ProtoReflect.Descriptor instead.
func (*ClassificationPredictionResult) GetConfidences
func (x *ClassificationPredictionResult) GetConfidences() []float32
func (*ClassificationPredictionResult) GetDisplayNames
func (x *ClassificationPredictionResult) GetDisplayNames() []string
func (*ClassificationPredictionResult) GetIds
func (x *ClassificationPredictionResult) GetIds() []int64
func (*ClassificationPredictionResult) ProtoMessage
func (*ClassificationPredictionResult) ProtoMessage()
func (*ClassificationPredictionResult) ProtoReflect
func (x *ClassificationPredictionResult) ProtoReflect() protoreflect.Message
func (*ClassificationPredictionResult) Reset
func (x *ClassificationPredictionResult) Reset()
func (*ClassificationPredictionResult) String
func (x *ClassificationPredictionResult) String() string
ClipAssetRequest
type ClipAssetRequest struct {
// Required. The resource name of the asset to request clips for.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The time range to request clips for.
TemporalPartition *Partition_TemporalPartition `protobuf:"bytes,2,opt,name=temporal_partition,json=temporalPartition,proto3" json:"temporal_partition,omitempty"`
// contains filtered or unexported fields
}
Request message for ClipAsset API.
func (*ClipAssetRequest) Descriptor
func (*ClipAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClipAssetRequest.ProtoReflect.Descriptor instead.
func (*ClipAssetRequest) GetName
func (x *ClipAssetRequest) GetName() string
func (*ClipAssetRequest) GetTemporalPartition
func (x *ClipAssetRequest) GetTemporalPartition() *Partition_TemporalPartition
func (*ClipAssetRequest) ProtoMessage
func (*ClipAssetRequest) ProtoMessage()
func (*ClipAssetRequest) ProtoReflect
func (x *ClipAssetRequest) ProtoReflect() protoreflect.Message
func (*ClipAssetRequest) Reset
func (x *ClipAssetRequest) Reset()
func (*ClipAssetRequest) String
func (x *ClipAssetRequest) String() string
ClipAssetResponse
type ClipAssetResponse struct {
// A list of signed uris to download the video clips that cover the requested
// time range ordered by time.
TimeIndexedUris []*ClipAssetResponse_TimeIndexedUri `protobuf:"bytes,1,rep,name=time_indexed_uris,json=timeIndexedUris,proto3" json:"time_indexed_uris,omitempty"`
// contains filtered or unexported fields
}
Response message for ClipAsset API.
func (*ClipAssetResponse) Descriptor
func (*ClipAssetResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClipAssetResponse.ProtoReflect.Descriptor instead.
func (*ClipAssetResponse) GetTimeIndexedUris
func (x *ClipAssetResponse) GetTimeIndexedUris() []*ClipAssetResponse_TimeIndexedUri
func (*ClipAssetResponse) ProtoMessage
func (*ClipAssetResponse) ProtoMessage()
func (*ClipAssetResponse) ProtoReflect
func (x *ClipAssetResponse) ProtoReflect() protoreflect.Message
func (*ClipAssetResponse) Reset
func (x *ClipAssetResponse) Reset()
func (*ClipAssetResponse) String
func (x *ClipAssetResponse) String() string
ClipAssetResponse_TimeIndexedUri
type ClipAssetResponse_TimeIndexedUri struct {
// Time range of the video that the uri is for.
TemporalPartition *Partition_TemporalPartition `protobuf:"bytes,1,opt,name=temporal_partition,json=temporalPartition,proto3" json:"temporal_partition,omitempty"`
// Signed uri to download the video clip.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
Signed uri with corresponding time range.
func (*ClipAssetResponse_TimeIndexedUri) Descriptor
func (*ClipAssetResponse_TimeIndexedUri) Descriptor() ([]byte, []int)
Deprecated: Use ClipAssetResponse_TimeIndexedUri.ProtoReflect.Descriptor instead.
func (*ClipAssetResponse_TimeIndexedUri) GetTemporalPartition
func (x *ClipAssetResponse_TimeIndexedUri) GetTemporalPartition() *Partition_TemporalPartition
func (*ClipAssetResponse_TimeIndexedUri) GetUri
func (x *ClipAssetResponse_TimeIndexedUri) GetUri() string
func (*ClipAssetResponse_TimeIndexedUri) ProtoMessage
func (*ClipAssetResponse_TimeIndexedUri) ProtoMessage()
func (*ClipAssetResponse_TimeIndexedUri) ProtoReflect
func (x *ClipAssetResponse_TimeIndexedUri) ProtoReflect() protoreflect.Message
func (*ClipAssetResponse_TimeIndexedUri) Reset
func (x *ClipAssetResponse_TimeIndexedUri) Reset()
func (*ClipAssetResponse_TimeIndexedUri) String
func (x *ClipAssetResponse_TimeIndexedUri) String() string
Cluster
type Cluster struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
Annotations map[string]string "" /* 163 byte string literal not displayed */
DataplaneServiceEndpoint string "" /* 135 byte string literal not displayed */
State Cluster_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.visionai.v1.Cluster_State" json:"state,omitempty"`
PscTarget string `protobuf:"bytes,8,opt,name=psc_target,json=pscTarget,proto3" json:"psc_target,omitempty"`
}
Message describing the Cluster object.
func (*Cluster) Descriptor
Deprecated: Use Cluster.ProtoReflect.Descriptor instead.
func (*Cluster) GetAnnotations
func (*Cluster) GetCreateTime
func (x *Cluster) GetCreateTime() *timestamppb.Timestamp
func (*Cluster) GetDataplaneServiceEndpoint
func (*Cluster) GetLabels
func (*Cluster) GetName
func (*Cluster) GetPscTarget
func (*Cluster) GetState
func (x *Cluster) GetState() Cluster_State
func (*Cluster) GetUpdateTime
func (x *Cluster) GetUpdateTime() *timestamppb.Timestamp
func (*Cluster) ProtoMessage
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect
func (x *Cluster) ProtoReflect() protoreflect.Message
func (*Cluster) Reset
func (x *Cluster) Reset()
func (*Cluster) String
ClusterInfo
type ClusterInfo struct {
// The number of active streams in the cluster.
StreamsCount int32 `protobuf:"varint,1,opt,name=streams_count,json=streamsCount,proto3" json:"streams_count,omitempty"`
// The number of active processes in the cluster.
ProcessesCount int32 `protobuf:"varint,2,opt,name=processes_count,json=processesCount,proto3" json:"processes_count,omitempty"`
// contains filtered or unexported fields
}
func (*ClusterInfo) Descriptor
func (*ClusterInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClusterInfo.ProtoReflect.Descriptor instead.
func (*ClusterInfo) GetProcessesCount
func (x *ClusterInfo) GetProcessesCount() int32
func (*ClusterInfo) GetStreamsCount
func (x *ClusterInfo) GetStreamsCount() int32
func (*ClusterInfo) ProtoMessage
func (*ClusterInfo) ProtoMessage()
func (*ClusterInfo) ProtoReflect
func (x *ClusterInfo) ProtoReflect() protoreflect.Message
func (*ClusterInfo) Reset
func (x *ClusterInfo) Reset()
func (*ClusterInfo) String
func (x *ClusterInfo) String() string
Cluster_State
type Cluster_State int32
The current state of the cluster.
Cluster_STATE_UNSPECIFIED, Cluster_PROVISIONING, Cluster_RUNNING, Cluster_STOPPING, Cluster_ERROR
const (
// Not set.
Cluster_STATE_UNSPECIFIED Cluster_State = 0
// The PROVISIONING state indicates the cluster is being created.
Cluster_PROVISIONING Cluster_State = 1
// The RUNNING state indicates the cluster has been created and is fully
// usable.
Cluster_RUNNING Cluster_State = 2
// The STOPPING state indicates the cluster is being deleted.
Cluster_STOPPING Cluster_State = 3
// The ERROR state indicates the cluster is unusable. It will be
// automatically deleted.
Cluster_ERROR Cluster_State = 4
)
func (Cluster_State) Descriptor
func (Cluster_State) Descriptor() protoreflect.EnumDescriptor
func (Cluster_State) Enum
func (x Cluster_State) Enum() *Cluster_State
func (Cluster_State) EnumDescriptor
func (Cluster_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_State.Descriptor instead.
func (Cluster_State) Number
func (x Cluster_State) Number() protoreflect.EnumNumber
func (Cluster_State) String
func (x Cluster_State) String() string
func (Cluster_State) Type
func (Cluster_State) Type() protoreflect.EnumType
Collection
type Collection struct {
// Output only. Resource name of the collection. Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The collection name for displaying.
// The name can be up to 256 characters long.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. Description of the collection. Can be up to 25000 characters
// long.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
A collection is a resource in a corpus. It serves as a container of references to original resources.
func (*Collection) Descriptor
func (*Collection) Descriptor() ([]byte, []int)
Deprecated: Use Collection.ProtoReflect.Descriptor instead.
func (*Collection) GetDescription
func (x *Collection) GetDescription() string
func (*Collection) GetDisplayName
func (x *Collection) GetDisplayName() string
func (*Collection) GetName
func (x *Collection) GetName() string
func (*Collection) ProtoMessage
func (*Collection) ProtoMessage()
func (*Collection) ProtoReflect
func (x *Collection) ProtoReflect() protoreflect.Message
func (*Collection) Reset
func (x *Collection) Reset()
func (*Collection) String
func (x *Collection) String() string
CollectionItem
type CollectionItem struct {
// Required. The collection name that this item belongs to. Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`
Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
// Required. The type of item.
Type CollectionItem_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.visionai.v1.CollectionItem_Type" json:"type,omitempty"`
// Required. The name of the CollectionItem. Its format depends on the `type`
// above. For ASSET:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}`
ItemResource string `protobuf:"bytes,3,opt,name=item_resource,json=itemResource,proto3" json:"item_resource,omitempty"`
// contains filtered or unexported fields
}
A CollectionItem is an item in a collection. Each item is a reference to the original resource in a collection.
func (*CollectionItem) Descriptor
func (*CollectionItem) Descriptor() ([]byte, []int)
Deprecated: Use CollectionItem.ProtoReflect.Descriptor instead.
func (*CollectionItem) GetCollection
func (x *CollectionItem) GetCollection() string
func (*CollectionItem) GetItemResource
func (x *CollectionItem) GetItemResource() string
func (*CollectionItem) GetType
func (x *CollectionItem) GetType() CollectionItem_Type
func (*CollectionItem) ProtoMessage
func (*CollectionItem) ProtoMessage()
func (*CollectionItem) ProtoReflect
func (x *CollectionItem) ProtoReflect() protoreflect.Message
func (*CollectionItem) Reset
func (x *CollectionItem) Reset()
func (*CollectionItem) String
func (x *CollectionItem) String() string
CollectionItem_Type
type CollectionItem_Type int32
CollectionItem types.
CollectionItem_TYPE_UNSPECIFIED, CollectionItem_ASSET
const (
// The default type of item should never happen.
CollectionItem_TYPE_UNSPECIFIED CollectionItem_Type = 0
// Asset type item.
CollectionItem_ASSET CollectionItem_Type = 1
)
func (CollectionItem_Type) Descriptor
func (CollectionItem_Type) Descriptor() protoreflect.EnumDescriptor
func (CollectionItem_Type) Enum
func (x CollectionItem_Type) Enum() *CollectionItem_Type
func (CollectionItem_Type) EnumDescriptor
func (CollectionItem_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use CollectionItem_Type.Descriptor instead.
func (CollectionItem_Type) Number
func (x CollectionItem_Type) Number() protoreflect.EnumNumber
func (CollectionItem_Type) String
func (x CollectionItem_Type) String() string
func (CollectionItem_Type) Type
func (CollectionItem_Type) Type() protoreflect.EnumType
CommitRequest
type CommitRequest struct {
// The offset to commit.
Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
The message for explicitly committing the read progress.
This may only be used when ReceivePacketsControlledMode
is set in the
initial setup request.
func (*CommitRequest) Descriptor
func (*CommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead.
func (*CommitRequest) GetOffset
func (x *CommitRequest) GetOffset() int64
func (*CommitRequest) ProtoMessage
func (*CommitRequest) ProtoMessage()
func (*CommitRequest) ProtoReflect
func (x *CommitRequest) ProtoReflect() protoreflect.Message
func (*CommitRequest) Reset
func (x *CommitRequest) Reset()
func (*CommitRequest) String
func (x *CommitRequest) String() string
ControlledMode
type ControlledMode struct {
StartingOffset isControlledMode_StartingOffset `protobuf_oneof:"starting_offset"`
FallbackStartingOffset string "" /* 129 byte string literal not displayed */
}
The options for receiver under the controlled mode.
func (*ControlledMode) Descriptor
func (*ControlledMode) Descriptor() ([]byte, []int)
Deprecated: Use ControlledMode.ProtoReflect.Descriptor instead.
func (*ControlledMode) GetFallbackStartingOffset
func (x *ControlledMode) GetFallbackStartingOffset() string
func (*ControlledMode) GetStartingLogicalOffset
func (x *ControlledMode) GetStartingLogicalOffset() string
func (*ControlledMode) GetStartingOffset
func (m *ControlledMode) GetStartingOffset() isControlledMode_StartingOffset
func (*ControlledMode) ProtoMessage
func (*ControlledMode) ProtoMessage()
func (*ControlledMode) ProtoReflect
func (x *ControlledMode) ProtoReflect() protoreflect.Message
func (*ControlledMode) Reset
func (x *ControlledMode) Reset()
func (*ControlledMode) String
func (x *ControlledMode) String() string
ControlledMode_StartingLogicalOffset
type ControlledMode_StartingLogicalOffset struct {
// This can be set to the following logical starting points:
//
// "begin": This will read from the earliest available message.
//
// "most-recent": This will read from the latest available message.
//
// "end": This will read only future messages.
//
// "stored": This will resume reads one past the last committed offset.
//
// It is the only option that resumes progress; all others
// jump unilaterally.
StartingLogicalOffset string `protobuf:"bytes,1,opt,name=starting_logical_offset,json=startingLogicalOffset,proto3,oneof"`
}
Corpus
type Corpus struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
DefaultTtl *durationpb.Duration `protobuf:"bytes,5,opt,name=default_ttl,json=defaultTtl,proto3" json:"default_ttl,omitempty"`
Type Corpus_Type `protobuf:"varint,7,opt,name=type,proto3,enum=google.cloud.visionai.v1.Corpus_Type" json:"type,omitempty"`
SearchCapabilitySetting *SearchCapabilitySetting "" /* 132 byte string literal not displayed */
}
Corpus is a set of media contents for management. Within a corpus, media shares the same data schema. Search is also restricted within a single corpus.
func (*Corpus) Descriptor
Deprecated: Use Corpus.ProtoReflect.Descriptor instead.
func (*Corpus) GetDefaultTtl
func (x *Corpus) GetDefaultTtl() *durationpb.Duration
func (*Corpus) GetDescription
func (*Corpus) GetDisplayName
func (*Corpus) GetName
func (*Corpus) GetSearchCapabilitySetting
func (x *Corpus) GetSearchCapabilitySetting() *SearchCapabilitySetting
func (*Corpus) GetType
func (x *Corpus) GetType() Corpus_Type
func (*Corpus) ProtoMessage
func (*Corpus) ProtoMessage()
func (*Corpus) ProtoReflect
func (x *Corpus) ProtoReflect() protoreflect.Message
func (*Corpus) Reset
func (x *Corpus) Reset()
func (*Corpus) String
Corpus_Type
type Corpus_Type int32
Type of the asset inside the corpus.
Corpus_TYPE_UNSPECIFIED, Corpus_STREAM_VIDEO, Corpus_IMAGE, Corpus_VIDEO_ON_DEMAND
const (
// The default type, not supposed to be used. If this default type is used,
// the corpus will be created as STREAM_VIDEO corpus.
Corpus_TYPE_UNSPECIFIED Corpus_Type = 0
// Asset is a live streaming video.
Corpus_STREAM_VIDEO Corpus_Type = 1
// Asset is an image.
Corpus_IMAGE Corpus_Type = 2
// Asset is a batch video.
Corpus_VIDEO_ON_DEMAND Corpus_Type = 3
)
func (Corpus_Type) Descriptor
func (Corpus_Type) Descriptor() protoreflect.EnumDescriptor
func (Corpus_Type) Enum
func (x Corpus_Type) Enum() *Corpus_Type
func (Corpus_Type) EnumDescriptor
func (Corpus_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Corpus_Type.Descriptor instead.
func (Corpus_Type) Number
func (x Corpus_Type) Number() protoreflect.EnumNumber
func (Corpus_Type) String
func (x Corpus_Type) String() string
func (Corpus_Type) Type
func (Corpus_Type) Type() protoreflect.EnumType
CreateAnalysisRequest
type CreateAnalysisRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object.
AnalysisId string `protobuf:"bytes,2,opt,name=analysis_id,json=analysisId,proto3" json:"analysis_id,omitempty"`
// Required. The resource being created.
Analysis *Analysis `protobuf:"bytes,3,opt,name=analysis,proto3" json:"analysis,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for creating an Analysis.
func (*CreateAnalysisRequest) Descriptor
func (*CreateAnalysisRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAnalysisRequest.ProtoReflect.Descriptor instead.
func (*CreateAnalysisRequest) GetAnalysis
func (x *CreateAnalysisRequest) GetAnalysis() *Analysis
func (*CreateAnalysisRequest) GetAnalysisId
func (x *CreateAnalysisRequest) GetAnalysisId() string
func (*CreateAnalysisRequest) GetParent
func (x *CreateAnalysisRequest) GetParent() string
func (*CreateAnalysisRequest) GetRequestId
func (x *CreateAnalysisRequest) GetRequestId() string
func (*CreateAnalysisRequest) ProtoMessage
func (*CreateAnalysisRequest) ProtoMessage()
func (*CreateAnalysisRequest) ProtoReflect
func (x *CreateAnalysisRequest) ProtoReflect() protoreflect.Message
func (*CreateAnalysisRequest) Reset
func (x *CreateAnalysisRequest) Reset()
func (*CreateAnalysisRequest) String
func (x *CreateAnalysisRequest) String() string
CreateAnnotationRequest
type CreateAnnotationRequest struct {
// Required. The parent resource where this annotation will be created.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The annotation to create.
Annotation *Annotation `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"`
// Optional. The ID to use for the annotation, which will become the final
// component of the annotation's resource name if user choose to specify.
// Otherwise, annotation id will be generated by system.
//
// This value should be up to 63 characters, and valid characters
// are /[a-z][0-9]-/. The first character must be a letter, the last could be
// a letter or a number.
AnnotationId *string `protobuf:"bytes,3,opt,name=annotation_id,json=annotationId,proto3,oneof" json:"annotation_id,omitempty"`
// contains filtered or unexported fields
}
Request message for CreateAnnotation.
func (*CreateAnnotationRequest) Descriptor
func (*CreateAnnotationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAnnotationRequest.ProtoReflect.Descriptor instead.
func (*CreateAnnotationRequest) GetAnnotation
func (x *CreateAnnotationRequest) GetAnnotation() *Annotation
func (*CreateAnnotationRequest) GetAnnotationId
func (x *CreateAnnotationRequest) GetAnnotationId() string
func (*CreateAnnotationRequest) GetParent
func (x *CreateAnnotationRequest) GetParent() string
func (*CreateAnnotationRequest) ProtoMessage
func (*CreateAnnotationRequest) ProtoMessage()
func (*CreateAnnotationRequest) ProtoReflect
func (x *CreateAnnotationRequest) ProtoReflect() protoreflect.Message
func (*CreateAnnotationRequest) Reset
func (x *CreateAnnotationRequest) Reset()
func (*CreateAnnotationRequest) String
func (x *CreateAnnotationRequest) String() string
CreateApplicationInstancesRequest
type CreateApplicationInstancesRequest struct {
// Required. the name of the application to retrieve.
// Format:
// "projects/{project}/locations/{location}/applications/{application}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The resources being created.
ApplicationInstances []*ApplicationInstance `protobuf:"bytes,2,rep,name=application_instances,json=applicationInstances,proto3" json:"application_instances,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for adding stream input to an Application.
func (*CreateApplicationInstancesRequest) Descriptor
func (*CreateApplicationInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateApplicationInstancesRequest.ProtoReflect.Descriptor instead.
func (*CreateApplicationInstancesRequest) GetApplicationInstances
func (x *CreateApplicationInstancesRequest) GetApplicationInstances() []*ApplicationInstance
func (*CreateApplicationInstancesRequest) GetName
func (x *CreateApplicationInstancesRequest) GetName() string
func (*CreateApplicationInstancesRequest) GetRequestId
func (x *CreateApplicationInstancesRequest) GetRequestId() string
func (*CreateApplicationInstancesRequest) ProtoMessage
func (*CreateApplicationInstancesRequest) ProtoMessage()
func (*CreateApplicationInstancesRequest) ProtoReflect
func (x *CreateApplicationInstancesRequest) ProtoReflect() protoreflect.Message
func (*CreateApplicationInstancesRequest) Reset
func (x *CreateApplicationInstancesRequest) Reset()
func (*CreateApplicationInstancesRequest) String
func (x *CreateApplicationInstancesRequest) String() string
CreateApplicationInstancesResponse
type CreateApplicationInstancesResponse struct {
// contains filtered or unexported fields
}
Message for CreateApplicationInstance Response.
func (*CreateApplicationInstancesResponse) Descriptor
func (*CreateApplicationInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateApplicationInstancesResponse.ProtoReflect.Descriptor instead.
func (*CreateApplicationInstancesResponse) ProtoMessage
func (*CreateApplicationInstancesResponse) ProtoMessage()
func (*CreateApplicationInstancesResponse) ProtoReflect
func (x *CreateApplicationInstancesResponse) ProtoReflect() protoreflect.Message
func (*CreateApplicationInstancesResponse) Reset
func (x *CreateApplicationInstancesResponse) Reset()
func (*CreateApplicationInstancesResponse) String
func (x *CreateApplicationInstancesResponse) String() string
CreateApplicationRequest
type CreateApplicationRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object.
ApplicationId string `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
// Required. The resource being created.
Application *Application `protobuf:"bytes,3,opt,name=application,proto3" json:"application,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for creating a Application.
func (*CreateApplicationRequest) Descriptor
func (*CreateApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateApplicationRequest.ProtoReflect.Descriptor instead.
func (*CreateApplicationRequest) GetApplication
func (x *CreateApplicationRequest) GetApplication() *Application
func (*CreateApplicationRequest) GetApplicationId
func (x *CreateApplicationRequest) GetApplicationId() string
func (*CreateApplicationRequest) GetParent
func (x *CreateApplicationRequest) GetParent() string
func (*CreateApplicationRequest) GetRequestId
func (x *CreateApplicationRequest) GetRequestId() string
func (*CreateApplicationRequest) ProtoMessage
func (*CreateApplicationRequest) ProtoMessage()
func (*CreateApplicationRequest) ProtoReflect
func (x *CreateApplicationRequest) ProtoReflect() protoreflect.Message
func (*CreateApplicationRequest) Reset
func (x *CreateApplicationRequest) Reset()
func (*CreateApplicationRequest) String
func (x *CreateApplicationRequest) String() string
CreateAssetRequest
type CreateAssetRequest struct {
// Required. The parent resource where this asset will be created.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The asset to create.
Asset *Asset `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
// Optional. The ID to use for the asset, which will become the final
// component of the asset's resource name if user choose to specify.
// Otherwise, asset id will be generated by system.
//
// This value should be up to 63 characters, and valid characters
// are /[a-z][0-9]-/. The first character must be a letter, the last could be
// a letter or a number.
AssetId *string `protobuf:"bytes,3,opt,name=asset_id,json=assetId,proto3,oneof" json:"asset_id,omitempty"`
// contains filtered or unexported fields
}
Request message for CreateAssetRequest.
func (*CreateAssetRequest) Descriptor
func (*CreateAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAssetRequest.ProtoReflect.Descriptor instead.
func (*CreateAssetRequest) GetAsset
func (x *CreateAssetRequest) GetAsset() *Asset
func (*CreateAssetRequest) GetAssetId
func (x *CreateAssetRequest) GetAssetId() string
func (*CreateAssetRequest) GetParent
func (x *CreateAssetRequest) GetParent() string
func (*CreateAssetRequest) ProtoMessage
func (*CreateAssetRequest) ProtoMessage()
func (*CreateAssetRequest) ProtoReflect
func (x *CreateAssetRequest) ProtoReflect() protoreflect.Message
func (*CreateAssetRequest) Reset
func (x *CreateAssetRequest) Reset()
func (*CreateAssetRequest) String
func (x *CreateAssetRequest) String() string
CreateClusterRequest
type CreateClusterRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object.
ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Required. The resource being created.
Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for creating a Cluster.
func (*CreateClusterRequest) Descriptor
func (*CreateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateClusterRequest) GetCluster
func (x *CreateClusterRequest) GetCluster() *Cluster
func (*CreateClusterRequest) GetClusterId
func (x *CreateClusterRequest) GetClusterId() string
func (*CreateClusterRequest) GetParent
func (x *CreateClusterRequest) GetParent() string
func (*CreateClusterRequest) GetRequestId
func (x *CreateClusterRequest) GetRequestId() string
func (*CreateClusterRequest) ProtoMessage
func (*CreateClusterRequest) ProtoMessage()
func (*CreateClusterRequest) ProtoReflect
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
func (*CreateClusterRequest) Reset
func (x *CreateClusterRequest) Reset()
func (*CreateClusterRequest) String
func (x *CreateClusterRequest) String() string
CreateCollectionMetadata
type CreateCollectionMetadata struct {
// Common metadata of the long-running operation.
OperationMetadata *OperationMetadata `protobuf:"bytes,1,opt,name=operation_metadata,json=operationMetadata,proto3" json:"operation_metadata,omitempty"`
// contains filtered or unexported fields
}
Metadata message for CreateCollectionRequest
func (*CreateCollectionMetadata) Descriptor
func (*CreateCollectionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateCollectionMetadata.ProtoReflect.Descriptor instead.
func (*CreateCollectionMetadata) GetOperationMetadata
func (x *CreateCollectionMetadata) GetOperationMetadata() *OperationMetadata
func (*CreateCollectionMetadata) ProtoMessage
func (*CreateCollectionMetadata) ProtoMessage()
func (*CreateCollectionMetadata) ProtoReflect
func (x *CreateCollectionMetadata) ProtoReflect() protoreflect.Message
func (*CreateCollectionMetadata) Reset
func (x *CreateCollectionMetadata) Reset()
func (*CreateCollectionMetadata) String
func (x *CreateCollectionMetadata) String() string
CreateCollectionRequest
type CreateCollectionRequest struct {
// Required. The parent resource where this collection will be created.
// Format: `projects/{project_number}/locations/{location}/corpora/{corpus}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The collection resource to be created.
Collection *Collection `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
// Optional. The ID to use for the collection, which will become the final
// component of the resource name if user choose to specify. Otherwise,
// collection id will be generated by system.
//
// This value should be up to 55 characters, and valid characters
// are /[a-z][0-9]-/. The first character must be a letter, the last could be
// a letter or a number.
CollectionId *string `protobuf:"bytes,3,opt,name=collection_id,json=collectionId,proto3,oneof" json:"collection_id,omitempty"`
// contains filtered or unexported fields
}
Request message for CreateCollection.
func (*CreateCollectionRequest) Descriptor
func (*CreateCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCollectionRequest.ProtoReflect.Descriptor instead.
func (*CreateCollectionRequest) GetCollection
func (x *CreateCollectionRequest) GetCollection() *Collection
func (*CreateCollectionRequest) GetCollectionId
func (x *CreateCollectionRequest) GetCollectionId() string
func (*CreateCollectionRequest) GetParent
func (x *CreateCollectionRequest) GetParent() string
func (*CreateCollectionRequest) ProtoMessage
func (*CreateCollectionRequest) ProtoMessage()
func (*CreateCollectionRequest) ProtoReflect
func (x *CreateCollectionRequest) ProtoReflect() protoreflect.Message
func (*CreateCollectionRequest) Reset
func (x *CreateCollectionRequest) Reset()
func (*CreateCollectionRequest) String
func (x *CreateCollectionRequest) String() string
CreateCorpusMetadata
type CreateCorpusMetadata struct {
// The create time of the create corpus operation.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The update time of the create corpus operation.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}
Metadata for CreateCorpus API.
func (*CreateCorpusMetadata) Descriptor
func (*CreateCorpusMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateCorpusMetadata.ProtoReflect.Descriptor instead.
func (*CreateCorpusMetadata) GetCreateTime
func (x *CreateCorpusMetadata) GetCreateTime() *timestamppb.Timestamp
func (*CreateCorpusMetadata) GetUpdateTime
func (x *CreateCorpusMetadata) GetUpdateTime() *timestamppb.Timestamp
func (*CreateCorpusMetadata) ProtoMessage
func (*CreateCorpusMetadata) ProtoMessage()
func (*CreateCorpusMetadata) ProtoReflect
func (x *CreateCorpusMetadata) ProtoReflect() protoreflect.Message
func (*CreateCorpusMetadata) Reset
func (x *CreateCorpusMetadata) Reset()
func (*CreateCorpusMetadata) String
func (x *CreateCorpusMetadata) String() string
CreateCorpusRequest
type CreateCorpusRequest struct {
// Required. Form: `projects/{project_number}/locations/{location_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The corpus to be created.
Corpus *Corpus `protobuf:"bytes,2,opt,name=corpus,proto3" json:"corpus,omitempty"`
// contains filtered or unexported fields
}
Request message of CreateCorpus API.
func (*CreateCorpusRequest) Descriptor
func (*CreateCorpusRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCorpusRequest.ProtoReflect.Descriptor instead.
func (*CreateCorpusRequest) GetCorpus
func (x *CreateCorpusRequest) GetCorpus() *Corpus
func (*CreateCorpusRequest) GetParent
func (x *CreateCorpusRequest) GetParent() string
func (*CreateCorpusRequest) ProtoMessage
func (*CreateCorpusRequest) ProtoMessage()
func (*CreateCorpusRequest) ProtoReflect
func (x *CreateCorpusRequest) ProtoReflect() protoreflect.Message
func (*CreateCorpusRequest) Reset
func (x *CreateCorpusRequest) Reset()
func (*CreateCorpusRequest) String
func (x *CreateCorpusRequest) String() string
CreateDataSchemaRequest
type CreateDataSchemaRequest struct {
// Required. The parent resource where this data schema will be created.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The data schema to create.
DataSchema *DataSchema `protobuf:"bytes,2,opt,name=data_schema,json=dataSchema,proto3" json:"data_schema,omitempty"`
// contains filtered or unexported fields
}
Request message for CreateDataSchema.
func (*CreateDataSchemaRequest) Descriptor
func (*CreateDataSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDataSchemaRequest.ProtoReflect.Descriptor instead.
func (*CreateDataSchemaRequest) GetDataSchema
func (x *CreateDataSchemaRequest) GetDataSchema() *DataSchema
func (*CreateDataSchemaRequest) GetParent
func (x *CreateDataSchemaRequest) GetParent() string
func (*CreateDataSchemaRequest) ProtoMessage
func (*CreateDataSchemaRequest) ProtoMessage()
func (*CreateDataSchemaRequest) ProtoReflect
func (x *CreateDataSchemaRequest) ProtoReflect() protoreflect.Message
func (*CreateDataSchemaRequest) Reset
func (x *CreateDataSchemaRequest) Reset()
func (*CreateDataSchemaRequest) String
func (x *CreateDataSchemaRequest) String() string
CreateDraftRequest
type CreateDraftRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object.
DraftId string `protobuf:"bytes,2,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"`
// Required. The resource being created.
Draft *Draft `protobuf:"bytes,3,opt,name=draft,proto3" json:"draft,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for creating a Draft.
func (*CreateDraftRequest) Descriptor
func (*CreateDraftRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDraftRequest.ProtoReflect.Descriptor instead.
func (*CreateDraftRequest) GetDraft
func (x *CreateDraftRequest) GetDraft() *Draft
func (*CreateDraftRequest) GetDraftId
func (x *CreateDraftRequest) GetDraftId() string
func (*CreateDraftRequest) GetParent
func (x *CreateDraftRequest) GetParent() string
func (*CreateDraftRequest) GetRequestId
func (x *CreateDraftRequest) GetRequestId() string
func (*CreateDraftRequest) ProtoMessage
func (*CreateDraftRequest) ProtoMessage()
func (*CreateDraftRequest) ProtoReflect
func (x *CreateDraftRequest) ProtoReflect() protoreflect.Message
func (*CreateDraftRequest) Reset
func (x *CreateDraftRequest) Reset()
func (*CreateDraftRequest) String
func (x *CreateDraftRequest) String() string
CreateEventRequest
type CreateEventRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object.
EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
// Required. The resource being created.
Event *Event `protobuf:"bytes,3,opt,name=event,proto3" json:"event,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for creating a Event.
func (*CreateEventRequest) Descriptor
func (*CreateEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEventRequest.ProtoReflect.Descriptor instead.
func (*CreateEventRequest) GetEvent
func (x *CreateEventRequest) GetEvent() *Event
func (*CreateEventRequest) GetEventId
func (x *CreateEventRequest) GetEventId() string
func (*CreateEventRequest) GetParent
func (x *CreateEventRequest) GetParent() string
func (*CreateEventRequest) GetRequestId
func (x *CreateEventRequest) GetRequestId() string
func (*CreateEventRequest) ProtoMessage
func (*CreateEventRequest) ProtoMessage()
func (*CreateEventRequest) ProtoReflect
func (x *CreateEventRequest) ProtoReflect() protoreflect.Message
func (*CreateEventRequest) Reset
func (x *CreateEventRequest) Reset()
func (*CreateEventRequest) String
func (x *CreateEventRequest) String() string
CreateIndexEndpointMetadata
type CreateIndexEndpointMetadata struct {
// Common metadata of the long-running operation.
OperationMetadata *OperationMetadata `protobuf:"bytes,1,opt,name=operation_metadata,json=operationMetadata,proto3" json:"operation_metadata,omitempty"`
// contains filtered or unexported fields
}
Metadata message for CreateIndexEndpoint.
func (*CreateIndexEndpointMetadata) Descriptor
func (*CreateIndexEndpointMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateIndexEndpointMetadata.ProtoReflect.Descriptor instead.
func (*CreateIndexEndpointMetadata) GetOperationMetadata
func (x *CreateIndexEndpointMetadata) GetOperationMetadata() *OperationMetadata
func (*CreateIndexEndpointMetadata) ProtoMessage
func (*CreateIndexEndpointMetadata) ProtoMessage()
func (*CreateIndexEndpointMetadata) ProtoReflect
func (x *CreateIndexEndpointMetadata) ProtoReflect() protoreflect.Message
func (*CreateIndexEndpointMetadata) Reset
func (x *CreateIndexEndpointMetadata) Reset()
func (*CreateIndexEndpointMetadata) String
func (x *CreateIndexEndpointMetadata) String() string
CreateIndexEndpointRequest
type CreateIndexEndpointRequest struct {
// Required. Format: `projects/{project}/locations/{location}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The ID to use for the IndexEndpoint, which will become the final
// component of the IndexEndpoint's resource name if the user specifies it.
// Otherwise, IndexEndpoint id will be autogenerated.
//
// This value should be up to 63 characters, and valid characters
// are a-z, 0-9 and dash (-). The first character must be a letter, the last
// must be a letter or a number.
IndexEndpointId string `protobuf:"bytes,2,opt,name=index_endpoint_id,json=indexEndpointId,proto3" json:"index_endpoint_id,omitempty"`
// Required. The resource being created.
IndexEndpoint *IndexEndpoint `protobuf:"bytes,3,opt,name=index_endpoint,json=indexEndpoint,proto3" json:"index_endpoint,omitempty"`
// contains filtered or unexported fields
}
Request message for CreateIndexEndpoint.
func (*CreateIndexEndpointRequest) Descriptor
func (*CreateIndexEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIndexEndpointRequest.ProtoReflect.Descriptor instead.
func (*CreateIndexEndpointRequest) GetIndexEndpoint
func (x *CreateIndexEndpointRequest) GetIndexEndpoint() *IndexEndpoint
func (*CreateIndexEndpointRequest) GetIndexEndpointId
func (x *CreateIndexEndpointRequest) GetIndexEndpointId() string
func (*CreateIndexEndpointRequest) GetParent
func (x *CreateIndexEndpointRequest) GetParent() string
func (*CreateIndexEndpointRequest) ProtoMessage
func (*CreateIndexEndpointRequest) ProtoMessage()
func (*CreateIndexEndpointRequest) ProtoReflect
func (x *CreateIndexEndpointRequest) ProtoReflect() protoreflect.Message
func (*CreateIndexEndpointRequest) Reset
func (x *CreateIndexEndpointRequest) Reset()
func (*CreateIndexEndpointRequest) String
func (x *CreateIndexEndpointRequest) String() string
CreateIndexMetadata
type CreateIndexMetadata struct {
// Common metadata of the long-running operation.
OperationMetadata *OperationMetadata `protobuf:"bytes,1,opt,name=operation_metadata,json=operationMetadata,proto3" json:"operation_metadata,omitempty"`
// contains filtered or unexported fields
}
Metadata message for CreateIndexRequest
func (*CreateIndexMetadata) Descriptor
func (*CreateIndexMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateIndexMetadata.ProtoReflect.Descriptor instead.
func (*CreateIndexMetadata) GetOperationMetadata
func (x *CreateIndexMetadata) GetOperationMetadata() *OperationMetadata
func (*CreateIndexMetadata) ProtoMessage
func (*CreateIndexMetadata) ProtoMessage()
func (*CreateIndexMetadata) ProtoReflect
func (x *CreateIndexMetadata) ProtoReflect() protoreflect.Message
func (*CreateIndexMetadata) Reset
func (x *CreateIndexMetadata) Reset()
func (*CreateIndexMetadata) String
func (x *CreateIndexMetadata) String() string
CreateIndexRequest
type CreateIndexRequest struct {
// Required. Value for the parent. The resource name of the Corpus under which
// this index is created. Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The ID for the index. This will become the final resource name
// for the index. If the user does not specify this value, it will be
// generated by system.
//
// This value should be up to 63 characters, and valid characters
// are /[a-z][0-9]-/. The first character must be a letter, the last could be
// a letter or a number.
IndexId string `protobuf:"bytes,2,opt,name=index_id,json=indexId,proto3" json:"index_id,omitempty"`
// Required. The index being created.
Index *Index `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"`
// contains filtered or unexported fields
}
Message for creating an Index.
func (*CreateIndexRequest) Descriptor
func (*CreateIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIndexRequest.ProtoReflect.Descriptor instead.
func (*CreateIndexRequest) GetIndex
func (x *CreateIndexRequest) GetIndex() *Index
func (*CreateIndexRequest) GetIndexId
func (x *CreateIndexRequest) GetIndexId() string
func (*CreateIndexRequest) GetParent
func (x *CreateIndexRequest) GetParent() string
func (*CreateIndexRequest) ProtoMessage
func (*CreateIndexRequest) ProtoMessage()
func (*CreateIndexRequest) ProtoReflect
func (x *CreateIndexRequest) ProtoReflect() protoreflect.Message
func (*CreateIndexRequest) Reset
func (x *CreateIndexRequest) Reset()
func (*CreateIndexRequest) String
func (x *CreateIndexRequest) String() string
CreateOperatorRequest
type CreateOperatorRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object.
OperatorId string `protobuf:"bytes,2,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
// Required. The resource being created.
Operator *Operator `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for creating a Operator.
func (*CreateOperatorRequest) Descriptor
func (*CreateOperatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOperatorRequest.ProtoReflect.Descriptor instead.
func (*CreateOperatorRequest) GetOperator
func (x *CreateOperatorRequest) GetOperator() *Operator
func (*CreateOperatorRequest) GetOperatorId
func (x *CreateOperatorRequest) GetOperatorId() string
func (*CreateOperatorRequest) GetParent
func (x *CreateOperatorRequest) GetParent() string
func (*CreateOperatorRequest) GetRequestId
func (x *CreateOperatorRequest) GetRequestId() string
func (*CreateOperatorRequest) ProtoMessage
func (*CreateOperatorRequest) ProtoMessage()
func (*CreateOperatorRequest) ProtoReflect
func (x *CreateOperatorRequest) ProtoReflect() protoreflect.Message
func (*CreateOperatorRequest) Reset
func (x *CreateOperatorRequest) Reset()
func (*CreateOperatorRequest) String
func (x *CreateOperatorRequest) String() string
CreateProcessRequest
type CreateProcessRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object.
ProcessId string `protobuf:"bytes,2,opt,name=process_id,json=processId,proto3" json:"process_id,omitempty"`
// Required. The resource being created.
Process *Process `protobuf:"bytes,3,opt,name=process,proto3" json:"process,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for creating a Process.
func (*CreateProcessRequest) Descriptor
func (*CreateProcessRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProcessRequest.ProtoReflect.Descriptor instead.
func (*CreateProcessRequest) GetParent
func (x *CreateProcessRequest) GetParent() string
func (*CreateProcessRequest) GetProcess
func (x *CreateProcessRequest) GetProcess() *Process
func (*CreateProcessRequest) GetProcessId
func (x *CreateProcessRequest) GetProcessId() string
func (*CreateProcessRequest) GetRequestId
func (x *CreateProcessRequest) GetRequestId() string
func (*CreateProcessRequest) ProtoMessage
func (*CreateProcessRequest) ProtoMessage()
func (*CreateProcessRequest) ProtoReflect
func (x *CreateProcessRequest) ProtoReflect() protoreflect.Message
func (*CreateProcessRequest) Reset
func (x *CreateProcessRequest) Reset()
func (*CreateProcessRequest) String
func (x *CreateProcessRequest) String() string
CreateProcessorRequest
type CreateProcessorRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object.
ProcessorId string `protobuf:"bytes,2,opt,name=processor_id,json=processorId,proto3" json:"processor_id,omitempty"`
// Required. The resource being created.
Processor *Processor `protobuf:"bytes,3,opt,name=processor,proto3" json:"processor,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for creating a Processor.
func (*CreateProcessorRequest) Descriptor
func (*CreateProcessorRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProcessorRequest.ProtoReflect.Descriptor instead.
func (*CreateProcessorRequest) GetParent
func (x *CreateProcessorRequest) GetParent() string
func (*CreateProcessorRequest) GetProcessor
func (x *CreateProcessorRequest) GetProcessor() *Processor
func (*CreateProcessorRequest) GetProcessorId
func (x *CreateProcessorRequest) GetProcessorId() string
func (*CreateProcessorRequest) GetRequestId
func (x *CreateProcessorRequest) GetRequestId() string
func (*CreateProcessorRequest) ProtoMessage
func (*CreateProcessorRequest) ProtoMessage()
func (*CreateProcessorRequest) ProtoReflect
func (x *CreateProcessorRequest) ProtoReflect() protoreflect.Message
func (*CreateProcessorRequest) Reset
func (x *CreateProcessorRequest) Reset()
func (*CreateProcessorRequest) String
func (x *CreateProcessorRequest) String() string
CreateSearchConfigRequest
type CreateSearchConfigRequest struct {
// Required. The parent resource where this search configuration will be
// created. Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The search config to create.
SearchConfig *SearchConfig `protobuf:"bytes,2,opt,name=search_config,json=searchConfig,proto3" json:"search_config,omitempty"`
// Required. ID to use for the new search config. Will become the final
// component of the SearchConfig's resource name. This value should be up to
// 63 characters, and valid characters are /[a-z][0-9]-_/. The first character
// must be a letter, the last could be a letter or a number.
SearchConfigId string `protobuf:"bytes,3,opt,name=search_config_id,json=searchConfigId,proto3" json:"search_config_id,omitempty"`
// contains filtered or unexported fields
}
Request message for CreateSearchConfig.
func (*CreateSearchConfigRequest) Descriptor
func (*CreateSearchConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSearchConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateSearchConfigRequest) GetParent
func (x *CreateSearchConfigRequest) GetParent() string
func (*CreateSearchConfigRequest) GetSearchConfig
func (x *CreateSearchConfigRequest) GetSearchConfig() *SearchConfig
func (*CreateSearchConfigRequest) GetSearchConfigId
func (x *CreateSearchConfigRequest) GetSearchConfigId() string
func (*CreateSearchConfigRequest) ProtoMessage
func (*CreateSearchConfigRequest) ProtoMessage()
func (*CreateSearchConfigRequest) ProtoReflect
func (x *CreateSearchConfigRequest) ProtoReflect() protoreflect.Message
func (*CreateSearchConfigRequest) Reset
func (x *CreateSearchConfigRequest) Reset()
func (*CreateSearchConfigRequest) String
func (x *CreateSearchConfigRequest) String() string
CreateSearchHypernymRequest
type CreateSearchHypernymRequest struct {
// Required. The parent resource where this SearchHypernym will be created.
// Format: `projects/{project_number}/locations/{location}/corpora/{corpus}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The SearchHypernym to create.
SearchHypernym *SearchHypernym `protobuf:"bytes,2,opt,name=search_hypernym,json=searchHypernym,proto3" json:"search_hypernym,omitempty"`
// Optional. The search hypernym id.
// If omitted, a random UUID will be generated.
SearchHypernymId *string `protobuf:"bytes,3,opt,name=search_hypernym_id,json=searchHypernymId,proto3,oneof" json:"search_hypernym_id,omitempty"`
// contains filtered or unexported fields
}
Request message for creating SearchHypernym.
func (*CreateSearchHypernymRequest) Descriptor
func (*CreateSearchHypernymRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSearchHypernymRequest.ProtoReflect.Descriptor instead.
func (*CreateSearchHypernymRequest) GetParent
func (x *CreateSearchHypernymRequest) GetParent() string
func (*CreateSearchHypernymRequest) GetSearchHypernym
func (x *CreateSearchHypernymRequest) GetSearchHypernym() *SearchHypernym
func (*CreateSearchHypernymRequest) GetSearchHypernymId
func (x *CreateSearchHypernymRequest) GetSearchHypernymId() string
func (*CreateSearchHypernymRequest) ProtoMessage
func (*CreateSearchHypernymRequest) ProtoMessage()
func (*CreateSearchHypernymRequest) ProtoReflect
func (x *CreateSearchHypernymRequest) ProtoReflect() protoreflect.Message
func (*CreateSearchHypernymRequest) Reset
func (x *CreateSearchHypernymRequest) Reset()
func (*CreateSearchHypernymRequest) String
func (x *CreateSearchHypernymRequest) String() string
CreateSeriesRequest
type CreateSeriesRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object.
SeriesId string `protobuf:"bytes,2,opt,name=series_id,json=seriesId,proto3" json:"series_id,omitempty"`
// Required. The resource being created.
Series *Series `protobuf:"bytes,3,opt,name=series,proto3" json:"series,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for creating a Series.
func (*CreateSeriesRequest) Descriptor
func (*CreateSeriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSeriesRequest.ProtoReflect.Descriptor instead.
func (*CreateSeriesRequest) GetParent
func (x *CreateSeriesRequest) GetParent() string
func (*CreateSeriesRequest) GetRequestId
func (x *CreateSeriesRequest) GetRequestId() string
func (*CreateSeriesRequest) GetSeries
func (x *CreateSeriesRequest) GetSeries() *Series
func (*CreateSeriesRequest) GetSeriesId
func (x *CreateSeriesRequest) GetSeriesId() string
func (*CreateSeriesRequest) ProtoMessage
func (*CreateSeriesRequest) ProtoMessage()
func (*CreateSeriesRequest) ProtoReflect
func (x *CreateSeriesRequest) ProtoReflect() protoreflect.Message
func (*CreateSeriesRequest) Reset
func (x *CreateSeriesRequest) Reset()
func (*CreateSeriesRequest) String
func (x *CreateSeriesRequest) String() string
CreateStreamRequest
type CreateStreamRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object.
StreamId string `protobuf:"bytes,2,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
// Required. The resource being created.
Stream *Stream `protobuf:"bytes,3,opt,name=stream,proto3" json:"stream,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for creating a Stream.
func (*CreateStreamRequest) Descriptor
func (*CreateStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateStreamRequest.ProtoReflect.Descriptor instead.
func (*CreateStreamRequest) GetParent
func (x *CreateStreamRequest) GetParent() string
func (*CreateStreamRequest) GetRequestId
func (x *CreateStreamRequest) GetRequestId() string
func (*CreateStreamRequest) GetStream
func (x *CreateStreamRequest) GetStream() *Stream
func (*CreateStreamRequest) GetStreamId
func (x *CreateStreamRequest) GetStreamId() string
func (*CreateStreamRequest) ProtoMessage
func (*CreateStreamRequest) ProtoMessage()
func (*CreateStreamRequest) ProtoReflect
func (x *CreateStreamRequest) ProtoReflect() protoreflect.Message
func (*CreateStreamRequest) Reset
func (x *CreateStreamRequest) Reset()
func (*CreateStreamRequest) String
func (x *CreateStreamRequest) String() string
Criteria
type Criteria struct {
Value isCriteria_Value `protobuf_oneof:"value"`
Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
FetchMatchedAnnotations bool "" /* 133 byte string literal not displayed */
}
Filter criteria applied to current search results.
func (*Criteria) Descriptor
Deprecated: Use Criteria.ProtoReflect.Descriptor instead.
func (*Criteria) GetBoolValue
func (*Criteria) GetDateTimeRangeArray
func (x *Criteria) GetDateTimeRangeArray() *DateTimeRangeArray
func (*Criteria) GetFetchMatchedAnnotations
func (*Criteria) GetField
func (*Criteria) GetFloatRangeArray
func (x *Criteria) GetFloatRangeArray() *FloatRangeArray
func (*Criteria) GetGeoLocationArray
func (x *Criteria) GetGeoLocationArray() *GeoLocationArray
func (*Criteria) GetIntRangeArray
func (x *Criteria) GetIntRangeArray() *IntRangeArray
func (*Criteria) GetTextArray
func (x *Criteria) GetTextArray() *StringArray
func (*Criteria) GetValue
func (m *Criteria) GetValue() isCriteria_Value
func (*Criteria) ProtoMessage
func (*Criteria) ProtoMessage()
func (*Criteria) ProtoReflect
func (x *Criteria) ProtoReflect() protoreflect.Message
func (*Criteria) Reset
func (x *Criteria) Reset()
func (*Criteria) String
Criteria_BoolValue
type Criteria_BoolValue struct {
// A Boolean value.
BoolValue *BoolValue `protobuf:"bytes,7,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
Criteria_DateTimeRangeArray
type Criteria_DateTimeRangeArray struct {
// The datetime ranges associated with the field.
DateTimeRangeArray *DateTimeRangeArray `protobuf:"bytes,5,opt,name=date_time_range_array,json=dateTimeRangeArray,proto3,oneof"`
}
Criteria_FloatRangeArray
type Criteria_FloatRangeArray struct {
// The float ranges associated with the field.
FloatRangeArray *FloatRangeArray `protobuf:"bytes,4,opt,name=float_range_array,json=floatRangeArray,proto3,oneof"`
}
Criteria_GeoLocationArray
type Criteria_GeoLocationArray struct {
// Geo Location array.
GeoLocationArray *GeoLocationArray `protobuf:"bytes,6,opt,name=geo_location_array,json=geoLocationArray,proto3,oneof"`
}
Criteria_IntRangeArray
type Criteria_IntRangeArray struct {
// The integer ranges associated with the field.
IntRangeArray *IntRangeArray `protobuf:"bytes,3,opt,name=int_range_array,json=intRangeArray,proto3,oneof"`
}
Criteria_TextArray
type Criteria_TextArray struct {
// The text values associated with the field.
TextArray *StringArray `protobuf:"bytes,2,opt,name=text_array,json=textArray,proto3,oneof"`
}
CustomProcessorSourceInfo
type CustomProcessorSourceInfo struct {
ArtifactPath isCustomProcessorSourceInfo_ArtifactPath `protobuf_oneof:"artifact_path"`
SourceType CustomProcessorSourceInfo_SourceType "" /* 159 byte string literal not displayed */
AdditionalInfo map[string]string "" /* 191 byte string literal not displayed */
ModelSchema *CustomProcessorSourceInfo_ModelSchema `protobuf:"bytes,5,opt,name=model_schema,json=modelSchema,proto3" json:"model_schema,omitempty"`
}
Describes the source info for a custom processor.
func (*CustomProcessorSourceInfo) Descriptor
func (*CustomProcessorSourceInfo) Descriptor() ([]byte, []int)
Deprecated: Use CustomProcessorSourceInfo.ProtoReflect.Descriptor instead.
func (*CustomProcessorSourceInfo) GetAdditionalInfo
func (x *CustomProcessorSourceInfo) GetAdditionalInfo() map[string]string
func (*CustomProcessorSourceInfo) GetArtifactPath
func (m *CustomProcessorSourceInfo) GetArtifactPath() isCustomProcessorSourceInfo_ArtifactPath
func (*CustomProcessorSourceInfo) GetModelSchema
func (x *CustomProcessorSourceInfo) GetModelSchema() *CustomProcessorSourceInfo_ModelSchema
func (*CustomProcessorSourceInfo) GetProductRecognizerArtifact
func (x *CustomProcessorSourceInfo) GetProductRecognizerArtifact() *CustomProcessorSourceInfo_ProductRecognizerArtifact
func (*CustomProcessorSourceInfo) GetSourceType
func (x *CustomProcessorSourceInfo) GetSourceType() CustomProcessorSourceInfo_SourceType
func (*CustomProcessorSourceInfo) GetVertexModel
func (x *CustomProcessorSourceInfo) GetVertexModel() string
func (*CustomProcessorSourceInfo) ProtoMessage
func (*CustomProcessorSourceInfo) ProtoMessage()
func (*CustomProcessorSourceInfo) ProtoReflect
func (x *CustomProcessorSourceInfo) ProtoReflect() protoreflect.Message
func (*CustomProcessorSourceInfo) Reset
func (x *CustomProcessorSourceInfo) Reset()
func (*CustomProcessorSourceInfo) String
func (x *CustomProcessorSourceInfo) String() string
CustomProcessorSourceInfo_ModelSchema
type CustomProcessorSourceInfo_ModelSchema struct {
// Cloud Storage location to a YAML file that defines the format of a single
// instance used in prediction and explanation requests.
InstancesSchema *GcsSource `protobuf:"bytes,1,opt,name=instances_schema,json=instancesSchema,proto3" json:"instances_schema,omitempty"`
// Cloud Storage location to a YAML file that defines the prediction and
// explanation parameters.
ParametersSchema *GcsSource `protobuf:"bytes,2,opt,name=parameters_schema,json=parametersSchema,proto3" json:"parameters_schema,omitempty"`
// Cloud Storage location to a YAML file that defines the format of a single
// prediction or explanation.
PredictionsSchema *GcsSource `protobuf:"bytes,3,opt,name=predictions_schema,json=predictionsSchema,proto3" json:"predictions_schema,omitempty"`
// contains filtered or unexported fields
}
The schema is defined as an OpenAPI 3.0.2 Schema Object.
func (*CustomProcessorSourceInfo_ModelSchema) Descriptor
func (*CustomProcessorSourceInfo_ModelSchema) Descriptor() ([]byte, []int)
Deprecated: Use CustomProcessorSourceInfo_ModelSchema.ProtoReflect.Descriptor instead.
func (*CustomProcessorSourceInfo_ModelSchema) GetInstancesSchema
func (x *CustomProcessorSourceInfo_ModelSchema) GetInstancesSchema() *GcsSource
func (*CustomProcessorSourceInfo_ModelSchema) GetParametersSchema
func (x *CustomProcessorSourceInfo_ModelSchema) GetParametersSchema() *GcsSource
func (*CustomProcessorSourceInfo_ModelSchema) GetPredictionsSchema
func (x *CustomProcessorSourceInfo_ModelSchema) GetPredictionsSchema() *GcsSource
func (*CustomProcessorSourceInfo_ModelSchema) ProtoMessage
func (*CustomProcessorSourceInfo_ModelSchema) ProtoMessage()
func (*CustomProcessorSourceInfo_ModelSchema) ProtoReflect
func (x *CustomProcessorSourceInfo_ModelSchema) ProtoReflect() protoreflect.Message
func (*CustomProcessorSourceInfo_ModelSchema) Reset
func (x *CustomProcessorSourceInfo_ModelSchema) Reset()
func (*CustomProcessorSourceInfo_ModelSchema) String
func (x *CustomProcessorSourceInfo_ModelSchema) String() string
CustomProcessorSourceInfo_ProductRecognizerArtifact
type CustomProcessorSourceInfo_ProductRecognizerArtifact struct {
RetailProductRecognitionIndex string "" /* 152 byte string literal not displayed */
VertexModel string `protobuf:"bytes,2,opt,name=vertex_model,json=vertexModel,proto3" json:"vertex_model,omitempty"`
}
Message describes product recognizer artifact.
func (*CustomProcessorSourceInfo_ProductRecognizerArtifact) Descriptor
func (*CustomProcessorSourceInfo_ProductRecognizerArtifact) Descriptor() ([]byte, []int)
Deprecated: Use CustomProcessorSourceInfo_ProductRecognizerArtifact.ProtoReflect.Descriptor instead.
func (*CustomProcessorSourceInfo_ProductRecognizerArtifact) GetRetailProductRecognitionIndex
func (x *CustomProcessorSourceInfo_ProductRecognizerArtifact) GetRetailProductRecognitionIndex() string
func (*CustomProcessorSourceInfo_ProductRecognizerArtifact) GetVertexModel
func (x *CustomProcessorSourceInfo_ProductRecognizerArtifact) GetVertexModel() string
func (*CustomProcessorSourceInfo_ProductRecognizerArtifact) ProtoMessage
func (*CustomProcessorSourceInfo_ProductRecognizerArtifact) ProtoMessage()
func (*CustomProcessorSourceInfo_ProductRecognizerArtifact) ProtoReflect
func (x *CustomProcessorSourceInfo_ProductRecognizerArtifact) ProtoReflect() protoreflect.Message
func (*CustomProcessorSourceInfo_ProductRecognizerArtifact) Reset
func (x *CustomProcessorSourceInfo_ProductRecognizerArtifact) Reset()
func (*CustomProcessorSourceInfo_ProductRecognizerArtifact) String
func (x *CustomProcessorSourceInfo_ProductRecognizerArtifact) String() string
CustomProcessorSourceInfo_ProductRecognizerArtifact_
type CustomProcessorSourceInfo_ProductRecognizerArtifact_ struct {
// Artifact for product recognizer.
ProductRecognizerArtifact *CustomProcessorSourceInfo_ProductRecognizerArtifact `protobuf:"bytes,3,opt,name=product_recognizer_artifact,json=productRecognizerArtifact,proto3,oneof"`
}
CustomProcessorSourceInfo_SourceType
type CustomProcessorSourceInfo_SourceType int32
Source type of the imported custom processor.
CustomProcessorSourceInfo_SOURCE_TYPE_UNSPECIFIED, CustomProcessorSourceInfo_VERTEX_AUTOML, CustomProcessorSourceInfo_VERTEX_CUSTOM, CustomProcessorSourceInfo_PRODUCT_RECOGNIZER
const (
// Source type unspecified.
CustomProcessorSourceInfo_SOURCE_TYPE_UNSPECIFIED CustomProcessorSourceInfo_SourceType = 0
// Custom processors coming from Vertex AutoML product.
CustomProcessorSourceInfo_VERTEX_AUTOML CustomProcessorSourceInfo_SourceType = 1
// Custom processors coming from general custom models from Vertex.
CustomProcessorSourceInfo_VERTEX_CUSTOM CustomProcessorSourceInfo_SourceType = 2
// Source for Product Recognizer.
CustomProcessorSourceInfo_PRODUCT_RECOGNIZER CustomProcessorSourceInfo_SourceType = 3
)
func (CustomProcessorSourceInfo_SourceType) Descriptor
func (CustomProcessorSourceInfo_SourceType) Descriptor() protoreflect.EnumDescriptor
func (CustomProcessorSourceInfo_SourceType) Enum
func (x CustomProcessorSourceInfo_SourceType) Enum() *CustomProcessorSourceInfo_SourceType
func (CustomProcessorSourceInfo_SourceType) EnumDescriptor
func (CustomProcessorSourceInfo_SourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CustomProcessorSourceInfo_SourceType.Descriptor instead.
func (CustomProcessorSourceInfo_SourceType) Number
func (x CustomProcessorSourceInfo_SourceType) Number() protoreflect.EnumNumber
func (CustomProcessorSourceInfo_SourceType) String
func (x CustomProcessorSourceInfo_SourceType) String() string
func (CustomProcessorSourceInfo_SourceType) Type
func (CustomProcessorSourceInfo_SourceType) Type() protoreflect.EnumType
CustomProcessorSourceInfo_VertexModel
type CustomProcessorSourceInfo_VertexModel struct {
// The resource name original model hosted in the vertex AI platform.
VertexModel string `protobuf:"bytes,2,opt,name=vertex_model,json=vertexModel,proto3,oneof"`
}
DataSchema
type DataSchema struct {
// Resource name of the data schema in the form of:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}`
// where {data_schema} part should be the same as the `key` field below.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The key of this data schema. This key should be matching the key
// of user specified annotation and unique inside corpus. This value can be up
// to 63 characters, and valid characters are /[a-z][0-9]-/. The first
// character must be a letter, the last could be a letter or a number.
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
// The schema details mapping to the key.
SchemaDetails *DataSchemaDetails `protobuf:"bytes,3,opt,name=schema_details,json=schemaDetails,proto3" json:"schema_details,omitempty"`
// contains filtered or unexported fields
}
Data schema indicates how the user specified annotation is interpreted in the system.
func (*DataSchema) Descriptor
func (*DataSchema) Descriptor() ([]byte, []int)
Deprecated: Use DataSchema.ProtoReflect.Descriptor instead.
func (*DataSchema) GetKey
func (x *DataSchema) GetKey() string
func (*DataSchema) GetName
func (x *DataSchema) GetName() string
func (*DataSchema) GetSchemaDetails
func (x *DataSchema) GetSchemaDetails() *DataSchemaDetails
func (*DataSchema) ProtoMessage
func (*DataSchema) ProtoMessage()
func (*DataSchema) ProtoReflect
func (x *DataSchema) ProtoReflect() protoreflect.Message
func (*DataSchema) Reset
func (x *DataSchema) Reset()
func (*DataSchema) String
func (x *DataSchema) String() string
DataSchemaDetails
type DataSchemaDetails struct {
Type *DataSchemaDetails_DataType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.visionai.v1.DataSchemaDetails_DataType,oneof" json:"type,omitempty"`
ProtoAnyConfig *DataSchemaDetails_ProtoAnyConfig `protobuf:"bytes,6,opt,name=proto_any_config,json=protoAnyConfig,proto3" json:"proto_any_config,omitempty"`
ListConfig *DataSchemaDetails_ListConfig `protobuf:"bytes,8,opt,name=list_config,json=listConfig,proto3" json:"list_config,omitempty"`
CustomizedStructConfig *DataSchemaDetails_CustomizedStructConfig "" /* 129 byte string literal not displayed */
Granularity *DataSchemaDetails_Granularity "" /* 142 byte string literal not displayed */
SearchStrategy *DataSchemaDetails_SearchStrategy `protobuf:"bytes,7,opt,name=search_strategy,json=searchStrategy,proto3" json:"search_strategy,omitempty"`
}
Data schema details indicates the data type and the data struct corresponding to the key of user specified annotation.
func (*DataSchemaDetails) Descriptor
func (*DataSchemaDetails) Descriptor() ([]byte, []int)
Deprecated: Use DataSchemaDetails.ProtoReflect.Descriptor instead.
func (*DataSchemaDetails) GetCustomizedStructConfig
func (x *DataSchemaDetails) GetCustomizedStructConfig() *DataSchemaDetails_CustomizedStructConfig
func (*DataSchemaDetails) GetGranularity
func (x *DataSchemaDetails) GetGranularity() DataSchemaDetails_Granularity
func (*DataSchemaDetails) GetListConfig
func (x *DataSchemaDetails) GetListConfig() *DataSchemaDetails_ListConfig
func (*DataSchemaDetails) GetProtoAnyConfig
func (x *DataSchemaDetails) GetProtoAnyConfig() *DataSchemaDetails_ProtoAnyConfig
func (*DataSchemaDetails) GetSearchStrategy
func (x *DataSchemaDetails) GetSearchStrategy() *DataSchemaDetails_SearchStrategy
func (*DataSchemaDetails) GetType
func (x *DataSchemaDetails) GetType() DataSchemaDetails_DataType
func (*DataSchemaDetails) ProtoMessage
func (*DataSchemaDetails) ProtoMessage()
func (*DataSchemaDetails) ProtoReflect
func (x *DataSchemaDetails) ProtoReflect() protoreflect.Message
func (*DataSchemaDetails) Reset
func (x *DataSchemaDetails) Reset()
func (*DataSchemaDetails) String
func (x *DataSchemaDetails) String() string
DataSchemaDetails_CustomizedStructConfig
type DataSchemaDetails_CustomizedStructConfig struct {
FieldSchemas map[string]*DataSchemaDetails "" /* 185 byte string literal not displayed */
}
The configuration for CUSTOMIZED_STRUCT
data type.
func (*DataSchemaDetails_CustomizedStructConfig) Descriptor
func (*DataSchemaDetails_CustomizedStructConfig) Descriptor() ([]byte, []int)
Deprecated: Use DataSchemaDetails_CustomizedStructConfig.ProtoReflect.Descriptor instead.
func (*DataSchemaDetails_CustomizedStructConfig) GetFieldSchemas
func (x *DataSchemaDetails_CustomizedStructConfig) GetFieldSchemas() map[string]*DataSchemaDetails
func (*DataSchemaDetails_CustomizedStructConfig) ProtoMessage
func (*DataSchemaDetails_CustomizedStructConfig) ProtoMessage()
func (*DataSchemaDetails_CustomizedStructConfig) ProtoReflect
func (x *DataSchemaDetails_CustomizedStructConfig) ProtoReflect() protoreflect.Message
func (*DataSchemaDetails_CustomizedStructConfig) Reset
func (x *DataSchemaDetails_CustomizedStructConfig) Reset()
func (*DataSchemaDetails_CustomizedStructConfig) String
func (x *DataSchemaDetails_CustomizedStructConfig) String() string
DataSchemaDetails_DataType
type DataSchemaDetails_DataType int32
Data type of the annotation.
DataSchemaDetails_DATA_TYPE_UNSPECIFIED, DataSchemaDetails_INTEGER, DataSchemaDetails_FLOAT, DataSchemaDetails_STRING, DataSchemaDetails_DATETIME, DataSchemaDetails_GEO_COORDINATE, DataSchemaDetails_PROTO_ANY, DataSchemaDetails_BOOLEAN, DataSchemaDetails_LIST, DataSchemaDetails_CUSTOMIZED_STRUCT
const (
// Unspecified type.
DataSchemaDetails_DATA_TYPE_UNSPECIFIED DataSchemaDetails_DataType = 0
// Integer type.
// Allowed search strategies:
// - DataSchema.SearchStrategy.NO_SEARCH,
// - DataSchema.SearchStrategy.EXACT_SEARCH.
// Supports query by IntRangeArray.
DataSchemaDetails_INTEGER DataSchemaDetails_DataType = 1
// Float type.
// Allowed search strategies:
// - DataSchema.SearchStrategy.NO_SEARCH,
// - DataSchema.SearchStrategy.EXACT_SEARCH.
// Supports query by FloatRangeArray.
DataSchemaDetails_FLOAT DataSchemaDetails_DataType = 2
// String type.
// Allowed search strategies:
// - DataSchema.SearchStrategy.NO_SEARCH,
// - DataSchema.SearchStrategy.EXACT_SEARCH,
// - DataSchema.SearchStrategy.SMART_SEARCH.
DataSchemaDetails_STRING DataSchemaDetails_DataType = 3
// Supported formats:
// %Y-%m-%dT%H:%M:%E*S%E*z (absl::RFC3339_full)
// %Y-%m-%dT%H:%M:%E*S
// %Y-%m-%dT%H:%M%E*z
// %Y-%m-%dT%H:%M
// %Y-%m-%dT%H%E*z
// %Y-%m-%dT%H
// %Y-%m-%d%E*z
// %Y-%m-%d
// %Y-%m
// %Y
// Allowed search strategies:
// - DataSchema.SearchStrategy.NO_SEARCH,
// - DataSchema.SearchStrategy.EXACT_SEARCH.
// Supports query by DateTimeRangeArray.
DataSchemaDetails_DATETIME DataSchemaDetails_DataType = 5
// Geo coordinate type.
// Allowed search strategies:
// - DataSchema.SearchStrategy.NO_SEARCH,
// - DataSchema.SearchStrategy.EXACT_SEARCH.
// Supports query by GeoLocationArray.
DataSchemaDetails_GEO_COORDINATE DataSchemaDetails_DataType = 7
// Type to pass any proto as available in annotations.proto. Only use
// internally.
// Available proto types and its corresponding search behavior:
// - ImageObjectDetectionPredictionResult, allows SMART_SEARCH on
// display_names and NO_SEARCH.
// - ClassificationPredictionResult, allows SMART_SEARCH on display_names
// and NO_SEARCH.
// - ImageSegmentationPredictionResult, allows NO_SEARCH.
// - VideoActionRecognitionPredictionResult, allows SMART_SEARCH on
// display_name and NO_SEARCH.
// - VideoObjectTrackingPredictionResult, allows SMART_SEARCH on
// display_name and NO_SEARCH.
// - VideoClassificationPredictionResult, allows SMART_SEARCH on
// display_name and NO_SEARCH.
// - OccupancyCountingPredictionResult, allows EXACT_SEARCH on
// stats.full_frame_count.count and NO_SEARCH.
// - ObjectDetectionPredictionResult, allows SMART_SEARCH on
// identified_boxes.entity.label_string and NO_SEARCH.
DataSchemaDetails_PROTO_ANY DataSchemaDetails_DataType = 8
// Boolean type.
// Allowed search strategies:
// - DataSchema.SearchStrategy.NO_SEARCH,
// - DataSchema.SearchStrategy.EXACT_SEARCH.
DataSchemaDetails_BOOLEAN DataSchemaDetails_DataType = 9
// List type.
// - Each element in the list must be of the exact same data schema;
// otherwise, they are invalid arguments.
// - List level cannot set search strategy. Leaf node level can do.
// - Elements cannot be another list (no list of list).
// - Elements can be CUSTOMIZED_STRUCT, and max number of layers is 10.
DataSchemaDetails_LIST DataSchemaDetails_DataType = 10
// Struct type.
// - SearchStrategy:
// - Data Schema that's CUSTOMIZED_STRUCT cannot set search strategy.
// - Leaf-node elements allow setting search strategy based on element's
// SearchStrategy restriction.
//
// - Nested layer restrictions:
// - Data Schema that's CUSTOMIZED_STRUCT allows its fields to be of
// CUSTOMIZED_STRUCT as well, but the overall layers restriction is 10.
DataSchemaDetails_CUSTOMIZED_STRUCT DataSchemaDetails_DataType = 6
)
func (DataSchemaDetails_DataType) Descriptor
func (DataSchemaDetails_DataType) Descriptor() protoreflect.EnumDescriptor
func (DataSchemaDetails_DataType) Enum
func (x DataSchemaDetails_DataType) Enum() *DataSchemaDetails_DataType
func (DataSchemaDetails_DataType) EnumDescriptor
func (DataSchemaDetails_DataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataSchemaDetails_DataType.Descriptor instead.
func (DataSchemaDetails_DataType) Number
func (x DataSchemaDetails_DataType) Number() protoreflect.EnumNumber
func (DataSchemaDetails_DataType) String
func (x DataSchemaDetails_DataType) String() string
func (DataSchemaDetails_DataType) Type
func (DataSchemaDetails_DataType) Type() protoreflect.EnumType
DataSchemaDetails_Granularity
type DataSchemaDetails_Granularity int32
The granularity of annotations under this DataSchema.
DataSchemaDetails_GRANULARITY_UNSPECIFIED, DataSchemaDetails_GRANULARITY_ASSET_LEVEL, DataSchemaDetails_GRANULARITY_PARTITION_LEVEL
const (
// Unspecified granularity.
DataSchemaDetails_GRANULARITY_UNSPECIFIED DataSchemaDetails_Granularity = 0
// Asset-level granularity (annotations must not contain partition info).
DataSchemaDetails_GRANULARITY_ASSET_LEVEL DataSchemaDetails_Granularity = 1
// Partition-level granularity (annotations must contain partition info).
DataSchemaDetails_GRANULARITY_PARTITION_LEVEL DataSchemaDetails_Granularity = 2
)
func (DataSchemaDetails_Granularity) Descriptor
func (DataSchemaDetails_Granularity) Descriptor() protoreflect.EnumDescriptor
func (DataSchemaDetails_Granularity) Enum
func (x DataSchemaDetails_Granularity) Enum() *DataSchemaDetails_Granularity
func (DataSchemaDetails_Granularity) EnumDescriptor
func (DataSchemaDetails_Granularity) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataSchemaDetails_Granularity.Descriptor instead.
func (DataSchemaDetails_Granularity) Number
func (x DataSchemaDetails_Granularity) Number() protoreflect.EnumNumber
func (DataSchemaDetails_Granularity) String
func (x DataSchemaDetails_Granularity) String() string
func (DataSchemaDetails_Granularity) Type
func (DataSchemaDetails_Granularity) Type() protoreflect.EnumType
DataSchemaDetails_ListConfig
type DataSchemaDetails_ListConfig struct {
// The value's data schema in the list.
ValueSchema *DataSchemaDetails `protobuf:"bytes,1,opt,name=value_schema,json=valueSchema,proto3" json:"value_schema,omitempty"`
// contains filtered or unexported fields
}
The configuration for LIST
data type.
func (*DataSchemaDetails_ListConfig) Descriptor
func (*DataSchemaDetails_ListConfig) Descriptor() ([]byte, []int)
Deprecated: Use DataSchemaDetails_ListConfig.ProtoReflect.Descriptor instead.
func (*DataSchemaDetails_ListConfig) GetValueSchema
func (x *DataSchemaDetails_ListConfig) GetValueSchema() *DataSchemaDetails
func (*DataSchemaDetails_ListConfig) ProtoMessage
func (*DataSchemaDetails_ListConfig) ProtoMessage()
func (*DataSchemaDetails_ListConfig) ProtoReflect
func (x *DataSchemaDetails_ListConfig) ProtoReflect() protoreflect.Message
func (*DataSchemaDetails_ListConfig) Reset
func (x *DataSchemaDetails_ListConfig) Reset()
func (*DataSchemaDetails_ListConfig) String
func (x *DataSchemaDetails_ListConfig) String() string
DataSchemaDetails_ProtoAnyConfig
type DataSchemaDetails_ProtoAnyConfig struct {
// The type URI of the proto message.
TypeUri string `protobuf:"bytes,1,opt,name=type_uri,json=typeUri,proto3" json:"type_uri,omitempty"`
// contains filtered or unexported fields
}
The configuration for PROTO_ANY
data type.
func (*DataSchemaDetails_ProtoAnyConfig) Descriptor
func (*DataSchemaDetails_ProtoAnyConfig) Descriptor() ([]byte, []int)
Deprecated: Use DataSchemaDetails_ProtoAnyConfig.ProtoReflect.Descriptor instead.
func (*DataSchemaDetails_ProtoAnyConfig) GetTypeUri
func (x *DataSchemaDetails_ProtoAnyConfig) GetTypeUri() string
func (*DataSchemaDetails_ProtoAnyConfig) ProtoMessage
func (*DataSchemaDetails_ProtoAnyConfig) ProtoMessage()
func (*DataSchemaDetails_ProtoAnyConfig) ProtoReflect
func (x *DataSchemaDetails_ProtoAnyConfig) ProtoReflect() protoreflect.Message
func (*DataSchemaDetails_ProtoAnyConfig) Reset
func (x *DataSchemaDetails_ProtoAnyConfig) Reset()
func (*DataSchemaDetails_ProtoAnyConfig) String
func (x *DataSchemaDetails_ProtoAnyConfig) String() string
DataSchemaDetails_SearchStrategy
type DataSchemaDetails_SearchStrategy struct {
SearchStrategyType *DataSchemaDetails_SearchStrategy_SearchStrategyType "" /* 206 byte string literal not displayed */
ConfidenceScoreIndexConfig *DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig "" /* 143 byte string literal not displayed */
}
The search strategy for annotations value of the key
.
func (*DataSchemaDetails_SearchStrategy) Descriptor
func (*DataSchemaDetails_SearchStrategy) Descriptor() ([]byte, []int)
Deprecated: Use DataSchemaDetails_SearchStrategy.ProtoReflect.Descriptor instead.
func (*DataSchemaDetails_SearchStrategy) GetConfidenceScoreIndexConfig
func (x *DataSchemaDetails_SearchStrategy) GetConfidenceScoreIndexConfig() *DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig
func (*DataSchemaDetails_SearchStrategy) GetSearchStrategyType
func (x *DataSchemaDetails_SearchStrategy) GetSearchStrategyType() DataSchemaDetails_SearchStrategy_SearchStrategyType
func (*DataSchemaDetails_SearchStrategy) ProtoMessage
func (*DataSchemaDetails_SearchStrategy) ProtoMessage()
func (*DataSchemaDetails_SearchStrategy) ProtoReflect
func (x *DataSchemaDetails_SearchStrategy) ProtoReflect() protoreflect.Message
func (*DataSchemaDetails_SearchStrategy) Reset
func (x *DataSchemaDetails_SearchStrategy) Reset()
func (*DataSchemaDetails_SearchStrategy) String
func (x *DataSchemaDetails_SearchStrategy) String() string
DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig
type DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig struct {
// Required. The path to the confidence score field. It is a string that
// concatenates all the data schema keys along the path. See the example
// above. If the data schema contains LIST, use '_ENTRIES' to concatenate.
// Example data schema contains a list:
// "key": "list-name-score",
//
// "schemaDetails": {
// "type": "LIST",
// "granularity": "GRANULARITY_PARTITION_LEVEL",
// "listConfig": {
// "valueSchema": {
// "type": "CUSTOMIZED_STRUCT",
// "granularity": "GRANULARITY_PARTITION_LEVEL",
// "customizedStructConfig": {
// "fieldSchemas": {
// "name": {
// "type": "STRING",
// "granularity": "GRANULARITY_PARTITION_LEVEL",
// "searchStrategy": {
// "searchStrategyType": "SMART_SEARCH"
// "confidence_score_index_config": {
// "field_path": "list-name-score._ENTRIES.score",
// "threshold": "0.9",
// }
// }
// },
// "score": {
// "type": "FLOAT",
// "granularity": "GRANULARITY_PARTITION_LEVEL",
// }
// }
// }
// }
// }
// }
FieldPath string `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"`
// Required. The threshold.
Threshold float32 `protobuf:"fixed32,2,opt,name=threshold,proto3" json:"threshold,omitempty"`
// contains filtered or unexported fields
}
Filter on the confidence score. Only adds to index if the confidence score is higher than the threshold. Example data schema: key: "name-confidence-pair" type: CUSTOMIZED_STRUCT granularity: GRANULARITY_PARTITION_LEVEL
customized_struct_config {
field_schemas {
key: "name"
type: STRING
granularity: GRANULARITY_PARTITION_LEVEL
search_strategy {
search_strategy_type: SMART_SEARCH
confidence_score_index_config {
field_path: "name-confidence-pair.score"
threshold: 0.6
}
}
}
field_schemas {
key: "score"
type: FLOAT
granularity: GRANULARITY_PARTITION_LEVEL
}
}
This means only "name" with score > 0.6 will be indexed.
func (*DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) Descriptor
func (*DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) Descriptor() ([]byte, []int)
Deprecated: Use DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig.ProtoReflect.Descriptor instead.
func (*DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) GetFieldPath
func (x *DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) GetFieldPath() string
func (*DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) GetThreshold
func (x *DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) GetThreshold() float32
func (*DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) ProtoMessage
func (*DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) ProtoMessage()
func (*DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) ProtoReflect
func (x *DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) ProtoReflect() protoreflect.Message
func (*DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) Reset
func (x *DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) Reset()
func (*DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) String
func (x *DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) String() string
DataSchemaDetails_SearchStrategy_SearchStrategyType
type DataSchemaDetails_SearchStrategy_SearchStrategyType int32
The types of search strategies to be applied on the annotation key.
DataSchemaDetails_SearchStrategy_NO_SEARCH, DataSchemaDetails_SearchStrategy_EXACT_SEARCH, DataSchemaDetails_SearchStrategy_SMART_SEARCH
const (
// Annotatation values of the `key` above will not be searchable.
DataSchemaDetails_SearchStrategy_NO_SEARCH DataSchemaDetails_SearchStrategy_SearchStrategyType = 0
// When searching with `key`, the value must be exactly as the annotation
// value that has been ingested.
DataSchemaDetails_SearchStrategy_EXACT_SEARCH DataSchemaDetails_SearchStrategy_SearchStrategyType = 1
// When searching with `key`, Warehouse will perform broad search based on
// semantic of the annotation value.
DataSchemaDetails_SearchStrategy_SMART_SEARCH DataSchemaDetails_SearchStrategy_SearchStrategyType = 2
)
func (DataSchemaDetails_SearchStrategy_SearchStrategyType) Descriptor
func (DataSchemaDetails_SearchStrategy_SearchStrategyType) Descriptor() protoreflect.EnumDescriptor
func (DataSchemaDetails_SearchStrategy_SearchStrategyType) Enum
func (x DataSchemaDetails_SearchStrategy_SearchStrategyType) Enum() *DataSchemaDetails_SearchStrategy_SearchStrategyType
func (DataSchemaDetails_SearchStrategy_SearchStrategyType) EnumDescriptor
func (DataSchemaDetails_SearchStrategy_SearchStrategyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataSchemaDetails_SearchStrategy_SearchStrategyType.Descriptor instead.
func (DataSchemaDetails_SearchStrategy_SearchStrategyType) Number
func (x DataSchemaDetails_SearchStrategy_SearchStrategyType) Number() protoreflect.EnumNumber
func (DataSchemaDetails_SearchStrategy_SearchStrategyType) String
func (x DataSchemaDetails_SearchStrategy_SearchStrategyType) String() string
func (DataSchemaDetails_SearchStrategy_SearchStrategyType) Type
DataType
type DataType int32
All supported data types.
DataType_DATA_TYPE_UNSPECIFIED, DataType_VIDEO, DataType_IMAGE, DataType_PROTO, DataType_PLACEHOLDER
const (
// The default value of DataType.
DataType_DATA_TYPE_UNSPECIFIED DataType = 0
// Video data type like H264.
DataType_VIDEO DataType = 1
// Image data type.
DataType_IMAGE DataType = 3
// Protobuf data type, usually used for general data blob.
DataType_PROTO DataType = 2
// A placeholder data type, applicable for the universal input processor which
// supports any data type. This will be instantiated and replaced by a
// concrete underlying `DataType` during instance deployment.
DataType_PLACEHOLDER DataType = 4
)
func (DataType) Descriptor
func (DataType) Descriptor() protoreflect.EnumDescriptor
func (DataType) Enum
func (DataType) EnumDescriptor
Deprecated: Use DataType.Descriptor instead.
func (DataType) Number
func (x DataType) Number() protoreflect.EnumNumber
func (DataType) String
func (DataType) Type
func (DataType) Type() protoreflect.EnumType
DateTimeRange
type DateTimeRange struct {
// Start date time.
Start *datetime.DateTime `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
// End data time.
End *datetime.DateTime `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
// contains filtered or unexported fields
}
Datetime range type.
func (*DateTimeRange) Descriptor
func (*DateTimeRange) Descriptor() ([]byte, []int)
Deprecated: Use DateTimeRange.ProtoReflect.Descriptor instead.
func (*DateTimeRange) GetEnd
func (x *DateTimeRange) GetEnd() *datetime.DateTime
func (*DateTimeRange) GetStart
func (x *DateTimeRange) GetStart() *datetime.DateTime
func (*DateTimeRange) ProtoMessage
func (*DateTimeRange) ProtoMessage()
func (*DateTimeRange) ProtoReflect
func (x *DateTimeRange) ProtoReflect() protoreflect.Message
func (*DateTimeRange) Reset
func (x *DateTimeRange) Reset()
func (*DateTimeRange) String
func (x *DateTimeRange) String() string
DateTimeRangeArray
type DateTimeRangeArray struct {
// Date time ranges.
DateTimeRanges []*DateTimeRange `protobuf:"bytes,1,rep,name=date_time_ranges,json=dateTimeRanges,proto3" json:"date_time_ranges,omitempty"`
// contains filtered or unexported fields
}
A list of datetime range values.
func (*DateTimeRangeArray) Descriptor
func (*DateTimeRangeArray) Descriptor() ([]byte, []int)
Deprecated: Use DateTimeRangeArray.ProtoReflect.Descriptor instead.
func (*DateTimeRangeArray) GetDateTimeRanges
func (x *DateTimeRangeArray) GetDateTimeRanges() []*DateTimeRange
func (*DateTimeRangeArray) ProtoMessage
func (*DateTimeRangeArray) ProtoMessage()
func (*DateTimeRangeArray) ProtoReflect
func (x *DateTimeRangeArray) ProtoReflect() protoreflect.Message
func (*DateTimeRangeArray) Reset
func (x *DateTimeRangeArray) Reset()
func (*DateTimeRangeArray) String
func (x *DateTimeRangeArray) String() string
DedicatedResources
type DedicatedResources struct {
MachineSpec *MachineSpec `protobuf:"bytes,1,opt,name=machine_spec,json=machineSpec,proto3" json:"machine_spec,omitempty"`
MinReplicaCount int32 `protobuf:"varint,2,opt,name=min_replica_count,json=minReplicaCount,proto3" json:"min_replica_count,omitempty"`
MaxReplicaCount int32 `protobuf:"varint,3,opt,name=max_replica_count,json=maxReplicaCount,proto3" json:"max_replica_count,omitempty"`
AutoscalingMetricSpecs []*AutoscalingMetricSpec "" /* 129 byte string literal not displayed */
}
A description of resources that are dedicated to a DeployedModel, and that need a higher degree of manual configuration.
func (*DedicatedResources) Descriptor
func (*DedicatedResources) Descriptor() ([]byte, []int)
Deprecated: Use DedicatedResources.ProtoReflect.Descriptor instead.
func (*DedicatedResources) GetAutoscalingMetricSpecs
func (x *DedicatedResources) GetAutoscalingMetricSpecs() []*AutoscalingMetricSpec
func (*DedicatedResources) GetMachineSpec
func (x *DedicatedResources) GetMachineSpec() *MachineSpec
func (*DedicatedResources) GetMaxReplicaCount
func (x *DedicatedResources) GetMaxReplicaCount() int32
func (*DedicatedResources) GetMinReplicaCount
func (x *DedicatedResources) GetMinReplicaCount() int32
func (*DedicatedResources) ProtoMessage
func (*DedicatedResources) ProtoMessage()
func (*DedicatedResources) ProtoReflect
func (x *DedicatedResources) ProtoReflect() protoreflect.Message
func (*DedicatedResources) Reset
func (x *DedicatedResources) Reset()
func (*DedicatedResources) String
func (x *DedicatedResources) String() string
DeleteAnalysisRequest
type DeleteAnalysisRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for deleting an Analysis.
func (*DeleteAnalysisRequest) Descriptor
func (*DeleteAnalysisRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAnalysisRequest.ProtoReflect.Descriptor instead.
func (*DeleteAnalysisRequest) GetName
func (x *DeleteAnalysisRequest) GetName() string
func (*DeleteAnalysisRequest) GetRequestId
func (x *DeleteAnalysisRequest) GetRequestId() string
func (*DeleteAnalysisRequest) ProtoMessage
func (*DeleteAnalysisRequest) ProtoMessage()
func (*DeleteAnalysisRequest) ProtoReflect
func (x *DeleteAnalysisRequest) ProtoReflect() protoreflect.Message
func (*DeleteAnalysisRequest) Reset
func (x *DeleteAnalysisRequest) Reset()
func (*DeleteAnalysisRequest) String
func (x *DeleteAnalysisRequest) String() string
DeleteAnnotationRequest
type DeleteAnnotationRequest struct {
// Required. The name of the annotation to delete.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for DeleteAnnotation API.
func (*DeleteAnnotationRequest) Descriptor
func (*DeleteAnnotationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAnnotationRequest.ProtoReflect.Descriptor instead.
func (*DeleteAnnotationRequest) GetName
func (x *DeleteAnnotationRequest) GetName() string
func (*DeleteAnnotationRequest) ProtoMessage
func (*DeleteAnnotationRequest) ProtoMessage()
func (*DeleteAnnotationRequest) ProtoReflect
func (x *DeleteAnnotationRequest) ProtoReflect() protoreflect.Message
func (*DeleteAnnotationRequest) Reset
func (x *DeleteAnnotationRequest) Reset()
func (*DeleteAnnotationRequest) String
func (x *DeleteAnnotationRequest) String() string
DeleteApplicationInstancesRequest
type DeleteApplicationInstancesRequest struct {
// Required. the name of the application to retrieve.
// Format:
// "projects/{project}/locations/{location}/applications/{application}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Id of the requesting object.
InstanceIds []string `protobuf:"bytes,2,rep,name=instance_ids,json=instanceIds,proto3" json:"instance_ids,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for removing stream input from an Application.
func (*DeleteApplicationInstancesRequest) Descriptor
func (*DeleteApplicationInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteApplicationInstancesRequest.ProtoReflect.Descriptor instead.
func (*DeleteApplicationInstancesRequest) GetInstanceIds
func (x *DeleteApplicationInstancesRequest) GetInstanceIds() []string
func (*DeleteApplicationInstancesRequest) GetName
func (x *DeleteApplicationInstancesRequest) GetName() string
func (*DeleteApplicationInstancesRequest) GetRequestId
func (x *DeleteApplicationInstancesRequest) GetRequestId() string
func (*DeleteApplicationInstancesRequest) ProtoMessage
func (*DeleteApplicationInstancesRequest) ProtoMessage()
func (*DeleteApplicationInstancesRequest) ProtoReflect
func (x *DeleteApplicationInstancesRequest) ProtoReflect() protoreflect.Message
func (*DeleteApplicationInstancesRequest) Reset
func (x *DeleteApplicationInstancesRequest) Reset()
func (*DeleteApplicationInstancesRequest) String
func (x *DeleteApplicationInstancesRequest) String() string
DeleteApplicationInstancesResponse
type DeleteApplicationInstancesResponse struct {
// contains filtered or unexported fields
}
Message for DeleteApplicationInstance Response.
func (*DeleteApplicationInstancesResponse) Descriptor
func (*DeleteApplicationInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteApplicationInstancesResponse.ProtoReflect.Descriptor instead.
func (*DeleteApplicationInstancesResponse) ProtoMessage
func (*DeleteApplicationInstancesResponse) ProtoMessage()
func (*DeleteApplicationInstancesResponse) ProtoReflect
func (x *DeleteApplicationInstancesResponse) ProtoReflect() protoreflect.Message
func (*DeleteApplicationInstancesResponse) Reset
func (x *DeleteApplicationInstancesResponse) Reset()
func (*DeleteApplicationInstancesResponse) String
func (x *DeleteApplicationInstancesResponse) String() string
DeleteApplicationRequest
type DeleteApplicationRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, any instances and drafts from this application
// will also be deleted. (Otherwise, the request will only work if the
// application has no instances and drafts.)
Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
Message for deleting an Application.
func (*DeleteApplicationRequest) Descriptor
func (*DeleteApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteApplicationRequest.ProtoReflect.Descriptor instead.
func (*DeleteApplicationRequest) GetForce
func (x *DeleteApplicationRequest) GetForce() bool
func (*DeleteApplicationRequest) GetName
func (x *DeleteApplicationRequest) GetName() string
func (*DeleteApplicationRequest) GetRequestId
func (x *DeleteApplicationRequest) GetRequestId() string
func (*DeleteApplicationRequest) ProtoMessage
func (*DeleteApplicationRequest) ProtoMessage()
func (*DeleteApplicationRequest) ProtoReflect
func (x *DeleteApplicationRequest) ProtoReflect() protoreflect.Message
func (*DeleteApplicationRequest) Reset
func (x *DeleteApplicationRequest) Reset()
func (*DeleteApplicationRequest) String
func (x *DeleteApplicationRequest) String() string
DeleteAssetMetadata
type DeleteAssetMetadata struct {
// contains filtered or unexported fields
}
The metadata for DeleteAsset API that embeds in [metadata][google.longrunning.Operation.metadata] field.
func (*DeleteAssetMetadata) Descriptor
func (*DeleteAssetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAssetMetadata.ProtoReflect.Descriptor instead.
func (*DeleteAssetMetadata) ProtoMessage
func (*DeleteAssetMetadata) ProtoMessage()
func (*DeleteAssetMetadata) ProtoReflect
func (x *DeleteAssetMetadata) ProtoReflect() protoreflect.Message
func (*DeleteAssetMetadata) Reset
func (x *DeleteAssetMetadata) Reset()
func (*DeleteAssetMetadata) String
func (x *DeleteAssetMetadata) String() string
DeleteAssetRequest
type DeleteAssetRequest struct {
// Required. The name of the asset to delete.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for DeleteAsset.
func (*DeleteAssetRequest) Descriptor
func (*DeleteAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAssetRequest.ProtoReflect.Descriptor instead.
func (*DeleteAssetRequest) GetName
func (x *DeleteAssetRequest) GetName() string
func (*DeleteAssetRequest) ProtoMessage
func (*DeleteAssetRequest) ProtoMessage()
func (*DeleteAssetRequest) ProtoReflect
func (x *DeleteAssetRequest) ProtoReflect() protoreflect.Message
func (*DeleteAssetRequest) Reset
func (x *DeleteAssetRequest) Reset()
func (*DeleteAssetRequest) String
func (x *DeleteAssetRequest) String() string
DeleteClusterRequest
type DeleteClusterRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a Cluster.
func (*DeleteClusterRequest) Descriptor
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteClusterRequest) GetName
func (x *DeleteClusterRequest) GetName() string
func (*DeleteClusterRequest) GetRequestId
func (x *DeleteClusterRequest) GetRequestId() string
func (*DeleteClusterRequest) ProtoMessage
func (*DeleteClusterRequest) ProtoMessage()
func (*DeleteClusterRequest) ProtoReflect
func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
func (*DeleteClusterRequest) Reset
func (x *DeleteClusterRequest) Reset()
func (*DeleteClusterRequest) String
func (x *DeleteClusterRequest) String() string
DeleteCollectionMetadata
type DeleteCollectionMetadata struct {
// Common metadata of the long-running operation.
OperationMetadata *OperationMetadata `protobuf:"bytes,1,opt,name=operation_metadata,json=operationMetadata,proto3" json:"operation_metadata,omitempty"`
// contains filtered or unexported fields
}
Metadata message for DeleteCollectionRequest
func (*DeleteCollectionMetadata) Descriptor
func (*DeleteCollectionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCollectionMetadata.ProtoReflect.Descriptor instead.
func (*DeleteCollectionMetadata) GetOperationMetadata
func (x *DeleteCollectionMetadata) GetOperationMetadata() *OperationMetadata
func (*DeleteCollectionMetadata) ProtoMessage
func (*DeleteCollectionMetadata) ProtoMessage()
func (*DeleteCollectionMetadata) ProtoReflect
func (x *DeleteCollectionMetadata) ProtoReflect() protoreflect.Message
func (*DeleteCollectionMetadata) Reset
func (x *DeleteCollectionMetadata) Reset()
func (*DeleteCollectionMetadata) String
func (x *DeleteCollectionMetadata) String() string
DeleteCollectionRequest
type DeleteCollectionRequest struct {
// Required. The name of the collection to delete. Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for DeleteCollectionRequest.
func (*DeleteCollectionRequest) Descriptor
func (*DeleteCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCollectionRequest.ProtoReflect.Descriptor instead.
func (*DeleteCollectionRequest) GetName
func (x *DeleteCollectionRequest) GetName() string
func (*DeleteCollectionRequest) ProtoMessage
func (*DeleteCollectionRequest) ProtoMessage()
func (*DeleteCollectionRequest) ProtoReflect
func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message
func (*DeleteCollectionRequest) Reset
func (x *DeleteCollectionRequest) Reset()
func (*DeleteCollectionRequest) String
func (x *DeleteCollectionRequest) String() string
DeleteCorpusRequest
type DeleteCorpusRequest struct {
// Required. The resource name of the corpus to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for DeleteCorpus.
func (*DeleteCorpusRequest) Descriptor
func (*DeleteCorpusRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCorpusRequest.ProtoReflect.Descriptor instead.
func (*DeleteCorpusRequest) GetName
func (x *DeleteCorpusRequest) GetName() string
func (*DeleteCorpusRequest) ProtoMessage
func (*DeleteCorpusRequest) ProtoMessage()
func (*DeleteCorpusRequest) ProtoReflect
func (x *DeleteCorpusRequest) ProtoReflect() protoreflect.Message
func (*DeleteCorpusRequest) Reset
func (x *DeleteCorpusRequest) Reset()
func (*DeleteCorpusRequest) String
func (x *DeleteCorpusRequest) String() string
DeleteDataSchemaRequest
type DeleteDataSchemaRequest struct {
// Required. The name of the data schema to delete.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/dataSchemas/{data_schema_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for DeleteDataSchema.
func (*DeleteDataSchemaRequest) Descriptor
func (*DeleteDataSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDataSchemaRequest.ProtoReflect.Descriptor instead.
func (*DeleteDataSchemaRequest) GetName
func (x *DeleteDataSchemaRequest) GetName() string
func (*DeleteDataSchemaRequest) ProtoMessage
func (*DeleteDataSchemaRequest) ProtoMessage()
func (*DeleteDataSchemaRequest) ProtoReflect
func (x *DeleteDataSchemaRequest) ProtoReflect() protoreflect.Message
func (*DeleteDataSchemaRequest) Reset
func (x *DeleteDataSchemaRequest) Reset()
func (*DeleteDataSchemaRequest) String
func (x *DeleteDataSchemaRequest) String() string
DeleteDraftRequest
type DeleteDraftRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a Draft.
func (*DeleteDraftRequest) Descriptor
func (*DeleteDraftRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDraftRequest.ProtoReflect.Descriptor instead.
func (*DeleteDraftRequest) GetName
func (x *DeleteDraftRequest) GetName() string
func (*DeleteDraftRequest) GetRequestId
func (x *DeleteDraftRequest) GetRequestId() string
func (*DeleteDraftRequest) ProtoMessage
func (*DeleteDraftRequest) ProtoMessage()
func (*DeleteDraftRequest) ProtoReflect
func (x *DeleteDraftRequest) ProtoReflect() protoreflect.Message
func (*DeleteDraftRequest) Reset
func (x *DeleteDraftRequest) Reset()
func (*DeleteDraftRequest) String
func (x *DeleteDraftRequest) String() string
DeleteEventRequest
type DeleteEventRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a Event.
func (*DeleteEventRequest) Descriptor
func (*DeleteEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEventRequest.ProtoReflect.Descriptor instead.
func (*DeleteEventRequest) GetName
func (x *DeleteEventRequest) GetName() string
func (*DeleteEventRequest) GetRequestId
func (x *DeleteEventRequest) GetRequestId() string
func (*DeleteEventRequest) ProtoMessage
func (*DeleteEventRequest) ProtoMessage()
func (*DeleteEventRequest) ProtoReflect
func (x *DeleteEventRequest) ProtoReflect() protoreflect.Message
func (*DeleteEventRequest) Reset
func (x *DeleteEventRequest) Reset()
func (*DeleteEventRequest) String
func (x *DeleteEventRequest) String() string
DeleteIndexEndpointMetadata
type DeleteIndexEndpointMetadata struct {
// Common metadata of the long-running operation.
OperationMetadata *OperationMetadata `protobuf:"bytes,1,opt,name=operation_metadata,json=operationMetadata,proto3" json:"operation_metadata,omitempty"`
// contains filtered or unexported fields
}
Metadata message for DeleteIndexEndpoint.
func (*DeleteIndexEndpointMetadata) Descriptor
func (*DeleteIndexEndpointMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIndexEndpointMetadata.ProtoReflect.Descriptor instead.
func (*DeleteIndexEndpointMetadata) GetOperationMetadata
func (x *DeleteIndexEndpointMetadata) GetOperationMetadata() *OperationMetadata
func (*DeleteIndexEndpointMetadata) ProtoMessage
func (*DeleteIndexEndpointMetadata) ProtoMessage()
func (*DeleteIndexEndpointMetadata) ProtoReflect
func (x *DeleteIndexEndpointMetadata) ProtoReflect() protoreflect.Message
func (*DeleteIndexEndpointMetadata) Reset
func (x *DeleteIndexEndpointMetadata) Reset()
func (*DeleteIndexEndpointMetadata) String
func (x *DeleteIndexEndpointMetadata) String() string
DeleteIndexEndpointRequest
type DeleteIndexEndpointRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for DeleteIndexEndpoint.
func (*DeleteIndexEndpointRequest) Descriptor
func (*DeleteIndexEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIndexEndpointRequest.ProtoReflect.Descriptor instead.
func (*DeleteIndexEndpointRequest) GetName
func (x *DeleteIndexEndpointRequest) GetName() string
func (*DeleteIndexEndpointRequest) ProtoMessage
func (*DeleteIndexEndpointRequest) ProtoMessage()
func (*DeleteIndexEndpointRequest) ProtoReflect
func (x *DeleteIndexEndpointRequest) ProtoReflect() protoreflect.Message
func (*DeleteIndexEndpointRequest) Reset
func (x *DeleteIndexEndpointRequest) Reset()
func (*DeleteIndexEndpointRequest) String
func (x *DeleteIndexEndpointRequest) String() string
DeleteIndexMetadata
type DeleteIndexMetadata struct {
// contains filtered or unexported fields
}
Metadata message for DeleteIndexRequest
func (*DeleteIndexMetadata) Descriptor
func (*DeleteIndexMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIndexMetadata.ProtoReflect.Descriptor instead.
func (*DeleteIndexMetadata) ProtoMessage
func (*DeleteIndexMetadata) ProtoMessage()
func (*DeleteIndexMetadata) ProtoReflect
func (x *DeleteIndexMetadata) ProtoReflect() protoreflect.Message
func (*DeleteIndexMetadata) Reset
func (x *DeleteIndexMetadata) Reset()
func (*DeleteIndexMetadata) String
func (x *DeleteIndexMetadata) String() string
DeleteIndexRequest
type DeleteIndexRequest struct {
// Required. The name of the index to delete.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for DeleteIndex.
func (*DeleteIndexRequest) Descriptor
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
DeleteOperatorRequest
type DeleteOperatorRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a Operator
func (*DeleteOperatorRequest) Descriptor
func (*DeleteOperatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOperatorRequest.ProtoReflect.Descriptor instead.
func (*DeleteOperatorRequest) GetName
func (x *DeleteOperatorRequest) GetName() string
func (*DeleteOperatorRequest) GetRequestId
func (x *DeleteOperatorRequest) GetRequestId() string
func (*DeleteOperatorRequest) ProtoMessage
func (*DeleteOperatorRequest) ProtoMessage()
func (*DeleteOperatorRequest) ProtoReflect
func (x *DeleteOperatorRequest) ProtoReflect() protoreflect.Message
func (*DeleteOperatorRequest) Reset
func (x *DeleteOperatorRequest) Reset()
func (*DeleteOperatorRequest) String
func (x *DeleteOperatorRequest) String() string
DeleteProcessRequest
type DeleteProcessRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a Process.
func (*DeleteProcessRequest) Descriptor
func (*DeleteProcessRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProcessRequest.ProtoReflect.Descriptor instead.
func (*DeleteProcessRequest) GetName
func (x *DeleteProcessRequest) GetName() string
func (*DeleteProcessRequest) GetRequestId
func (x *DeleteProcessRequest) GetRequestId() string
func (*DeleteProcessRequest) ProtoMessage
func (*DeleteProcessRequest) ProtoMessage()
func (*DeleteProcessRequest) ProtoReflect
func (x *DeleteProcessRequest) ProtoReflect() protoreflect.Message
func (*DeleteProcessRequest) Reset
func (x *DeleteProcessRequest) Reset()
func (*DeleteProcessRequest) String
func (x *DeleteProcessRequest) String() string
DeleteProcessorRequest
type DeleteProcessorRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a Processor.
func (*DeleteProcessorRequest) Descriptor
func (*DeleteProcessorRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProcessorRequest.ProtoReflect.Descriptor instead.
func (*DeleteProcessorRequest) GetName
func (x *DeleteProcessorRequest) GetName() string
func (*DeleteProcessorRequest) GetRequestId
func (x *DeleteProcessorRequest) GetRequestId() string
func (*DeleteProcessorRequest) ProtoMessage
func (*DeleteProcessorRequest) ProtoMessage()
func (*DeleteProcessorRequest) ProtoReflect
func (x *DeleteProcessorRequest) ProtoReflect() protoreflect.Message
func (*DeleteProcessorRequest) Reset
func (x *DeleteProcessorRequest) Reset()
func (*DeleteProcessorRequest) String
func (x *DeleteProcessorRequest) String() string
DeleteSearchConfigRequest
type DeleteSearchConfigRequest struct {
// Required. The name of the search configuration to delete.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for DeleteSearchConfig.
func (*DeleteSearchConfigRequest) Descriptor
func (*DeleteSearchConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSearchConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteSearchConfigRequest) GetName
func (x *DeleteSearchConfigRequest) GetName() string
func (*DeleteSearchConfigRequest) ProtoMessage
func (*DeleteSearchConfigRequest) ProtoMessage()
func (*DeleteSearchConfigRequest) ProtoReflect
func (x *DeleteSearchConfigRequest) ProtoReflect() protoreflect.Message
func (*DeleteSearchConfigRequest) Reset
func (x *DeleteSearchConfigRequest) Reset()
func (*DeleteSearchConfigRequest) String
func (x *DeleteSearchConfigRequest) String() string
DeleteSearchHypernymRequest
type DeleteSearchHypernymRequest struct {
// Required. The name of the SearchHypernym to delete.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for deleting SearchHypernym.
func (*DeleteSearchHypernymRequest) Descriptor
func (*DeleteSearchHypernymRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSearchHypernymRequest.ProtoReflect.Descriptor instead.
func (*DeleteSearchHypernymRequest) GetName
func (x *DeleteSearchHypernymRequest) GetName() string
func (*DeleteSearchHypernymRequest) ProtoMessage
func (*DeleteSearchHypernymRequest) ProtoMessage()
func (*DeleteSearchHypernymRequest) ProtoReflect
func (x *DeleteSearchHypernymRequest) ProtoReflect() protoreflect.Message
func (*DeleteSearchHypernymRequest) Reset
func (x *DeleteSearchHypernymRequest) Reset()
func (*DeleteSearchHypernymRequest) String
func (x *DeleteSearchHypernymRequest) String() string
DeleteSeriesRequest
type DeleteSeriesRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a Series.
func (*DeleteSeriesRequest) Descriptor
func (*DeleteSeriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSeriesRequest.ProtoReflect.Descriptor instead.
func (*DeleteSeriesRequest) GetName
func (x *DeleteSeriesRequest) GetName() string
func (*DeleteSeriesRequest) GetRequestId
func (x *DeleteSeriesRequest) GetRequestId() string
func (*DeleteSeriesRequest) ProtoMessage
func (*DeleteSeriesRequest) ProtoMessage()
func (*DeleteSeriesRequest) ProtoReflect
func (x *DeleteSeriesRequest) ProtoReflect() protoreflect.Message
func (*DeleteSeriesRequest) Reset
func (x *DeleteSeriesRequest) Reset()
func (*DeleteSeriesRequest) String
func (x *DeleteSeriesRequest) String() string
DeleteStreamRequest
type DeleteStreamRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a Stream.
func (*DeleteStreamRequest) Descriptor
func (*DeleteStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStreamRequest.ProtoReflect.Descriptor instead.
func (*DeleteStreamRequest) GetName
func (x *DeleteStreamRequest) GetName() string
func (*DeleteStreamRequest) GetRequestId
func (x *DeleteStreamRequest) GetRequestId() string
func (*DeleteStreamRequest) ProtoMessage
func (*DeleteStreamRequest) ProtoMessage()
func (*DeleteStreamRequest) ProtoReflect
func (x *DeleteStreamRequest) ProtoReflect() protoreflect.Message
func (*DeleteStreamRequest) Reset
func (x *DeleteStreamRequest) Reset()
func (*DeleteStreamRequest) String
func (x *DeleteStreamRequest) String() string
DeployApplicationRequest
type DeployApplicationRequest struct {
// Required. the name of the application to retrieve.
// Format:
// "projects/{project}/locations/{location}/applications/{application}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// If set, validate the request and preview the application graph, but do not
// actually deploy it.
ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. Whether or not to enable monitoring for the application on
// deployment.
EnableMonitoring bool `protobuf:"varint,4,opt,name=enable_monitoring,json=enableMonitoring,proto3" json:"enable_monitoring,omitempty"`
// contains filtered or unexported fields
}
Message for deploying an Application.
func (*DeployApplicationRequest) Descriptor
func (*DeployApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployApplicationRequest.ProtoReflect.Descriptor instead.
func (*DeployApplicationRequest) GetEnableMonitoring
func (x *DeployApplicationRequest) GetEnableMonitoring() bool
func (*DeployApplicationRequest) GetName
func (x *DeployApplicationRequest) GetName() string
func (*DeployApplicationRequest) GetRequestId
func (x *DeployApplicationRequest) GetRequestId() string
func (*DeployApplicationRequest) GetValidateOnly
func (x *DeployApplicationRequest) GetValidateOnly() bool
func (*DeployApplicationRequest) ProtoMessage
func (*DeployApplicationRequest) ProtoMessage()
func (*DeployApplicationRequest) ProtoReflect
func (x *DeployApplicationRequest) ProtoReflect() protoreflect.Message
func (*DeployApplicationRequest) Reset
func (x *DeployApplicationRequest) Reset()
func (*DeployApplicationRequest) String
func (x *DeployApplicationRequest) String() string
DeployApplicationResponse
type DeployApplicationResponse struct {
// contains filtered or unexported fields
}
RPC Request Messages. Message for DeployApplication Response.
func (*DeployApplicationResponse) Descriptor
func (*DeployApplicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployApplicationResponse.ProtoReflect.Descriptor instead.
func (*DeployApplicationResponse) ProtoMessage
func (*DeployApplicationResponse) ProtoMessage()
func (*DeployApplicationResponse) ProtoReflect
func (x *DeployApplicationResponse) ProtoReflect() protoreflect.Message
func (*DeployApplicationResponse) Reset
func (x *DeployApplicationResponse) Reset()
func (*DeployApplicationResponse) String
func (x *DeployApplicationResponse) String() string
DeployIndexMetadata
type DeployIndexMetadata struct {
// Common metadata of the long-running operation.
OperationMetadata *OperationMetadata `protobuf:"bytes,1,opt,name=operation_metadata,json=operationMetadata,proto3" json:"operation_metadata,omitempty"`
// Output only. The index being deployed.
DeployedIndex string `protobuf:"bytes,2,opt,name=deployed_index,json=deployedIndex,proto3" json:"deployed_index,omitempty"`
// contains filtered or unexported fields
}
Metadata message for DeployIndex.
func (*DeployIndexMetadata) Descriptor
func (*DeployIndexMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeployIndexMetadata.ProtoReflect.Descriptor instead.
func (*DeployIndexMetadata) GetDeployedIndex
func (x *DeployIndexMetadata) GetDeployedIndex() string
func (*DeployIndexMetadata) GetOperationMetadata
func (x *DeployIndexMetadata) GetOperationMetadata() *OperationMetadata
func (*DeployIndexMetadata) ProtoMessage
func (*DeployIndexMetadata) ProtoMessage()
func (*DeployIndexMetadata) ProtoReflect
func (x *DeployIndexMetadata) ProtoReflect() protoreflect.Message
func (*DeployIndexMetadata) Reset
func (x *DeployIndexMetadata) Reset()
func (*DeployIndexMetadata) String
func (x *DeployIndexMetadata) String() string
DeployIndexRequest
type DeployIndexRequest struct {
// Required. IndexEndpoint the index is deployed to.
// Format:
// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`
IndexEndpoint string `protobuf:"bytes,1,opt,name=index_endpoint,json=indexEndpoint,proto3" json:"index_endpoint,omitempty"`
// Required. Index to deploy.
DeployedIndex *DeployedIndex `protobuf:"bytes,3,opt,name=deployed_index,json=deployedIndex,proto3" json:"deployed_index,omitempty"`
// contains filtered or unexported fields
}
Request message for DeployIndex.
func (*DeployIndexRequest) Descriptor
func (*DeployIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployIndexRequest.ProtoReflect.Descriptor instead.
func (*DeployIndexRequest) GetDeployedIndex
func (x *DeployIndexRequest) GetDeployedIndex() *DeployedIndex
func (*DeployIndexRequest) GetIndexEndpoint
func (x *DeployIndexRequest) GetIndexEndpoint() string
func (*DeployIndexRequest) ProtoMessage
func (*DeployIndexRequest) ProtoMessage()
func (*DeployIndexRequest) ProtoReflect
func (x *DeployIndexRequest) ProtoReflect() protoreflect.Message
func (*DeployIndexRequest) Reset
func (x *DeployIndexRequest) Reset()
func (*DeployIndexRequest) String
func (x *DeployIndexRequest) String() string
DeployIndexResponse
type DeployIndexResponse struct {
// contains filtered or unexported fields
}
DeployIndex response once the operation is done.
func (*DeployIndexResponse) Descriptor
func (*DeployIndexResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployIndexResponse.ProtoReflect.Descriptor instead.
func (*DeployIndexResponse) ProtoMessage
func (*DeployIndexResponse) ProtoMessage()
func (*DeployIndexResponse) ProtoReflect
func (x *DeployIndexResponse) ProtoReflect() protoreflect.Message
func (*DeployIndexResponse) Reset
func (x *DeployIndexResponse) Reset()
func (*DeployIndexResponse) String
func (x *DeployIndexResponse) String() string
DeployedIndex
type DeployedIndex struct {
// Required. Name of the deployed Index.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/indexes/{index_id}`
Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
// contains filtered or unexported fields
}
A deployment of an Index.
func (*DeployedIndex) Descriptor
func (*DeployedIndex) Descriptor() ([]byte, []int)
Deprecated: Use DeployedIndex.ProtoReflect.Descriptor instead.
func (*DeployedIndex) GetIndex
func (x *DeployedIndex) GetIndex() string
func (*DeployedIndex) ProtoMessage
func (*DeployedIndex) ProtoMessage()
func (*DeployedIndex) ProtoReflect
func (x *DeployedIndex) ProtoReflect() protoreflect.Message
func (*DeployedIndex) Reset
func (x *DeployedIndex) Reset()
func (*DeployedIndex) String
func (x *DeployedIndex) String() string
DeployedIndexReference
type DeployedIndexReference struct {
// Immutable. A resource name of the IndexEndpoint.
IndexEndpoint string `protobuf:"bytes,1,opt,name=index_endpoint,json=indexEndpoint,proto3" json:"index_endpoint,omitempty"`
// contains filtered or unexported fields
}
Points to a DeployedIndex.
func (*DeployedIndexReference) Descriptor
func (*DeployedIndexReference) Descriptor() ([]byte, []int)
Deprecated: Use DeployedIndexReference.ProtoReflect.Descriptor instead.
func (*DeployedIndexReference) GetIndexEndpoint
func (x *DeployedIndexReference) GetIndexEndpoint() string
func (*DeployedIndexReference) ProtoMessage
func (*DeployedIndexReference) ProtoMessage()
func (*DeployedIndexReference) ProtoReflect
func (x *DeployedIndexReference) ProtoReflect() protoreflect.Message
func (*DeployedIndexReference) Reset
func (x *DeployedIndexReference) Reset()
func (*DeployedIndexReference) String
func (x *DeployedIndexReference) String() string
Draft
type Draft struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
DraftApplicationConfigs *ApplicationConfigs "" /* 132 byte string literal not displayed */
}
Message describing Draft object
func (*Draft) Descriptor
Deprecated: Use Draft.ProtoReflect.Descriptor instead.
func (*Draft) GetCreateTime
func (x *Draft) GetCreateTime() *timestamppb.Timestamp
func (*Draft) GetDescription
func (*Draft) GetDisplayName
func (*Draft) GetDraftApplicationConfigs
func (x *Draft) GetDraftApplicationConfigs() *ApplicationConfigs
func (*Draft) GetLabels
func (*Draft) GetName
func (*Draft) GetUpdateTime
func (x *Draft) GetUpdateTime() *timestamppb.Timestamp
func (*Draft) ProtoMessage
func (*Draft) ProtoMessage()
func (*Draft) ProtoReflect
func (x *Draft) ProtoReflect() protoreflect.Message
func (*Draft) Reset
func (x *Draft) Reset()
func (*Draft) String
EagerMode
type EagerMode struct {
// contains filtered or unexported fields
}
The options for receiver under the eager mode.
func (*EagerMode) Descriptor
Deprecated: Use EagerMode.ProtoReflect.Descriptor instead.
func (*EagerMode) ProtoMessage
func (*EagerMode) ProtoMessage()
func (*EagerMode) ProtoReflect
func (x *EagerMode) ProtoReflect() protoreflect.Message
func (*EagerMode) Reset
func (x *EagerMode) Reset()
func (*EagerMode) String
Event
type Event struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
Annotations map[string]string "" /* 163 byte string literal not displayed */
AlignmentClock Event_Clock "" /* 146 byte string literal not displayed */
GracePeriod *durationpb.Duration `protobuf:"bytes,7,opt,name=grace_period,json=gracePeriod,proto3" json:"grace_period,omitempty"`
}
Message describing the Event object.
func (*Event) Descriptor
Deprecated: Use Event.ProtoReflect.Descriptor instead.
func (*Event) GetAlignmentClock
func (x *Event) GetAlignmentClock() Event_Clock
func (*Event) GetAnnotations
func (*Event) GetCreateTime
func (x *Event) GetCreateTime() *timestamppb.Timestamp
func (*Event) GetGracePeriod
func (x *Event) GetGracePeriod() *durationpb.Duration
func (*Event) GetLabels
func (*Event) GetName
func (*Event) GetUpdateTime
func (x *Event) GetUpdateTime() *timestamppb.Timestamp
func (*Event) ProtoMessage
func (*Event) ProtoMessage()
func (*Event) ProtoReflect
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) Reset
func (x *Event) Reset()
func (*Event) String
EventUpdate
type EventUpdate struct {
// The name of the stream that the event is attached to.
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
// The name of the event.
Event string `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
// The name of the series.
Series string `protobuf:"bytes,3,opt,name=series,proto3" json:"series,omitempty"`
// The timestamp when the Event update happens.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The offset of the message that will be used to acknowledge of the message
// receiving.
Offset int64 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
The event update message.
func (*EventUpdate) Descriptor
func (*EventUpdate) Descriptor() ([]byte, []int)
Deprecated: Use EventUpdate.ProtoReflect.Descriptor instead.
func (*EventUpdate) GetEvent
func (x *EventUpdate) GetEvent() string
func (*EventUpdate) GetOffset
func (x *EventUpdate) GetOffset() int64
func (*EventUpdate) GetSeries
func (x *EventUpdate) GetSeries() string
func (*EventUpdate) GetStream
func (x *EventUpdate) GetStream() string
func (*EventUpdate) GetUpdateTime
func (x *EventUpdate) GetUpdateTime() *timestamppb.Timestamp
func (*EventUpdate) ProtoMessage
func (*EventUpdate) ProtoMessage()
func (*EventUpdate) ProtoReflect
func (x *EventUpdate) ProtoReflect() protoreflect.Message
func (*EventUpdate) Reset
func (x *EventUpdate) Reset()
func (*EventUpdate) String
func (x *EventUpdate) String() string
Event_Clock
type Event_Clock int32
Clock that will be used for joining streams.
Event_CLOCK_UNSPECIFIED, Event_CAPTURE, Event_INGEST
const (
// Clock is not specified.
Event_CLOCK_UNSPECIFIED Event_Clock = 0
// Use the timestamp when the data is captured. Clients need to sync the
// clock.
Event_CAPTURE Event_Clock = 1
// Use the timestamp when the data is received.
Event_INGEST Event_Clock = 2
)
func (Event_Clock) Descriptor
func (Event_Clock) Descriptor() protoreflect.EnumDescriptor
func (Event_Clock) Enum
func (x Event_Clock) Enum() *Event_Clock
func (Event_Clock) EnumDescriptor
func (Event_Clock) EnumDescriptor() ([]byte, []int)
Deprecated: Use Event_Clock.Descriptor instead.
func (Event_Clock) Number
func (x Event_Clock) Number() protoreflect.EnumNumber
func (Event_Clock) String
func (x Event_Clock) String() string
func (Event_Clock) Type
func (Event_Clock) Type() protoreflect.EnumType
FacetBucket
type FacetBucket struct {
// Bucket associated with a facet. For example, bucket of facet “team”
// can be "49ers", "patriots", etc; bucket of facet "player" can be "tom
// brady", "drew brees", etc.
//
// Types that are assignable to BucketValue:
//
// *FacetBucket_Value
// *FacetBucket_Range_
BucketValue isFacetBucket_BucketValue `protobuf_oneof:"bucket_value"`
// Whether one facet bucket is selected. This field represents user's facet
// selection. It is set by frontend in SearchVideosRequest.
Selected bool `protobuf:"varint,3,opt,name=selected,proto3" json:"selected,omitempty"`
// contains filtered or unexported fields
}
Holds the facet value, selections state, and metadata.
func (*FacetBucket) Descriptor
func (*FacetBucket) Descriptor() ([]byte, []int)
Deprecated: Use FacetBucket.ProtoReflect.Descriptor instead.
func (*FacetBucket) GetBucketValue
func (m *FacetBucket) GetBucketValue() isFacetBucket_BucketValue
func (*FacetBucket) GetRange
func (x *FacetBucket) GetRange() *FacetBucket_Range
func (*FacetBucket) GetSelected
func (x *FacetBucket) GetSelected() bool
func (*FacetBucket) GetValue
func (x *FacetBucket) GetValue() *FacetValue
func (*FacetBucket) ProtoMessage
func (*FacetBucket) ProtoMessage()
func (*FacetBucket) ProtoReflect
func (x *FacetBucket) ProtoReflect() protoreflect.Message
func (*FacetBucket) Reset
func (x *FacetBucket) Reset()
func (*FacetBucket) String
func (x *FacetBucket) String() string
FacetBucketType
type FacetBucketType int32
Different types for a facet bucket.
FacetBucketType_FACET_BUCKET_TYPE_UNSPECIFIED, FacetBucketType_FACET_BUCKET_TYPE_VALUE, FacetBucketType_FACET_BUCKET_TYPE_DATETIME, FacetBucketType_FACET_BUCKET_TYPE_FIXED_RANGE, FacetBucketType_FACET_BUCKET_TYPE_CUSTOM_RANGE
const (
// Unspecified type.
FacetBucketType_FACET_BUCKET_TYPE_UNSPECIFIED FacetBucketType = 0
// Value type.
FacetBucketType_FACET_BUCKET_TYPE_VALUE FacetBucketType = 1
// Datetime type.
FacetBucketType_FACET_BUCKET_TYPE_DATETIME FacetBucketType = 2
// Fixed Range type.
FacetBucketType_FACET_BUCKET_TYPE_FIXED_RANGE FacetBucketType = 3
// Custom Range type.
FacetBucketType_FACET_BUCKET_TYPE_CUSTOM_RANGE FacetBucketType = 4
)
func (FacetBucketType) Descriptor
func (FacetBucketType) Descriptor() protoreflect.EnumDescriptor
func (FacetBucketType) Enum
func (x FacetBucketType) Enum() *FacetBucketType
func (FacetBucketType) EnumDescriptor
func (FacetBucketType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FacetBucketType.Descriptor instead.
func (FacetBucketType) Number
func (x FacetBucketType) Number() protoreflect.EnumNumber
func (FacetBucketType) String
func (x FacetBucketType) String() string
func (FacetBucketType) Type
func (FacetBucketType) Type() protoreflect.EnumType
FacetBucket_Range
type FacetBucket_Range struct {
// Start of the range. Non-existence indicates some bound (e.g. -inf).
Start *FacetValue `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
// End of the range. Non-existence indicates some bound (e.g. inf).
End *FacetValue `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
// contains filtered or unexported fields
}
The range of values [start, end) for which faceting is applied.
func (*FacetBucket_Range) Descriptor
func (*FacetBucket_Range) Descriptor() ([]byte, []int)
Deprecated: Use FacetBucket_Range.ProtoReflect.Descriptor instead.
func (*FacetBucket_Range) GetEnd
func (x *FacetBucket_Range) GetEnd() *FacetValue
func (*FacetBucket_Range) GetStart
func (x *FacetBucket_Range) GetStart() *FacetValue
func (*FacetBucket_Range) ProtoMessage
func (*FacetBucket_Range) ProtoMessage()
func (*FacetBucket_Range) ProtoReflect
func (x *FacetBucket_Range) ProtoReflect() protoreflect.Message
func (*FacetBucket_Range) Reset
func (x *FacetBucket_Range) Reset()
func (*FacetBucket_Range) String
func (x *FacetBucket_Range) String() string
FacetBucket_Range_
type FacetBucket_Range_ struct {
// Range value.
Range *FacetBucket_Range `protobuf:"bytes,4,opt,name=range,proto3,oneof"`
}
FacetBucket_Value
type FacetBucket_Value struct {
// Singular value.
Value *FacetValue `protobuf:"bytes,2,opt,name=value,proto3,oneof"`
}
FacetGroup
type FacetGroup struct {
FacetId string `protobuf:"bytes,1,opt,name=facet_id,json=facetId,proto3" json:"facet_id,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Buckets []*FacetBucket `protobuf:"bytes,3,rep,name=buckets,proto3" json:"buckets,omitempty"`
BucketType FacetBucketType "" /* 138 byte string literal not displayed */
FetchMatchedAnnotations bool "" /* 133 byte string literal not displayed */
}
A group of facet buckets to be passed back and forth between backend & frontend.
func (*FacetGroup) Descriptor
func (*FacetGroup) Descriptor() ([]byte, []int)
Deprecated: Use FacetGroup.ProtoReflect.Descriptor instead.
func (*FacetGroup) GetBucketType
func (x *FacetGroup) GetBucketType() FacetBucketType
func (*FacetGroup) GetBuckets
func (x *FacetGroup) GetBuckets() []*FacetBucket
func (*FacetGroup) GetDisplayName
func (x *FacetGroup) GetDisplayName() string
func (*FacetGroup) GetFacetId
func (x *FacetGroup) GetFacetId() string
func (*FacetGroup) GetFetchMatchedAnnotations
func (x *FacetGroup) GetFetchMatchedAnnotations() bool
func (*FacetGroup) ProtoMessage
func (*FacetGroup) ProtoMessage()
func (*FacetGroup) ProtoReflect
func (x *FacetGroup) ProtoReflect() protoreflect.Message
func (*FacetGroup) Reset
func (x *FacetGroup) Reset()
func (*FacetGroup) String
func (x *FacetGroup) String() string
FacetProperty
type FacetProperty struct {
RangeFacetConfig isFacetProperty_RangeFacetConfig `protobuf_oneof:"range_facet_config"`
MappedFields []string `protobuf:"bytes,1,rep,name=mapped_fields,json=mappedFields,proto3" json:"mapped_fields,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
ResultSize int64 `protobuf:"varint,3,opt,name=result_size,json=resultSize,proto3" json:"result_size,omitempty"`
BucketType FacetBucketType "" /* 138 byte string literal not displayed */
}
Central configuration for a facet.
func (*FacetProperty) Descriptor
func (*FacetProperty) Descriptor() ([]byte, []int)
Deprecated: Use FacetProperty.ProtoReflect.Descriptor instead.
func (*FacetProperty) GetBucketType
func (x *FacetProperty) GetBucketType() FacetBucketType
func (*FacetProperty) GetCustomRangeBucketSpec
func (x *FacetProperty) GetCustomRangeBucketSpec() *FacetProperty_CustomRangeBucketSpec
func (*FacetProperty) GetDatetimeBucketSpec
func (x *FacetProperty) GetDatetimeBucketSpec() *FacetProperty_DateTimeBucketSpec
func (*FacetProperty) GetDisplayName
func (x *FacetProperty) GetDisplayName() string
func (*FacetProperty) GetFixedRangeBucketSpec
func (x *FacetProperty) GetFixedRangeBucketSpec() *FacetProperty_FixedRangeBucketSpec
func (*FacetProperty) GetMappedFields
func (x *FacetProperty) GetMappedFields() []string
func (*FacetProperty) GetRangeFacetConfig
func (m *FacetProperty) GetRangeFacetConfig() isFacetProperty_RangeFacetConfig
func (*FacetProperty) GetResultSize
func (x *FacetProperty) GetResultSize() int64
func (*FacetProperty) ProtoMessage
func (*FacetProperty) ProtoMessage()
func (*FacetProperty) ProtoReflect
func (x *FacetProperty) ProtoReflect() protoreflect.Message
func (*FacetProperty) Reset
func (x *FacetProperty) Reset()
func (*FacetProperty) String
func (x *FacetProperty) String() string
FacetProperty_CustomRangeBucketSpec
type FacetProperty_CustomRangeBucketSpec struct {
// Currently, only integer type is supported for this field.
Endpoints []*FacetValue `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
// contains filtered or unexported fields
}
If bucket type is CUSTOM_RANGE, specify how values are bucketized. Use integer bucket value as an example, when the endpoints are 0, 10, 100, and 1000, we will generate the following facets: [-inf, 0), [0, 10), [10, 100), [100, 1000), [1000, inf). Notably:
- endpoints must be listed in ascending order. Otherwise, the SearchConfig API will reject the facet config.
- < 1 endpoints is an invalid spec.
func (*FacetProperty_CustomRangeBucketSpec) Descriptor
func (*FacetProperty_CustomRangeBucketSpec) Descriptor() ([]byte, []int)
Deprecated: Use FacetProperty_CustomRangeBucketSpec.ProtoReflect.Descriptor instead.
func (*FacetProperty_CustomRangeBucketSpec) GetEndpoints
func (x *FacetProperty_CustomRangeBucketSpec) GetEndpoints() []*FacetValue
func (*FacetProperty_CustomRangeBucketSpec) ProtoMessage
func (*FacetProperty_CustomRangeBucketSpec) ProtoMessage()
func (*FacetProperty_CustomRangeBucketSpec) ProtoReflect
func (x *FacetProperty_CustomRangeBucketSpec) ProtoReflect() protoreflect.Message
func (*FacetProperty_CustomRangeBucketSpec) Reset
func (x *FacetProperty_CustomRangeBucketSpec) Reset()
func (*FacetProperty_CustomRangeBucketSpec) String
func (x *FacetProperty_CustomRangeBucketSpec) String() string
FacetProperty_CustomRangeBucketSpec_
type FacetProperty_CustomRangeBucketSpec_ struct {
// Custom range facet bucket config.
CustomRangeBucketSpec *FacetProperty_CustomRangeBucketSpec `protobuf:"bytes,6,opt,name=custom_range_bucket_spec,json=customRangeBucketSpec,proto3,oneof"`
}
FacetProperty_DateTimeBucketSpec
type FacetProperty_DateTimeBucketSpec struct {
Granularity FacetProperty_DateTimeBucketSpec_Granularity "" /* 151 byte string literal not displayed */
}
If bucket type is DATE, specify how date values are bucketized.
func (*FacetProperty_DateTimeBucketSpec) Descriptor
func (*FacetProperty_DateTimeBucketSpec) Descriptor() ([]byte, []int)
Deprecated: Use FacetProperty_DateTimeBucketSpec.ProtoReflect.Descriptor instead.
func (*FacetProperty_DateTimeBucketSpec) GetGranularity
func (x *FacetProperty_DateTimeBucketSpec) GetGranularity() FacetProperty_DateTimeBucketSpec_Granularity
func (*FacetProperty_DateTimeBucketSpec) ProtoMessage
func (*FacetProperty_DateTimeBucketSpec) ProtoMessage()
func (*FacetProperty_DateTimeBucketSpec) ProtoReflect
func (x *FacetProperty_DateTimeBucketSpec) ProtoReflect() protoreflect.Message
func (*FacetProperty_DateTimeBucketSpec) Reset
func (x *FacetProperty_DateTimeBucketSpec) Reset()
func (*FacetProperty_DateTimeBucketSpec) String
func (x *FacetProperty_DateTimeBucketSpec) String() string
FacetProperty_DateTimeBucketSpec_Granularity
type FacetProperty_DateTimeBucketSpec_Granularity int32
Granularity enum for the datetime bucket.
FacetProperty_DateTimeBucketSpec_GRANULARITY_UNSPECIFIED, FacetProperty_DateTimeBucketSpec_YEAR, FacetProperty_DateTimeBucketSpec_MONTH, FacetProperty_DateTimeBucketSpec_DAY
const (
// Unspecified granularity.
FacetProperty_DateTimeBucketSpec_GRANULARITY_UNSPECIFIED FacetProperty_DateTimeBucketSpec_Granularity = 0
// Granularity is year.
FacetProperty_DateTimeBucketSpec_YEAR FacetProperty_DateTimeBucketSpec_Granularity = 1
// Granularity is month.
FacetProperty_DateTimeBucketSpec_MONTH FacetProperty_DateTimeBucketSpec_Granularity = 2
// Granularity is day.
FacetProperty_DateTimeBucketSpec_DAY FacetProperty_DateTimeBucketSpec_Granularity = 3
)
func (FacetProperty_DateTimeBucketSpec_Granularity) Descriptor
func (FacetProperty_DateTimeBucketSpec_Granularity) Descriptor() protoreflect.EnumDescriptor
func (FacetProperty_DateTimeBucketSpec_Granularity) Enum
func (x FacetProperty_DateTimeBucketSpec_Granularity) Enum() *FacetProperty_DateTimeBucketSpec_Granularity
func (FacetProperty_DateTimeBucketSpec_Granularity) EnumDescriptor
func (FacetProperty_DateTimeBucketSpec_Granularity) EnumDescriptor() ([]byte, []int)
Deprecated: Use FacetProperty_DateTimeBucketSpec_Granularity.Descriptor instead.
func (FacetProperty_DateTimeBucketSpec_Granularity) Number
func (x FacetProperty_DateTimeBucketSpec_Granularity) Number() protoreflect.EnumNumber
func (FacetProperty_DateTimeBucketSpec_Granularity) String
func (x FacetProperty_DateTimeBucketSpec_Granularity) String() string
func (FacetProperty_DateTimeBucketSpec_Granularity) Type
func (FacetProperty_DateTimeBucketSpec_Granularity) Type() protoreflect.EnumType
FacetProperty_DatetimeBucketSpec
type FacetProperty_DatetimeBucketSpec struct {
// Datetime range facet bucket config.
DatetimeBucketSpec *FacetProperty_DateTimeBucketSpec `protobuf:"bytes,7,opt,name=datetime_bucket_spec,json=datetimeBucketSpec,proto3,oneof"`
}
FacetProperty_FixedRangeBucketSpec
type FacetProperty_FixedRangeBucketSpec struct {
// Lower bound of the bucket. NOTE: Only integer type is currently supported
// for this field.
BucketStart *FacetValue `protobuf:"bytes,1,opt,name=bucket_start,json=bucketStart,proto3" json:"bucket_start,omitempty"`
// Bucket granularity. NOTE: Only integer type is currently supported for
// this field.
BucketGranularity *FacetValue `protobuf:"bytes,2,opt,name=bucket_granularity,json=bucketGranularity,proto3" json:"bucket_granularity,omitempty"`
// Total number of buckets.
BucketCount int32 `protobuf:"varint,3,opt,name=bucket_count,json=bucketCount,proto3" json:"bucket_count,omitempty"`
// contains filtered or unexported fields
}
If bucket type is FIXED_RANGE, specify how values are bucketized. Use FixedRangeBucketSpec when you want to create multiple buckets with equal granularities. Using integer bucket value as an example, when bucket_start = 0, bucket_granularity = 10, bucket_count = 5, this facet will be aggregated via the following buckets: [-inf, 0), [0, 10), [10, 20), [20, 30), [30, inf). Notably, bucket_count <= 1 is an invalid spec.
func (*FacetProperty_FixedRangeBucketSpec) Descriptor
func (*FacetProperty_FixedRangeBucketSpec) Descriptor() ([]byte, []int)
Deprecated: Use FacetProperty_FixedRangeBucketSpec.ProtoReflect.Descriptor instead.
func (*FacetProperty_FixedRangeBucketSpec) GetBucketCount
func (x *FacetProperty_FixedRangeBucketSpec) GetBucketCount() int32
func (*FacetProperty_FixedRangeBucketSpec) GetBucketGranularity
func (x *FacetProperty_FixedRangeBucketSpec) GetBucketGranularity() *FacetValue
func (*FacetProperty_FixedRangeBucketSpec) GetBucketStart
func (x *FacetProperty_FixedRangeBucketSpec) GetBucketStart() *FacetValue
func (*FacetProperty_FixedRangeBucketSpec) ProtoMessage
func (*FacetProperty_FixedRangeBucketSpec) ProtoMessage()
func (*FacetProperty_FixedRangeBucketSpec) ProtoReflect
func (x *FacetProperty_FixedRangeBucketSpec) ProtoReflect() protoreflect.Message
func (*FacetProperty_FixedRangeBucketSpec) Reset
func (x *FacetProperty_FixedRangeBucketSpec) Reset()
func (*FacetProperty_FixedRangeBucketSpec) String
func (x *FacetProperty_FixedRangeBucketSpec) String() string
FacetProperty_FixedRangeBucketSpec_
type FacetProperty_FixedRangeBucketSpec_ struct {
// Fixed range facet bucket config.
FixedRangeBucketSpec *FacetProperty_FixedRangeBucketSpec `protobuf:"bytes,5,opt,name=fixed_range_bucket_spec,json=fixedRangeBucketSpec,proto3,oneof"`
}
FacetValue
type FacetValue struct {
// Types that are assignable to Value:
//
// *FacetValue_StringValue
// *FacetValue_IntegerValue
// *FacetValue_DatetimeValue
Value isFacetValue_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
Definition of a single value with generic type.
func (*FacetValue) Descriptor
func (*FacetValue) Descriptor() ([]byte, []int)
Deprecated: Use FacetValue.ProtoReflect.Descriptor instead.
func (*FacetValue) GetDatetimeValue
func (x *FacetValue) GetDatetimeValue() *datetime.DateTime
func (*FacetValue) GetIntegerValue
func (x *FacetValue) GetIntegerValue() int64
func (*FacetValue) GetStringValue
func (x *FacetValue) GetStringValue() string
func (*FacetValue) GetValue
func (m *FacetValue) GetValue() isFacetValue_Value
func (*FacetValue) ProtoMessage
func (*FacetValue) ProtoMessage()
func (*FacetValue) ProtoReflect
func (x *FacetValue) ProtoReflect() protoreflect.Message
func (*FacetValue) Reset
func (x *FacetValue) Reset()
func (*FacetValue) String
func (x *FacetValue) String() string
FacetValue_DatetimeValue
type FacetValue_DatetimeValue struct {
// Datetime type value.
DatetimeValue *datetime.DateTime `protobuf:"bytes,3,opt,name=datetime_value,json=datetimeValue,proto3,oneof"`
}
FacetValue_IntegerValue
type FacetValue_IntegerValue struct {
// Integer type value.
IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"`
}
FacetValue_StringValue
type FacetValue_StringValue struct {
// String type value.
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
FloatRange
type FloatRange struct {
// Start of the float range.
Start *float32 `protobuf:"fixed32,1,opt,name=start,proto3,oneof" json:"start,omitempty"`
// End of the float range.
End *float32 `protobuf:"fixed32,2,opt,name=end,proto3,oneof" json:"end,omitempty"`
// contains filtered or unexported fields
}
Float range type.
func (*FloatRange) Descriptor
func (*FloatRange) Descriptor() ([]byte, []int)
Deprecated: Use FloatRange.ProtoReflect.Descriptor instead.
func (*FloatRange) GetEnd
func (x *FloatRange) GetEnd() float32
func (*FloatRange) GetStart
func (x *FloatRange) GetStart() float32
func (*FloatRange) ProtoMessage
func (*FloatRange) ProtoMessage()
func (*FloatRange) ProtoReflect
func (x *FloatRange) ProtoReflect() protoreflect.Message
func (*FloatRange) Reset
func (x *FloatRange) Reset()
func (*FloatRange) String
func (x *FloatRange) String() string
FloatRangeArray
type FloatRangeArray struct {
// Float range values.
FloatRanges []*FloatRange `protobuf:"bytes,1,rep,name=float_ranges,json=floatRanges,proto3" json:"float_ranges,omitempty"`
// contains filtered or unexported fields
}
A list of float range values.
func (*FloatRangeArray) Descriptor
func (*FloatRangeArray) Descriptor() ([]byte, []int)
Deprecated: Use FloatRangeArray.ProtoReflect.Descriptor instead.
func (*FloatRangeArray) GetFloatRanges
func (x *FloatRangeArray) GetFloatRanges() []*FloatRange
func (*FloatRangeArray) ProtoMessage
func (*FloatRangeArray) ProtoMessage()
func (*FloatRangeArray) ProtoReflect
func (x *FloatRangeArray) ProtoReflect() protoreflect.Message
func (*FloatRangeArray) Reset
func (x *FloatRangeArray) Reset()
func (*FloatRangeArray) String
func (x *FloatRangeArray) String() string
GcsOutputConfig
type GcsOutputConfig struct {
// The Cloud Storage path for Vision AI Platform to ingest annotations to.
GcsPath string `protobuf:"bytes,1,opt,name=gcs_path,json=gcsPath,proto3" json:"gcs_path,omitempty"`
// contains filtered or unexported fields
}
Message describing GcsOutputConfig.
func (*GcsOutputConfig) Descriptor
func (*GcsOutputConfig) Descriptor() ([]byte, []int)
Deprecated: Use GcsOutputConfig.ProtoReflect.Descriptor instead.
func (*GcsOutputConfig) GetGcsPath
func (x *GcsOutputConfig) GetGcsPath() string
func (*GcsOutputConfig) ProtoMessage
func (*GcsOutputConfig) ProtoMessage()
func (*GcsOutputConfig) ProtoReflect
func (x *GcsOutputConfig) ProtoReflect() protoreflect.Message
func (*GcsOutputConfig) Reset
func (x *GcsOutputConfig) Reset()
func (*GcsOutputConfig) String
func (x *GcsOutputConfig) String() string
GcsSource
type GcsSource struct {
// Required. References to a Google Cloud Storage paths.
Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`
// contains filtered or unexported fields
}
The Google Cloud Storage location for the input content.
func (*GcsSource) Descriptor
Deprecated: Use GcsSource.ProtoReflect.Descriptor instead.
func (*GcsSource) GetUris
func (*GcsSource) ProtoMessage
func (*GcsSource) ProtoMessage()
func (*GcsSource) ProtoReflect
func (x *GcsSource) ProtoReflect() protoreflect.Message
func (*GcsSource) Reset
func (x *GcsSource) Reset()
func (*GcsSource) String
GeneralObjectDetectionConfig
type GeneralObjectDetectionConfig struct {
// contains filtered or unexported fields
}
Message of configurations for General Object Detection processor.
func (*GeneralObjectDetectionConfig) Descriptor
func (*GeneralObjectDetectionConfig) Descriptor() ([]byte, []int)
Deprecated: Use GeneralObjectDetectionConfig.ProtoReflect.Descriptor instead.
func (*GeneralObjectDetectionConfig) ProtoMessage
func (*GeneralObjectDetectionConfig) ProtoMessage()
func (*GeneralObjectDetectionConfig) ProtoReflect
func (x *GeneralObjectDetectionConfig) ProtoReflect() protoreflect.Message
func (*GeneralObjectDetectionConfig) Reset
func (x *GeneralObjectDetectionConfig) Reset()
func (*GeneralObjectDetectionConfig) String
func (x *GeneralObjectDetectionConfig) String() string
GenerateHlsUriRequest
type GenerateHlsUriRequest struct {
// Required. The resource name of the asset to request clips for.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The time range to request clips for. Will be ignored if `get_live_view` is
// set to True. The total time range requested should be smaller than 24h.
TemporalPartitions []*Partition_TemporalPartition `protobuf:"bytes,2,rep,name=temporal_partitions,json=temporalPartitions,proto3" json:"temporal_partitions,omitempty"`
// Option to exclusively show a livestream of the asset with up to 3 minutes
// of backlog data.
LiveViewEnabled bool `protobuf:"varint,3,opt,name=live_view_enabled,json=liveViewEnabled,proto3" json:"live_view_enabled,omitempty"`
// contains filtered or unexported fields
}
Request message for GenerateHlsUri API.
func (*GenerateHlsUriRequest) Descriptor
func (*GenerateHlsUriRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateHlsUriRequest.ProtoReflect.Descriptor instead.
func (*GenerateHlsUriRequest) GetLiveViewEnabled
func (x *GenerateHlsUriRequest) GetLiveViewEnabled() bool
func (*GenerateHlsUriRequest) GetName
func (x *GenerateHlsUriRequest) GetName() string
func (*GenerateHlsUriRequest) GetTemporalPartitions
func (x *GenerateHlsUriRequest) GetTemporalPartitions() []*Partition_TemporalPartition
func (*GenerateHlsUriRequest) ProtoMessage
func (*GenerateHlsUriRequest) ProtoMessage()
func (*GenerateHlsUriRequest) ProtoReflect
func (x *GenerateHlsUriRequest) ProtoReflect() protoreflect.Message
func (*GenerateHlsUriRequest) Reset
func (x *GenerateHlsUriRequest) Reset()
func (*GenerateHlsUriRequest) String
func (x *GenerateHlsUriRequest) String() string
GenerateHlsUriResponse
type GenerateHlsUriResponse struct {
// A signed uri to download the HLS manifest corresponding to the requested
// times.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// A list of temporal partitions of the content returned in the order they
// appear in the stream.
TemporalPartitions []*Partition_TemporalPartition `protobuf:"bytes,2,rep,name=temporal_partitions,json=temporalPartitions,proto3" json:"temporal_partitions,omitempty"`
// contains filtered or unexported fields
}
Response message for GenerateHlsUri API.
func (*GenerateHlsUriResponse) Descriptor
func (*GenerateHlsUriResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateHlsUriResponse.ProtoReflect.Descriptor instead.
func (*GenerateHlsUriResponse) GetTemporalPartitions
func (x *GenerateHlsUriResponse) GetTemporalPartitions() []*Partition_TemporalPartition
func (*GenerateHlsUriResponse) GetUri
func (x *GenerateHlsUriResponse) GetUri() string
func (*GenerateHlsUriResponse) ProtoMessage
func (*GenerateHlsUriResponse) ProtoMessage()
func (*GenerateHlsUriResponse) ProtoReflect
func (x *GenerateHlsUriResponse) ProtoReflect() protoreflect.Message
func (*GenerateHlsUriResponse) Reset
func (x *GenerateHlsUriResponse) Reset()
func (*GenerateHlsUriResponse) String
func (x *GenerateHlsUriResponse) String() string
GenerateRetrievalUrlRequest
type GenerateRetrievalUrlRequest struct {
// Required. The resource name of the asset to request signed url for.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GenerateRetrievalUrl API.
func (*GenerateRetrievalUrlRequest) Descriptor
func (*GenerateRetrievalUrlRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateRetrievalUrlRequest.ProtoReflect.Descriptor instead.
func (*GenerateRetrievalUrlRequest) GetName
func (x *GenerateRetrievalUrlRequest) GetName() string
func (*GenerateRetrievalUrlRequest) ProtoMessage
func (*GenerateRetrievalUrlRequest) ProtoMessage()
func (*GenerateRetrievalUrlRequest) ProtoReflect
func (x *GenerateRetrievalUrlRequest) ProtoReflect() protoreflect.Message
func (*GenerateRetrievalUrlRequest) Reset
func (x *GenerateRetrievalUrlRequest) Reset()
func (*GenerateRetrievalUrlRequest) String
func (x *GenerateRetrievalUrlRequest) String() string
GenerateRetrievalUrlResponse
type GenerateRetrievalUrlResponse struct {
// A signed url to download the content of the asset.
SignedUri string `protobuf:"bytes,1,opt,name=signed_uri,json=signedUri,proto3" json:"signed_uri,omitempty"`
// contains filtered or unexported fields
}
Response message for GenerateRetrievalUrl API.
func (*GenerateRetrievalUrlResponse) Descriptor
func (*GenerateRetrievalUrlResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateRetrievalUrlResponse.ProtoReflect.Descriptor instead.
func (*GenerateRetrievalUrlResponse) GetSignedUri
func (x *GenerateRetrievalUrlResponse) GetSignedUri() string
func (*GenerateRetrievalUrlResponse) ProtoMessage
func (*GenerateRetrievalUrlResponse) ProtoMessage()
func (*GenerateRetrievalUrlResponse) ProtoReflect
func (x *GenerateRetrievalUrlResponse) ProtoReflect() protoreflect.Message
func (*GenerateRetrievalUrlResponse) Reset
func (x *GenerateRetrievalUrlResponse) Reset()
func (*GenerateRetrievalUrlResponse) String
func (x *GenerateRetrievalUrlResponse) String() string
GenerateStreamHlsTokenRequest
type GenerateStreamHlsTokenRequest struct {
// Required. The name of the stream.
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
// contains filtered or unexported fields
}
Request message for getting the auth token to access the stream HLS contents.
func (*GenerateStreamHlsTokenRequest) Descriptor
func (*GenerateStreamHlsTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateStreamHlsTokenRequest.ProtoReflect.Descriptor instead.
func (*GenerateStreamHlsTokenRequest) GetStream
func (x *GenerateStreamHlsTokenRequest) GetStream() string
func (*GenerateStreamHlsTokenRequest) ProtoMessage
func (*GenerateStreamHlsTokenRequest) ProtoMessage()
func (*GenerateStreamHlsTokenRequest) ProtoReflect
func (x *GenerateStreamHlsTokenRequest) ProtoReflect() protoreflect.Message
func (*GenerateStreamHlsTokenRequest) Reset
func (x *GenerateStreamHlsTokenRequest) Reset()
func (*GenerateStreamHlsTokenRequest) String
func (x *GenerateStreamHlsTokenRequest) String() string
GenerateStreamHlsTokenResponse
type GenerateStreamHlsTokenResponse struct {
// The generated JWT token.
//
// The caller should insert this token to the authorization header of the HTTP
// requests to get the HLS playlist manifest and the video chunks.
// eg: curl -H "Authorization: Bearer $TOKEN"
//
// https://domain.com/test-stream.playback/master.m3u8
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
// The expiration time of the token.
ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
// contains filtered or unexported fields
}
Response message for GenerateStreamHlsToken.
func (*GenerateStreamHlsTokenResponse) Descriptor
func (*GenerateStreamHlsTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateStreamHlsTokenResponse.ProtoReflect.Descriptor instead.
func (*GenerateStreamHlsTokenResponse) GetExpirationTime
func (x *GenerateStreamHlsTokenResponse) GetExpirationTime() *timestamppb.Timestamp
func (*GenerateStreamHlsTokenResponse) GetToken
func (x *GenerateStreamHlsTokenResponse) GetToken() string
func (*GenerateStreamHlsTokenResponse) ProtoMessage
func (*GenerateStreamHlsTokenResponse) ProtoMessage()
func (*GenerateStreamHlsTokenResponse) ProtoReflect
func (x *GenerateStreamHlsTokenResponse) ProtoReflect() protoreflect.Message
func (*GenerateStreamHlsTokenResponse) Reset
func (x *GenerateStreamHlsTokenResponse) Reset()
func (*GenerateStreamHlsTokenResponse) String
func (x *GenerateStreamHlsTokenResponse) String() string
GeoCoordinate
type GeoCoordinate struct {
// Latitude Coordinate. Degrees [-90 .. 90]
Latitude float64 `protobuf:"fixed64,1,opt,name=latitude,proto3" json:"latitude,omitempty"`
// Longitude Coordinate. Degrees [-180 .. 180]
Longitude float64 `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
// contains filtered or unexported fields
}
Location Coordinate Representation
func (*GeoCoordinate) Descriptor
func (*GeoCoordinate) Descriptor() ([]byte, []int)
Deprecated: Use GeoCoordinate.ProtoReflect.Descriptor instead.
func (*GeoCoordinate) GetLatitude
func (x *GeoCoordinate) GetLatitude() float64
func (*GeoCoordinate) GetLongitude
func (x *GeoCoordinate) GetLongitude() float64
func (*GeoCoordinate) ProtoMessage
func (*GeoCoordinate) ProtoMessage()
func (*GeoCoordinate) ProtoReflect
func (x *GeoCoordinate) ProtoReflect() protoreflect.Message
func (*GeoCoordinate) Reset
func (x *GeoCoordinate) Reset()
func (*GeoCoordinate) String
func (x *GeoCoordinate) String() string
GeoLocationArray
type GeoLocationArray struct {
// A list of circle areas.
CircleAreas []*CircleArea `protobuf:"bytes,1,rep,name=circle_areas,json=circleAreas,proto3" json:"circle_areas,omitempty"`
// contains filtered or unexported fields
}
A list of locations.
func (*GeoLocationArray) Descriptor
func (*GeoLocationArray) Descriptor() ([]byte, []int)
Deprecated: Use GeoLocationArray.ProtoReflect.Descriptor instead.
func (*GeoLocationArray) GetCircleAreas
func (x *GeoLocationArray) GetCircleAreas() []*CircleArea
func (*GeoLocationArray) ProtoMessage
func (*GeoLocationArray) ProtoMessage()
func (*GeoLocationArray) ProtoReflect
func (x *GeoLocationArray) ProtoReflect() protoreflect.Message
func (*GeoLocationArray) Reset
func (x *GeoLocationArray) Reset()
func (*GeoLocationArray) String
func (x *GeoLocationArray) String() string
GetAnalysisRequest
type GetAnalysisRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting an Analysis.
func (*GetAnalysisRequest) Descriptor
func (*GetAnalysisRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAnalysisRequest.ProtoReflect.Descriptor instead.
func (*GetAnalysisRequest) GetName
func (x *GetAnalysisRequest) GetName() string
func (*GetAnalysisRequest) ProtoMessage
func (*GetAnalysisRequest) ProtoMessage()
func (*GetAnalysisRequest) ProtoReflect
func (x *GetAnalysisRequest) ProtoReflect() protoreflect.Message
func (*GetAnalysisRequest) Reset
func (x *GetAnalysisRequest) Reset()
func (*GetAnalysisRequest) String
func (x *GetAnalysisRequest) String() string
GetAnnotationRequest
type GetAnnotationRequest struct {
// Required. The name of the annotation to retrieve.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GetAnnotation API.
func (*GetAnnotationRequest) Descriptor
func (*GetAnnotationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAnnotationRequest.ProtoReflect.Descriptor instead.
func (*GetAnnotationRequest) GetName
func (x *GetAnnotationRequest) GetName() string
func (*GetAnnotationRequest) ProtoMessage
func (*GetAnnotationRequest) ProtoMessage()
func (*GetAnnotationRequest) ProtoReflect
func (x *GetAnnotationRequest) ProtoReflect() protoreflect.Message
func (*GetAnnotationRequest) Reset
func (x *GetAnnotationRequest) Reset()
func (*GetAnnotationRequest) String
func (x *GetAnnotationRequest) String() string
GetApplicationRequest
type GetApplicationRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting a Application.
func (*GetApplicationRequest) Descriptor
func (*GetApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetApplicationRequest.ProtoReflect.Descriptor instead.
func (*GetApplicationRequest) GetName
func (x *GetApplicationRequest) GetName() string
func (*GetApplicationRequest) ProtoMessage
func (*GetApplicationRequest) ProtoMessage()
func (*GetApplicationRequest) ProtoReflect
func (x *GetApplicationRequest) ProtoReflect() protoreflect.Message
func (*GetApplicationRequest) Reset
func (x *GetApplicationRequest) Reset()
func (*GetApplicationRequest) String
func (x *GetApplicationRequest) String() string
GetAssetRequest
type GetAssetRequest struct {
// Required. The name of the asset to retrieve.
// Format:
// projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GetAsset.
func (*GetAssetRequest) Descriptor
func (*GetAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAssetRequest.ProtoReflect.Descriptor instead.
func (*GetAssetRequest) GetName
func (x *GetAssetRequest) GetName() string
func (*GetAssetRequest) ProtoMessage
func (*GetAssetRequest) ProtoMessage()
func (*GetAssetRequest) ProtoReflect
func (x *GetAssetRequest) ProtoReflect() protoreflect.Message
func (*GetAssetRequest) Reset
func (x *GetAssetRequest) Reset()
func (*GetAssetRequest) String
func (x *GetAssetRequest) String() string
GetClusterRequest
type GetClusterRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting a Cluster.
func (*GetClusterRequest) Descriptor
func (*GetClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.
func (*GetClusterRequest) GetName
func (x *GetClusterRequest) GetName() string
func (*GetClusterRequest) ProtoMessage
func (*GetClusterRequest) ProtoMessage()
func (*GetClusterRequest) ProtoReflect
func (x *GetClusterRequest) ProtoReflect() protoreflect.Message
func (*GetClusterRequest) Reset
func (x *GetClusterRequest) Reset()
func (*GetClusterRequest) String
func (x *GetClusterRequest) String() string
GetCollectionRequest
type GetCollectionRequest struct {
// Required. The name of the collection to retrieve. Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GetCollectionRequest.
func (*GetCollectionRequest) Descriptor
func (*GetCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCollectionRequest.ProtoReflect.Descriptor instead.
func (*GetCollectionRequest) GetName
func (x *GetCollectionRequest) GetName() string
func (*GetCollectionRequest) ProtoMessage
func (*GetCollectionRequest) ProtoMessage()
func (*GetCollectionRequest) ProtoReflect
func (x *GetCollectionRequest) ProtoReflect() protoreflect.Message
func (*GetCollectionRequest) Reset
func (x *GetCollectionRequest) Reset()
func (*GetCollectionRequest) String
func (x *GetCollectionRequest) String() string
GetCorpusRequest
type GetCorpusRequest struct {
// Required. The resource name of the corpus to retrieve.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GetCorpus.
func (*GetCorpusRequest) Descriptor
func (*GetCorpusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCorpusRequest.ProtoReflect.Descriptor instead.
func (*GetCorpusRequest) GetName
func (x *GetCorpusRequest) GetName() string
func (*GetCorpusRequest) ProtoMessage
func (*GetCorpusRequest) ProtoMessage()
func (*GetCorpusRequest) ProtoReflect
func (x *GetCorpusRequest) ProtoReflect() protoreflect.Message
func (*GetCorpusRequest) Reset
func (x *GetCorpusRequest) Reset()
func (*GetCorpusRequest) String
func (x *GetCorpusRequest) String() string
GetDataSchemaRequest
type GetDataSchemaRequest struct {
// Required. The name of the data schema to retrieve.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/dataSchemas/{data_schema_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GetDataSchema.
func (*GetDataSchemaRequest) Descriptor
func (*GetDataSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDataSchemaRequest.ProtoReflect.Descriptor instead.
func (*GetDataSchemaRequest) GetName
func (x *GetDataSchemaRequest) GetName() string
func (*GetDataSchemaRequest) ProtoMessage
func (*GetDataSchemaRequest) ProtoMessage()
func (*GetDataSchemaRequest) ProtoReflect
func (x *GetDataSchemaRequest) ProtoReflect() protoreflect.Message
func (*GetDataSchemaRequest) Reset
func (x *GetDataSchemaRequest) Reset()
func (*GetDataSchemaRequest) String
func (x *GetDataSchemaRequest) String() string
GetDraftRequest
type GetDraftRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting a Draft.
func (*GetDraftRequest) Descriptor
func (*GetDraftRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDraftRequest.ProtoReflect.Descriptor instead.
func (*GetDraftRequest) GetName
func (x *GetDraftRequest) GetName() string
func (*GetDraftRequest) ProtoMessage
func (*GetDraftRequest) ProtoMessage()
func (*GetDraftRequest) ProtoReflect
func (x *GetDraftRequest) ProtoReflect() protoreflect.Message
func (*GetDraftRequest) Reset
func (x *GetDraftRequest) Reset()
func (*GetDraftRequest) String
func (x *GetDraftRequest) String() string
GetEventRequest
type GetEventRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting a Event.
func (*GetEventRequest) Descriptor
func (*GetEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEventRequest.ProtoReflect.Descriptor instead.
func (*GetEventRequest) GetName
func (x *GetEventRequest) GetName() string
func (*GetEventRequest) ProtoMessage
func (*GetEventRequest) ProtoMessage()
func (*GetEventRequest) ProtoReflect
func (x *GetEventRequest) ProtoReflect() protoreflect.Message
func (*GetEventRequest) Reset
func (x *GetEventRequest) Reset()
func (*GetEventRequest) String
func (x *GetEventRequest) String() string
GetIndexEndpointRequest
type GetIndexEndpointRequest struct {
// Required. Name of the IndexEndpoint resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GetIndexEndpoint.
func (*GetIndexEndpointRequest) Descriptor
func (*GetIndexEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIndexEndpointRequest.ProtoReflect.Descriptor instead.
func (*GetIndexEndpointRequest) GetName
func (x *GetIndexEndpointRequest) GetName() string
func (*GetIndexEndpointRequest) ProtoMessage
func (*GetIndexEndpointRequest) ProtoMessage()
func (*GetIndexEndpointRequest) ProtoReflect
func (x *GetIndexEndpointRequest) ProtoReflect() protoreflect.Message
func (*GetIndexEndpointRequest) Reset
func (x *GetIndexEndpointRequest) Reset()
func (*GetIndexEndpointRequest) String
func (x *GetIndexEndpointRequest) String() string
GetIndexRequest
type GetIndexRequest struct {
// Required. Name of the Index resource.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for getting an Index.
func (*GetIndexRequest) Descriptor
func (*GetIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIndexRequest.ProtoReflect.Descriptor instead.
func (*GetIndexRequest) GetName
func (x *GetIndexRequest) GetName() string
func (*GetIndexRequest) ProtoMessage
func (*GetIndexRequest) ProtoMessage()
func (*GetIndexRequest) ProtoReflect
func (x *GetIndexRequest) ProtoReflect() protoreflect.Message
func (*GetIndexRequest) Reset
func (x *GetIndexRequest) Reset()
func (*GetIndexRequest) String
func (x *GetIndexRequest) String() string
GetInstanceRequest
type GetInstanceRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting a Instance.
func (*GetInstanceRequest) Descriptor
func (*GetInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceRequest) GetName
func (x *GetInstanceRequest) GetName() string
func (*GetInstanceRequest) ProtoMessage
func (*GetInstanceRequest) ProtoMessage()
func (*GetInstanceRequest) ProtoReflect
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message
func (*GetInstanceRequest) Reset
func (x *GetInstanceRequest) Reset()
func (*GetInstanceRequest) String
func (x *GetInstanceRequest) String() string
GetOperatorRequest
type GetOperatorRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting a Operator.
func (*GetOperatorRequest) Descriptor
func (*GetOperatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOperatorRequest.ProtoReflect.Descriptor instead.
func (*GetOperatorRequest) GetName
func (x *GetOperatorRequest) GetName() string
func (*GetOperatorRequest) ProtoMessage
func (*GetOperatorRequest) ProtoMessage()
func (*GetOperatorRequest) ProtoReflect
func (x *GetOperatorRequest) ProtoReflect() protoreflect.Message
func (*GetOperatorRequest) Reset
func (x *GetOperatorRequest) Reset()
func (*GetOperatorRequest) String
func (x *GetOperatorRequest) String() string
GetProcessRequest
type GetProcessRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting a Process.
func (*GetProcessRequest) Descriptor
func (*GetProcessRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProcessRequest.ProtoReflect.Descriptor instead.
func (*GetProcessRequest) GetName
func (x *GetProcessRequest) GetName() string
func (*GetProcessRequest) ProtoMessage
func (*GetProcessRequest) ProtoMessage()
func (*GetProcessRequest) ProtoReflect
func (x *GetProcessRequest) ProtoReflect() protoreflect.Message
func (*GetProcessRequest) Reset
func (x *GetProcessRequest) Reset()
func (*GetProcessRequest) String
func (x *GetProcessRequest) String() string
GetProcessorRequest
type GetProcessorRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting a Processor.
func (*GetProcessorRequest) Descriptor
func (*GetProcessorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProcessorRequest.ProtoReflect.Descriptor instead.
func (*GetProcessorRequest) GetName
func (x *GetProcessorRequest) GetName() string
func (*GetProcessorRequest) ProtoMessage
func (*GetProcessorRequest) ProtoMessage()
func (*GetProcessorRequest) ProtoReflect
func (x *GetProcessorRequest) ProtoReflect() protoreflect.Message
func (*GetProcessorRequest) Reset
func (x *GetProcessorRequest) Reset()
func (*GetProcessorRequest) String
func (x *GetProcessorRequest) String() string
GetSearchConfigRequest
type GetSearchConfigRequest struct {
// Required. The name of the search configuration to retrieve.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GetSearchConfig.
func (*GetSearchConfigRequest) Descriptor
func (*GetSearchConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSearchConfigRequest.ProtoReflect.Descriptor instead.
func (*GetSearchConfigRequest) GetName
func (x *GetSearchConfigRequest) GetName() string
func (*GetSearchConfigRequest) ProtoMessage
func (*GetSearchConfigRequest) ProtoMessage()
func (*GetSearchConfigRequest) ProtoReflect
func (x *GetSearchConfigRequest) ProtoReflect() protoreflect.Message
func (*GetSearchConfigRequest) Reset
func (x *GetSearchConfigRequest) Reset()
func (*GetSearchConfigRequest) String
func (x *GetSearchConfigRequest) String() string
GetSearchHypernymRequest
type GetSearchHypernymRequest struct {
// Required. The name of the SearchHypernym to retrieve.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for getting SearchHypernym.
func (*GetSearchHypernymRequest) Descriptor
func (*GetSearchHypernymRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSearchHypernymRequest.ProtoReflect.Descriptor instead.
func (*GetSearchHypernymRequest) GetName
func (x *GetSearchHypernymRequest) GetName() string
func (*GetSearchHypernymRequest) ProtoMessage
func (*GetSearchHypernymRequest) ProtoMessage()
func (*GetSearchHypernymRequest) ProtoReflect
func (x *GetSearchHypernymRequest) ProtoReflect() protoreflect.Message
func (*GetSearchHypernymRequest) Reset
func (x *GetSearchHypernymRequest) Reset()
func (*GetSearchHypernymRequest) String
func (x *GetSearchHypernymRequest) String() string
GetSeriesRequest
type GetSeriesRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting a Series.
func (*GetSeriesRequest) Descriptor
func (*GetSeriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSeriesRequest.ProtoReflect.Descriptor instead.
func (*GetSeriesRequest) GetName
func (x *GetSeriesRequest) GetName() string
func (*GetSeriesRequest) ProtoMessage
func (*GetSeriesRequest) ProtoMessage()
func (*GetSeriesRequest) ProtoReflect
func (x *GetSeriesRequest) ProtoReflect() protoreflect.Message
func (*GetSeriesRequest) Reset
func (x *GetSeriesRequest) Reset()
func (*GetSeriesRequest) String
func (x *GetSeriesRequest) String() string
GetStreamRequest
type GetStreamRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting a Stream.
func (*GetStreamRequest) Descriptor
func (*GetStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStreamRequest.ProtoReflect.Descriptor instead.
func (*GetStreamRequest) GetName
func (x *GetStreamRequest) GetName() string
func (*GetStreamRequest) ProtoMessage
func (*GetStreamRequest) ProtoMessage()
func (*GetStreamRequest) ProtoReflect
func (x *GetStreamRequest) ProtoReflect() protoreflect.Message
func (*GetStreamRequest) Reset
func (x *GetStreamRequest) Reset()
func (*GetStreamRequest) String
func (x *GetStreamRequest) String() string
GetStreamThumbnailRequest
type GetStreamThumbnailRequest struct {
// Required. The name of the stream for to get the thumbnail from.
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
// Required. The name of the GCS object to store the thumbnail image.
GcsObjectName string `protobuf:"bytes,2,opt,name=gcs_object_name,json=gcsObjectName,proto3" json:"gcs_object_name,omitempty"`
// Optional. The name of the event. If unspecified, the thumbnail will be
// retrieved from the latest event.
Event string `protobuf:"bytes,3,opt,name=event,proto3" json:"event,omitempty"`
// Optional. An optional request ID to identify the requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for getting the thumbnail of a Stream.
func (*GetStreamThumbnailRequest) Descriptor
func (*GetStreamThumbnailRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStreamThumbnailRequest.ProtoReflect.Descriptor instead.
func (*GetStreamThumbnailRequest) GetEvent
func (x *GetStreamThumbnailRequest) GetEvent() string
func (*GetStreamThumbnailRequest) GetGcsObjectName
func (x *GetStreamThumbnailRequest) GetGcsObjectName() string
func (*GetStreamThumbnailRequest) GetRequestId
func (x *GetStreamThumbnailRequest) GetRequestId() string
func (*GetStreamThumbnailRequest) GetStream
func (x *GetStreamThumbnailRequest) GetStream() string
func (*GetStreamThumbnailRequest) ProtoMessage
func (*GetStreamThumbnailRequest) ProtoMessage()
func (*GetStreamThumbnailRequest) ProtoReflect
func (x *GetStreamThumbnailRequest) ProtoReflect() protoreflect.Message
func (*GetStreamThumbnailRequest) Reset
func (x *GetStreamThumbnailRequest) Reset()
func (*GetStreamThumbnailRequest) String
func (x *GetStreamThumbnailRequest) String() string
GetStreamThumbnailResponse
type GetStreamThumbnailResponse struct {
// contains filtered or unexported fields
}
Message for the response of GetStreamThumbnail. The empty response message indicates the thumbnail image has been uploaded to GCS successfully.
func (*GetStreamThumbnailResponse) Descriptor
func (*GetStreamThumbnailResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStreamThumbnailResponse.ProtoReflect.Descriptor instead.
func (*GetStreamThumbnailResponse) ProtoMessage
func (*GetStreamThumbnailResponse) ProtoMessage()
func (*GetStreamThumbnailResponse) ProtoReflect
func (x *GetStreamThumbnailResponse) ProtoReflect() protoreflect.Message
func (*GetStreamThumbnailResponse) Reset
func (x *GetStreamThumbnailResponse) Reset()
func (*GetStreamThumbnailResponse) String
func (x *GetStreamThumbnailResponse) String() string
GstreamerBufferDescriptor
type GstreamerBufferDescriptor struct {
// The caps string of the payload.
CapsString string `protobuf:"bytes,1,opt,name=caps_string,json=capsString,proto3" json:"caps_string,omitempty"`
// Whether the buffer is a key frame.
IsKeyFrame bool `protobuf:"varint,2,opt,name=is_key_frame,json=isKeyFrame,proto3" json:"is_key_frame,omitempty"`
// PTS of the frame.
PtsTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=pts_time,json=ptsTime,proto3" json:"pts_time,omitempty"`
// DTS of the frame.
DtsTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=dts_time,json=dtsTime,proto3" json:"dts_time,omitempty"`
// Duration of the frame.
Duration *durationpb.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"`
// contains filtered or unexported fields
}
The descriptor for a gstreamer buffer payload.
func (*GstreamerBufferDescriptor) Descriptor
func (*GstreamerBufferDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use GstreamerBufferDescriptor.ProtoReflect.Descriptor instead.
func (*GstreamerBufferDescriptor) GetCapsString
func (x *GstreamerBufferDescriptor) GetCapsString() string
func (*GstreamerBufferDescriptor) GetDtsTime
func (x *GstreamerBufferDescriptor) GetDtsTime() *timestamppb.Timestamp
func (*GstreamerBufferDescriptor) GetDuration
func (x *GstreamerBufferDescriptor) GetDuration() *durationpb.Duration
func (*GstreamerBufferDescriptor) GetIsKeyFrame
func (x *GstreamerBufferDescriptor) GetIsKeyFrame() bool
func (*GstreamerBufferDescriptor) GetPtsTime
func (x *GstreamerBufferDescriptor) GetPtsTime() *timestamppb.Timestamp
func (*GstreamerBufferDescriptor) ProtoMessage
func (*GstreamerBufferDescriptor) ProtoMessage()
func (*GstreamerBufferDescriptor) ProtoReflect
func (x *GstreamerBufferDescriptor) ProtoReflect() protoreflect.Message
func (*GstreamerBufferDescriptor) Reset
func (x *GstreamerBufferDescriptor) Reset()
func (*GstreamerBufferDescriptor) String
func (x *GstreamerBufferDescriptor) String() string
HealthCheckRequest
type HealthCheckRequest struct {
// The parent of the resource.
Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
// contains filtered or unexported fields
}
HealthCheckRequest is the request message for Check.
func (*HealthCheckRequest) Descriptor
func (*HealthCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
func (*HealthCheckRequest) GetCluster
func (x *HealthCheckRequest) GetCluster() string
func (*HealthCheckRequest) ProtoMessage
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) ProtoReflect
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
func (*HealthCheckRequest) Reset
func (x *HealthCheckRequest) Reset()
func (*HealthCheckRequest) String
func (x *HealthCheckRequest) String() string
HealthCheckResponse
type HealthCheckResponse struct {
// Indicates whether the cluster is in healthy state or not.
Healthy bool `protobuf:"varint,1,opt,name=healthy,proto3" json:"healthy,omitempty"`
// Reason of why the cluster is in unhealthy state.
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
// Other information of the cluster client may be interested.
ClusterInfo *ClusterInfo `protobuf:"bytes,3,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
// contains filtered or unexported fields
}
HealthCheckResponse is the response message for Check.
func (*HealthCheckResponse) Descriptor
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.
func (*HealthCheckResponse) GetClusterInfo
func (x *HealthCheckResponse) GetClusterInfo() *ClusterInfo
func (*HealthCheckResponse) GetHealthy
func (x *HealthCheckResponse) GetHealthy() bool
func (*HealthCheckResponse) GetReason
func (x *HealthCheckResponse) GetReason() string
func (*HealthCheckResponse) ProtoMessage
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) ProtoReflect
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
func (*HealthCheckResponse) Reset
func (x *HealthCheckResponse) Reset()
func (*HealthCheckResponse) String
func (x *HealthCheckResponse) String() string
HealthCheckServiceClient
type HealthCheckServiceClient interface {
// HealthCheck method checks the health status of the cluster.
HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
}
HealthCheckServiceClient is the client API for HealthCheckService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHealthCheckServiceClient
func NewHealthCheckServiceClient(cc grpc.ClientConnInterface) HealthCheckServiceClient
HealthCheckServiceServer
type HealthCheckServiceServer interface {
// HealthCheck method checks the health status of the cluster.
HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
}
HealthCheckServiceServer is the server API for HealthCheckService service.
ImageObjectDetectionPredictionResult
type ImageObjectDetectionPredictionResult struct {
// The resource IDs of the AnnotationSpecs that had been identified, ordered
// by the confidence score descendingly. It is the id segment instead of full
// resource name.
Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
// The display names of the AnnotationSpecs that had been identified, order
// matches the IDs.
DisplayNames []string `protobuf:"bytes,2,rep,name=display_names,json=displayNames,proto3" json:"display_names,omitempty"`
// The Model's confidences in correctness of the predicted IDs, higher value
// means higher confidence. Order matches the Ids.
Confidences []float32 `protobuf:"fixed32,3,rep,packed,name=confidences,proto3" json:"confidences,omitempty"`
// Bounding boxes, i.e. the rectangles over the image, that pinpoint
// the found AnnotationSpecs. Given in order that matches the IDs. Each
// bounding box is an array of 4 numbers `xMin`, `xMax`, `yMin`, and
// `yMax`, which represent the extremal coordinates of the box. They are
// relative to the image size, and the point 0,0 is in the top left
// of the image.
Bboxes []*structpb.ListValue `protobuf:"bytes,4,rep,name=bboxes,proto3" json:"bboxes,omitempty"`
// contains filtered or unexported fields
}
Prediction output format for Image Object Detection.
func (*ImageObjectDetectionPredictionResult) Descriptor
func (*ImageObjectDetectionPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use ImageObjectDetectionPredictionResult.ProtoReflect.Descriptor instead.
func (*ImageObjectDetectionPredictionResult) GetBboxes
func (x *ImageObjectDetectionPredictionResult) GetBboxes() []*structpb.ListValue
func (*ImageObjectDetectionPredictionResult) GetConfidences
func (x *ImageObjectDetectionPredictionResult) GetConfidences() []float32
func (*ImageObjectDetectionPredictionResult) GetDisplayNames
func (x *ImageObjectDetectionPredictionResult) GetDisplayNames() []string
func (*ImageObjectDetectionPredictionResult) GetIds
func (x *ImageObjectDetectionPredictionResult) GetIds() []int64
func (*ImageObjectDetectionPredictionResult) ProtoMessage
func (*ImageObjectDetectionPredictionResult) ProtoMessage()
func (*ImageObjectDetectionPredictionResult) ProtoReflect
func (x *ImageObjectDetectionPredictionResult) ProtoReflect() protoreflect.Message
func (*ImageObjectDetectionPredictionResult) Reset
func (x *ImageObjectDetectionPredictionResult) Reset()
func (*ImageObjectDetectionPredictionResult) String
func (x *ImageObjectDetectionPredictionResult) String() string
ImageQuery
type ImageQuery struct {
// Types that are assignable to Image:
//
// *ImageQuery_InputImage
// *ImageQuery_Asset
Image isImageQuery_Image `protobuf_oneof:"image"`
// contains filtered or unexported fields
}
Image query for search endpoint request.
func (*ImageQuery) Descriptor
func (*ImageQuery) Descriptor() ([]byte, []int)
Deprecated: Use ImageQuery.ProtoReflect.Descriptor instead.
func (*ImageQuery) GetAsset
func (x *ImageQuery) GetAsset() string
func (*ImageQuery) GetImage
func (m *ImageQuery) GetImage() isImageQuery_Image
func (*ImageQuery) GetInputImage
func (x *ImageQuery) GetInputImage() []byte
func (*ImageQuery) ProtoMessage
func (*ImageQuery) ProtoMessage()
func (*ImageQuery) ProtoReflect
func (x *ImageQuery) ProtoReflect() protoreflect.Message
func (*ImageQuery) Reset
func (x *ImageQuery) Reset()
func (*ImageQuery) String
func (x *ImageQuery) String() string
ImageQuery_Asset
type ImageQuery_Asset struct {
// Resource name of the asset. Only supported in IMAGE corpus type.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
Asset string `protobuf:"bytes,2,opt,name=asset,proto3,oneof"`
}
ImageQuery_InputImage
type ImageQuery_InputImage struct {
// Input image in raw bytes.
InputImage []byte `protobuf:"bytes,1,opt,name=input_image,json=inputImage,proto3,oneof"`
}
ImageSegmentationPredictionResult
type ImageSegmentationPredictionResult struct {
// A PNG image where each pixel in the mask represents the category in which
// the pixel in the original image was predicted to belong to. The size of
// this image will be the same as the original image. The mapping between the
// AnntoationSpec and the color can be found in model's metadata. The model
// will choose the most likely category and if none of the categories reach
// the confidence threshold, the pixel will be marked as background.
CategoryMask string `protobuf:"bytes,1,opt,name=category_mask,json=categoryMask,proto3" json:"category_mask,omitempty"`
// A one channel image which is encoded as an 8bit lossless PNG. The size of
// the image will be the same as the original image. For a specific pixel,
// darker color means less confidence in correctness of the cateogry in the
// categoryMask for the corresponding pixel. Black means no confidence and
// white means complete confidence.
ConfidenceMask string `protobuf:"bytes,2,opt,name=confidence_mask,json=confidenceMask,proto3" json:"confidence_mask,omitempty"`
// contains filtered or unexported fields
}
Prediction output format for Image Segmentation.
func (*ImageSegmentationPredictionResult) Descriptor
func (*ImageSegmentationPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use ImageSegmentationPredictionResult.ProtoReflect.Descriptor instead.
func (*ImageSegmentationPredictionResult) GetCategoryMask
func (x *ImageSegmentationPredictionResult) GetCategoryMask() string
func (*ImageSegmentationPredictionResult) GetConfidenceMask
func (x *ImageSegmentationPredictionResult) GetConfidenceMask() string
func (*ImageSegmentationPredictionResult) ProtoMessage
func (*ImageSegmentationPredictionResult) ProtoMessage()
func (*ImageSegmentationPredictionResult) ProtoReflect
func (x *ImageSegmentationPredictionResult) ProtoReflect() protoreflect.Message
func (*ImageSegmentationPredictionResult) Reset
func (x *ImageSegmentationPredictionResult) Reset()
func (*ImageSegmentationPredictionResult) String
func (x *ImageSegmentationPredictionResult) String() string
ImportAssetsMetadata
type ImportAssetsMetadata struct {
// The metadata of the operation.
Metadata *OperationMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
The metadata message for ImportAssets LRO.
func (*ImportAssetsMetadata) Descriptor
func (*ImportAssetsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportAssetsMetadata.ProtoReflect.Descriptor instead.
func (*ImportAssetsMetadata) GetMetadata
func (x *ImportAssetsMetadata) GetMetadata() *OperationMetadata
func (*ImportAssetsMetadata) ProtoMessage
func (*ImportAssetsMetadata) ProtoMessage()
func (*ImportAssetsMetadata) ProtoReflect
func (x *ImportAssetsMetadata) ProtoReflect() protoreflect.Message
func (*ImportAssetsMetadata) Reset
func (x *ImportAssetsMetadata) Reset()
func (*ImportAssetsMetadata) String
func (x *ImportAssetsMetadata) String() string
ImportAssetsRequest
type ImportAssetsRequest struct {
// The source.
//
// Types that are assignable to Source:
//
// *ImportAssetsRequest_AssetsGcsUri
Source isImportAssetsRequest_Source `protobuf_oneof:"source"`
// Required. The parent corpus resource where the assets will be imported.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// contains filtered or unexported fields
}
The request message for ImportAssets.
func (*ImportAssetsRequest) Descriptor
func (*ImportAssetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportAssetsRequest.ProtoReflect.Descriptor instead.
func (*ImportAssetsRequest) GetAssetsGcsUri
func (x *ImportAssetsRequest) GetAssetsGcsUri() string
func (*ImportAssetsRequest) GetParent
func (x *ImportAssetsRequest) GetParent() string
func (*ImportAssetsRequest) GetSource
func (m *ImportAssetsRequest) GetSource() isImportAssetsRequest_Source
func (*ImportAssetsRequest) ProtoMessage
func (*ImportAssetsRequest) ProtoMessage()
func (*ImportAssetsRequest) ProtoReflect
func (x *ImportAssetsRequest) ProtoReflect() protoreflect.Message
func (*ImportAssetsRequest) Reset
func (x *ImportAssetsRequest) Reset()
func (*ImportAssetsRequest) String
func (x *ImportAssetsRequest) String() string
ImportAssetsRequest_AssetsGcsUri
type ImportAssetsRequest_AssetsGcsUri struct {
// The file contains all assets information to be imported.
// * The file is in JSONL format.
// * Each line corresponding to one asset.
// * Each line will be converted into InputImageAsset proto.
AssetsGcsUri string `protobuf:"bytes,2,opt,name=assets_gcs_uri,json=assetsGcsUri,proto3,oneof"`
}
ImportAssetsResponse
type ImportAssetsResponse struct {
// contains filtered or unexported fields
}
The response message for ImportAssets LRO.
func (*ImportAssetsResponse) Descriptor
func (*ImportAssetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportAssetsResponse.ProtoReflect.Descriptor instead.
func (*ImportAssetsResponse) ProtoMessage
func (*ImportAssetsResponse) ProtoMessage()
func (*ImportAssetsResponse) ProtoReflect
func (x *ImportAssetsResponse) ProtoReflect() protoreflect.Message
func (*ImportAssetsResponse) Reset
func (x *ImportAssetsResponse) Reset()
func (*ImportAssetsResponse) String
func (x *ImportAssetsResponse) String() string
Index
type Index struct {
// Specifies how assets are selected for this index. Default to
// entire_corpus if unspecified. Behavior in UpdateIndex: if update_mask
// includes one of the asset_filter field paths, the index will be rebuilt
// with latest assets, including their analyzed data and annotations.
//
// Types that are assignable to AssetFilter:
//
// *Index_EntireCorpus
AssetFilter isIndex_AssetFilter `protobuf_oneof:"asset_filter"`
// Output only. Resource name of the Index resource.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/indexes/{index_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Optional user-specified display name of the index.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. Optional description of the index.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Output only. State of the index.
State Index_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.visionai.v1.Index_State" json:"state,omitempty"`
// Output only. The create timestamp.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The update timestamp.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. References to the deployed index instance.
// Index of VIDEO_ON_DEMAND corpus can have at most one deployed index.
// Index of IMAGE corpus can have multiple deployed indexes.
DeployedIndexes []*DeployedIndexReference `protobuf:"bytes,8,rep,name=deployed_indexes,json=deployedIndexes,proto3" json:"deployed_indexes,omitempty"`
// contains filtered or unexported fields
}
An Index is a resource in Corpus. It contains an indexed version of the assets and annotations. When deployed to an endpoint, it will allow users to search the Index.
func (*Index) Descriptor
Deprecated: Use Index.ProtoReflect.Descriptor instead.
func (*Index) GetAssetFilter
func (m *Index) GetAssetFilter() isIndex_AssetFilter
func (*Index) GetCreateTime
func (x *Index) GetCreateTime() *timestamppb.Timestamp
func (*Index) GetDeployedIndexes
func (x *Index) GetDeployedIndexes() []*DeployedIndexReference
func (*Index) GetDescription
func (*Index) GetDisplayName
func (*Index) GetEntireCorpus
func (*Index) GetName
func (*Index) GetState
func (x *Index) GetState() Index_State
func (*Index) GetUpdateTime
func (x *Index) GetUpdateTime() *timestamppb.Timestamp
func (*Index) ProtoMessage
func (*Index) ProtoMessage()
func (*Index) ProtoReflect
func (x *Index) ProtoReflect() protoreflect.Message
func (*Index) Reset
func (x *Index) Reset()
func (*Index) String
IndexAssetMetadata
type IndexAssetMetadata struct {
// The status of indexing this asset.
Status *IndexingStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
// The start time of the operation.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The update time of the operation.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}
Metadata for IndexAsset.
func (*IndexAssetMetadata) Descriptor
func (*IndexAssetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use IndexAssetMetadata.ProtoReflect.Descriptor instead.
func (*IndexAssetMetadata) GetStartTime
func (x *IndexAssetMetadata) GetStartTime() *timestamppb.Timestamp
func (*IndexAssetMetadata) GetStatus
func (x *IndexAssetMetadata) GetStatus() *IndexingStatus
func (*IndexAssetMetadata) GetUpdateTime
func (x *IndexAssetMetadata) GetUpdateTime() *timestamppb.Timestamp
func (*IndexAssetMetadata) ProtoMessage
func (*IndexAssetMetadata) ProtoMessage()
func (*IndexAssetMetadata) ProtoReflect
func (x *IndexAssetMetadata) ProtoReflect() protoreflect.Message
func (*IndexAssetMetadata) Reset
func (x *IndexAssetMetadata) Reset()
func (*IndexAssetMetadata) String
func (x *IndexAssetMetadata) String() string
IndexAssetRequest
type IndexAssetRequest struct {
// Required. The resource name of the asset to index.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The name of the index.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}`
Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
// contains filtered or unexported fields
}
Request message for IndexAsset.
func (*IndexAssetRequest) Descriptor
func (*IndexAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use IndexAssetRequest.ProtoReflect.Descriptor instead.
func (*IndexAssetRequest) GetIndex
func (x *IndexAssetRequest) GetIndex() string
func (*IndexAssetRequest) GetName
func (x *IndexAssetRequest) GetName() string
func (*IndexAssetRequest) ProtoMessage
func (*IndexAssetRequest) ProtoMessage()
func (*IndexAssetRequest) ProtoReflect
func (x *IndexAssetRequest) ProtoReflect() protoreflect.Message
func (*IndexAssetRequest) Reset
func (x *IndexAssetRequest) Reset()
func (*IndexAssetRequest) String
func (x *IndexAssetRequest) String() string
IndexAssetResponse
type IndexAssetResponse struct {
// contains filtered or unexported fields
}
Response message for IndexAsset.
func (*IndexAssetResponse) Descriptor
func (*IndexAssetResponse) Descriptor() ([]byte, []int)
Deprecated: Use IndexAssetResponse.ProtoReflect.Descriptor instead.
func (*IndexAssetResponse) ProtoMessage
func (*IndexAssetResponse) ProtoMessage()
func (*IndexAssetResponse) ProtoReflect
func (x *IndexAssetResponse) ProtoReflect() protoreflect.Message
func (*IndexAssetResponse) Reset
func (x *IndexAssetResponse) Reset()
func (*IndexAssetResponse) String
func (x *IndexAssetResponse) String() string
IndexEndpoint
type IndexEndpoint struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
DeployedIndex *DeployedIndex `protobuf:"bytes,9,opt,name=deployed_index,json=deployedIndex,proto3" json:"deployed_index,omitempty"`
State IndexEndpoint_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.visionai.v1.IndexEndpoint_State" json:"state,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
}
Message representing IndexEndpoint resource. Indexes are deployed into it.
func (*IndexEndpoint) Descriptor
func (*IndexEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use IndexEndpoint.ProtoReflect.Descriptor instead.
func (*IndexEndpoint) GetCreateTime
func (x *IndexEndpoint) GetCreateTime() *timestamppb.Timestamp
func (*IndexEndpoint) GetDeployedIndex
func (x *IndexEndpoint) GetDeployedIndex() *DeployedIndex
func (*IndexEndpoint) GetDescription
func (x *IndexEndpoint) GetDescription() string
func (*IndexEndpoint) GetDisplayName
func (x *IndexEndpoint) GetDisplayName() string
func (*IndexEndpoint) GetLabels
func (x *IndexEndpoint) GetLabels() map[string]string
func (*IndexEndpoint) GetName
func (x *IndexEndpoint) GetName() string
func (*IndexEndpoint) GetState
func (x *IndexEndpoint) GetState() IndexEndpoint_State
func (*IndexEndpoint) GetUpdateTime
func (x *IndexEndpoint) GetUpdateTime() *timestamppb.Timestamp
func (*IndexEndpoint) ProtoMessage
func (*IndexEndpoint) ProtoMessage()
func (*IndexEndpoint) ProtoReflect
func (x *IndexEndpoint) ProtoReflect() protoreflect.Message
func (*IndexEndpoint) Reset
func (x *IndexEndpoint) Reset()
func (*IndexEndpoint) String
func (x *IndexEndpoint) String() string
IndexEndpoint_State
type IndexEndpoint_State int32
IndexEndpoint stage.
IndexEndpoint_STATE_UNSPECIFIED, IndexEndpoint_CREATING, IndexEndpoint_CREATED, IndexEndpoint_UPDATING, IndexEndpoint_FAILED
const (
// The default value. Should not be used.
IndexEndpoint_STATE_UNSPECIFIED IndexEndpoint_State = 0
// State CREATING.
IndexEndpoint_CREATING IndexEndpoint_State = 1
// State CREATED.
IndexEndpoint_CREATED IndexEndpoint_State = 2
// State UPDATING.
IndexEndpoint_UPDATING IndexEndpoint_State = 3
// State FAILED.
IndexEndpoint_FAILED IndexEndpoint_State = 4
)
func (IndexEndpoint_State) Descriptor
func (IndexEndpoint_State) Descriptor() protoreflect.EnumDescriptor
func (IndexEndpoint_State) Enum
func (x IndexEndpoint_State) Enum() *IndexEndpoint_State
func (IndexEndpoint_State) EnumDescriptor
func (IndexEndpoint_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use IndexEndpoint_State.Descriptor instead.
func (IndexEndpoint_State) Number
func (x IndexEndpoint_State) Number() protoreflect.EnumNumber
func (IndexEndpoint_State) String
func (x IndexEndpoint_State) String() string
func (IndexEndpoint_State) Type
func (IndexEndpoint_State) Type() protoreflect.EnumType
Index_EntireCorpus
type Index_EntireCorpus struct {
// Include all assets under the corpus.
EntireCorpus bool `protobuf:"varint,9,opt,name=entire_corpus,json=entireCorpus,proto3,oneof"`
}
Index_State
type Index_State int32
Enum representing the different states through which an Index might cycle during its lifetime.
Index_STATE_UNSPECIFIED, Index_CREATING, Index_CREATED, Index_UPDATING
const (
// The default value. Should not be used.
Index_STATE_UNSPECIFIED Index_State = 0
// State CREATING.
Index_CREATING Index_State = 1
// State CREATED.
Index_CREATED Index_State = 2
// State UPDATING.
Index_UPDATING Index_State = 3
)
func (Index_State) Descriptor
func (Index_State) Descriptor() protoreflect.EnumDescriptor
func (Index_State) Enum
func (x Index_State) Enum() *Index_State
func (Index_State) EnumDescriptor
func (Index_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Index_State.Descriptor instead.
func (Index_State) Number
func (x Index_State) Number() protoreflect.EnumNumber
func (Index_State) String
func (x Index_State) String() string
func (Index_State) Type
func (Index_State) Type() protoreflect.EnumType
IndexedAsset
type IndexedAsset struct {
// Required. The index that this indexed asset belongs to.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}`
Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
// Required. The resource name of the asset.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
// Output only. The create timestamp.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The update timestamp.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}
An IndexedAsset is an asset that the index is built upon.
func (*IndexedAsset) Descriptor
func (*IndexedAsset) Descriptor() ([]byte, []int)
Deprecated: Use IndexedAsset.ProtoReflect.Descriptor instead.
func (*IndexedAsset) GetAsset
func (x *IndexedAsset) GetAsset() string
func (*IndexedAsset) GetCreateTime
func (x *IndexedAsset) GetCreateTime() *timestamppb.Timestamp
func (*IndexedAsset) GetIndex
func (x *IndexedAsset) GetIndex() string
func (*IndexedAsset) GetUpdateTime
func (x *IndexedAsset) GetUpdateTime() *timestamppb.Timestamp
func (*IndexedAsset) ProtoMessage
func (*IndexedAsset) ProtoMessage()
func (*IndexedAsset) ProtoReflect
func (x *IndexedAsset) ProtoReflect() protoreflect.Message
func (*IndexedAsset) Reset
func (x *IndexedAsset) Reset()
func (*IndexedAsset) String
func (x *IndexedAsset) String() string
IndexingStatus
type IndexingStatus struct {
// Output only. State of this asset's indexing.
State IndexingStatus_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.visionai.v1.IndexingStatus_State" json:"state,omitempty"`
// Detailed message describing the state.
StatusMessage string `protobuf:"bytes,3,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// contains filtered or unexported fields
}
The status of indexing for the asset.
func (*IndexingStatus) Descriptor
func (*IndexingStatus) Descriptor() ([]byte, []int)
Deprecated: Use IndexingStatus.ProtoReflect.Descriptor instead.
func (*IndexingStatus) GetState
func (x *IndexingStatus) GetState() IndexingStatus_State
func (*IndexingStatus) GetStatusMessage
func (x *IndexingStatus) GetStatusMessage() string
func (*IndexingStatus) ProtoMessage
func (*IndexingStatus) ProtoMessage()
func (*IndexingStatus) ProtoReflect
func (x *IndexingStatus) ProtoReflect() protoreflect.Message
func (*IndexingStatus) Reset
func (x *IndexingStatus) Reset()
func (*IndexingStatus) String
func (x *IndexingStatus) String() string
IndexingStatus_State
type IndexingStatus_State int32
State enum for this asset's indexing.
IndexingStatus_STATE_UNSPECIFIED, IndexingStatus_IN_PROGRESS, IndexingStatus_SUCCEEDED, IndexingStatus_FAILED
const (
// The default process state should never happen.
IndexingStatus_STATE_UNSPECIFIED IndexingStatus_State = 0
// The indexing is in progress.
IndexingStatus_IN_PROGRESS IndexingStatus_State = 1
// The process is successfully done.
IndexingStatus_SUCCEEDED IndexingStatus_State = 2
// The process failed.
IndexingStatus_FAILED IndexingStatus_State = 3
)
func (IndexingStatus_State) Descriptor
func (IndexingStatus_State) Descriptor() protoreflect.EnumDescriptor
func (IndexingStatus_State) Enum
func (x IndexingStatus_State) Enum() *IndexingStatus_State
func (IndexingStatus_State) EnumDescriptor
func (IndexingStatus_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use IndexingStatus_State.Descriptor instead.
func (IndexingStatus_State) Number
func (x IndexingStatus_State) Number() protoreflect.EnumNumber
func (IndexingStatus_State) String
func (x IndexingStatus_State) String() string
func (IndexingStatus_State) Type
func (IndexingStatus_State) Type() protoreflect.EnumType
IngestAssetRequest
type IngestAssetRequest struct {
// Types that are assignable to StreamingRequest:
//
// *IngestAssetRequest_Config_
// *IngestAssetRequest_TimeIndexedData_
StreamingRequest isIngestAssetRequest_StreamingRequest `protobuf_oneof:"streaming_request"`
// contains filtered or unexported fields
}
Request message for IngestAsset API.
func (*IngestAssetRequest) Descriptor
func (*IngestAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use IngestAssetRequest.ProtoReflect.Descriptor instead.
func (*IngestAssetRequest) GetConfig
func (x *IngestAssetRequest) GetConfig() *IngestAssetRequest_Config
func (*IngestAssetRequest) GetStreamingRequest
func (m *IngestAssetRequest) GetStreamingRequest() isIngestAssetRequest_StreamingRequest
func (*IngestAssetRequest) GetTimeIndexedData
func (x *IngestAssetRequest) GetTimeIndexedData() *IngestAssetRequest_TimeIndexedData
func (*IngestAssetRequest) ProtoMessage
func (*IngestAssetRequest) ProtoMessage()
func (*IngestAssetRequest) ProtoReflect
func (x *IngestAssetRequest) ProtoReflect() protoreflect.Message
func (*IngestAssetRequest) Reset
func (x *IngestAssetRequest) Reset()
func (*IngestAssetRequest) String
func (x *IngestAssetRequest) String() string
IngestAssetRequest_Config
type IngestAssetRequest_Config struct {
// Types that are assignable to DataType:
//
// *IngestAssetRequest_Config_VideoType_
DataType isIngestAssetRequest_Config_DataType `protobuf_oneof:"data_type"`
// Required. The resource name of the asset that the ingested data belongs
// to.
Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
// contains filtered or unexported fields
}
Configuration for the data.
func (*IngestAssetRequest_Config) Descriptor
func (*IngestAssetRequest_Config) Descriptor() ([]byte, []int)
Deprecated: Use IngestAssetRequest_Config.ProtoReflect.Descriptor instead.
func (*IngestAssetRequest_Config) GetAsset
func (x *IngestAssetRequest_Config) GetAsset() string
func (*IngestAssetRequest_Config) GetDataType
func (m *IngestAssetRequest_Config) GetDataType() isIngestAssetRequest_Config_DataType
func (*IngestAssetRequest_Config) GetVideoType
func (x *IngestAssetRequest_Config) GetVideoType() *IngestAssetRequest_Config_VideoType
func (*IngestAssetRequest_Config) ProtoMessage
func (*IngestAssetRequest_Config) ProtoMessage()
func (*IngestAssetRequest_Config) ProtoReflect
func (x *IngestAssetRequest_Config) ProtoReflect() protoreflect.Message
func (*IngestAssetRequest_Config) Reset
func (x *IngestAssetRequest_Config) Reset()
func (*IngestAssetRequest_Config) String
func (x *IngestAssetRequest_Config) String() string
IngestAssetRequest_Config_
type IngestAssetRequest_Config_ struct {
// Provides information for the data and the asset resource name that the
// data belongs to. The first `IngestAssetRequest` message must only contain
// a `Config` message.
Config *IngestAssetRequest_Config `protobuf:"bytes,1,opt,name=config,proto3,oneof"`
}
IngestAssetRequest_Config_VideoType
type IngestAssetRequest_Config_VideoType struct {
ContainerFormat IngestAssetRequest_Config_VideoType_ContainerFormat "" /* 189 byte string literal not displayed */
}
Type information for video data.
func (*IngestAssetRequest_Config_VideoType) Descriptor
func (*IngestAssetRequest_Config_VideoType) Descriptor() ([]byte, []int)
Deprecated: Use IngestAssetRequest_Config_VideoType.ProtoReflect.Descriptor instead.
func (*IngestAssetRequest_Config_VideoType) GetContainerFormat
func (x *IngestAssetRequest_Config_VideoType) GetContainerFormat() IngestAssetRequest_Config_VideoType_ContainerFormat
func (*IngestAssetRequest_Config_VideoType) ProtoMessage
func (*IngestAssetRequest_Config_VideoType) ProtoMessage()
func (*IngestAssetRequest_Config_VideoType) ProtoReflect
func (x *IngestAssetRequest_Config_VideoType) ProtoReflect() protoreflect.Message
func (*IngestAssetRequest_Config_VideoType) Reset
func (x *IngestAssetRequest_Config_VideoType) Reset()
func (*IngestAssetRequest_Config_VideoType) String
func (x *IngestAssetRequest_Config_VideoType) String() string
IngestAssetRequest_Config_VideoType_
type IngestAssetRequest_Config_VideoType_ struct {
// Type information for video data.
VideoType *IngestAssetRequest_Config_VideoType `protobuf:"bytes,2,opt,name=video_type,json=videoType,proto3,oneof"`
}
IngestAssetRequest_Config_VideoType_ContainerFormat
type IngestAssetRequest_Config_VideoType_ContainerFormat int32
Container format of the video.
IngestAssetRequest_Config_VideoType_CONTAINER_FORMAT_UNSPECIFIED, IngestAssetRequest_Config_VideoType_CONTAINER_FORMAT_MP4
const (
// The default type, not supposed to be used.
IngestAssetRequest_Config_VideoType_CONTAINER_FORMAT_UNSPECIFIED IngestAssetRequest_Config_VideoType_ContainerFormat = 0
// Mp4 container format.
IngestAssetRequest_Config_VideoType_CONTAINER_FORMAT_MP4 IngestAssetRequest_Config_VideoType_ContainerFormat = 1
)
func (IngestAssetRequest_Config_VideoType_ContainerFormat) Descriptor
func (IngestAssetRequest_Config_VideoType_ContainerFormat) Descriptor() protoreflect.EnumDescriptor
func (IngestAssetRequest_Config_VideoType_ContainerFormat) Enum
func (x IngestAssetRequest_Config_VideoType_ContainerFormat) Enum() *IngestAssetRequest_Config_VideoType_ContainerFormat
func (IngestAssetRequest_Config_VideoType_ContainerFormat) EnumDescriptor
func (IngestAssetRequest_Config_VideoType_ContainerFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use IngestAssetRequest_Config_VideoType_ContainerFormat.Descriptor instead.
func (IngestAssetRequest_Config_VideoType_ContainerFormat) Number
func (x IngestAssetRequest_Config_VideoType_ContainerFormat) Number() protoreflect.EnumNumber
func (IngestAssetRequest_Config_VideoType_ContainerFormat) String
func (x IngestAssetRequest_Config_VideoType_ContainerFormat) String() string
func (IngestAssetRequest_Config_VideoType_ContainerFormat) Type
IngestAssetRequest_TimeIndexedData
type IngestAssetRequest_TimeIndexedData struct {
// Data to be ingested.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// Time range of the data.
TemporalPartition *Partition_TemporalPartition `protobuf:"bytes,2,opt,name=temporal_partition,json=temporalPartition,proto3" json:"temporal_partition,omitempty"`
// contains filtered or unexported fields
}
Contains the data and the corresponding time range this data is for.
func (*IngestAssetRequest_TimeIndexedData) Descriptor
func (*IngestAssetRequest_TimeIndexedData) Descriptor() ([]byte, []int)
Deprecated: Use IngestAssetRequest_TimeIndexedData.ProtoReflect.Descriptor instead.
func (*IngestAssetRequest_TimeIndexedData) GetData
func (x *IngestAssetRequest_TimeIndexedData) GetData() []byte
func (*IngestAssetRequest_TimeIndexedData) GetTemporalPartition
func (x *IngestAssetRequest_TimeIndexedData) GetTemporalPartition() *Partition_TemporalPartition
func (*IngestAssetRequest_TimeIndexedData) ProtoMessage
func (*IngestAssetRequest_TimeIndexedData) ProtoMessage()
func (*IngestAssetRequest_TimeIndexedData) ProtoReflect
func (x *IngestAssetRequest_TimeIndexedData) ProtoReflect() protoreflect.Message
func (*IngestAssetRequest_TimeIndexedData) Reset
func (x *IngestAssetRequest_TimeIndexedData) Reset()
func (*IngestAssetRequest_TimeIndexedData) String
func (x *IngestAssetRequest_TimeIndexedData) String() string
IngestAssetRequest_TimeIndexedData_
type IngestAssetRequest_TimeIndexedData_ struct {
// Data to be ingested.
TimeIndexedData *IngestAssetRequest_TimeIndexedData `protobuf:"bytes,2,opt,name=time_indexed_data,json=timeIndexedData,proto3,oneof"`
}
IngestAssetResponse
type IngestAssetResponse struct {
SuccessfullyIngestedPartition *Partition_TemporalPartition "" /* 150 byte string literal not displayed */
}
Response message for IngestAsset API.
func (*IngestAssetResponse) Descriptor
func (*IngestAssetResponse) Descriptor() ([]byte, []int)
Deprecated: Use IngestAssetResponse.ProtoReflect.Descriptor instead.
func (*IngestAssetResponse) GetSuccessfullyIngestedPartition
func (x *IngestAssetResponse) GetSuccessfullyIngestedPartition() *Partition_TemporalPartition
func (*IngestAssetResponse) ProtoMessage
func (*IngestAssetResponse) ProtoMessage()
func (*IngestAssetResponse) ProtoReflect
func (x *IngestAssetResponse) ProtoReflect() protoreflect.Message
func (*IngestAssetResponse) Reset
func (x *IngestAssetResponse) Reset()
func (*IngestAssetResponse) String
func (x *IngestAssetResponse) String() string
Instance
type Instance struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
InstanceType Instance_InstanceType "" /* 151 byte string literal not displayed */
InputResources []*Instance_InputResource `protobuf:"bytes,6,rep,name=input_resources,json=inputResources,proto3" json:"input_resources,omitempty"`
OutputResources []*Instance_OutputResource `protobuf:"bytes,7,rep,name=output_resources,json=outputResources,proto3" json:"output_resources,omitempty"`
State Instance_State `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.visionai.v1.Instance_State" json:"state,omitempty"`
}
Message describing Instance object Next ID: 12
func (*Instance) Descriptor
Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (*Instance) GetCreateTime
func (x *Instance) GetCreateTime() *timestamppb.Timestamp
func (*Instance) GetDescription
func (*Instance) GetDisplayName
func (*Instance) GetInputResources
func (x *Instance) GetInputResources() []*Instance_InputResource
func (*Instance) GetInstanceType
func (x *Instance) GetInstanceType() Instance_InstanceType
func (*Instance) GetLabels
func (*Instance) GetName
func (*Instance) GetOutputResources
func (x *Instance) GetOutputResources() []*Instance_OutputResource
func (*Instance) GetState
func (x *Instance) GetState() Instance_State
func (*Instance) GetUpdateTime
func (x *Instance) GetUpdateTime() *timestamppb.Timestamp
func (*Instance) ProtoMessage
func (*Instance) ProtoMessage()
func (*Instance) ProtoReflect
func (x *Instance) ProtoReflect() protoreflect.Message
func (*Instance) Reset
func (x *Instance) Reset()
func (*Instance) String
Instance_InputResource
type Instance_InputResource struct {
// Required. Specify the input to the application instance.
//
// Types that are assignable to InputResourceInformation:
//
// *Instance_InputResource_InputResource
// *Instance_InputResource_AnnotatedStream
InputResourceInformation isInstance_InputResource_InputResourceInformation `protobuf_oneof:"input_resource_information"`
// Data type for the current input resource.
DataType DataType `protobuf:"varint,6,opt,name=data_type,json=dataType,proto3,enum=google.cloud.visionai.v1.DataType" json:"data_type,omitempty"`
// The name of graph node who receives the input resource.
// For example:
// input_resource:
// visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/input-stream-a
// consumer_node: stream-input
ConsumerNode string `protobuf:"bytes,2,opt,name=consumer_node,json=consumerNode,proto3" json:"consumer_node,omitempty"`
// The specific input resource binding which will consume the current Input
// Resource, can be ignored is there is only 1 input binding.
InputResourceBinding string `protobuf:"bytes,3,opt,name=input_resource_binding,json=inputResourceBinding,proto3" json:"input_resource_binding,omitempty"`
// Contains resource annotations.
Annotations *ResourceAnnotations `protobuf:"bytes,5,opt,name=annotations,proto3" json:"annotations,omitempty"`
// contains filtered or unexported fields
}
Message of input resource used in one application instance.
func (*Instance_InputResource) Descriptor
func (*Instance_InputResource) Descriptor() ([]byte, []int)
Deprecated: Use Instance_InputResource.ProtoReflect.Descriptor instead.
func (*Instance_InputResource) GetAnnotatedStream
func (x *Instance_InputResource) GetAnnotatedStream() *StreamWithAnnotation
Deprecated: Marked as deprecated in google/cloud/visionai/v1/platform.proto.
func (*Instance_InputResource) GetAnnotations
func (x *Instance_InputResource) GetAnnotations() *ResourceAnnotations
func (*Instance_InputResource) GetConsumerNode
func (x *Instance_InputResource) GetConsumerNode() string
func (*Instance_InputResource) GetDataType
func (x *Instance_InputResource) GetDataType() DataType
func (*Instance_InputResource) GetInputResource
func (x *Instance_InputResource) GetInputResource() string
func (*Instance_InputResource) GetInputResourceBinding
func (x *Instance_InputResource) GetInputResourceBinding() string
func (*Instance_InputResource) GetInputResourceInformation
func (m *Instance_InputResource) GetInputResourceInformation() isInstance_InputResource_InputResourceInformation
func (*Instance_InputResource) ProtoMessage
func (*Instance_InputResource) ProtoMessage()
func (*Instance_InputResource) ProtoReflect
func (x *Instance_InputResource) ProtoReflect() protoreflect.Message
func (*Instance_InputResource) Reset
func (x *Instance_InputResource) Reset()
func (*Instance_InputResource) String
func (x *Instance_InputResource) String() string
Instance_InputResource_AnnotatedStream
type Instance_InputResource_AnnotatedStream struct {
// If the input resource is VisionAI Stream, the associated annotations
// can be specified using annotated_stream instead.
//
// Deprecated: Marked as deprecated in google/cloud/visionai/v1/platform.proto.
AnnotatedStream *StreamWithAnnotation `protobuf:"bytes,4,opt,name=annotated_stream,json=annotatedStream,proto3,oneof"`
}
Instance_InputResource_InputResource
type Instance_InputResource_InputResource struct {
// The direct input resource name.
// If the instance type is STREAMING_PREDICTION, the input resource is in
// format of
// "projects/123/locations/us-central1/clusters/456/streams/stream-a".
// If the instance type is BATCH_PREDICTION from Cloud Storage input
// container, the input resource is in format of "gs://bucket-a".
InputResource string `protobuf:"bytes,1,opt,name=input_resource,json=inputResource,proto3,oneof"`
}
Instance_InstanceType
type Instance_InstanceType int32
All the supported instance types.
Instance_INSTANCE_TYPE_UNSPECIFIED, Instance_STREAMING_PREDICTION, Instance_BATCH_PREDICTION, Instance_ONLINE_PREDICTION
const (
// Unspecified instance type.
// If the instance type is not specified, the default one is
// STREAMING_PREDICTION.
Instance_INSTANCE_TYPE_UNSPECIFIED Instance_InstanceType = 0
// Instance type for streaming prediction.
Instance_STREAMING_PREDICTION Instance_InstanceType = 1
// Instance type for batch prediction.
Instance_BATCH_PREDICTION Instance_InstanceType = 2
// Instance type for online prediction.
Instance_ONLINE_PREDICTION Instance_InstanceType = 3
)
func (Instance_InstanceType) Descriptor
func (Instance_InstanceType) Descriptor() protoreflect.EnumDescriptor
func (Instance_InstanceType) Enum
func (x Instance_InstanceType) Enum() *Instance_InstanceType
func (Instance_InstanceType) EnumDescriptor
func (Instance_InstanceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_InstanceType.Descriptor instead.
func (Instance_InstanceType) Number
func (x Instance_InstanceType) Number() protoreflect.EnumNumber
func (Instance_InstanceType) String
func (x Instance_InstanceType) String() string
func (Instance_InstanceType) Type
func (Instance_InstanceType) Type() protoreflect.EnumType
Instance_OutputResource
type Instance_OutputResource struct {
// The output resource name for the current application instance.
OutputResource string `protobuf:"bytes,1,opt,name=output_resource,json=outputResource,proto3" json:"output_resource,omitempty"`
// The name of graph node who produces the output resource name.
// For example:
// output_resource:
// /projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting
// producer_node: occupancy-counting
ProducerNode string `protobuf:"bytes,2,opt,name=producer_node,json=producerNode,proto3" json:"producer_node,omitempty"`
// The specific output resource binding which produces the current
// OutputResource.
OutputResourceBinding string `protobuf:"bytes,4,opt,name=output_resource_binding,json=outputResourceBinding,proto3" json:"output_resource_binding,omitempty"`
// Output only. Whether the output resource is temporary which means the
// resource is generated during the deployment of the application. Temporary
// resource will be deleted during the undeployment of the application.
IsTemporary bool `protobuf:"varint,3,opt,name=is_temporary,json=isTemporary,proto3" json:"is_temporary,omitempty"`
// Output only. Whether the output resource is created automatically by the
// Vision AI App Platform.
Autogen bool `protobuf:"varint,5,opt,name=autogen,proto3" json:"autogen,omitempty"`
// contains filtered or unexported fields
}
Message of output resource used in one application instance.
func (*Instance_OutputResource) Descriptor
func (*Instance_OutputResource) Descriptor() ([]byte, []int)
Deprecated: Use Instance_OutputResource.ProtoReflect.Descriptor instead.
func (*Instance_OutputResource) GetAutogen
func (x *Instance_OutputResource) GetAutogen() bool
func (*Instance_OutputResource) GetIsTemporary
func (x *Instance_OutputResource) GetIsTemporary() bool
func (*Instance_OutputResource) GetOutputResource
func (x *Instance_OutputResource) GetOutputResource() string
func (*Instance_OutputResource) GetOutputResourceBinding
func (x *Instance_OutputResource) GetOutputResourceBinding() string
func (*Instance_OutputResource) GetProducerNode
func (x *Instance_OutputResource) GetProducerNode() string
func (*Instance_OutputResource) ProtoMessage
func (*Instance_OutputResource) ProtoMessage()
func (*Instance_OutputResource) ProtoReflect
func (x *Instance_OutputResource) ProtoReflect() protoreflect.Message
func (*Instance_OutputResource) Reset
func (x *Instance_OutputResource) Reset()
func (*Instance_OutputResource) String
func (x *Instance_OutputResource) String() string
Instance_State
type Instance_State int32
State of the Instance
Instance_STATE_UNSPECIFIED, Instance_CREATING, Instance_CREATED, Instance_DEPLOYING, Instance_DEPLOYED, Instance_UNDEPLOYING, Instance_DELETED, Instance_ERROR, Instance_UPDATING, Instance_DELETING, Instance_FIXING, Instance_FINISHED
const (
// The default value. This value is used if the state is omitted.
Instance_STATE_UNSPECIFIED Instance_State = 0
// State CREATING.
Instance_CREATING Instance_State = 1
// State CREATED.
Instance_CREATED Instance_State = 2
// State DEPLOYING.
Instance_DEPLOYING Instance_State = 3
// State DEPLOYED.
Instance_DEPLOYED Instance_State = 4
// State UNDEPLOYING.
Instance_UNDEPLOYING Instance_State = 5
// State DELETED.
Instance_DELETED Instance_State = 6
// State ERROR.
Instance_ERROR Instance_State = 7
// State Updating
Instance_UPDATING Instance_State = 8
// State Deleting.
Instance_DELETING Instance_State = 9
// State Fixing.
Instance_FIXING Instance_State = 10
// State Finished.
Instance_FINISHED Instance_State = 11
)
func (Instance_State) Descriptor
func (Instance_State) Descriptor() protoreflect.EnumDescriptor
func (Instance_State) Enum
func (x Instance_State) Enum() *Instance_State
func (Instance_State) EnumDescriptor
func (Instance_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_State.Descriptor instead.
func (Instance_State) Number
func (x Instance_State) Number() protoreflect.EnumNumber
func (Instance_State) String
func (x Instance_State) String() string
func (Instance_State) Type
func (Instance_State) Type() protoreflect.EnumType
IntRange
type IntRange struct {
// Start of the int range.
Start *int64 `protobuf:"varint,1,opt,name=start,proto3,oneof" json:"start,omitempty"`
// End of the int range.
End *int64 `protobuf:"varint,2,opt,name=end,proto3,oneof" json:"end,omitempty"`
// contains filtered or unexported fields
}
Integer range type.
func (*IntRange) Descriptor
Deprecated: Use IntRange.ProtoReflect.Descriptor instead.
func (*IntRange) GetEnd
func (*IntRange) GetStart
func (*IntRange) ProtoMessage
func (*IntRange) ProtoMessage()
func (*IntRange) ProtoReflect
func (x *IntRange) ProtoReflect() protoreflect.Message
func (*IntRange) Reset
func (x *IntRange) Reset()
func (*IntRange) String
IntRangeArray
type IntRangeArray struct {
// Int range values.
IntRanges []*IntRange `protobuf:"bytes,1,rep,name=int_ranges,json=intRanges,proto3" json:"int_ranges,omitempty"`
// contains filtered or unexported fields
}
A list of integer range values.
func (*IntRangeArray) Descriptor
func (*IntRangeArray) Descriptor() ([]byte, []int)
Deprecated: Use IntRangeArray.ProtoReflect.Descriptor instead.
func (*IntRangeArray) GetIntRanges
func (x *IntRangeArray) GetIntRanges() []*IntRange
func (*IntRangeArray) ProtoMessage
func (*IntRangeArray) ProtoMessage()
func (*IntRangeArray) ProtoReflect
func (x *IntRangeArray) ProtoReflect() protoreflect.Message
func (*IntRangeArray) Reset
func (x *IntRangeArray) Reset()
func (*IntRangeArray) String
func (x *IntRangeArray) String() string
Lease
type Lease struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Series string `protobuf:"bytes,2,opt,name=series,proto3" json:"series,omitempty"`
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
LeaseType LeaseType "" /* 129 byte string literal not displayed */
}
The lease message.
func (*Lease) Descriptor
Deprecated: Use Lease.ProtoReflect.Descriptor instead.
func (*Lease) GetExpireTime
func (x *Lease) GetExpireTime() *timestamppb.Timestamp
func (*Lease) GetId
func (*Lease) GetLeaseType
func (*Lease) GetOwner
func (*Lease) GetSeries
func (*Lease) ProtoMessage
func (*Lease) ProtoMessage()
func (*Lease) ProtoReflect
func (x *Lease) ProtoReflect() protoreflect.Message
func (*Lease) Reset
func (x *Lease) Reset()
func (*Lease) String
LeaseType
type LeaseType int32
The lease type.
LeaseType_LEASE_TYPE_UNSPECIFIED, LeaseType_LEASE_TYPE_READER, LeaseType_LEASE_TYPE_WRITER
const (
// Lease type unspecified.
LeaseType_LEASE_TYPE_UNSPECIFIED LeaseType = 0
// Lease for stream reader.
LeaseType_LEASE_TYPE_READER LeaseType = 1
// Lease for stream writer.
LeaseType_LEASE_TYPE_WRITER LeaseType = 2
)
func (LeaseType) Descriptor
func (LeaseType) Descriptor() protoreflect.EnumDescriptor
func (LeaseType) Enum
func (LeaseType) EnumDescriptor
Deprecated: Use LeaseType.Descriptor instead.
func (LeaseType) Number
func (x LeaseType) Number() protoreflect.EnumNumber
func (LeaseType) String
func (LeaseType) Type
func (LeaseType) Type() protoreflect.EnumType
ListAnalysesRequest
type ListAnalysesRequest struct {
// Required. Parent value for ListAnalysesRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Message for requesting list of Analyses
func (*ListAnalysesRequest) Descriptor
func (*ListAnalysesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAnalysesRequest.ProtoReflect.Descriptor instead.
func (*ListAnalysesRequest) GetFilter
func (x *ListAnalysesRequest) GetFilter() string
func (*ListAnalysesRequest) GetOrderBy
func (x *ListAnalysesRequest) GetOrderBy() string
func (*ListAnalysesRequest) GetPageSize
func (x *ListAnalysesRequest) GetPageSize() int32
func (*ListAnalysesRequest) GetPageToken
func (x *ListAnalysesRequest) GetPageToken() string
func (*ListAnalysesRequest) GetParent
func (x *ListAnalysesRequest) GetParent() string
func (*ListAnalysesRequest) ProtoMessage
func (*ListAnalysesRequest) ProtoMessage()
func (*ListAnalysesRequest) ProtoReflect
func (x *ListAnalysesRequest) ProtoReflect() protoreflect.Message
func (*ListAnalysesRequest) Reset
func (x *ListAnalysesRequest) Reset()
func (*ListAnalysesRequest) String
func (x *ListAnalysesRequest) String() string
ListAnalysesResponse
type ListAnalysesResponse struct {
// The list of Analysis
Analyses []*Analysis `protobuf:"bytes,1,rep,name=analyses,proto3" json:"analyses,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing Analyses
func (*ListAnalysesResponse) Descriptor
func (*ListAnalysesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAnalysesResponse.ProtoReflect.Descriptor instead.
func (*ListAnalysesResponse) GetAnalyses
func (x *ListAnalysesResponse) GetAnalyses() []*Analysis
func (*ListAnalysesResponse) GetNextPageToken
func (x *ListAnalysesResponse) GetNextPageToken() string
func (*ListAnalysesResponse) GetUnreachable
func (x *ListAnalysesResponse) GetUnreachable() []string
func (*ListAnalysesResponse) ProtoMessage
func (*ListAnalysesResponse) ProtoMessage()
func (*ListAnalysesResponse) ProtoReflect
func (x *ListAnalysesResponse) ProtoReflect() protoreflect.Message
func (*ListAnalysesResponse) Reset
func (x *ListAnalysesResponse) Reset()
func (*ListAnalysesResponse) String
func (x *ListAnalysesResponse) String() string
ListAnnotationsRequest
type ListAnnotationsRequest struct {
// The parent, which owns this collection of annotations.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of annotations to return. The service may return fewer
// than this value. If unspecified, at most 50 annotations will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListAnnotations` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListAnnotations` must
// match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The filter applied to the returned list.
// We only support filtering for the following fields:
// For corpus of STREAM_VIDEO type:
// `partition.temporal_partition.start_time`,
// `partition.temporal_partition.end_time`, and `key`.
// For corpus of VIDEO_ON_DEMAND type,
// `partition.relative_temporal_partition.start_offset`,
// `partition.relative_temporal_partition.end_offset`, and `key`.
// For corpus of IMAGE type, only `key` is supported.
// Timestamps are specified in the RFC-3339 format, and only one restriction
// may be applied per field, joined by conjunctions.
// Format:
// "partition.temporal_partition.start_time > "2012-04-21T11:30:00-04:00" AND
// partition.temporal_partition.end_time < "2012-04-22t11:30:00-04:00"="" and="" key="example_key" "="" filter="">string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Request message for GetAnnotation API.
func (*ListAnnotationsRequest) Descriptor
func (*ListAnnotationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAnnotationsRequest.ProtoReflect.Descriptor instead.
func (*ListAnnotationsRequest) GetFilter
func (x *ListAnnotationsRequest) GetFilter() string
func (*ListAnnotationsRequest) GetPageSize
func (x *ListAnnotationsRequest) GetPageSize() int32
func (*ListAnnotationsRequest) GetPageToken
func (x *ListAnnotationsRequest) GetPageToken() string
func (*ListAnnotationsRequest) GetParent
func (x *ListAnnotationsRequest) GetParent() string
func (*ListAnnotationsRequest) ProtoMessage
func (*ListAnnotationsRequest) ProtoMessage()
func (*ListAnnotationsRequest) ProtoReflect
func (x *ListAnnotationsRequest) ProtoReflect() protoreflect.Message
func (*ListAnnotationsRequest) Reset
func (x *ListAnnotationsRequest) Reset()
func (*ListAnnotationsRequest) String
func (x *ListAnnotationsRequest) String() string
ListAnnotationsResponse
type ListAnnotationsResponse struct {
// The annotations from the specified asset.
Annotations []*Annotation `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for ListAnnotations API.
func (*ListAnnotationsResponse) Descriptor
func (*ListAnnotationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAnnotationsResponse.ProtoReflect.Descriptor instead.
func (*ListAnnotationsResponse) GetAnnotations
func (x *ListAnnotationsResponse) GetAnnotations() []*Annotation
func (*ListAnnotationsResponse) GetNextPageToken
func (x *ListAnnotationsResponse) GetNextPageToken() string
func (*ListAnnotationsResponse) ProtoMessage
func (*ListAnnotationsResponse) ProtoMessage()
func (*ListAnnotationsResponse) ProtoReflect
func (x *ListAnnotationsResponse) ProtoReflect() protoreflect.Message
func (*ListAnnotationsResponse) Reset
func (x *ListAnnotationsResponse) Reset()
func (*ListAnnotationsResponse) String
func (x *ListAnnotationsResponse) String() string
ListApplicationsRequest
type ListApplicationsRequest struct {
// Required. Parent value for ListApplicationsRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Message for requesting list of Applications.
func (*ListApplicationsRequest) Descriptor
func (*ListApplicationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListApplicationsRequest.ProtoReflect.Descriptor instead.
func (*ListApplicationsRequest) GetFilter
func (x *ListApplicationsRequest) GetFilter() string
func (*ListApplicationsRequest) GetOrderBy
func (x *ListApplicationsRequest) GetOrderBy() string
func (*ListApplicationsRequest) GetPageSize
func (x *ListApplicationsRequest) GetPageSize() int32
func (*ListApplicationsRequest) GetPageToken
func (x *ListApplicationsRequest) GetPageToken() string
func (*ListApplicationsRequest) GetParent
func (x *ListApplicationsRequest) GetParent() string
func (*ListApplicationsRequest) ProtoMessage
func (*ListApplicationsRequest) ProtoMessage()
func (*ListApplicationsRequest) ProtoReflect
func (x *ListApplicationsRequest) ProtoReflect() protoreflect.Message
func (*ListApplicationsRequest) Reset
func (x *ListApplicationsRequest) Reset()
func (*ListApplicationsRequest) String
func (x *ListApplicationsRequest) String() string
ListApplicationsResponse
type ListApplicationsResponse struct {
// The list of Application.
Applications []*Application `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing Applications.
func (*ListApplicationsResponse) Descriptor
func (*ListApplicationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListApplicationsResponse.ProtoReflect.Descriptor instead.
func (*ListApplicationsResponse) GetApplications
func (x *ListApplicationsResponse) GetApplications() []*Application
func (*ListApplicationsResponse) GetNextPageToken
func (x *ListApplicationsResponse) GetNextPageToken() string
func (*ListApplicationsResponse) GetUnreachable
func (x *ListApplicationsResponse) GetUnreachable() []string
func (*ListApplicationsResponse) ProtoMessage
func (*ListApplicationsResponse) ProtoMessage()
func (*ListApplicationsResponse) ProtoReflect
func (x *ListApplicationsResponse) ProtoReflect() protoreflect.Message
func (*ListApplicationsResponse) Reset
func (x *ListApplicationsResponse) Reset()
func (*ListApplicationsResponse) String
func (x *ListApplicationsResponse) String() string
ListAssetsRequest
type ListAssetsRequest struct {
// Required. The parent, which owns this collection of assets.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of assets to return. The service may return fewer than
// this value.
// If unspecified, at most 50 assets will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListAssets` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListAssets` must match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The filter applied to the returned list.
// Only the following filterings are supported:
// "assets_with_contents = true", which returns assets with contents uploaded;
// "assets_with_contents = false", which returns assets without contents.
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Request message for ListAssets.
func (*ListAssetsRequest) Descriptor
func (*ListAssetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAssetsRequest.ProtoReflect.Descriptor instead.
func (*ListAssetsRequest) GetFilter
func (x *ListAssetsRequest) GetFilter() string
func (*ListAssetsRequest) GetPageSize
func (x *ListAssetsRequest) GetPageSize() int32
func (*ListAssetsRequest) GetPageToken
func (x *ListAssetsRequest) GetPageToken() string
func (*ListAssetsRequest) GetParent
func (x *ListAssetsRequest) GetParent() string
func (*ListAssetsRequest) ProtoMessage
func (*ListAssetsRequest) ProtoMessage()
func (*ListAssetsRequest) ProtoReflect
func (x *ListAssetsRequest) ProtoReflect() protoreflect.Message
func (*ListAssetsRequest) Reset
func (x *ListAssetsRequest) Reset()
func (*ListAssetsRequest) String
func (x *ListAssetsRequest) String() string
ListAssetsResponse
type ListAssetsResponse struct {
// The assets from the specified corpus.
Assets []*Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for ListAssets.
func (*ListAssetsResponse) Descriptor
func (*ListAssetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAssetsResponse.ProtoReflect.Descriptor instead.
func (*ListAssetsResponse) GetAssets
func (x *ListAssetsResponse) GetAssets() []*Asset
func (*ListAssetsResponse) GetNextPageToken
func (x *ListAssetsResponse) GetNextPageToken() string
func (*ListAssetsResponse) ProtoMessage
func (*ListAssetsResponse) ProtoMessage()
func (*ListAssetsResponse) ProtoReflect
func (x *ListAssetsResponse) ProtoReflect() protoreflect.Message
func (*ListAssetsResponse) Reset
func (x *ListAssetsResponse) Reset()
func (*ListAssetsResponse) String
func (x *ListAssetsResponse) String() string
ListClustersRequest
type ListClustersRequest struct {
// Required. Parent value for ListClustersRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Message for requesting list of Clusters.
func (*ListClustersRequest) Descriptor
func (*ListClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.
func (*ListClustersRequest) GetFilter
func (x *ListClustersRequest) GetFilter() string
func (*ListClustersRequest) GetOrderBy
func (x *ListClustersRequest) GetOrderBy() string
func (*ListClustersRequest) GetPageSize
func (x *ListClustersRequest) GetPageSize() int32
func (*ListClustersRequest) GetPageToken
func (x *ListClustersRequest) GetPageToken() string
func (*ListClustersRequest) GetParent
func (x *ListClustersRequest) GetParent() string
func (*ListClustersRequest) ProtoMessage
func (*ListClustersRequest) ProtoMessage()
func (*ListClustersRequest) ProtoReflect
func (x *ListClustersRequest) ProtoReflect() protoreflect.Message
func (*ListClustersRequest) Reset
func (x *ListClustersRequest) Reset()
func (*ListClustersRequest) String
func (x *ListClustersRequest) String() string
ListClustersResponse
type ListClustersResponse struct {
// The list of Cluster.
Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing Clusters.
func (*ListClustersResponse) Descriptor
func (*ListClustersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.
func (*ListClustersResponse) GetClusters
func (x *ListClustersResponse) GetClusters() []*Cluster
func (*ListClustersResponse) GetNextPageToken
func (x *ListClustersResponse) GetNextPageToken() string
func (*ListClustersResponse) GetUnreachable
func (x *ListClustersResponse) GetUnreachable() []string
func (*ListClustersResponse) ProtoMessage
func (*ListClustersResponse) ProtoMessage()
func (*ListClustersResponse) ProtoReflect
func (x *ListClustersResponse) ProtoReflect() protoreflect.Message
func (*ListClustersResponse) Reset
func (x *ListClustersResponse) Reset()
func (*ListClustersResponse) String
func (x *ListClustersResponse) String() string
ListCollectionsRequest
type ListCollectionsRequest struct {
// Required. The parent corpus. Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of collections to return. The service may return fewer
// than this value. If unspecified, at most 50 collections will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListCollectionsRequest` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListCollectionsRequest`
// must match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for ListCollections.
func (*ListCollectionsRequest) Descriptor
func (*ListCollectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCollectionsRequest.ProtoReflect.Descriptor instead.
func (*ListCollectionsRequest) GetPageSize
func (x *ListCollectionsRequest) GetPageSize() int32
func (*ListCollectionsRequest) GetPageToken
func (x *ListCollectionsRequest) GetPageToken() string
func (*ListCollectionsRequest) GetParent
func (x *ListCollectionsRequest) GetParent() string
func (*ListCollectionsRequest) ProtoMessage
func (*ListCollectionsRequest) ProtoMessage()
func (*ListCollectionsRequest) ProtoReflect
func (x *ListCollectionsRequest) ProtoReflect() protoreflect.Message
func (*ListCollectionsRequest) Reset
func (x *ListCollectionsRequest) Reset()
func (*ListCollectionsRequest) String
func (x *ListCollectionsRequest) String() string
ListCollectionsResponse
type ListCollectionsResponse struct {
// The collections from the specified corpus.
Collections []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for ListCollections.
func (*ListCollectionsResponse) Descriptor
func (*ListCollectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCollectionsResponse.ProtoReflect.Descriptor instead.
func (*ListCollectionsResponse) GetCollections
func (x *ListCollectionsResponse) GetCollections() []*Collection
func (*ListCollectionsResponse) GetNextPageToken
func (x *ListCollectionsResponse) GetNextPageToken() string
func (*ListCollectionsResponse) ProtoMessage
func (*ListCollectionsResponse) ProtoMessage()
func (*ListCollectionsResponse) ProtoReflect
func (x *ListCollectionsResponse) ProtoReflect() protoreflect.Message
func (*ListCollectionsResponse) Reset
func (x *ListCollectionsResponse) Reset()
func (*ListCollectionsResponse) String
func (x *ListCollectionsResponse) String() string
ListCorporaRequest
type ListCorporaRequest struct {
// Required. The resource name of the project from which to list corpora.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. API may return fewer results than requested.
// If negative, INVALID_ARGUMENT error will be returned.
// If unspecified or 0, API will pick a default size, which is 10.
// If the requested page size is larger than the maximum size, API will pick
// use the maximum size, which is 20.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results for the server to return.
// Typically obtained via
// [ListCorporaResponse.next_page_token][google.cloud.visionai.v1.ListCorporaResponse.next_page_token]
// of the previous
// [Warehouse.ListCorpora][google.cloud.visionai.v1.Warehouse.ListCorpora]
// call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The filter applied to the returned corpora list.
// Only the following restrictions are supported:
// `type=
Request message for ListCorpora.
func (*ListCorporaRequest) Descriptor
func (*ListCorporaRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCorporaRequest.ProtoReflect.Descriptor instead.
func (*ListCorporaRequest) GetFilter
func (x *ListCorporaRequest) GetFilter() string
func (*ListCorporaRequest) GetPageSize
func (x *ListCorporaRequest) GetPageSize() int32
func (*ListCorporaRequest) GetPageToken
func (x *ListCorporaRequest) GetPageToken() string
func (*ListCorporaRequest) GetParent
func (x *ListCorporaRequest) GetParent() string
func (*ListCorporaRequest) ProtoMessage
func (*ListCorporaRequest) ProtoMessage()
func (*ListCorporaRequest) ProtoReflect
func (x *ListCorporaRequest) ProtoReflect() protoreflect.Message
func (*ListCorporaRequest) Reset
func (x *ListCorporaRequest) Reset()
func (*ListCorporaRequest) String
func (x *ListCorporaRequest) String() string
ListCorporaResponse
type ListCorporaResponse struct {
// The corpora in the project.
Corpora []*Corpus `protobuf:"bytes,1,rep,name=corpora,proto3" json:"corpora,omitempty"`
// A token to retrieve next page of results.
// Pass to
// [ListCorporaRequest.page_token][google.cloud.visionai.v1.ListCorporaRequest.page_token]
// to obtain that page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for ListCorpora.
func (*ListCorporaResponse) Descriptor
func (*ListCorporaResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCorporaResponse.ProtoReflect.Descriptor instead.
func (*ListCorporaResponse) GetCorpora
func (x *ListCorporaResponse) GetCorpora() []*Corpus
func (*ListCorporaResponse) GetNextPageToken
func (x *ListCorporaResponse) GetNextPageToken() string
func (*ListCorporaResponse) ProtoMessage
func (*ListCorporaResponse) ProtoMessage()
func (*ListCorporaResponse) ProtoReflect
func (x *ListCorporaResponse) ProtoReflect() protoreflect.Message
func (*ListCorporaResponse) Reset
func (x *ListCorporaResponse) Reset()
func (*ListCorporaResponse) String
func (x *ListCorporaResponse) String() string
ListDataSchemasRequest
type ListDataSchemasRequest struct {
// Required. The parent, which owns this collection of data schemas.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of data schemas to return. The service may return fewer
// than this value. If unspecified, at most 50 data schemas will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListDataSchemas` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListDataSchemas` must
// match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for ListDataSchemas.
func (*ListDataSchemasRequest) Descriptor
func (*ListDataSchemasRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSchemasRequest.ProtoReflect.Descriptor instead.
func (*ListDataSchemasRequest) GetPageSize
func (x *ListDataSchemasRequest) GetPageSize() int32
func (*ListDataSchemasRequest) GetPageToken
func (x *ListDataSchemasRequest) GetPageToken() string
func (*ListDataSchemasRequest) GetParent
func (x *ListDataSchemasRequest) GetParent() string
func (*ListDataSchemasRequest) ProtoMessage
func (*ListDataSchemasRequest) ProtoMessage()
func (*ListDataSchemasRequest) ProtoReflect
func (x *ListDataSchemasRequest) ProtoReflect() protoreflect.Message
func (*ListDataSchemasRequest) Reset
func (x *ListDataSchemasRequest) Reset()
func (*ListDataSchemasRequest) String
func (x *ListDataSchemasRequest) String() string
ListDataSchemasResponse
type ListDataSchemasResponse struct {
// The data schemas from the specified corpus.
DataSchemas []*DataSchema `protobuf:"bytes,1,rep,name=data_schemas,json=dataSchemas,proto3" json:"data_schemas,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for ListDataSchemas.
func (*ListDataSchemasResponse) Descriptor
func (*ListDataSchemasResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSchemasResponse.ProtoReflect.Descriptor instead.
func (*ListDataSchemasResponse) GetDataSchemas
func (x *ListDataSchemasResponse) GetDataSchemas() []*DataSchema
func (*ListDataSchemasResponse) GetNextPageToken
func (x *ListDataSchemasResponse) GetNextPageToken() string
func (*ListDataSchemasResponse) ProtoMessage
func (*ListDataSchemasResponse) ProtoMessage()
func (*ListDataSchemasResponse) ProtoReflect
func (x *ListDataSchemasResponse) ProtoReflect() protoreflect.Message
func (*ListDataSchemasResponse) Reset
func (x *ListDataSchemasResponse) Reset()
func (*ListDataSchemasResponse) String
func (x *ListDataSchemasResponse) String() string
ListDraftsRequest
type ListDraftsRequest struct {
// Required. Parent value for ListDraftsRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Message for requesting list of Drafts.
func (*ListDraftsRequest) Descriptor
func (*ListDraftsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDraftsRequest.ProtoReflect.Descriptor instead.
func (*ListDraftsRequest) GetFilter
func (x *ListDraftsRequest) GetFilter() string
func (*ListDraftsRequest) GetOrderBy
func (x *ListDraftsRequest) GetOrderBy() string
func (*ListDraftsRequest) GetPageSize
func (x *ListDraftsRequest) GetPageSize() int32
func (*ListDraftsRequest) GetPageToken
func (x *ListDraftsRequest) GetPageToken() string
func (*ListDraftsRequest) GetParent
func (x *ListDraftsRequest) GetParent() string
func (*ListDraftsRequest) ProtoMessage
func (*ListDraftsRequest) ProtoMessage()
func (*ListDraftsRequest) ProtoReflect
func (x *ListDraftsRequest) ProtoReflect() protoreflect.Message
func (*ListDraftsRequest) Reset
func (x *ListDraftsRequest) Reset()
func (*ListDraftsRequest) String
func (x *ListDraftsRequest) String() string
ListDraftsResponse
type ListDraftsResponse struct {
// The list of Draft.
Drafts []*Draft `protobuf:"bytes,1,rep,name=drafts,proto3" json:"drafts,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing Drafts.
func (*ListDraftsResponse) Descriptor
func (*ListDraftsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDraftsResponse.ProtoReflect.Descriptor instead.
func (*ListDraftsResponse) GetDrafts
func (x *ListDraftsResponse) GetDrafts() []*Draft
func (*ListDraftsResponse) GetNextPageToken
func (x *ListDraftsResponse) GetNextPageToken() string
func (*ListDraftsResponse) GetUnreachable
func (x *ListDraftsResponse) GetUnreachable() []string
func (*ListDraftsResponse) ProtoMessage
func (*ListDraftsResponse) ProtoMessage()
func (*ListDraftsResponse) ProtoReflect
func (x *ListDraftsResponse) ProtoReflect() protoreflect.Message
func (*ListDraftsResponse) Reset
func (x *ListDraftsResponse) Reset()
func (*ListDraftsResponse) String
func (x *ListDraftsResponse) String() string
ListEventsRequest
type ListEventsRequest struct {
// Required. Parent value for ListEventsRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Message for requesting list of Events.
func (*ListEventsRequest) Descriptor
func (*ListEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.
func (*ListEventsRequest) GetFilter
func (x *ListEventsRequest) GetFilter() string
func (*ListEventsRequest) GetOrderBy
func (x *ListEventsRequest) GetOrderBy() string
func (*ListEventsRequest) GetPageSize
func (x *ListEventsRequest) GetPageSize() int32
func (*ListEventsRequest) GetPageToken
func (x *ListEventsRequest) GetPageToken() string
func (*ListEventsRequest) GetParent
func (x *ListEventsRequest) GetParent() string
func (*ListEventsRequest) ProtoMessage
func (*ListEventsRequest) ProtoMessage()
func (*ListEventsRequest) ProtoReflect
func (x *ListEventsRequest) ProtoReflect() protoreflect.Message
func (*ListEventsRequest) Reset
func (x *ListEventsRequest) Reset()
func (*ListEventsRequest) String
func (x *ListEventsRequest) String() string
ListEventsResponse
type ListEventsResponse struct {
// The list of Event.
Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing Events.
func (*ListEventsResponse) Descriptor
func (*ListEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.
func (*ListEventsResponse) GetEvents
func (x *ListEventsResponse) GetEvents() []*Event
func (*ListEventsResponse) GetNextPageToken
func (x *ListEventsResponse) GetNextPageToken() string
func (*ListEventsResponse) GetUnreachable
func (x *ListEventsResponse) GetUnreachable() []string
func (*ListEventsResponse) ProtoMessage
func (*ListEventsResponse) ProtoMessage()
func (*ListEventsResponse) ProtoReflect
func (x *ListEventsResponse) ProtoReflect() protoreflect.Message
func (*ListEventsResponse) Reset
func (x *ListEventsResponse) Reset()
func (*ListEventsResponse) String
func (x *ListEventsResponse) String() string
ListIndexEndpointsRequest
type ListIndexEndpointsRequest struct {
// Required. Format: `projects/{project}/locations/{location}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. The service may return fewer than this value. If unspecified, a
// page size of 50 will be used. The maximum value is 1000; values above 1000
// will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The filter applied to the returned list.
// We only support filtering for the `deployed_image_index.image_index` field.
// However, to filter by a corpus instead of an image index, simply use
// `deployed_image_index.corpus`, which will return all endpoints with
// `deployed_image_index.image_index` inside of the given corpus.
// A basic filter on image index would look like:
//
// deployed_image_index.image_index =
// "projects/123/locations/us-central1/corpora/my_corpus/imageIndexes/my_image_index"
//
// A basic filter on corpus would look like:
//
// deployed_image_index.corpus =
// "projects/123/locations/us-central1/corpora/my_corpus"
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Request message for ListIndexEndpoints.
func (*ListIndexEndpointsRequest) Descriptor
func (*ListIndexEndpointsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIndexEndpointsRequest.ProtoReflect.Descriptor instead.
func (*ListIndexEndpointsRequest) GetFilter
func (x *ListIndexEndpointsRequest) GetFilter() string
func (*ListIndexEndpointsRequest) GetPageSize
func (x *ListIndexEndpointsRequest) GetPageSize() int32
func (*ListIndexEndpointsRequest) GetPageToken
func (x *ListIndexEndpointsRequest) GetPageToken() string
func (*ListIndexEndpointsRequest) GetParent
func (x *ListIndexEndpointsRequest) GetParent() string
func (*ListIndexEndpointsRequest) ProtoMessage
func (*ListIndexEndpointsRequest) ProtoMessage()
func (*ListIndexEndpointsRequest) ProtoReflect
func (x *ListIndexEndpointsRequest) ProtoReflect() protoreflect.Message
func (*ListIndexEndpointsRequest) Reset
func (x *ListIndexEndpointsRequest) Reset()
func (*ListIndexEndpointsRequest) String
func (x *ListIndexEndpointsRequest) String() string
ListIndexEndpointsResponse
type ListIndexEndpointsResponse struct {
// The list of IndexEndpoints.
IndexEndpoints []*IndexEndpoint `protobuf:"bytes,1,rep,name=index_endpoints,json=indexEndpoints,proto3" json:"index_endpoints,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for ListIndexEndpoints.
func (*ListIndexEndpointsResponse) Descriptor
func (*ListIndexEndpointsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIndexEndpointsResponse.ProtoReflect.Descriptor instead.
func (*ListIndexEndpointsResponse) GetIndexEndpoints
func (x *ListIndexEndpointsResponse) GetIndexEndpoints() []*IndexEndpoint
func (*ListIndexEndpointsResponse) GetNextPageToken
func (x *ListIndexEndpointsResponse) GetNextPageToken() string
func (*ListIndexEndpointsResponse) ProtoMessage
func (*ListIndexEndpointsResponse) ProtoMessage()
func (*ListIndexEndpointsResponse) ProtoReflect
func (x *ListIndexEndpointsResponse) ProtoReflect() protoreflect.Message
func (*ListIndexEndpointsResponse) Reset
func (x *ListIndexEndpointsResponse) Reset()
func (*ListIndexEndpointsResponse) String
func (x *ListIndexEndpointsResponse) String() string
ListIndexesRequest
type ListIndexesRequest struct {
// Required. The parent corpus that owns this collection of indexes.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of indexes to return. The service may return fewer than
// this value.
// If unspecified, at most 50 indexes will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListIndexes` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListIndexes` must match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for listing Indexes.
func (*ListIndexesRequest) Descriptor
func (*ListIndexesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIndexesRequest.ProtoReflect.Descriptor instead.
func (*ListIndexesRequest) GetPageSize
func (x *ListIndexesRequest) GetPageSize() int32
func (*ListIndexesRequest) GetPageToken
func (x *ListIndexesRequest) GetPageToken() string
func (*ListIndexesRequest) GetParent
func (x *ListIndexesRequest) GetParent() string
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
ListIndexesResponse
type ListIndexesResponse struct {
// The indexes under the specified corpus.
Indexes []*Index `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for ListIndexes.
func (*ListIndexesResponse) Descriptor
func (*ListIndexesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIndexesResponse.ProtoReflect.Descriptor instead.
func (*ListIndexesResponse) GetIndexes
func (x *ListIndexesResponse) GetIndexes() []*Index
func (*ListIndexesResponse) GetNextPageToken
func (x *ListIndexesResponse) GetNextPageToken() string
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
ListInstancesRequest
type ListInstancesRequest struct {
// Required. Parent value for ListInstancesRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Message for requesting list of Instances.
func (*ListInstancesRequest) Descriptor
func (*ListInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.
func (*ListInstancesRequest) GetFilter
func (x *ListInstancesRequest) GetFilter() string
func (*ListInstancesRequest) GetOrderBy
func (x *ListInstancesRequest) GetOrderBy() string
func (*ListInstancesRequest) GetPageSize
func (x *ListInstancesRequest) GetPageSize() int32
func (*ListInstancesRequest) GetPageToken
func (x *ListInstancesRequest) GetPageToken() string
func (*ListInstancesRequest) GetParent
func (x *ListInstancesRequest) GetParent() string
func (*ListInstancesRequest) ProtoMessage
func (*ListInstancesRequest) ProtoMessage()
func (*ListInstancesRequest) ProtoReflect
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message
func (*ListInstancesRequest) Reset
func (x *ListInstancesRequest) Reset()
func (*ListInstancesRequest) String
func (x *ListInstancesRequest) String() string
ListInstancesResponse
type ListInstancesResponse struct {
// The list of Instance.
Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing Instances.
func (*ListInstancesResponse) Descriptor
func (*ListInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.
func (*ListInstancesResponse) GetInstances
func (x *ListInstancesResponse) GetInstances() []*Instance
func (*ListInstancesResponse) GetNextPageToken
func (x *ListInstancesResponse) GetNextPageToken() string
func (*ListInstancesResponse) GetUnreachable
func (x *ListInstancesResponse) GetUnreachable() []string
func (*ListInstancesResponse) ProtoMessage
func (*ListInstancesResponse) ProtoMessage()
func (*ListInstancesResponse) ProtoReflect
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message
func (*ListInstancesResponse) Reset
func (x *ListInstancesResponse) Reset()
func (*ListInstancesResponse) String
func (x *ListInstancesResponse) String() string
ListOperatorsRequest
type ListOperatorsRequest struct {
// Required. Parent value for ListOperatorsRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Message for requesting list of Operators.
func (*ListOperatorsRequest) Descriptor
func (*ListOperatorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOperatorsRequest.ProtoReflect.Descriptor instead.
func (*ListOperatorsRequest) GetFilter
func (x *ListOperatorsRequest) GetFilter() string
func (*ListOperatorsRequest) GetOrderBy
func (x *ListOperatorsRequest) GetOrderBy() string
func (*ListOperatorsRequest) GetPageSize
func (x *ListOperatorsRequest) GetPageSize() int32
func (*ListOperatorsRequest) GetPageToken
func (x *ListOperatorsRequest) GetPageToken() string
func (*ListOperatorsRequest) GetParent
func (x *ListOperatorsRequest) GetParent() string
func (*ListOperatorsRequest) ProtoMessage
func (*ListOperatorsRequest) ProtoMessage()
func (*ListOperatorsRequest) ProtoReflect
func (x *ListOperatorsRequest) ProtoReflect() protoreflect.Message
func (*ListOperatorsRequest) Reset
func (x *ListOperatorsRequest) Reset()
func (*ListOperatorsRequest) String
func (x *ListOperatorsRequest) String() string
ListOperatorsResponse
type ListOperatorsResponse struct {
// The list of Operator
Operators []*Operator `protobuf:"bytes,1,rep,name=operators,proto3" json:"operators,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing Operators.
func (*ListOperatorsResponse) Descriptor
func (*ListOperatorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOperatorsResponse.ProtoReflect.Descriptor instead.
func (*ListOperatorsResponse) GetNextPageToken
func (x *ListOperatorsResponse) GetNextPageToken() string
func (*ListOperatorsResponse) GetOperators
func (x *ListOperatorsResponse) GetOperators() []*Operator
func (*ListOperatorsResponse) GetUnreachable
func (x *ListOperatorsResponse) GetUnreachable() []string
func (*ListOperatorsResponse) ProtoMessage
func (*ListOperatorsResponse) ProtoMessage()
func (*ListOperatorsResponse) ProtoReflect
func (x *ListOperatorsResponse) ProtoReflect() protoreflect.Message
func (*ListOperatorsResponse) Reset
func (x *ListOperatorsResponse) Reset()
func (*ListOperatorsResponse) String
func (x *ListOperatorsResponse) String() string
ListPrebuiltProcessorsRequest
type ListPrebuiltProcessorsRequest struct {
// Required. Parent path.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// contains filtered or unexported fields
}
Request Message for listing Prebuilt Processors.
func (*ListPrebuiltProcessorsRequest) Descriptor
func (*ListPrebuiltProcessorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPrebuiltProcessorsRequest.ProtoReflect.Descriptor instead.
func (*ListPrebuiltProcessorsRequest) GetParent
func (x *ListPrebuiltProcessorsRequest) GetParent() string
func (*ListPrebuiltProcessorsRequest) ProtoMessage
func (*ListPrebuiltProcessorsRequest) ProtoMessage()
func (*ListPrebuiltProcessorsRequest) ProtoReflect
func (x *ListPrebuiltProcessorsRequest) ProtoReflect() protoreflect.Message
func (*ListPrebuiltProcessorsRequest) Reset
func (x *ListPrebuiltProcessorsRequest) Reset()
func (*ListPrebuiltProcessorsRequest) String
func (x *ListPrebuiltProcessorsRequest) String() string
ListPrebuiltProcessorsResponse
type ListPrebuiltProcessorsResponse struct {
// The list of Processor.
Processors []*Processor `protobuf:"bytes,1,rep,name=processors,proto3" json:"processors,omitempty"`
// contains filtered or unexported fields
}
Response Message for listing Prebuilt Processors.
func (*ListPrebuiltProcessorsResponse) Descriptor
func (*ListPrebuiltProcessorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPrebuiltProcessorsResponse.ProtoReflect.Descriptor instead.
func (*ListPrebuiltProcessorsResponse) GetProcessors
func (x *ListPrebuiltProcessorsResponse) GetProcessors() []*Processor
func (*ListPrebuiltProcessorsResponse) ProtoMessage
func (*ListPrebuiltProcessorsResponse) ProtoMessage()
func (*ListPrebuiltProcessorsResponse) ProtoReflect
func (x *ListPrebuiltProcessorsResponse) ProtoReflect() protoreflect.Message
func (*ListPrebuiltProcessorsResponse) Reset
func (x *ListPrebuiltProcessorsResponse) Reset()
func (*ListPrebuiltProcessorsResponse) String
func (x *ListPrebuiltProcessorsResponse) String() string
ListProcessesRequest
type ListProcessesRequest struct {
// Required. Parent value for ListProcessesRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Message for requesting list of Processes.
func (*ListProcessesRequest) Descriptor
func (*ListProcessesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProcessesRequest.ProtoReflect.Descriptor instead.
func (*ListProcessesRequest) GetFilter
func (x *ListProcessesRequest) GetFilter() string
func (*ListProcessesRequest) GetOrderBy
func (x *ListProcessesRequest) GetOrderBy() string
func (*ListProcessesRequest) GetPageSize
func (x *ListProcessesRequest) GetPageSize() int32
func (*ListProcessesRequest) GetPageToken
func (x *ListProcessesRequest) GetPageToken() string
func (*ListProcessesRequest) GetParent
func (x *ListProcessesRequest) GetParent() string
func (*ListProcessesRequest) ProtoMessage
func (*ListProcessesRequest) ProtoMessage()
func (*ListProcessesRequest) ProtoReflect
func (x *ListProcessesRequest) ProtoReflect() protoreflect.Message
func (*ListProcessesRequest) Reset
func (x *ListProcessesRequest) Reset()
func (*ListProcessesRequest) String
func (x *ListProcessesRequest) String() string
ListProcessesResponse
type ListProcessesResponse struct {
// The list of Processes.
Processes []*Process `protobuf:"bytes,1,rep,name=processes,proto3" json:"processes,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing Processes.
func (*ListProcessesResponse) Descriptor
func (*ListProcessesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProcessesResponse.ProtoReflect.Descriptor instead.
func (*ListProcessesResponse) GetNextPageToken
func (x *ListProcessesResponse) GetNextPageToken() string
func (*ListProcessesResponse) GetProcesses
func (x *ListProcessesResponse) GetProcesses() []*Process
func (*ListProcessesResponse) GetUnreachable
func (x *ListProcessesResponse) GetUnreachable() []string
func (*ListProcessesResponse) ProtoMessage
func (*ListProcessesResponse) ProtoMessage()
func (*ListProcessesResponse) ProtoReflect
func (x *ListProcessesResponse) ProtoReflect() protoreflect.Message
func (*ListProcessesResponse) Reset
func (x *ListProcessesResponse) Reset()
func (*ListProcessesResponse) String
func (x *ListProcessesResponse) String() string
ListProcessorsRequest
type ListProcessorsRequest struct {
// Required. Parent value for ListProcessorsRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Message for requesting list of Processors.
func (*ListProcessorsRequest) Descriptor
func (*ListProcessorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProcessorsRequest.ProtoReflect.Descriptor instead.
func (*ListProcessorsRequest) GetFilter
func (x *ListProcessorsRequest) GetFilter() string
func (*ListProcessorsRequest) GetOrderBy
func (x *ListProcessorsRequest) GetOrderBy() string
func (*ListProcessorsRequest) GetPageSize
func (x *ListProcessorsRequest) GetPageSize() int32
func (*ListProcessorsRequest) GetPageToken
func (x *ListProcessorsRequest) GetPageToken() string
func (*ListProcessorsRequest) GetParent
func (x *ListProcessorsRequest) GetParent() string
func (*ListProcessorsRequest) ProtoMessage
func (*ListProcessorsRequest) ProtoMessage()
func (*ListProcessorsRequest) ProtoReflect
func (x *ListProcessorsRequest) ProtoReflect() protoreflect.Message
func (*ListProcessorsRequest) Reset
func (x *ListProcessorsRequest) Reset()
func (*ListProcessorsRequest) String
func (x *ListProcessorsRequest) String() string
ListProcessorsResponse
type ListProcessorsResponse struct {
// The list of Processor.
Processors []*Processor `protobuf:"bytes,1,rep,name=processors,proto3" json:"processors,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing Processors.
func (*ListProcessorsResponse) Descriptor
func (*ListProcessorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProcessorsResponse.ProtoReflect.Descriptor instead.
func (*ListProcessorsResponse) GetNextPageToken
func (x *ListProcessorsResponse) GetNextPageToken() string
func (*ListProcessorsResponse) GetProcessors
func (x *ListProcessorsResponse) GetProcessors() []*Processor
func (*ListProcessorsResponse) GetUnreachable
func (x *ListProcessorsResponse) GetUnreachable() []string
func (*ListProcessorsResponse) ProtoMessage
func (*ListProcessorsResponse) ProtoMessage()
func (*ListProcessorsResponse) ProtoReflect
func (x *ListProcessorsResponse) ProtoReflect() protoreflect.Message
func (*ListProcessorsResponse) Reset
func (x *ListProcessorsResponse) Reset()
func (*ListProcessorsResponse) String
func (x *ListProcessorsResponse) String() string
ListPublicOperatorsRequest
type ListPublicOperatorsRequest struct {
// Required. Parent value for ListPublicOperatorsRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Request message of ListPublicOperatorsRequest API.
func (*ListPublicOperatorsRequest) Descriptor
func (*ListPublicOperatorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPublicOperatorsRequest.ProtoReflect.Descriptor instead.
func (*ListPublicOperatorsRequest) GetFilter
func (x *ListPublicOperatorsRequest) GetFilter() string
func (*ListPublicOperatorsRequest) GetOrderBy
func (x *ListPublicOperatorsRequest) GetOrderBy() string
func (*ListPublicOperatorsRequest) GetPageSize
func (x *ListPublicOperatorsRequest) GetPageSize() int32
func (*ListPublicOperatorsRequest) GetPageToken
func (x *ListPublicOperatorsRequest) GetPageToken() string
func (*ListPublicOperatorsRequest) GetParent
func (x *ListPublicOperatorsRequest) GetParent() string
func (*ListPublicOperatorsRequest) ProtoMessage
func (*ListPublicOperatorsRequest) ProtoMessage()
func (*ListPublicOperatorsRequest) ProtoReflect
func (x *ListPublicOperatorsRequest) ProtoReflect() protoreflect.Message
func (*ListPublicOperatorsRequest) Reset
func (x *ListPublicOperatorsRequest) Reset()
func (*ListPublicOperatorsRequest) String
func (x *ListPublicOperatorsRequest) String() string
ListPublicOperatorsResponse
type ListPublicOperatorsResponse struct {
// The list of Operator
Operators []*Operator `protobuf:"bytes,1,rep,name=operators,proto3" json:"operators,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message of ListPublicOperators API.
func (*ListPublicOperatorsResponse) Descriptor
func (*ListPublicOperatorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPublicOperatorsResponse.ProtoReflect.Descriptor instead.
func (*ListPublicOperatorsResponse) GetNextPageToken
func (x *ListPublicOperatorsResponse) GetNextPageToken() string
func (*ListPublicOperatorsResponse) GetOperators
func (x *ListPublicOperatorsResponse) GetOperators() []*Operator
func (*ListPublicOperatorsResponse) ProtoMessage
func (*ListPublicOperatorsResponse) ProtoMessage()
func (*ListPublicOperatorsResponse) ProtoReflect
func (x *ListPublicOperatorsResponse) ProtoReflect() protoreflect.Message
func (*ListPublicOperatorsResponse) Reset
func (x *ListPublicOperatorsResponse) Reset()
func (*ListPublicOperatorsResponse) String
func (x *ListPublicOperatorsResponse) String() string
ListSearchConfigsRequest
type ListSearchConfigsRequest struct {
// Required. The parent, which owns this collection of search configurations.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of search configurations to return. The service may
// return fewer than this value. If unspecified, a page size of 50 will be
// used. The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListSearchConfigs` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to
// `ListSearchConfigs` must match the call that provided the page
// token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for ListSearchConfigs.
func (*ListSearchConfigsRequest) Descriptor
func (*ListSearchConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSearchConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListSearchConfigsRequest) GetPageSize
func (x *ListSearchConfigsRequest) GetPageSize() int32
func (*ListSearchConfigsRequest) GetPageToken
func (x *ListSearchConfigsRequest) GetPageToken() string
func (*ListSearchConfigsRequest) GetParent
func (x *ListSearchConfigsRequest) GetParent() string
func (*ListSearchConfigsRequest) ProtoMessage
func (*ListSearchConfigsRequest) ProtoMessage()
func (*ListSearchConfigsRequest) ProtoReflect
func (x *ListSearchConfigsRequest) ProtoReflect() protoreflect.Message
func (*ListSearchConfigsRequest) Reset
func (x *ListSearchConfigsRequest) Reset()
func (*ListSearchConfigsRequest) String
func (x *ListSearchConfigsRequest) String() string
ListSearchConfigsResponse
type ListSearchConfigsResponse struct {
// The search configurations from the specified corpus.
SearchConfigs []*SearchConfig `protobuf:"bytes,1,rep,name=search_configs,json=searchConfigs,proto3" json:"search_configs,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for ListSearchConfigs.
func (*ListSearchConfigsResponse) Descriptor
func (*ListSearchConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSearchConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListSearchConfigsResponse) GetNextPageToken
func (x *ListSearchConfigsResponse) GetNextPageToken() string
func (*ListSearchConfigsResponse) GetSearchConfigs
func (x *ListSearchConfigsResponse) GetSearchConfigs() []*SearchConfig
func (*ListSearchConfigsResponse) ProtoMessage
func (*ListSearchConfigsResponse) ProtoMessage()
func (*ListSearchConfigsResponse) ProtoReflect
func (x *ListSearchConfigsResponse) ProtoReflect() protoreflect.Message
func (*ListSearchConfigsResponse) Reset
func (x *ListSearchConfigsResponse) Reset()
func (*ListSearchConfigsResponse) String
func (x *ListSearchConfigsResponse) String() string
ListSearchHypernymsRequest
type ListSearchHypernymsRequest struct {
// Required. The parent, which owns this collection of SearchHypernyms.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of SearchHypernyms returned. The service may
// return fewer than this value. If unspecified, a page size of 50 will be
// used. The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `SearchHypernym` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to
// `SearchHypernym` must match the call that provided the page
// token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for listing SearchHypernyms.
func (*ListSearchHypernymsRequest) Descriptor
func (*ListSearchHypernymsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSearchHypernymsRequest.ProtoReflect.Descriptor instead.
func (*ListSearchHypernymsRequest) GetPageSize
func (x *ListSearchHypernymsRequest) GetPageSize() int32
func (*ListSearchHypernymsRequest) GetPageToken
func (x *ListSearchHypernymsRequest) GetPageToken() string
func (*ListSearchHypernymsRequest) GetParent
func (x *ListSearchHypernymsRequest) GetParent() string
func (*ListSearchHypernymsRequest) ProtoMessage
func (*ListSearchHypernymsRequest) ProtoMessage()
func (*ListSearchHypernymsRequest) ProtoReflect
func (x *ListSearchHypernymsRequest) ProtoReflect() protoreflect.Message
func (*ListSearchHypernymsRequest) Reset
func (x *ListSearchHypernymsRequest) Reset()
func (*ListSearchHypernymsRequest) String
func (x *ListSearchHypernymsRequest) String() string
ListSearchHypernymsResponse
type ListSearchHypernymsResponse struct {
// The SearchHypernyms from the specified corpus.
SearchHypernyms []*SearchHypernym `protobuf:"bytes,1,rep,name=search_hypernyms,json=searchHypernyms,proto3" json:"search_hypernyms,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for listing SearchHypernyms.
func (*ListSearchHypernymsResponse) Descriptor
func (*ListSearchHypernymsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSearchHypernymsResponse.ProtoReflect.Descriptor instead.
func (*ListSearchHypernymsResponse) GetNextPageToken
func (x *ListSearchHypernymsResponse) GetNextPageToken() string
func (*ListSearchHypernymsResponse) GetSearchHypernyms
func (x *ListSearchHypernymsResponse) GetSearchHypernyms() []*SearchHypernym
func (*ListSearchHypernymsResponse) ProtoMessage
func (*ListSearchHypernymsResponse) ProtoMessage()
func (*ListSearchHypernymsResponse) ProtoReflect
func (x *ListSearchHypernymsResponse) ProtoReflect() protoreflect.Message
func (*ListSearchHypernymsResponse) Reset
func (x *ListSearchHypernymsResponse) Reset()
func (*ListSearchHypernymsResponse) String
func (x *ListSearchHypernymsResponse) String() string
ListSeriesRequest
type ListSeriesRequest struct {
// Required. Parent value for ListSeriesRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Message for requesting list of Series.
func (*ListSeriesRequest) Descriptor
func (*ListSeriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSeriesRequest.ProtoReflect.Descriptor instead.
func (*ListSeriesRequest) GetFilter
func (x *ListSeriesRequest) GetFilter() string
func (*ListSeriesRequest) GetOrderBy
func (x *ListSeriesRequest) GetOrderBy() string
func (*ListSeriesRequest) GetPageSize
func (x *ListSeriesRequest) GetPageSize() int32
func (*ListSeriesRequest) GetPageToken
func (x *ListSeriesRequest) GetPageToken() string
func (*ListSeriesRequest) GetParent
func (x *ListSeriesRequest) GetParent() string
func (*ListSeriesRequest) ProtoMessage
func (*ListSeriesRequest) ProtoMessage()
func (*ListSeriesRequest) ProtoReflect
func (x *ListSeriesRequest) ProtoReflect() protoreflect.Message
func (*ListSeriesRequest) Reset
func (x *ListSeriesRequest) Reset()
func (*ListSeriesRequest) String
func (x *ListSeriesRequest) String() string
ListSeriesResponse
type ListSeriesResponse struct {
// The list of Series.
Series []*Series `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing Series.
func (*ListSeriesResponse) Descriptor
func (*ListSeriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSeriesResponse.ProtoReflect.Descriptor instead.
func (*ListSeriesResponse) GetNextPageToken
func (x *ListSeriesResponse) GetNextPageToken() string
func (*ListSeriesResponse) GetSeries
func (x *ListSeriesResponse) GetSeries() []*Series
func (*ListSeriesResponse) GetUnreachable
func (x *ListSeriesResponse) GetUnreachable() []string
func (*ListSeriesResponse) ProtoMessage
func (*ListSeriesResponse) ProtoMessage()
func (*ListSeriesResponse) ProtoReflect
func (x *ListSeriesResponse) ProtoReflect() protoreflect.Message
func (*ListSeriesResponse) Reset
func (x *ListSeriesResponse) Reset()
func (*ListSeriesResponse) String
func (x *ListSeriesResponse) String() string
ListStreamsRequest
type ListStreamsRequest struct {
// Required. Parent value for ListStreamsRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Message for requesting list of Streams.
func (*ListStreamsRequest) Descriptor
func (*ListStreamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListStreamsRequest.ProtoReflect.Descriptor instead.
func (*ListStreamsRequest) GetFilter
func (x *ListStreamsRequest) GetFilter() string
func (*ListStreamsRequest) GetOrderBy
func (x *ListStreamsRequest) GetOrderBy() string
func (*ListStreamsRequest) GetPageSize
func (x *ListStreamsRequest) GetPageSize() int32
func (*ListStreamsRequest) GetPageToken
func (x *ListStreamsRequest) GetPageToken() string
func (*ListStreamsRequest) GetParent
func (x *ListStreamsRequest) GetParent() string
func (*ListStreamsRequest) ProtoMessage
func (*ListStreamsRequest) ProtoMessage()
func (*ListStreamsRequest) ProtoReflect
func (x *ListStreamsRequest) ProtoReflect() protoreflect.Message
func (*ListStreamsRequest) Reset
func (x *ListStreamsRequest) Reset()
func (*ListStreamsRequest) String
func (x *ListStreamsRequest) String() string
ListStreamsResponse
type ListStreamsResponse struct {
// The list of Stream.
Streams []*Stream `protobuf:"bytes,1,rep,name=streams,proto3" json:"streams,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing Streams.
func (*ListStreamsResponse) Descriptor
func (*ListStreamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListStreamsResponse.ProtoReflect.Descriptor instead.
func (*ListStreamsResponse) GetNextPageToken
func (x *ListStreamsResponse) GetNextPageToken() string
func (*ListStreamsResponse) GetStreams
func (x *ListStreamsResponse) GetStreams() []*Stream
func (*ListStreamsResponse) GetUnreachable
func (x *ListStreamsResponse) GetUnreachable() []string
func (*ListStreamsResponse) ProtoMessage
func (*ListStreamsResponse) ProtoMessage()
func (*ListStreamsResponse) ProtoReflect
func (x *ListStreamsResponse) ProtoReflect() protoreflect.Message
func (*ListStreamsResponse) Reset
func (x *ListStreamsResponse) Reset()
func (*ListStreamsResponse) String
func (x *ListStreamsResponse) String() string
LiveVideoAnalyticsClient
type LiveVideoAnalyticsClient interface {
// ListPublicOperators returns all the operators in public registry.
ListPublicOperators(ctx context.Context, in *ListPublicOperatorsRequest, opts ...grpc.CallOption) (*ListPublicOperatorsResponse, error)
// ResolveOperatorInfo returns the operator information based on the request.
ResolveOperatorInfo(ctx context.Context, in *ResolveOperatorInfoRequest, opts ...grpc.CallOption) (*ResolveOperatorInfoResponse, error)
// Lists Operators in a given project and location.
ListOperators(ctx context.Context, in *ListOperatorsRequest, opts ...grpc.CallOption) (*ListOperatorsResponse, error)
// Gets details of a single Operator.
GetOperator(ctx context.Context, in *GetOperatorRequest, opts ...grpc.CallOption) (*Operator, error)
// Creates a new Operator in a given project and location.
CreateOperator(ctx context.Context, in *CreateOperatorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Operator.
UpdateOperator(ctx context.Context, in *UpdateOperatorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Operator.
DeleteOperator(ctx context.Context, in *DeleteOperatorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Analyses in a given project and location.
ListAnalyses(ctx context.Context, in *ListAnalysesRequest, opts ...grpc.CallOption) (*ListAnalysesResponse, error)
// Gets details of a single Analysis.
GetAnalysis(ctx context.Context, in *GetAnalysisRequest, opts ...grpc.CallOption) (*Analysis, error)
// Creates a new Analysis in a given project and location.
CreateAnalysis(ctx context.Context, in *CreateAnalysisRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Analysis.
UpdateAnalysis(ctx context.Context, in *UpdateAnalysisRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Analysis.
DeleteAnalysis(ctx context.Context, in *DeleteAnalysisRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Processes in a given project and location.
ListProcesses(ctx context.Context, in *ListProcessesRequest, opts ...grpc.CallOption) (*ListProcessesResponse, error)
// Gets details of a single Process.
GetProcess(ctx context.Context, in *GetProcessRequest, opts ...grpc.CallOption) (*Process, error)
// Creates a new Process in a given project and location.
CreateProcess(ctx context.Context, in *CreateProcessRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Process.
UpdateProcess(ctx context.Context, in *UpdateProcessRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Process.
DeleteProcess(ctx context.Context, in *DeleteProcessRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Run all of the processes to "completion". Max time for each process is
// the LRO time limit.
BatchRunProcess(ctx context.Context, in *BatchRunProcessRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
LiveVideoAnalyticsClient is the client API for LiveVideoAnalytics service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLiveVideoAnalyticsClient
func NewLiveVideoAnalyticsClient(cc grpc.ClientConnInterface) LiveVideoAnalyticsClient
LiveVideoAnalyticsServer
type LiveVideoAnalyticsServer interface {
// ListPublicOperators returns all the operators in public registry.
ListPublicOperators(context.Context, *ListPublicOperatorsRequest) (*ListPublicOperatorsResponse, error)
// ResolveOperatorInfo returns the operator information based on the request.
ResolveOperatorInfo(context.Context, *ResolveOperatorInfoRequest) (*ResolveOperatorInfoResponse, error)
// Lists Operators in a given project and location.
ListOperators(context.Context, *ListOperatorsRequest) (*ListOperatorsResponse, error)
// Gets details of a single Operator.
GetOperator(context.Context, *GetOperatorRequest) (*Operator, error)
// Creates a new Operator in a given project and location.
CreateOperator(context.Context, *CreateOperatorRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Operator.
UpdateOperator(context.Context, *UpdateOperatorRequest) (*longrunningpb.Operation, error)
// Deletes a single Operator.
DeleteOperator(context.Context, *DeleteOperatorRequest) (*longrunningpb.Operation, error)
// Lists Analyses in a given project and location.
ListAnalyses(context.Context, *ListAnalysesRequest) (*ListAnalysesResponse, error)
// Gets details of a single Analysis.
GetAnalysis(context.Context, *GetAnalysisRequest) (*Analysis, error)
// Creates a new Analysis in a given project and location.
CreateAnalysis(context.Context, *CreateAnalysisRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Analysis.
UpdateAnalysis(context.Context, *UpdateAnalysisRequest) (*longrunningpb.Operation, error)
// Deletes a single Analysis.
DeleteAnalysis(context.Context, *DeleteAnalysisRequest) (*longrunningpb.Operation, error)
// Lists Processes in a given project and location.
ListProcesses(context.Context, *ListProcessesRequest) (*ListProcessesResponse, error)
// Gets details of a single Process.
GetProcess(context.Context, *GetProcessRequest) (*Process, error)
// Creates a new Process in a given project and location.
CreateProcess(context.Context, *CreateProcessRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Process.
UpdateProcess(context.Context, *UpdateProcessRequest) (*longrunningpb.Operation, error)
// Deletes a single Process.
DeleteProcess(context.Context, *DeleteProcessRequest) (*longrunningpb.Operation, error)
// Run all of the processes to "completion". Max time for each process is
// the LRO time limit.
BatchRunProcess(context.Context, *BatchRunProcessRequest) (*longrunningpb.Operation, error)
}
LiveVideoAnalyticsServer is the server API for LiveVideoAnalytics service.
MachineSpec
type MachineSpec struct {
MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
AcceleratorType AcceleratorType "" /* 153 byte string literal not displayed */
AcceleratorCount int32 `protobuf:"varint,3,opt,name=accelerator_count,json=acceleratorCount,proto3" json:"accelerator_count,omitempty"`
}
Specification of a single machine.
func (*MachineSpec) Descriptor
func (*MachineSpec) Descriptor() ([]byte, []int)
Deprecated: Use MachineSpec.ProtoReflect.Descriptor instead.
func (*MachineSpec) GetAcceleratorCount
func (x *MachineSpec) GetAcceleratorCount() int32
func (*MachineSpec) GetAcceleratorType
func (x *MachineSpec) GetAcceleratorType() AcceleratorType
func (*MachineSpec) GetMachineType
func (x *MachineSpec) GetMachineType() string
func (*MachineSpec) ProtoMessage
func (*MachineSpec) ProtoMessage()
func (*MachineSpec) ProtoReflect
func (x *MachineSpec) ProtoReflect() protoreflect.Message
func (*MachineSpec) Reset
func (x *MachineSpec) Reset()
func (*MachineSpec) String
func (x *MachineSpec) String() string
MaterializeChannelRequest
type MaterializeChannelRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the channel.
ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
// Required. The resource being created.
Channel *Channel `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for materializing a channel.
func (*MaterializeChannelRequest) Descriptor
func (*MaterializeChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use MaterializeChannelRequest.ProtoReflect.Descriptor instead.
func (*MaterializeChannelRequest) GetChannel
func (x *MaterializeChannelRequest) GetChannel() *Channel
func (*MaterializeChannelRequest) GetChannelId
func (x *MaterializeChannelRequest) GetChannelId() string
func (*MaterializeChannelRequest) GetParent
func (x *MaterializeChannelRequest) GetParent() string
func (*MaterializeChannelRequest) GetRequestId
func (x *MaterializeChannelRequest) GetRequestId() string
func (*MaterializeChannelRequest) ProtoMessage
func (*MaterializeChannelRequest) ProtoMessage()
func (*MaterializeChannelRequest) ProtoReflect
func (x *MaterializeChannelRequest) ProtoReflect() protoreflect.Message
func (*MaterializeChannelRequest) Reset
func (x *MaterializeChannelRequest) Reset()
func (*MaterializeChannelRequest) String
func (x *MaterializeChannelRequest) String() string
MediaWarehouseConfig
type MediaWarehouseConfig struct {
// Resource name of the Media Warehouse corpus.
// Format:
// projects/${project_id}/locations/${location_id}/corpora/${corpus_id}
Corpus string `protobuf:"bytes,1,opt,name=corpus,proto3" json:"corpus,omitempty"`
// Deprecated.
//
// Deprecated: Marked as deprecated in google/cloud/visionai/v1/platform.proto.
Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
// The duration for which all media assets, associated metadata, and search
// documents can exist.
Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
// contains filtered or unexported fields
}
Message describing MediaWarehouseConfig.
func (*MediaWarehouseConfig) Descriptor
func (*MediaWarehouseConfig) Descriptor() ([]byte, []int)
Deprecated: Use MediaWarehouseConfig.ProtoReflect.Descriptor instead.
func (*MediaWarehouseConfig) GetCorpus
func (x *MediaWarehouseConfig) GetCorpus() string
func (*MediaWarehouseConfig) GetRegion
func (x *MediaWarehouseConfig) GetRegion() string
Deprecated: Marked as deprecated in google/cloud/visionai/v1/platform.proto.
func (*MediaWarehouseConfig) GetTtl
func (x *MediaWarehouseConfig) GetTtl() *durationpb.Duration
func (*MediaWarehouseConfig) ProtoMessage
func (*MediaWarehouseConfig) ProtoMessage()
func (*MediaWarehouseConfig) ProtoReflect
func (x *MediaWarehouseConfig) ProtoReflect() protoreflect.Message
func (*MediaWarehouseConfig) Reset
func (x *MediaWarehouseConfig) Reset()
func (*MediaWarehouseConfig) String
func (x *MediaWarehouseConfig) String() string
ModelType
type ModelType int32
All the supported model types in Vision AI App Platform.
ModelType_MODEL_TYPE_UNSPECIFIED, ModelType_IMAGE_CLASSIFICATION, ModelType_OBJECT_DETECTION, ModelType_VIDEO_CLASSIFICATION, ModelType_VIDEO_OBJECT_TRACKING, ModelType_VIDEO_ACTION_RECOGNITION, ModelType_OCCUPANCY_COUNTING, ModelType_PERSON_BLUR, ModelType_VERTEX_CUSTOM, ModelType_PRODUCT_RECOGNIZER, ModelType_TAG_RECOGNIZER, ModelType_SYNTH_ID
const (
// Processor Type UNSPECIFIED.
ModelType_MODEL_TYPE_UNSPECIFIED ModelType = 0
// Model Type Image Classification.
ModelType_IMAGE_CLASSIFICATION ModelType = 1
// Model Type Object Detection.
ModelType_OBJECT_DETECTION ModelType = 2
// Model Type Video Classification.
ModelType_VIDEO_CLASSIFICATION ModelType = 3
// Model Type Object Tracking.
ModelType_VIDEO_OBJECT_TRACKING ModelType = 4
// Model Type Action Recognition.
ModelType_VIDEO_ACTION_RECOGNITION ModelType = 5
// Model Type Occupancy Counting.
ModelType_OCCUPANCY_COUNTING ModelType = 6
// Model Type Person Blur.
ModelType_PERSON_BLUR ModelType = 7
// Model Type Vertex Custom.
ModelType_VERTEX_CUSTOM ModelType = 8
// Model Type Product Recognizer.
ModelType_PRODUCT_RECOGNIZER ModelType = 9
// Model Type Tag Recognizer.
ModelType_TAG_RECOGNIZER ModelType = 10
// Model Type SynthID.
ModelType_SYNTH_ID ModelType = 15
)
func (ModelType) Descriptor
func (ModelType) Descriptor() protoreflect.EnumDescriptor
func (ModelType) Enum
func (ModelType) EnumDescriptor
Deprecated: Use ModelType.Descriptor instead.
func (ModelType) Number
func (x ModelType) Number() protoreflect.EnumNumber
func (ModelType) String
func (ModelType) Type
func (ModelType) Type() protoreflect.EnumType
Node
type Node struct {
// Types that are assignable to StreamOutputConfig:
//
// *Node_OutputAllOutputChannelsToStream
StreamOutputConfig isNode_StreamOutputConfig `protobuf_oneof:"stream_output_config"`
// Required. A unique name for the node.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A user friendly display name for the node.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Node config.
NodeConfig *ProcessorConfig `protobuf:"bytes,3,opt,name=node_config,json=nodeConfig,proto3" json:"node_config,omitempty"`
// Processor name refer to the chosen processor resource.
Processor string `protobuf:"bytes,4,opt,name=processor,proto3" json:"processor,omitempty"`
// Parent node. Input node should not have parent node. For V1 Alpha1/Beta
// only media warehouse node can have multiple parents, other types of nodes
// will only have one parent.
Parents []*Node_InputEdge `protobuf:"bytes,5,rep,name=parents,proto3" json:"parents,omitempty"`
// contains filtered or unexported fields
}
Message describing node object.
func (*Node) Descriptor
Deprecated: Use Node.ProtoReflect.Descriptor instead.
func (*Node) GetDisplayName
func (*Node) GetName
func (*Node) GetNodeConfig
func (x *Node) GetNodeConfig() *ProcessorConfig
func (*Node) GetOutputAllOutputChannelsToStream
func (*Node) GetParents
func (x *Node) GetParents() []*Node_InputEdge
func (*Node) GetProcessor
func (*Node) GetStreamOutputConfig
func (m *Node) GetStreamOutputConfig() isNode_StreamOutputConfig
func (*Node) ProtoMessage
func (*Node) ProtoMessage()
func (*Node) ProtoReflect
func (x *Node) ProtoReflect() protoreflect.Message
func (*Node) Reset
func (x *Node) Reset()
func (*Node) String
Node_InputEdge
type Node_InputEdge struct {
// The name of the parent node.
ParentNode string `protobuf:"bytes,1,opt,name=parent_node,json=parentNode,proto3" json:"parent_node,omitempty"`
// The connected output artifact of the parent node.
// It can be omitted if target processor only has 1 output artifact.
ParentOutputChannel string `protobuf:"bytes,2,opt,name=parent_output_channel,json=parentOutputChannel,proto3" json:"parent_output_channel,omitempty"`
// The connected input channel of the current node's processor.
// It can be omitted if target processor only has 1 input channel.
ConnectedInputChannel string `protobuf:"bytes,3,opt,name=connected_input_channel,json=connectedInputChannel,proto3" json:"connected_input_channel,omitempty"`
// contains filtered or unexported fields
}
Message describing one edge pointing into a node.
func (*Node_InputEdge) Descriptor
func (*Node_InputEdge) Descriptor() ([]byte, []int)
Deprecated: Use Node_InputEdge.ProtoReflect.Descriptor instead.
func (*Node_InputEdge) GetConnectedInputChannel
func (x *Node_InputEdge) GetConnectedInputChannel() string
func (*Node_InputEdge) GetParentNode
func (x *Node_InputEdge) GetParentNode() string
func (*Node_InputEdge) GetParentOutputChannel
func (x *Node_InputEdge) GetParentOutputChannel() string
func (*Node_InputEdge) ProtoMessage
func (*Node_InputEdge) ProtoMessage()
func (*Node_InputEdge) ProtoReflect
func (x *Node_InputEdge) ProtoReflect() protoreflect.Message
func (*Node_InputEdge) Reset
func (x *Node_InputEdge) Reset()
func (*Node_InputEdge) String
func (x *Node_InputEdge) String() string
Node_OutputAllOutputChannelsToStream
type Node_OutputAllOutputChannelsToStream struct {
// By default, the output of the node will only be available to downstream
// nodes. To consume the direct output from the application node, the output
// must be sent to Vision AI Streams at first.
//
// By setting output_all_output_channels_to_stream to true, App Platform
// will automatically send all the outputs of the current node to Vision AI
// Stream resources (one stream per output channel). The output stream
// resource will be created by App Platform automatically during deployment
// and deleted after application un-deployment.
// Note that this config applies to all the Application Instances.
//
// The output stream can be override at instance level by
// configuring the `output_resources` section of Instance resource.
// `producer_node` should be current node, `output_resource_binding` should
// be the output channel name (or leave it blank if there is only 1 output
// channel of the processor) and `output_resource` should be the target
// output stream.
OutputAllOutputChannelsToStream bool `protobuf:"varint,6,opt,name=output_all_output_channels_to_stream,json=outputAllOutputChannelsToStream,proto3,oneof"`
}
NormalizedPolygon
type NormalizedPolygon struct {
// The bounding polygon normalized vertices. Top left corner of the image
// will be [0, 0].
NormalizedVertices []*NormalizedVertex `protobuf:"bytes,1,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_vertices,omitempty"`
// contains filtered or unexported fields
}
Normalized Polygon.
func (*NormalizedPolygon) Descriptor
func (*NormalizedPolygon) Descriptor() ([]byte, []int)
Deprecated: Use NormalizedPolygon.ProtoReflect.Descriptor instead.
func (*NormalizedPolygon) GetNormalizedVertices
func (x *NormalizedPolygon) GetNormalizedVertices() []*NormalizedVertex
func (*NormalizedPolygon) ProtoMessage
func (*NormalizedPolygon) ProtoMessage()
func (*NormalizedPolygon) ProtoReflect
func (x *NormalizedPolygon) ProtoReflect() protoreflect.Message
func (*NormalizedPolygon) Reset
func (x *NormalizedPolygon) Reset()
func (*NormalizedPolygon) String
func (x *NormalizedPolygon) String() string
NormalizedPolyline
type NormalizedPolyline struct {
// A sequence of vertices connected by straight lines.
NormalizedVertices []*NormalizedVertex `protobuf:"bytes,1,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_vertices,omitempty"`
// contains filtered or unexported fields
}
Normalized Pplyline, which represents a curve consisting of connected straight-line segments.
func (*NormalizedPolyline) Descriptor
func (*NormalizedPolyline) Descriptor() ([]byte, []int)
Deprecated: Use NormalizedPolyline.ProtoReflect.Descriptor instead.
func (*NormalizedPolyline) GetNormalizedVertices
func (x *NormalizedPolyline) GetNormalizedVertices() []*NormalizedVertex
func (*NormalizedPolyline) ProtoMessage
func (*NormalizedPolyline) ProtoMessage()
func (*NormalizedPolyline) ProtoReflect
func (x *NormalizedPolyline) ProtoReflect() protoreflect.Message
func (*NormalizedPolyline) Reset
func (x *NormalizedPolyline) Reset()
func (*NormalizedPolyline) String
func (x *NormalizedPolyline) String() string
NormalizedVertex
type NormalizedVertex struct {
// X coordinate.
X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
// Y coordinate.
Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
// contains filtered or unexported fields
}
A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.
func (*NormalizedVertex) Descriptor
func (*NormalizedVertex) Descriptor() ([]byte, []int)
Deprecated: Use NormalizedVertex.ProtoReflect.Descriptor instead.
func (*NormalizedVertex) GetX
func (x *NormalizedVertex) GetX() float32
func (*NormalizedVertex) GetY
func (x *NormalizedVertex) GetY() float32
func (*NormalizedVertex) ProtoMessage
func (*NormalizedVertex) ProtoMessage()
func (*NormalizedVertex) ProtoReflect
func (x *NormalizedVertex) ProtoReflect() protoreflect.Message
func (*NormalizedVertex) Reset
func (x *NormalizedVertex) Reset()
func (*NormalizedVertex) String
func (x *NormalizedVertex) String() string
ObjectDetectionPredictionResult
type ObjectDetectionPredictionResult struct {
// Current timestamp.
CurrentTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"`
// A list of identified boxes.
IdentifiedBoxes []*ObjectDetectionPredictionResult_IdentifiedBox `protobuf:"bytes,2,rep,name=identified_boxes,json=identifiedBoxes,proto3" json:"identified_boxes,omitempty"`
// contains filtered or unexported fields
}
Prediction output format for Generic Object Detection.
func (*ObjectDetectionPredictionResult) Descriptor
func (*ObjectDetectionPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use ObjectDetectionPredictionResult.ProtoReflect.Descriptor instead.
func (*ObjectDetectionPredictionResult) GetCurrentTime
func (x *ObjectDetectionPredictionResult) GetCurrentTime() *timestamppb.Timestamp
func (*ObjectDetectionPredictionResult) GetIdentifiedBoxes
func (x *ObjectDetectionPredictionResult) GetIdentifiedBoxes() []*ObjectDetectionPredictionResult_IdentifiedBox
func (*ObjectDetectionPredictionResult) ProtoMessage
func (*ObjectDetectionPredictionResult) ProtoMessage()
func (*ObjectDetectionPredictionResult) ProtoReflect
func (x *ObjectDetectionPredictionResult) ProtoReflect() protoreflect.Message
func (*ObjectDetectionPredictionResult) Reset
func (x *ObjectDetectionPredictionResult) Reset()
func (*ObjectDetectionPredictionResult) String
func (x *ObjectDetectionPredictionResult) String() string
ObjectDetectionPredictionResult_Entity
type ObjectDetectionPredictionResult_Entity struct {
// Label id.
LabelId int64 `protobuf:"varint,1,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"`
// Human readable string of the label.
LabelString string `protobuf:"bytes,2,opt,name=label_string,json=labelString,proto3" json:"label_string,omitempty"`
// contains filtered or unexported fields
}
The entity info for annotations from object detection prediction result.
func (*ObjectDetectionPredictionResult_Entity) Descriptor
func (*ObjectDetectionPredictionResult_Entity) Descriptor() ([]byte, []int)
Deprecated: Use ObjectDetectionPredictionResult_Entity.ProtoReflect.Descriptor instead.
func (*ObjectDetectionPredictionResult_Entity) GetLabelId
func (x *ObjectDetectionPredictionResult_Entity) GetLabelId() int64
func (*ObjectDetectionPredictionResult_Entity) GetLabelString
func (x *ObjectDetectionPredictionResult_Entity) GetLabelString() string
func (*ObjectDetectionPredictionResult_Entity) ProtoMessage
func (*ObjectDetectionPredictionResult_Entity) ProtoMessage()
func (*ObjectDetectionPredictionResult_Entity) ProtoReflect
func (x *ObjectDetectionPredictionResult_Entity) ProtoReflect() protoreflect.Message
func (*ObjectDetectionPredictionResult_Entity) Reset
func (x *ObjectDetectionPredictionResult_Entity) Reset()
func (*ObjectDetectionPredictionResult_Entity) String
func (x *ObjectDetectionPredictionResult_Entity) String() string
ObjectDetectionPredictionResult_IdentifiedBox
type ObjectDetectionPredictionResult_IdentifiedBox struct {
// An unique id for this box.
BoxId int64 `protobuf:"varint,1,opt,name=box_id,json=boxId,proto3" json:"box_id,omitempty"`
// Bounding Box in the normalized coordinates.
NormalizedBoundingBox *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox `protobuf:"bytes,2,opt,name=normalized_bounding_box,json=normalizedBoundingBox,proto3" json:"normalized_bounding_box,omitempty"`
// Confidence score associated with this box.
ConfidenceScore float32 `protobuf:"fixed32,3,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"`
// Entity of this box.
Entity *ObjectDetectionPredictionResult_Entity `protobuf:"bytes,4,opt,name=entity,proto3" json:"entity,omitempty"`
// contains filtered or unexported fields
}
Identified box contains location and the entity of the object.
func (*ObjectDetectionPredictionResult_IdentifiedBox) Descriptor
func (*ObjectDetectionPredictionResult_IdentifiedBox) Descriptor() ([]byte, []int)
Deprecated: Use ObjectDetectionPredictionResult_IdentifiedBox.ProtoReflect.Descriptor instead.
func (*ObjectDetectionPredictionResult_IdentifiedBox) GetBoxId
func (x *ObjectDetectionPredictionResult_IdentifiedBox) GetBoxId() int64
func (*ObjectDetectionPredictionResult_IdentifiedBox) GetConfidenceScore
func (x *ObjectDetectionPredictionResult_IdentifiedBox) GetConfidenceScore() float32
func (*ObjectDetectionPredictionResult_IdentifiedBox) GetEntity
func (x *ObjectDetectionPredictionResult_IdentifiedBox) GetEntity() *ObjectDetectionPredictionResult_Entity
func (*ObjectDetectionPredictionResult_IdentifiedBox) GetNormalizedBoundingBox
func (x *ObjectDetectionPredictionResult_IdentifiedBox) GetNormalizedBoundingBox() *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox
func (*ObjectDetectionPredictionResult_IdentifiedBox) ProtoMessage
func (*ObjectDetectionPredictionResult_IdentifiedBox) ProtoMessage()
func (*ObjectDetectionPredictionResult_IdentifiedBox) ProtoReflect
func (x *ObjectDetectionPredictionResult_IdentifiedBox) ProtoReflect() protoreflect.Message
func (*ObjectDetectionPredictionResult_IdentifiedBox) Reset
func (x *ObjectDetectionPredictionResult_IdentifiedBox) Reset()
func (*ObjectDetectionPredictionResult_IdentifiedBox) String
func (x *ObjectDetectionPredictionResult_IdentifiedBox) String() string
ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox
type ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox struct {
// Min in x coordinate.
Xmin float32 `protobuf:"fixed32,1,opt,name=xmin,proto3" json:"xmin,omitempty"`
// Min in y coordinate.
Ymin float32 `protobuf:"fixed32,2,opt,name=ymin,proto3" json:"ymin,omitempty"`
// Width of the bounding box.
Width float32 `protobuf:"fixed32,3,opt,name=width,proto3" json:"width,omitempty"`
// Height of the bounding box.
Height float32 `protobuf:"fixed32,4,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
Bounding Box in the normalized coordinates.
func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) Descriptor
func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) Descriptor() ([]byte, []int)
Deprecated: Use ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox.ProtoReflect.Descriptor instead.
func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetHeight
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetHeight() float32
func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetWidth
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetWidth() float32
func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetXmin
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetXmin() float32
func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetYmin
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetYmin() float32
func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoMessage
func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoMessage()
func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoReflect
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoReflect() protoreflect.Message
func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) Reset
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) Reset()
func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) String
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) String() string
OccupancyCountConfig
type OccupancyCountConfig struct {
EnablePeopleCounting bool `protobuf:"varint,1,opt,name=enable_people_counting,json=enablePeopleCounting,proto3" json:"enable_people_counting,omitempty"`
EnableVehicleCounting bool "" /* 127 byte string literal not displayed */
EnableDwellingTimeTracking bool "" /* 144 byte string literal not displayed */
}
Message describing OccupancyCountConfig.
func (*OccupancyCountConfig) Descriptor
func (*OccupancyCountConfig) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountConfig.ProtoReflect.Descriptor instead.
func (*OccupancyCountConfig) GetEnableDwellingTimeTracking
func (x *OccupancyCountConfig) GetEnableDwellingTimeTracking() bool
func (*OccupancyCountConfig) GetEnablePeopleCounting
func (x *OccupancyCountConfig) GetEnablePeopleCounting() bool
func (*OccupancyCountConfig) GetEnableVehicleCounting
func (x *OccupancyCountConfig) GetEnableVehicleCounting() bool
func (*OccupancyCountConfig) ProtoMessage
func (*OccupancyCountConfig) ProtoMessage()
func (*OccupancyCountConfig) ProtoReflect
func (x *OccupancyCountConfig) ProtoReflect() protoreflect.Message
func (*OccupancyCountConfig) Reset
func (x *OccupancyCountConfig) Reset()
func (*OccupancyCountConfig) String
func (x *OccupancyCountConfig) String() string
OccupancyCountingPredictionResult
type OccupancyCountingPredictionResult struct {
// Current timestamp.
CurrentTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"`
// A list of identified boxes.
IdentifiedBoxes []*OccupancyCountingPredictionResult_IdentifiedBox `protobuf:"bytes,2,rep,name=identified_boxes,json=identifiedBoxes,proto3" json:"identified_boxes,omitempty"`
// Detection statistics.
Stats *OccupancyCountingPredictionResult_Stats `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"`
// Track related information. All the tracks that are live at this timestamp.
// It only exists if tracking is enabled.
TrackInfo []*OccupancyCountingPredictionResult_TrackInfo `protobuf:"bytes,4,rep,name=track_info,json=trackInfo,proto3" json:"track_info,omitempty"`
// Dwell time related information. All the tracks that are live in a given
// zone with a start and end dwell time timestamp
DwellTimeInfo []*OccupancyCountingPredictionResult_DwellTimeInfo `protobuf:"bytes,5,rep,name=dwell_time_info,json=dwellTimeInfo,proto3" json:"dwell_time_info,omitempty"`
// The presentation timestamp of the frame.
Pts *int64 `protobuf:"varint,6,opt,name=pts,proto3,oneof" json:"pts,omitempty"`
// contains filtered or unexported fields
}
The prediction result proto for occupancy counting.
func (*OccupancyCountingPredictionResult) Descriptor
func (*OccupancyCountingPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult.ProtoReflect.Descriptor instead.
func (*OccupancyCountingPredictionResult) GetCurrentTime
func (x *OccupancyCountingPredictionResult) GetCurrentTime() *timestamppb.Timestamp
func (*OccupancyCountingPredictionResult) GetDwellTimeInfo
func (x *OccupancyCountingPredictionResult) GetDwellTimeInfo() []*OccupancyCountingPredictionResult_DwellTimeInfo
func (*OccupancyCountingPredictionResult) GetIdentifiedBoxes
func (x *OccupancyCountingPredictionResult) GetIdentifiedBoxes() []*OccupancyCountingPredictionResult_IdentifiedBox
func (*OccupancyCountingPredictionResult) GetPts
func (x *OccupancyCountingPredictionResult) GetPts() int64
func (*OccupancyCountingPredictionResult) GetStats
func (x *OccupancyCountingPredictionResult) GetStats() *OccupancyCountingPredictionResult_Stats
func (*OccupancyCountingPredictionResult) GetTrackInfo
func (x *OccupancyCountingPredictionResult) GetTrackInfo() []*OccupancyCountingPredictionResult_TrackInfo
func (*OccupancyCountingPredictionResult) ProtoMessage
func (*OccupancyCountingPredictionResult) ProtoMessage()
func (*OccupancyCountingPredictionResult) ProtoReflect
func (x *OccupancyCountingPredictionResult) ProtoReflect() protoreflect.Message
func (*OccupancyCountingPredictionResult) Reset
func (x *OccupancyCountingPredictionResult) Reset()
func (*OccupancyCountingPredictionResult) String
func (x *OccupancyCountingPredictionResult) String() string
OccupancyCountingPredictionResult_DwellTimeInfo
type OccupancyCountingPredictionResult_DwellTimeInfo struct {
// An unique id to identify a track. It should be consistent across frames.
TrackId string `protobuf:"bytes,1,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"`
// The unique id for the zone in which the object is dwelling/waiting.
ZoneId string `protobuf:"bytes,2,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
// The beginning time when a dwelling object has been identified in a zone.
DwellStartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=dwell_start_time,json=dwellStartTime,proto3" json:"dwell_start_time,omitempty"`
// The end time when a dwelling object has exited in a zone.
DwellEndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=dwell_end_time,json=dwellEndTime,proto3" json:"dwell_end_time,omitempty"`
// contains filtered or unexported fields
}
The dwell time info for annotations from occupancy counting operator.
func (*OccupancyCountingPredictionResult_DwellTimeInfo) Descriptor
func (*OccupancyCountingPredictionResult_DwellTimeInfo) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_DwellTimeInfo.ProtoReflect.Descriptor instead.
func (*OccupancyCountingPredictionResult_DwellTimeInfo) GetDwellEndTime
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) GetDwellEndTime() *timestamppb.Timestamp
func (*OccupancyCountingPredictionResult_DwellTimeInfo) GetDwellStartTime
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) GetDwellStartTime() *timestamppb.Timestamp
func (*OccupancyCountingPredictionResult_DwellTimeInfo) GetTrackId
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) GetTrackId() string
func (*OccupancyCountingPredictionResult_DwellTimeInfo) GetZoneId
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) GetZoneId() string
func (*OccupancyCountingPredictionResult_DwellTimeInfo) ProtoMessage
func (*OccupancyCountingPredictionResult_DwellTimeInfo) ProtoMessage()
func (*OccupancyCountingPredictionResult_DwellTimeInfo) ProtoReflect
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) ProtoReflect() protoreflect.Message
func (*OccupancyCountingPredictionResult_DwellTimeInfo) Reset
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) Reset()
func (*OccupancyCountingPredictionResult_DwellTimeInfo) String
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) String() string
OccupancyCountingPredictionResult_Entity
type OccupancyCountingPredictionResult_Entity struct {
// Label id.
LabelId int64 `protobuf:"varint,1,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"`
// Human readable string of the label.
LabelString string `protobuf:"bytes,2,opt,name=label_string,json=labelString,proto3" json:"label_string,omitempty"`
// contains filtered or unexported fields
}
The entity info for annotations from occupancy counting operator.
func (*OccupancyCountingPredictionResult_Entity) Descriptor
func (*OccupancyCountingPredictionResult_Entity) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_Entity.ProtoReflect.Descriptor instead.
func (*OccupancyCountingPredictionResult_Entity) GetLabelId
func (x *OccupancyCountingPredictionResult_Entity) GetLabelId() int64
func (*OccupancyCountingPredictionResult_Entity) GetLabelString
func (x *OccupancyCountingPredictionResult_Entity) GetLabelString() string
func (*OccupancyCountingPredictionResult_Entity) ProtoMessage
func (*OccupancyCountingPredictionResult_Entity) ProtoMessage()
func (*OccupancyCountingPredictionResult_Entity) ProtoReflect
func (x *OccupancyCountingPredictionResult_Entity) ProtoReflect() protoreflect.Message
func (*OccupancyCountingPredictionResult_Entity) Reset
func (x *OccupancyCountingPredictionResult_Entity) Reset()
func (*OccupancyCountingPredictionResult_Entity) String
func (x *OccupancyCountingPredictionResult_Entity) String() string
OccupancyCountingPredictionResult_IdentifiedBox
type OccupancyCountingPredictionResult_IdentifiedBox struct {
// An unique id for this box.
BoxId int64 `protobuf:"varint,1,opt,name=box_id,json=boxId,proto3" json:"box_id,omitempty"`
// Bounding Box in the normalized coordinates.
NormalizedBoundingBox *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox `protobuf:"bytes,2,opt,name=normalized_bounding_box,json=normalizedBoundingBox,proto3" json:"normalized_bounding_box,omitempty"`
// Confidence score associated with this box.
Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"`
// Entity of this box.
Entity *OccupancyCountingPredictionResult_Entity `protobuf:"bytes,4,opt,name=entity,proto3" json:"entity,omitempty"`
// An unique id to identify a track. It should be consistent across frames.
// It only exists if tracking is enabled.
TrackId int64 `protobuf:"varint,5,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"`
// contains filtered or unexported fields
}
Identified box contains location and the entity of the object.
func (*OccupancyCountingPredictionResult_IdentifiedBox) Descriptor
func (*OccupancyCountingPredictionResult_IdentifiedBox) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_IdentifiedBox.ProtoReflect.Descriptor instead.
func (*OccupancyCountingPredictionResult_IdentifiedBox) GetBoxId
func (x *OccupancyCountingPredictionResult_IdentifiedBox) GetBoxId() int64
func (*OccupancyCountingPredictionResult_IdentifiedBox) GetEntity
func (x *OccupancyCountingPredictionResult_IdentifiedBox) GetEntity() *OccupancyCountingPredictionResult_Entity
func (*OccupancyCountingPredictionResult_IdentifiedBox) GetNormalizedBoundingBox
func (x *OccupancyCountingPredictionResult_IdentifiedBox) GetNormalizedBoundingBox() *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox
func (*OccupancyCountingPredictionResult_IdentifiedBox) GetScore
func (x *OccupancyCountingPredictionResult_IdentifiedBox) GetScore() float32
func (*OccupancyCountingPredictionResult_IdentifiedBox) GetTrackId
func (x *OccupancyCountingPredictionResult_IdentifiedBox) GetTrackId() int64
func (*OccupancyCountingPredictionResult_IdentifiedBox) ProtoMessage
func (*OccupancyCountingPredictionResult_IdentifiedBox) ProtoMessage()
func (*OccupancyCountingPredictionResult_IdentifiedBox) ProtoReflect
func (x *OccupancyCountingPredictionResult_IdentifiedBox) ProtoReflect() protoreflect.Message
func (*OccupancyCountingPredictionResult_IdentifiedBox) Reset
func (x *OccupancyCountingPredictionResult_IdentifiedBox) Reset()
func (*OccupancyCountingPredictionResult_IdentifiedBox) String
func (x *OccupancyCountingPredictionResult_IdentifiedBox) String() string
OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox
type OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox struct {
// Min in x coordinate.
Xmin float32 `protobuf:"fixed32,1,opt,name=xmin,proto3" json:"xmin,omitempty"`
// Min in y coordinate.
Ymin float32 `protobuf:"fixed32,2,opt,name=ymin,proto3" json:"ymin,omitempty"`
// Width of the bounding box.
Width float32 `protobuf:"fixed32,3,opt,name=width,proto3" json:"width,omitempty"`
// Height of the bounding box.
Height float32 `protobuf:"fixed32,4,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
Bounding Box in the normalized coordinates.
func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) Descriptor
func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox.ProtoReflect.Descriptor instead.
func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetHeight
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetHeight() float32
func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetWidth
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetWidth() float32
func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetXmin
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetXmin() float32
func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetYmin
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetYmin() float32
func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoMessage
func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoMessage()
func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoReflect
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoReflect() protoreflect.Message
func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) Reset
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) Reset()
func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) String
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) String() string
OccupancyCountingPredictionResult_Stats
type OccupancyCountingPredictionResult_Stats struct {
// Counts of the full frame.
FullFrameCount []*OccupancyCountingPredictionResult_Stats_ObjectCount `protobuf:"bytes,1,rep,name=full_frame_count,json=fullFrameCount,proto3" json:"full_frame_count,omitempty"`
// Crossing line counts.
CrossingLineCounts []*OccupancyCountingPredictionResult_Stats_CrossingLineCount `protobuf:"bytes,2,rep,name=crossing_line_counts,json=crossingLineCounts,proto3" json:"crossing_line_counts,omitempty"`
// Active zone counts.
ActiveZoneCounts []*OccupancyCountingPredictionResult_Stats_ActiveZoneCount `protobuf:"bytes,3,rep,name=active_zone_counts,json=activeZoneCounts,proto3" json:"active_zone_counts,omitempty"`
// contains filtered or unexported fields
}
The statistics info for annotations from occupancy counting operator.
func (*OccupancyCountingPredictionResult_Stats) Descriptor
func (*OccupancyCountingPredictionResult_Stats) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_Stats.ProtoReflect.Descriptor instead.
func (*OccupancyCountingPredictionResult_Stats) GetActiveZoneCounts
func (x *OccupancyCountingPredictionResult_Stats) GetActiveZoneCounts() []*OccupancyCountingPredictionResult_Stats_ActiveZoneCount
func (*OccupancyCountingPredictionResult_Stats) GetCrossingLineCounts
func (x *OccupancyCountingPredictionResult_Stats) GetCrossingLineCounts() []*OccupancyCountingPredictionResult_Stats_CrossingLineCount
func (*OccupancyCountingPredictionResult_Stats) GetFullFrameCount
func (x *OccupancyCountingPredictionResult_Stats) GetFullFrameCount() []*OccupancyCountingPredictionResult_Stats_ObjectCount
func (*OccupancyCountingPredictionResult_Stats) ProtoMessage
func (*OccupancyCountingPredictionResult_Stats) ProtoMessage()
func (*OccupancyCountingPredictionResult_Stats) ProtoReflect
func (x *OccupancyCountingPredictionResult_Stats) ProtoReflect() protoreflect.Message
func (*OccupancyCountingPredictionResult_Stats) Reset
func (x *OccupancyCountingPredictionResult_Stats) Reset()
func (*OccupancyCountingPredictionResult_Stats) String
func (x *OccupancyCountingPredictionResult_Stats) String() string
OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount
type OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount struct {
// The start time of the accumulated count.
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The object count for the accumulated count.
ObjectCount *OccupancyCountingPredictionResult_Stats_ObjectCount `protobuf:"bytes,2,opt,name=object_count,json=objectCount,proto3" json:"object_count,omitempty"`
// contains filtered or unexported fields
}
The object info and accumulated count for annotations from occupancy counting operator.
func (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) Descriptor
func (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount.ProtoReflect.Descriptor instead.
func (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) GetObjectCount
func (x *OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) GetObjectCount() *OccupancyCountingPredictionResult_Stats_ObjectCount
func (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) GetStartTime
func (x *OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) GetStartTime() *timestamppb.Timestamp
func (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) ProtoMessage
func (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) ProtoMessage()
func (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) ProtoReflect
func (x *OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) ProtoReflect() protoreflect.Message
func (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) Reset
func (x *OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) Reset()
func (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) String
func (x *OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) String() string
OccupancyCountingPredictionResult_Stats_ActiveZoneCount
type OccupancyCountingPredictionResult_Stats_ActiveZoneCount struct {
// Active zone annotation from the user.
Annotation *StreamAnnotation `protobuf:"bytes,1,opt,name=annotation,proto3" json:"annotation,omitempty"`
// Counts in the zone.
Counts []*OccupancyCountingPredictionResult_Stats_ObjectCount `protobuf:"bytes,2,rep,name=counts,proto3" json:"counts,omitempty"`
// contains filtered or unexported fields
}
Message for the active zone count.
func (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) Descriptor
func (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_Stats_ActiveZoneCount.ProtoReflect.Descriptor instead.
func (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) GetAnnotation
func (x *OccupancyCountingPredictionResult_Stats_ActiveZoneCount) GetAnnotation() *StreamAnnotation
func (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) GetCounts
func (x *OccupancyCountingPredictionResult_Stats_ActiveZoneCount) GetCounts() []*OccupancyCountingPredictionResult_Stats_ObjectCount
func (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) ProtoMessage
func (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) ProtoMessage()
func (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) ProtoReflect
func (x *OccupancyCountingPredictionResult_Stats_ActiveZoneCount) ProtoReflect() protoreflect.Message
func (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) Reset
func (x *OccupancyCountingPredictionResult_Stats_ActiveZoneCount) Reset()
func (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) String
func (x *OccupancyCountingPredictionResult_Stats_ActiveZoneCount) String() string
OccupancyCountingPredictionResult_Stats_CrossingLineCount
type OccupancyCountingPredictionResult_Stats_CrossingLineCount struct {
Annotation *StreamAnnotation `protobuf:"bytes,1,opt,name=annotation,proto3" json:"annotation,omitempty"`
PositiveDirectionCounts []*OccupancyCountingPredictionResult_Stats_ObjectCount "" /* 132 byte string literal not displayed */
NegativeDirectionCounts []*OccupancyCountingPredictionResult_Stats_ObjectCount "" /* 132 byte string literal not displayed */
AccumulatedPositiveDirectionCounts []*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount "" /* 167 byte string literal not displayed */
AccumulatedNegativeDirectionCounts []*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount "" /* 167 byte string literal not displayed */
}
Message for Crossing line count.
func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) Descriptor
func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_Stats_CrossingLineCount.ProtoReflect.Descriptor instead.
func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetAccumulatedNegativeDirectionCounts
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetAccumulatedNegativeDirectionCounts() []*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount
func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetAccumulatedPositiveDirectionCounts
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetAccumulatedPositiveDirectionCounts() []*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount
func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetAnnotation
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetAnnotation() *StreamAnnotation
func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetNegativeDirectionCounts
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetNegativeDirectionCounts() []*OccupancyCountingPredictionResult_Stats_ObjectCount
func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetPositiveDirectionCounts
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetPositiveDirectionCounts() []*OccupancyCountingPredictionResult_Stats_ObjectCount
func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) ProtoMessage
func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) ProtoMessage()
func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) ProtoReflect
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) ProtoReflect() protoreflect.Message
func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) Reset
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) Reset()
func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) String
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) String() string
OccupancyCountingPredictionResult_Stats_ObjectCount
type OccupancyCountingPredictionResult_Stats_ObjectCount struct {
// Entity of this object.
Entity *OccupancyCountingPredictionResult_Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
// Count of the object.
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
The object info and instant count for annotations from occupancy counting operator.
func (*OccupancyCountingPredictionResult_Stats_ObjectCount) Descriptor
func (*OccupancyCountingPredictionResult_Stats_ObjectCount) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_Stats_ObjectCount.ProtoReflect.Descriptor instead.
func (*OccupancyCountingPredictionResult_Stats_ObjectCount) GetCount
func (x *OccupancyCountingPredictionResult_Stats_ObjectCount) GetCount() int32
func (*OccupancyCountingPredictionResult_Stats_ObjectCount) GetEntity
func (x *OccupancyCountingPredictionResult_Stats_ObjectCount) GetEntity() *OccupancyCountingPredictionResult_Entity
func (*OccupancyCountingPredictionResult_Stats_ObjectCount) ProtoMessage
func (*OccupancyCountingPredictionResult_Stats_ObjectCount) ProtoMessage()
func (*OccupancyCountingPredictionResult_Stats_ObjectCount) ProtoReflect
func (x *OccupancyCountingPredictionResult_Stats_ObjectCount) ProtoReflect() protoreflect.Message
func (*OccupancyCountingPredictionResult_Stats_ObjectCount) Reset
func (x *OccupancyCountingPredictionResult_Stats_ObjectCount) Reset()
func (*OccupancyCountingPredictionResult_Stats_ObjectCount) String
func (x *OccupancyCountingPredictionResult_Stats_ObjectCount) String() string
OccupancyCountingPredictionResult_TrackInfo
type OccupancyCountingPredictionResult_TrackInfo struct {
// An unique id to identify a track. It should be consistent across frames.
TrackId string `protobuf:"bytes,1,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"`
// Start timestamp of this track.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// contains filtered or unexported fields
}
The track info for annotations from occupancy counting operator.
func (*OccupancyCountingPredictionResult_TrackInfo) Descriptor
func (*OccupancyCountingPredictionResult_TrackInfo) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_TrackInfo.ProtoReflect.Descriptor instead.
func (*OccupancyCountingPredictionResult_TrackInfo) GetStartTime
func (x *OccupancyCountingPredictionResult_TrackInfo) GetStartTime() *timestamppb.Timestamp
func (*OccupancyCountingPredictionResult_TrackInfo) GetTrackId
func (x *OccupancyCountingPredictionResult_TrackInfo) GetTrackId() string
func (*OccupancyCountingPredictionResult_TrackInfo) ProtoMessage
func (*OccupancyCountingPredictionResult_TrackInfo) ProtoMessage()
func (*OccupancyCountingPredictionResult_TrackInfo) ProtoReflect
func (x *OccupancyCountingPredictionResult_TrackInfo) ProtoReflect() protoreflect.Message
func (*OccupancyCountingPredictionResult_TrackInfo) Reset
func (x *OccupancyCountingPredictionResult_TrackInfo) Reset()
func (*OccupancyCountingPredictionResult_TrackInfo) String
func (x *OccupancyCountingPredictionResult_TrackInfo) String() string
OperationMetadata
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have successfully been cancelled
// have [Operation.error][] value with a
// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
// `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}
Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() string
func (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() bool
func (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() string
func (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() string
func (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String
func (x *OperationMetadata) String() string
Operator
type Operator struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
OperatorDefinition *OperatorDefinition `protobuf:"bytes,5,opt,name=operator_definition,json=operatorDefinition,proto3" json:"operator_definition,omitempty"`
DockerImage string `protobuf:"bytes,6,opt,name=docker_image,json=dockerImage,proto3" json:"docker_image,omitempty"`
}
Message describing the Operator object.
func (*Operator) Descriptor
Deprecated: Use Operator.ProtoReflect.Descriptor instead.
func (*Operator) GetCreateTime
func (x *Operator) GetCreateTime() *timestamppb.Timestamp
func (*Operator) GetDockerImage
func (*Operator) GetLabels
func (*Operator) GetName
func (*Operator) GetOperatorDefinition
func (x *Operator) GetOperatorDefinition() *OperatorDefinition
func (*Operator) GetUpdateTime
func (x *Operator) GetUpdateTime() *timestamppb.Timestamp
func (*Operator) ProtoMessage
func (*Operator) ProtoMessage()
func (*Operator) ProtoReflect
func (x *Operator) ProtoReflect() protoreflect.Message
func (*Operator) Reset
func (x *Operator) Reset()
func (*Operator) String
OperatorDefinition
type OperatorDefinition struct {
// The name of this operator.
//
// Tentatively [A-Z][a-zA-Z0-9]*, e.g., BboxCounter, PetDetector,
// PetDetector1.
Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
// Declares input arguments.
InputArgs []*OperatorDefinition_ArgumentDefinition `protobuf:"bytes,2,rep,name=input_args,json=inputArgs,proto3" json:"input_args,omitempty"`
// Declares output arguments.
OutputArgs []*OperatorDefinition_ArgumentDefinition `protobuf:"bytes,3,rep,name=output_args,json=outputArgs,proto3" json:"output_args,omitempty"`
// Declares the attributes.
Attributes []*OperatorDefinition_AttributeDefinition `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"`
// The resources for running the operator.
Resources *ResourceSpecification `protobuf:"bytes,5,opt,name=resources,proto3" json:"resources,omitempty"`
// Short description of the operator.
ShortDescription string `protobuf:"bytes,6,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"`
// Full description of the operator.
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
Defines the interface of an Operator.
Arguments to an operator are input/output streams that are getting processesed/returned while attributes are fixed configuration parameters.
func (*OperatorDefinition) Descriptor
func (*OperatorDefinition) Descriptor() ([]byte, []int)
Deprecated: Use OperatorDefinition.ProtoReflect.Descriptor instead.
func (*OperatorDefinition) GetAttributes
func (x *OperatorDefinition) GetAttributes() []*OperatorDefinition_AttributeDefinition
func (*OperatorDefinition) GetDescription
func (x *OperatorDefinition) GetDescription() string
func (*OperatorDefinition) GetInputArgs
func (x *OperatorDefinition) GetInputArgs() []*OperatorDefinition_ArgumentDefinition
func (*OperatorDefinition) GetOperator
func (x *OperatorDefinition) GetOperator() string
func (*OperatorDefinition) GetOutputArgs
func (x *OperatorDefinition) GetOutputArgs() []*OperatorDefinition_ArgumentDefinition
func (*OperatorDefinition) GetResources
func (x *OperatorDefinition) GetResources() *ResourceSpecification
func (*OperatorDefinition) GetShortDescription
func (x *OperatorDefinition) GetShortDescription() string
func (*OperatorDefinition) ProtoMessage
func (*OperatorDefinition) ProtoMessage()
func (*OperatorDefinition) ProtoReflect
func (x *OperatorDefinition) ProtoReflect() protoreflect.Message
func (*OperatorDefinition) Reset
func (x *OperatorDefinition) Reset()
func (*OperatorDefinition) String
func (x *OperatorDefinition) String() string
OperatorDefinition_ArgumentDefinition
type OperatorDefinition_ArgumentDefinition struct {
// The name of the argument.
//
// Tentatively [a-z]([_a-z0-9]*[a-z0-9])?, e.g., video, audio,
// high_fps_frame.
Argument string `protobuf:"bytes,1,opt,name=argument,proto3" json:"argument,omitempty"`
// The data type of the argument.
//
// This should match the textual representation of a stream/Packet type.
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}
Defines an argument to an operator.
Used for both inputs and outputs.
func (*OperatorDefinition_ArgumentDefinition) Descriptor
func (*OperatorDefinition_ArgumentDefinition) Descriptor() ([]byte, []int)
Deprecated: Use OperatorDefinition_ArgumentDefinition.ProtoReflect.Descriptor instead.
func (*OperatorDefinition_ArgumentDefinition) GetArgument
func (x *OperatorDefinition_ArgumentDefinition) GetArgument() string
func (*OperatorDefinition_ArgumentDefinition) GetType
func (x *OperatorDefinition_ArgumentDefinition) GetType() string
func (*OperatorDefinition_ArgumentDefinition) ProtoMessage
func (*OperatorDefinition_ArgumentDefinition) ProtoMessage()
func (*OperatorDefinition_ArgumentDefinition) ProtoReflect
func (x *OperatorDefinition_ArgumentDefinition) ProtoReflect() protoreflect.Message
func (*OperatorDefinition_ArgumentDefinition) Reset
func (x *OperatorDefinition_ArgumentDefinition) Reset()
func (*OperatorDefinition_ArgumentDefinition) String
func (x *OperatorDefinition_ArgumentDefinition) String() string
OperatorDefinition_AttributeDefinition
type OperatorDefinition_AttributeDefinition struct {
// The name of the attribute.
//
// Tentatively [a-z]([_a-z0-9]*[a-z0-9])?, e.g., max_frames_per_video,
// resize_height.
Attribute string `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"`
// The type of this attribute.
//
// See attribute_value.proto for possibilities.
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// The default value for the attribute.
DefaultValue *AttributeValue `protobuf:"bytes,3,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
// contains filtered or unexported fields
}
Defines an attribute of an operator.
func (*OperatorDefinition_AttributeDefinition) Descriptor
func (*OperatorDefinition_AttributeDefinition) Descriptor() ([]byte, []int)
Deprecated: Use OperatorDefinition_AttributeDefinition.ProtoReflect.Descriptor instead.
func (*OperatorDefinition_AttributeDefinition) GetAttribute
func (x *OperatorDefinition_AttributeDefinition) GetAttribute() string
func (*OperatorDefinition_AttributeDefinition) GetDefaultValue
func (x *OperatorDefinition_AttributeDefinition) GetDefaultValue() *AttributeValue
func (*OperatorDefinition_AttributeDefinition) GetType
func (x *OperatorDefinition_AttributeDefinition) GetType() string
func (*OperatorDefinition_AttributeDefinition) ProtoMessage
func (*OperatorDefinition_AttributeDefinition) ProtoMessage()
func (*OperatorDefinition_AttributeDefinition) ProtoReflect
func (x *OperatorDefinition_AttributeDefinition) ProtoReflect() protoreflect.Message
func (*OperatorDefinition_AttributeDefinition) Reset
func (x *OperatorDefinition_AttributeDefinition) Reset()
func (*OperatorDefinition_AttributeDefinition) String
func (x *OperatorDefinition_AttributeDefinition) String() string
OperatorQuery
type OperatorQuery struct {
// Required. The canonical Name of the operator. e.g. OccupancyCounting.
Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
// Optional. Tag of the operator.
Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
// Optional. Registry of the operator.
Registry Registry `protobuf:"varint,3,opt,name=registry,proto3,enum=google.cloud.visionai.v1.Registry" json:"registry,omitempty"`
// contains filtered or unexported fields
}
OperatorQuery represents one query to a Operator.
func (*OperatorQuery) Descriptor
func (*OperatorQuery) Descriptor() ([]byte, []int)
Deprecated: Use OperatorQuery.ProtoReflect.Descriptor instead.
func (*OperatorQuery) GetOperator
func (x *OperatorQuery) GetOperator() string
func (*OperatorQuery) GetRegistry
func (x *OperatorQuery) GetRegistry() Registry
func (*OperatorQuery) GetTag
func (x *OperatorQuery) GetTag() string
func (*OperatorQuery) ProtoMessage
func (*OperatorQuery) ProtoMessage()
func (*OperatorQuery) ProtoReflect
func (x *OperatorQuery) ProtoReflect() protoreflect.Message
func (*OperatorQuery) Reset
func (x *OperatorQuery) Reset()
func (*OperatorQuery) String
func (x *OperatorQuery) String() string
Packet
type Packet struct {
// The packet header.
Header *PacketHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
// The payload of the packet.
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
The quanta of datum that the series accepts.
func (*Packet) Descriptor
Deprecated: Use Packet.ProtoReflect.Descriptor instead.
func (*Packet) GetHeader
func (x *Packet) GetHeader() *PacketHeader
func (*Packet) GetPayload
func (*Packet) ProtoMessage
func (*Packet) ProtoMessage()
func (*Packet) ProtoReflect
func (x *Packet) ProtoReflect() protoreflect.Message
func (*Packet) Reset
func (x *Packet) Reset()
func (*Packet) String
PacketHeader
type PacketHeader struct {
// Input only. The capture time of the packet.
CaptureTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=capture_time,json=captureTime,proto3" json:"capture_time,omitempty"`
// Input only. Immutable. The type of the payload.
Type *PacketType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// Input only. This field is for users to attach user managed metadata.
Metadata *structpb.Struct `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Output only. Metadata that the server appends to each packet before sending
// it to receivers. You don't need to set a value for this field when sending
// packets.
ServerMetadata *ServerMetadata `protobuf:"bytes,4,opt,name=server_metadata,json=serverMetadata,proto3" json:"server_metadata,omitempty"`
// Input only. Immutable. Metadata that the server needs to know where to
// write the packets to. It's only required for the first packet.
SeriesMetadata *SeriesMetadata `protobuf:"bytes,5,opt,name=series_metadata,json=seriesMetadata,proto3" json:"series_metadata,omitempty"`
// Immutable. Packet flag set. SDK will set the flag automatically.
Flags int32 `protobuf:"varint,6,opt,name=flags,proto3" json:"flags,omitempty"`
// Immutable. Header string for tracing across services. It should be set when
// the packet is first arrived in the stream server.
//
// The input format is a lowercase hex string:
// - version_id: 1 byte, currently must be zero - hex encoded (2 characters)
// - trace_id: 16 bytes (opaque blob) - hex encoded (32 characters)
// - span_id: 8 bytes (opaque blob) - hex encoded (16 characters)
// - trace_options: 1 byte (LSB means tracing enabled) - hex encoded (2
// characters)
//
// Example: "00-404142434445464748494a4b4c4d4e4f-6162636465666768-01"
//
// v trace_id span_id options
TraceContext string `protobuf:"bytes,7,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,omitempty"`
// contains filtered or unexported fields
}
The message that represents packet header.
func (*PacketHeader) Descriptor
func (*PacketHeader) Descriptor() ([]byte, []int)
Deprecated: Use PacketHeader.ProtoReflect.Descriptor instead.
func (*PacketHeader) GetCaptureTime
func (x *PacketHeader) GetCaptureTime() *timestamppb.Timestamp
func (*PacketHeader) GetFlags
func (x *PacketHeader) GetFlags() int32
func (*PacketHeader) GetMetadata
func (x *PacketHeader) GetMetadata() *structpb.Struct
func (*PacketHeader) GetSeriesMetadata
func (x *PacketHeader) GetSeriesMetadata() *SeriesMetadata
func (*PacketHeader) GetServerMetadata
func (x *PacketHeader) GetServerMetadata() *ServerMetadata
func (*PacketHeader) GetTraceContext
func (x *PacketHeader) GetTraceContext() string
func (*PacketHeader) GetType
func (x *PacketHeader) GetType() *PacketType
func (*PacketHeader) ProtoMessage
func (*PacketHeader) ProtoMessage()
func (*PacketHeader) ProtoReflect
func (x *PacketHeader) ProtoReflect() protoreflect.Message
func (*PacketHeader) Reset
func (x *PacketHeader) Reset()
func (*PacketHeader) String
func (x *PacketHeader) String() string
PacketType
type PacketType struct {
// The type class of the packet. Its possible values are:
// "gst", "protobuf", and "string".
TypeClass string `protobuf:"bytes,1,opt,name=type_class,json=typeClass,proto3" json:"type_class,omitempty"`
// The type descriptor.
TypeDescriptor *PacketType_TypeDescriptor `protobuf:"bytes,2,opt,name=type_descriptor,json=typeDescriptor,proto3" json:"type_descriptor,omitempty"`
// contains filtered or unexported fields
}
The message that represents the data type of a packet.
func (*PacketType) Descriptor
func (*PacketType) Descriptor() ([]byte, []int)
Deprecated: Use PacketType.ProtoReflect.Descriptor instead.
func (*PacketType) GetTypeClass
func (x *PacketType) GetTypeClass() string
func (*PacketType) GetTypeDescriptor
func (x *PacketType) GetTypeDescriptor() *PacketType_TypeDescriptor
func (*PacketType) ProtoMessage
func (*PacketType) ProtoMessage()
func (*PacketType) ProtoReflect
func (x *PacketType) ProtoReflect() protoreflect.Message
func (*PacketType) Reset
func (x *PacketType) Reset()
func (*PacketType) String
func (x *PacketType) String() string
PacketType_TypeDescriptor
type PacketType_TypeDescriptor struct {
// Detailed information about the type.
//
// It is non-empty only for specific type class codecs. Needed only when the
// type string alone is not enough to disambiguate the specific type.
//
// Types that are assignable to TypeDetails:
//
// *PacketType_TypeDescriptor_GstreamerBufferDescriptor
// *PacketType_TypeDescriptor_RawImageDescriptor
TypeDetails isPacketType_TypeDescriptor_TypeDetails `protobuf_oneof:"type_details"`
// The type of the packet. Its possible values is codec dependent.
//
// The fully qualified type name is always the concatenation of the
// value in `type_class` together with the value in `type`, separated by a
// '/'.
//
// Note that specific codecs can define their own type hierarchy, and so the
// type string here can in fact be separated by multiple '/'s of its own.
//
// Please see the open source SDK for specific codec documentation.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}
The message that fully specifies the type of the packet.
func (*PacketType_TypeDescriptor) Descriptor
func (*PacketType_TypeDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use PacketType_TypeDescriptor.ProtoReflect.Descriptor instead.
func (*PacketType_TypeDescriptor) GetGstreamerBufferDescriptor
func (x *PacketType_TypeDescriptor) GetGstreamerBufferDescriptor() *GstreamerBufferDescriptor
func (*PacketType_TypeDescriptor) GetRawImageDescriptor
func (x *PacketType_TypeDescriptor) GetRawImageDescriptor() *RawImageDescriptor
func (*PacketType_TypeDescriptor) GetType
func (x *PacketType_TypeDescriptor) GetType() string
func (*PacketType_TypeDescriptor) GetTypeDetails
func (m *PacketType_TypeDescriptor) GetTypeDetails() isPacketType_TypeDescriptor_TypeDetails
func (*PacketType_TypeDescriptor) ProtoMessage
func (*PacketType_TypeDescriptor) ProtoMessage()
func (*PacketType_TypeDescriptor) ProtoReflect
func (x *PacketType_TypeDescriptor) ProtoReflect() protoreflect.Message
func (*PacketType_TypeDescriptor) Reset
func (x *PacketType_TypeDescriptor) Reset()
func (*PacketType_TypeDescriptor) String
func (x *PacketType_TypeDescriptor) String() string
PacketType_TypeDescriptor_GstreamerBufferDescriptor
type PacketType_TypeDescriptor_GstreamerBufferDescriptor struct {
// GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.
GstreamerBufferDescriptor *GstreamerBufferDescriptor `protobuf:"bytes,2,opt,name=gstreamer_buffer_descriptor,json=gstreamerBufferDescriptor,proto3,oneof"`
}
PacketType_TypeDescriptor_RawImageDescriptor
type PacketType_TypeDescriptor_RawImageDescriptor struct {
// RawImageDescriptor is the descriptor for the raw image type.
RawImageDescriptor *RawImageDescriptor `protobuf:"bytes,3,opt,name=raw_image_descriptor,json=rawImageDescriptor,proto3,oneof"`
}
Partition
type Partition struct {
TemporalPartition *Partition_TemporalPartition `protobuf:"bytes,1,opt,name=temporal_partition,json=temporalPartition,proto3" json:"temporal_partition,omitempty"`
SpatialPartition *Partition_SpatialPartition `protobuf:"bytes,2,opt,name=spatial_partition,json=spatialPartition,proto3" json:"spatial_partition,omitempty"`
RelativeTemporalPartition *Partition_RelativeTemporalPartition "" /* 138 byte string literal not displayed */
}
Partition to specify the partition in time and space for sub-asset level annotation.
func (*Partition) Descriptor
Deprecated: Use Partition.ProtoReflect.Descriptor instead.
func (*Partition) GetRelativeTemporalPartition
func (x *Partition) GetRelativeTemporalPartition() *Partition_RelativeTemporalPartition
func (*Partition) GetSpatialPartition
func (x *Partition) GetSpatialPartition() *Partition_SpatialPartition
func (*Partition) GetTemporalPartition
func (x *Partition) GetTemporalPartition() *Partition_TemporalPartition
func (*Partition) ProtoMessage
func (*Partition) ProtoMessage()
func (*Partition) ProtoReflect
func (x *Partition) ProtoReflect() protoreflect.Message
func (*Partition) Reset
func (x *Partition) Reset()
func (*Partition) String
Partition_RelativeTemporalPartition
type Partition_RelativeTemporalPartition struct {
// Start time offset of the partition.
StartOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"`
// End time offset of the partition.
EndOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"`
// contains filtered or unexported fields
}
Partition of asset in relative time. Supported by VIDEO_ON_DEMAND corpus type.
func (*Partition_RelativeTemporalPartition) Descriptor
func (*Partition_RelativeTemporalPartition) Descriptor() ([]byte, []int)
Deprecated: Use Partition_RelativeTemporalPartition.ProtoReflect.Descriptor instead.
func (*Partition_RelativeTemporalPartition) GetEndOffset
func (x *Partition_RelativeTemporalPartition) GetEndOffset() *durationpb.Duration
func (*Partition_RelativeTemporalPartition) GetStartOffset
func (x *Partition_RelativeTemporalPartition) GetStartOffset() *durationpb.Duration
func (*Partition_RelativeTemporalPartition) ProtoMessage
func (*Partition_RelativeTemporalPartition) ProtoMessage()
func (*Partition_RelativeTemporalPartition) ProtoReflect
func (x *Partition_RelativeTemporalPartition) ProtoReflect() protoreflect.Message
func (*Partition_RelativeTemporalPartition) Reset
func (x *Partition_RelativeTemporalPartition) Reset()
func (*Partition_RelativeTemporalPartition) String
func (x *Partition_RelativeTemporalPartition) String() string
Partition_SpatialPartition
type Partition_SpatialPartition struct {
// The minimum x coordinate value.
XMin *int64 `protobuf:"varint,1,opt,name=x_min,json=xMin,proto3,oneof" json:"x_min,omitempty"`
// The minimum y coordinate value.
YMin *int64 `protobuf:"varint,2,opt,name=y_min,json=yMin,proto3,oneof" json:"y_min,omitempty"`
// The maximum x coordinate value.
XMax *int64 `protobuf:"varint,3,opt,name=x_max,json=xMax,proto3,oneof" json:"x_max,omitempty"`
// The maximum y coordinate value.
YMax *int64 `protobuf:"varint,4,opt,name=y_max,json=yMax,proto3,oneof" json:"y_max,omitempty"`
// contains filtered or unexported fields
}
Partition of asset in space.
func (*Partition_SpatialPartition) Descriptor
func (*Partition_SpatialPartition) Descriptor() ([]byte, []int)
Deprecated: Use Partition_SpatialPartition.ProtoReflect.Descriptor instead.
func (*Partition_SpatialPartition) GetXMax
func (x *Partition_SpatialPartition) GetXMax() int64
func (*Partition_SpatialPartition) GetXMin
func (x *Partition_SpatialPartition) GetXMin() int64
func (*Partition_SpatialPartition) GetYMax
func (x *Partition_SpatialPartition) GetYMax() int64
func (*Partition_SpatialPartition) GetYMin
func (x *Partition_SpatialPartition) GetYMin() int64
func (*Partition_SpatialPartition) ProtoMessage
func (*Partition_SpatialPartition) ProtoMessage()
func (*Partition_SpatialPartition) ProtoReflect
func (x *Partition_SpatialPartition) ProtoReflect() protoreflect.Message
func (*Partition_SpatialPartition) Reset
func (x *Partition_SpatialPartition) Reset()
func (*Partition_SpatialPartition) String
func (x *Partition_SpatialPartition) String() string
Partition_TemporalPartition
type Partition_TemporalPartition struct {
// Start time of the partition.
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// End time of the partition.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}
Partition of asset in UTC Epoch time. Supported by STREAM_VIDEO corpus type.
func (*Partition_TemporalPartition) Descriptor
func (*Partition_TemporalPartition) Descriptor() ([]byte, []int)
Deprecated: Use Partition_TemporalPartition.ProtoReflect.Descriptor instead.
func (*Partition_TemporalPartition) GetEndTime
func (x *Partition_TemporalPartition) GetEndTime() *timestamppb.Timestamp
func (*Partition_TemporalPartition) GetStartTime
func (x *Partition_TemporalPartition) GetStartTime() *timestamppb.Timestamp
func (*Partition_TemporalPartition) ProtoMessage
func (*Partition_TemporalPartition) ProtoMessage()
func (*Partition_TemporalPartition) ProtoReflect
func (x *Partition_TemporalPartition) ProtoReflect() protoreflect.Message
func (*Partition_TemporalPartition) Reset
func (x *Partition_TemporalPartition) Reset()
func (*Partition_TemporalPartition) String
func (x *Partition_TemporalPartition) String() string
PersonBlurConfig
type PersonBlurConfig struct {
PersonBlurType PersonBlurConfig_PersonBlurType "" /* 168 byte string literal not displayed */
FacesOnly bool `protobuf:"varint,2,opt,name=faces_only,json=facesOnly,proto3" json:"faces_only,omitempty"`
}
Message describing FaceBlurConfig.
func (*PersonBlurConfig) Descriptor
func (*PersonBlurConfig) Descriptor() ([]byte, []int)
Deprecated: Use PersonBlurConfig.ProtoReflect.Descriptor instead.
func (*PersonBlurConfig) GetFacesOnly
func (x *PersonBlurConfig) GetFacesOnly() bool
func (*PersonBlurConfig) GetPersonBlurType
func (x *PersonBlurConfig) GetPersonBlurType() PersonBlurConfig_PersonBlurType
func (*PersonBlurConfig) ProtoMessage
func (*PersonBlurConfig) ProtoMessage()
func (*PersonBlurConfig) ProtoReflect
func (x *PersonBlurConfig) ProtoReflect() protoreflect.Message
func (*PersonBlurConfig) Reset
func (x *PersonBlurConfig) Reset()
func (*PersonBlurConfig) String
func (x *PersonBlurConfig) String() string
PersonBlurConfig_PersonBlurType
type PersonBlurConfig_PersonBlurType int32
Type of Person Blur
PersonBlurConfig_PERSON_BLUR_TYPE_UNSPECIFIED, PersonBlurConfig_FULL_OCCULUSION, PersonBlurConfig_BLUR_FILTER
const (
// PersonBlur Type UNSPECIFIED.
PersonBlurConfig_PERSON_BLUR_TYPE_UNSPECIFIED PersonBlurConfig_PersonBlurType = 0
// FaceBlur Type full occlusion.
PersonBlurConfig_FULL_OCCULUSION PersonBlurConfig_PersonBlurType = 1
// FaceBlur Type blur filter.
PersonBlurConfig_BLUR_FILTER PersonBlurConfig_PersonBlurType = 2
)
func (PersonBlurConfig_PersonBlurType) Descriptor
func (PersonBlurConfig_PersonBlurType) Descriptor() protoreflect.EnumDescriptor
func (PersonBlurConfig_PersonBlurType) Enum
func (x PersonBlurConfig_PersonBlurType) Enum() *PersonBlurConfig_PersonBlurType
func (PersonBlurConfig_PersonBlurType) EnumDescriptor
func (PersonBlurConfig_PersonBlurType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PersonBlurConfig_PersonBlurType.Descriptor instead.
func (PersonBlurConfig_PersonBlurType) Number
func (x PersonBlurConfig_PersonBlurType) Number() protoreflect.EnumNumber
func (PersonBlurConfig_PersonBlurType) String
func (x PersonBlurConfig_PersonBlurType) String() string
func (PersonBlurConfig_PersonBlurType) Type
func (PersonBlurConfig_PersonBlurType) Type() protoreflect.EnumType
PersonVehicleDetectionConfig
type PersonVehicleDetectionConfig struct {
EnablePeopleCounting bool `protobuf:"varint,1,opt,name=enable_people_counting,json=enablePeopleCounting,proto3" json:"enable_people_counting,omitempty"`
EnableVehicleCounting bool "" /* 127 byte string literal not displayed */
}
Message describing PersonVehicleDetectionConfig.
func (*PersonVehicleDetectionConfig) Descriptor
func (*PersonVehicleDetectionConfig) Descriptor() ([]byte, []int)
Deprecated: Use PersonVehicleDetectionConfig.ProtoReflect.Descriptor instead.
func (*PersonVehicleDetectionConfig) GetEnablePeopleCounting
func (x *PersonVehicleDetectionConfig) GetEnablePeopleCounting() bool
func (*PersonVehicleDetectionConfig) GetEnableVehicleCounting
func (x *PersonVehicleDetectionConfig) GetEnableVehicleCounting() bool
func (*PersonVehicleDetectionConfig) ProtoMessage
func (*PersonVehicleDetectionConfig) ProtoMessage()
func (*PersonVehicleDetectionConfig) ProtoReflect
func (x *PersonVehicleDetectionConfig) ProtoReflect() protoreflect.Message
func (*PersonVehicleDetectionConfig) Reset
func (x *PersonVehicleDetectionConfig) Reset()
func (*PersonVehicleDetectionConfig) String
func (x *PersonVehicleDetectionConfig) String() string
PersonalProtectiveEquipmentDetectionConfig
type PersonalProtectiveEquipmentDetectionConfig struct {
EnableFaceCoverageDetection bool "" /* 147 byte string literal not displayed */
EnableHeadCoverageDetection bool "" /* 147 byte string literal not displayed */
EnableHandsCoverageDetection bool "" /* 150 byte string literal not displayed */
}
Message describing PersonalProtectiveEquipmentDetectionConfig.
func (*PersonalProtectiveEquipmentDetectionConfig) Descriptor
func (*PersonalProtectiveEquipmentDetectionConfig) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionConfig.ProtoReflect.Descriptor instead.
func (*PersonalProtectiveEquipmentDetectionConfig) GetEnableFaceCoverageDetection
func (x *PersonalProtectiveEquipmentDetectionConfig) GetEnableFaceCoverageDetection() bool
func (*PersonalProtectiveEquipmentDetectionConfig) GetEnableHandsCoverageDetection
func (x *PersonalProtectiveEquipmentDetectionConfig) GetEnableHandsCoverageDetection() bool
func (*PersonalProtectiveEquipmentDetectionConfig) GetEnableHeadCoverageDetection
func (x *PersonalProtectiveEquipmentDetectionConfig) GetEnableHeadCoverageDetection() bool
func (*PersonalProtectiveEquipmentDetectionConfig) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionConfig) ProtoMessage()
func (*PersonalProtectiveEquipmentDetectionConfig) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionConfig) ProtoReflect() protoreflect.Message
func (*PersonalProtectiveEquipmentDetectionConfig) Reset
func (x *PersonalProtectiveEquipmentDetectionConfig) Reset()
func (*PersonalProtectiveEquipmentDetectionConfig) String
func (x *PersonalProtectiveEquipmentDetectionConfig) String() string
PersonalProtectiveEquipmentDetectionOutput
type PersonalProtectiveEquipmentDetectionOutput struct {
// Current timestamp.
CurrentTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"`
// A list of DetectedPersons.
DetectedPersons []*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson `protobuf:"bytes,2,rep,name=detected_persons,json=detectedPersons,proto3" json:"detected_persons,omitempty"`
// contains filtered or unexported fields
}
Output format for Personal Protective Equipment Detection Operator.
func (*PersonalProtectiveEquipmentDetectionOutput) Descriptor
func (*PersonalProtectiveEquipmentDetectionOutput) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionOutput.ProtoReflect.Descriptor instead.
func (*PersonalProtectiveEquipmentDetectionOutput) GetCurrentTime
func (x *PersonalProtectiveEquipmentDetectionOutput) GetCurrentTime() *timestamppb.Timestamp
func (*PersonalProtectiveEquipmentDetectionOutput) GetDetectedPersons
func (x *PersonalProtectiveEquipmentDetectionOutput) GetDetectedPersons() []*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson
func (*PersonalProtectiveEquipmentDetectionOutput) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionOutput) ProtoMessage()
func (*PersonalProtectiveEquipmentDetectionOutput) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionOutput) ProtoReflect() protoreflect.Message
func (*PersonalProtectiveEquipmentDetectionOutput) Reset
func (x *PersonalProtectiveEquipmentDetectionOutput) Reset()
func (*PersonalProtectiveEquipmentDetectionOutput) String
func (x *PersonalProtectiveEquipmentDetectionOutput) String() string
PersonalProtectiveEquipmentDetectionOutput_DetectedPerson
type PersonalProtectiveEquipmentDetectionOutput_DetectedPerson struct {
PersonId int64 `protobuf:"varint,1,opt,name=person_id,json=personId,proto3" json:"person_id,omitempty"`
DetectedPersonIdentifiedBox *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox "" /* 146 byte string literal not displayed */
DetectedPpeIdentifiedBoxes []*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox "" /* 143 byte string literal not displayed */
FaceCoverageScore *float32 `protobuf:"fixed32,4,opt,name=face_coverage_score,json=faceCoverageScore,proto3,oneof" json:"face_coverage_score,omitempty"`
EyesCoverageScore *float32 `protobuf:"fixed32,5,opt,name=eyes_coverage_score,json=eyesCoverageScore,proto3,oneof" json:"eyes_coverage_score,omitempty"`
HeadCoverageScore *float32 `protobuf:"fixed32,6,opt,name=head_coverage_score,json=headCoverageScore,proto3,oneof" json:"head_coverage_score,omitempty"`
HandsCoverageScore *float32 `protobuf:"fixed32,7,opt,name=hands_coverage_score,json=handsCoverageScore,proto3,oneof" json:"hands_coverage_score,omitempty"`
BodyCoverageScore *float32 `protobuf:"fixed32,8,opt,name=body_coverage_score,json=bodyCoverageScore,proto3,oneof" json:"body_coverage_score,omitempty"`
FeetCoverageScore *float32 `protobuf:"fixed32,9,opt,name=feet_coverage_score,json=feetCoverageScore,proto3,oneof" json:"feet_coverage_score,omitempty"`
}
Detected Person contains the detected person and their associated ppes and their protecting information.
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) Descriptor
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionOutput_DetectedPerson.ProtoReflect.Descriptor instead.
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetBodyCoverageScore
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetBodyCoverageScore() float32
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetDetectedPersonIdentifiedBox
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetDetectedPersonIdentifiedBox() *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetDetectedPpeIdentifiedBoxes
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetDetectedPpeIdentifiedBoxes() []*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetEyesCoverageScore
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetEyesCoverageScore() float32
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetFaceCoverageScore
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetFaceCoverageScore() float32
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetFeetCoverageScore
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetFeetCoverageScore() float32
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetHandsCoverageScore
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetHandsCoverageScore() float32
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetHeadCoverageScore
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetHeadCoverageScore() float32
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetPersonId
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetPersonId() int64
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) ProtoMessage()
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) ProtoReflect() protoreflect.Message
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) Reset
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) Reset()
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) String
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) String() string
PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox
type PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox struct {
// Min in x coordinate.
Xmin float32 `protobuf:"fixed32,1,opt,name=xmin,proto3" json:"xmin,omitempty"`
// Min in y coordinate.
Ymin float32 `protobuf:"fixed32,2,opt,name=ymin,proto3" json:"ymin,omitempty"`
// Width of the bounding box.
Width float32 `protobuf:"fixed32,3,opt,name=width,proto3" json:"width,omitempty"`
// Height of the bounding box.
Height float32 `protobuf:"fixed32,4,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
Bounding Box in the normalized coordinates.
func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) Descriptor
func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox.ProtoReflect.Descriptor instead.
func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetHeight
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetHeight() float32
func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetWidth
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetWidth() float32
func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetXmin
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetXmin() float32
func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetYmin
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetYmin() float32
func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) ProtoMessage()
func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) ProtoReflect() protoreflect.Message
func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) Reset
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) Reset()
func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) String
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) String() string
PersonalProtectiveEquipmentDetectionOutput_PPEEntity
type PersonalProtectiveEquipmentDetectionOutput_PPEEntity struct {
PpeLabelId int64 `protobuf:"varint,1,opt,name=ppe_label_id,json=ppeLabelId,proto3" json:"ppe_label_id,omitempty"`
PpeLabelString string `protobuf:"bytes,2,opt,name=ppe_label_string,json=ppeLabelString,proto3" json:"ppe_label_string,omitempty"`
PpeSupercategoryLabelString string "" /* 146 byte string literal not displayed */
PpeEntityId int64 `protobuf:"varint,4,opt,name=ppe_entity_id,json=ppeEntityId,proto3" json:"ppe_entity_id,omitempty"`
}
The entity info for annotations from PPE detection prediction result.
func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) Descriptor
func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionOutput_PPEEntity.ProtoReflect.Descriptor instead.
func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeEntityId
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeEntityId() int64
func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeLabelId
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeLabelId() int64
func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeLabelString
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeLabelString() string
func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeSupercategoryLabelString
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeSupercategoryLabelString() string
func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) ProtoMessage()
func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) ProtoReflect() protoreflect.Message
func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) Reset
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) Reset()
func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) String
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) String() string
PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox
type PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox struct {
// An unique id for this box.
BoxId int64 `protobuf:"varint,1,opt,name=box_id,json=boxId,proto3" json:"box_id,omitempty"`
// Bounding Box in the normalized coordinates.
NormalizedBoundingBox *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox `protobuf:"bytes,2,opt,name=normalized_bounding_box,json=normalizedBoundingBox,proto3" json:"normalized_bounding_box,omitempty"`
// Confidence score associated with this box.
ConfidenceScore float32 `protobuf:"fixed32,3,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"`
// PPE entity info.
PpeEntity *PersonalProtectiveEquipmentDetectionOutput_PPEEntity `protobuf:"bytes,4,opt,name=ppe_entity,json=ppeEntity,proto3" json:"ppe_entity,omitempty"`
// contains filtered or unexported fields
}
PPEIdentified box contains the location and the entity info of the PPE.
func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) Descriptor
func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox.ProtoReflect.Descriptor instead.
func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetBoxId
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetBoxId() int64
func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetConfidenceScore
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetConfidenceScore() float32
func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetNormalizedBoundingBox
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetNormalizedBoundingBox() *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox
func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetPpeEntity
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetPpeEntity() *PersonalProtectiveEquipmentDetectionOutput_PPEEntity
func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) ProtoMessage()
func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) ProtoReflect() protoreflect.Message
func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) Reset
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) Reset()
func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) String
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) String() string
PersonalProtectiveEquipmentDetectionOutput_PersonEntity
type PersonalProtectiveEquipmentDetectionOutput_PersonEntity struct {
// Entity id.
PersonEntityId int64 `protobuf:"varint,1,opt,name=person_entity_id,json=personEntityId,proto3" json:"person_entity_id,omitempty"`
// contains filtered or unexported fields
}
The entity info for annotations from person detection prediction result.
func (*PersonalProtectiveEquipmentDetectionOutput_PersonEntity) Descriptor
func (*PersonalProtectiveEquipmentDetectionOutput_PersonEntity) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionOutput_PersonEntity.ProtoReflect.Descriptor instead.
func (*PersonalProtectiveEquipmentDetectionOutput_PersonEntity) GetPersonEntityId
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonEntity) GetPersonEntityId() int64
func (*PersonalProtectiveEquipmentDetectionOutput_PersonEntity) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionOutput_PersonEntity) ProtoMessage()
func (*PersonalProtectiveEquipmentDetectionOutput_PersonEntity) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonEntity) ProtoReflect() protoreflect.Message
func (*PersonalProtectiveEquipmentDetectionOutput_PersonEntity) Reset
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonEntity) Reset()
func (*PersonalProtectiveEquipmentDetectionOutput_PersonEntity) String
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonEntity) String() string
PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox
type PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox struct {
// An unique id for this box.
BoxId int64 `protobuf:"varint,1,opt,name=box_id,json=boxId,proto3" json:"box_id,omitempty"`
// Bounding Box in the normalized coordinates.
NormalizedBoundingBox *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox `protobuf:"bytes,2,opt,name=normalized_bounding_box,json=normalizedBoundingBox,proto3" json:"normalized_bounding_box,omitempty"`
// Confidence score associated with this box.
ConfidenceScore float32 `protobuf:"fixed32,3,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"`
// Person entity info.
PersonEntity *PersonalProtectiveEquipmentDetectionOutput_PersonEntity `protobuf:"bytes,4,opt,name=person_entity,json=personEntity,proto3" json:"person_entity,omitempty"`
// contains filtered or unexported fields
}
PersonIdentified box contains the location and the entity info of the person.
func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) Descriptor
func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox.ProtoReflect.Descriptor instead.
func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetBoxId
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetBoxId() int64
func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetConfidenceScore
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetConfidenceScore() float32
func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetNormalizedBoundingBox
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetNormalizedBoundingBox() *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox
func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetPersonEntity
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetPersonEntity() *PersonalProtectiveEquipmentDetectionOutput_PersonEntity
func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) ProtoMessage()
func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) ProtoReflect() protoreflect.Message
func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) Reset
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) Reset()
func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) String
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) String() string
Process
type Process struct {
// The name of resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The create timestamp.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The update timestamp.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Required. Reference to an existing Analysis resource.
Analysis string `protobuf:"bytes,4,opt,name=analysis,proto3" json:"analysis,omitempty"`
// Optional. Attribute overrides of the Analyzers.
// Format for each single override item:
// "{analyzer_name}:{attribute_key}={value}"
AttributeOverrides []string `protobuf:"bytes,5,rep,name=attribute_overrides,json=attributeOverrides,proto3" json:"attribute_overrides,omitempty"`
// Optional. Status of the Process.
RunStatus *RunStatus `protobuf:"bytes,6,opt,name=run_status,json=runStatus,proto3" json:"run_status,omitempty"`
// Optional. Run mode of the Process.
RunMode RunMode `protobuf:"varint,7,opt,name=run_mode,json=runMode,proto3,enum=google.cloud.visionai.v1.RunMode" json:"run_mode,omitempty"`
// Optional. Event ID of the input/output streams.
// This is useful when you have a StreamSource/StreamSink operator in the
// Analysis, and you want to manually specify the Event to read from/write to.
EventId string `protobuf:"bytes,8,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
// Optional. Optional: Batch ID of the Process.
BatchId string `protobuf:"bytes,9,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
// Optional. Optional: The number of retries for a process in submission mode
// the system should try before declaring failure. By default, no retry will
// be performed.
RetryCount int32 `protobuf:"varint,10,opt,name=retry_count,json=retryCount,proto3" json:"retry_count,omitempty"`
// contains filtered or unexported fields
}
Message describing the Process object.
func (*Process) Descriptor
Deprecated: Use Process.ProtoReflect.Descriptor instead.
func (*Process) GetAnalysis
func (*Process) GetAttributeOverrides
func (*Process) GetBatchId
func (*Process) GetCreateTime
func (x *Process) GetCreateTime() *timestamppb.Timestamp
func (*Process) GetEventId
func (*Process) GetName
func (*Process) GetRetryCount
func (*Process) GetRunMode
func (*Process) GetRunStatus
func (*Process) GetUpdateTime
func (x *Process) GetUpdateTime() *timestamppb.Timestamp
func (*Process) ProtoMessage
func (*Process) ProtoMessage()
func (*Process) ProtoReflect
func (x *Process) ProtoReflect() protoreflect.Message
func (*Process) Reset
func (x *Process) Reset()
func (*Process) String
Processor
type Processor struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
ProcessorType Processor_ProcessorType "" /* 155 byte string literal not displayed */
ModelType ModelType "" /* 130 byte string literal not displayed */
CustomProcessorSourceInfo *CustomProcessorSourceInfo "" /* 140 byte string literal not displayed */
State Processor_ProcessorState `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.visionai.v1.Processor_ProcessorState" json:"state,omitempty"`
ProcessorIoSpec *ProcessorIOSpec `protobuf:"bytes,11,opt,name=processor_io_spec,json=processorIoSpec,proto3" json:"processor_io_spec,omitempty"`
ConfigurationTypeurl string `protobuf:"bytes,14,opt,name=configuration_typeurl,json=configurationTypeurl,proto3" json:"configuration_typeurl,omitempty"`
SupportedAnnotationTypes []StreamAnnotationType "" /* 195 byte string literal not displayed */
SupportsPostProcessing bool "" /* 131 byte string literal not displayed */
SupportedInstanceTypes []Instance_InstanceType "" /* 190 byte string literal not displayed */
}
Message describing Processor object. Next ID: 19
func (*Processor) Descriptor
Deprecated: Use Processor.ProtoReflect.Descriptor instead.
func (*Processor) GetConfigurationTypeurl
func (*Processor) GetCreateTime
func (x *Processor) GetCreateTime() *timestamppb.Timestamp
func (*Processor) GetCustomProcessorSourceInfo
func (x *Processor) GetCustomProcessorSourceInfo() *CustomProcessorSourceInfo
func (*Processor) GetDescription
func (*Processor) GetDisplayName
func (*Processor) GetLabels
func (*Processor) GetModelType
func (*Processor) GetName
func (*Processor) GetProcessorIoSpec
func (x *Processor) GetProcessorIoSpec() *ProcessorIOSpec
func (*Processor) GetProcessorType
func (x *Processor) GetProcessorType() Processor_ProcessorType
func (*Processor) GetState
func (x *Processor) GetState() Processor_ProcessorState
func (*Processor) GetSupportedAnnotationTypes
func (x *Processor) GetSupportedAnnotationTypes() []StreamAnnotationType
func (*Processor) GetSupportedInstanceTypes
func (x *Processor) GetSupportedInstanceTypes() []Instance_InstanceType
func (*Processor) GetSupportsPostProcessing
func (*Processor) GetUpdateTime
func (x *Processor) GetUpdateTime() *timestamppb.Timestamp
func (*Processor) ProtoMessage
func (*Processor) ProtoMessage()
func (*Processor) ProtoReflect
func (x *Processor) ProtoReflect() protoreflect.Message
func (*Processor) Reset
func (x *Processor) Reset()
func (*Processor) String
ProcessorConfig
type ProcessorConfig struct {
// Types that are assignable to ProcessorConfig:
//
// *ProcessorConfig_VideoStreamInputConfig
// *ProcessorConfig_AiEnabledDevicesInputConfig
// *ProcessorConfig_MediaWarehouseConfig
// *ProcessorConfig_PersonBlurConfig
// *ProcessorConfig_OccupancyCountConfig
// *ProcessorConfig_PersonVehicleDetectionConfig
// *ProcessorConfig_VertexAutomlVisionConfig
// *ProcessorConfig_VertexAutomlVideoConfig
// *ProcessorConfig_VertexCustomConfig
// *ProcessorConfig_GeneralObjectDetectionConfig
// *ProcessorConfig_BigQueryConfig
// *ProcessorConfig_GcsOutputConfig
// *ProcessorConfig_ProductRecognizerConfig
// *ProcessorConfig_PersonalProtectiveEquipmentDetectionConfig
// *ProcessorConfig_TagRecognizerConfig
// *ProcessorConfig_UniversalInputConfig
ProcessorConfig isProcessorConfig_ProcessorConfig `protobuf_oneof:"processor_config"`
// Experimental configurations. Structured object containing not-yet-stable
// processor parameters.
ExperimentalConfig *structpb.Struct `protobuf:"bytes,26,opt,name=experimental_config,json=experimentalConfig,proto3" json:"experimental_config,omitempty"`
// contains filtered or unexported fields
}
Next ID: 35
func (*ProcessorConfig) Descriptor
func (*ProcessorConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProcessorConfig.ProtoReflect.Descriptor instead.
func (*ProcessorConfig) GetAiEnabledDevicesInputConfig
func (x *ProcessorConfig) GetAiEnabledDevicesInputConfig() *AIEnabledDevicesInputConfig
func (*ProcessorConfig) GetBigQueryConfig
func (x *ProcessorConfig) GetBigQueryConfig() *BigQueryConfig
func (*ProcessorConfig) GetExperimentalConfig
func (x *ProcessorConfig) GetExperimentalConfig() *structpb.Struct
func (*ProcessorConfig) GetGcsOutputConfig
func (x *ProcessorConfig) GetGcsOutputConfig() *GcsOutputConfig
func (*ProcessorConfig) GetGeneralObjectDetectionConfig
func (x *ProcessorConfig) GetGeneralObjectDetectionConfig() *GeneralObjectDetectionConfig
func (*ProcessorConfig) GetMediaWarehouseConfig
func (x *ProcessorConfig) GetMediaWarehouseConfig() *MediaWarehouseConfig
func (*ProcessorConfig) GetOccupancyCountConfig
func (x *ProcessorConfig) GetOccupancyCountConfig() *OccupancyCountConfig
func (*ProcessorConfig) GetPersonBlurConfig
func (x *ProcessorConfig) GetPersonBlurConfig() *PersonBlurConfig
func (*ProcessorConfig) GetPersonVehicleDetectionConfig
func (x *ProcessorConfig) GetPersonVehicleDetectionConfig() *PersonVehicleDetectionConfig
func (*ProcessorConfig) GetPersonalProtectiveEquipmentDetectionConfig
func (x *ProcessorConfig) GetPersonalProtectiveEquipmentDetectionConfig() *PersonalProtectiveEquipmentDetectionConfig
func (*ProcessorConfig) GetProcessorConfig
func (m *ProcessorConfig) GetProcessorConfig() isProcessorConfig_ProcessorConfig
func (*ProcessorConfig) GetProductRecognizerConfig
func (x *ProcessorConfig) GetProductRecognizerConfig() *ProductRecognizerConfig
func (*ProcessorConfig) GetTagRecognizerConfig
func (x *ProcessorConfig) GetTagRecognizerConfig() *TagRecognizerConfig
func (*ProcessorConfig) GetUniversalInputConfig
func (x *ProcessorConfig) GetUniversalInputConfig() *UniversalInputConfig
func (*ProcessorConfig) GetVertexAutomlVideoConfig
func (x *ProcessorConfig) GetVertexAutomlVideoConfig() *VertexAutoMLVideoConfig
func (*ProcessorConfig) GetVertexAutomlVisionConfig
func (x *ProcessorConfig) GetVertexAutomlVisionConfig() *VertexAutoMLVisionConfig
func (*ProcessorConfig) GetVertexCustomConfig
func (x *ProcessorConfig) GetVertexCustomConfig() *VertexCustomConfig
func (*ProcessorConfig) GetVideoStreamInputConfig
func (x *ProcessorConfig) GetVideoStreamInputConfig() *VideoStreamInputConfig
func (*ProcessorConfig) ProtoMessage
func (*ProcessorConfig) ProtoMessage()
func (*ProcessorConfig) ProtoReflect
func (x *ProcessorConfig) ProtoReflect() protoreflect.Message
func (*ProcessorConfig) Reset
func (x *ProcessorConfig) Reset()
func (*ProcessorConfig) String
func (x *ProcessorConfig) String() string
ProcessorConfig_AiEnabledDevicesInputConfig
type ProcessorConfig_AiEnabledDevicesInputConfig struct {
// Config of AI-enabled input devices.
AiEnabledDevicesInputConfig *AIEnabledDevicesInputConfig `protobuf:"bytes,20,opt,name=ai_enabled_devices_input_config,json=aiEnabledDevicesInputConfig,proto3,oneof"`
}
ProcessorConfig_BigQueryConfig
type ProcessorConfig_BigQueryConfig struct {
// Configs of BigQuery processor.
BigQueryConfig *BigQueryConfig `protobuf:"bytes,19,opt,name=big_query_config,json=bigQueryConfig,proto3,oneof"`
}
ProcessorConfig_GcsOutputConfig
type ProcessorConfig_GcsOutputConfig struct {
// Configs of Cloud Storage output processor.
GcsOutputConfig *GcsOutputConfig `protobuf:"bytes,27,opt,name=gcs_output_config,json=gcsOutputConfig,proto3,oneof"`
}
ProcessorConfig_GeneralObjectDetectionConfig
type ProcessorConfig_GeneralObjectDetectionConfig struct {
// Configs of General Object Detection processor.
GeneralObjectDetectionConfig *GeneralObjectDetectionConfig `protobuf:"bytes,18,opt,name=general_object_detection_config,json=generalObjectDetectionConfig,proto3,oneof"`
}
ProcessorConfig_MediaWarehouseConfig
type ProcessorConfig_MediaWarehouseConfig struct {
// Configs of media warehouse processor.
MediaWarehouseConfig *MediaWarehouseConfig `protobuf:"bytes,10,opt,name=media_warehouse_config,json=mediaWarehouseConfig,proto3,oneof"`
}
ProcessorConfig_OccupancyCountConfig
type ProcessorConfig_OccupancyCountConfig struct {
// Configs of occupancy count processor.
OccupancyCountConfig *OccupancyCountConfig `protobuf:"bytes,12,opt,name=occupancy_count_config,json=occupancyCountConfig,proto3,oneof"`
}
ProcessorConfig_PersonBlurConfig
type ProcessorConfig_PersonBlurConfig struct {
// Configs of person blur processor.
PersonBlurConfig *PersonBlurConfig `protobuf:"bytes,11,opt,name=person_blur_config,json=personBlurConfig,proto3,oneof"`
}
ProcessorConfig_PersonVehicleDetectionConfig
type ProcessorConfig_PersonVehicleDetectionConfig struct {
// Configs of Person Vehicle Detection processor.
PersonVehicleDetectionConfig *PersonVehicleDetectionConfig `protobuf:"bytes,15,opt,name=person_vehicle_detection_config,json=personVehicleDetectionConfig,proto3,oneof"`
}
ProcessorConfig_PersonalProtectiveEquipmentDetectionConfig
type ProcessorConfig_PersonalProtectiveEquipmentDetectionConfig struct {
PersonalProtectiveEquipmentDetectionConfig *PersonalProtectiveEquipmentDetectionConfig "" /* 136 byte string literal not displayed */
}
ProcessorConfig_ProductRecognizerConfig
type ProcessorConfig_ProductRecognizerConfig struct {
// Runtime configs of Product Recognizer processor.
ProductRecognizerConfig *ProductRecognizerConfig `protobuf:"bytes,21,opt,name=product_recognizer_config,json=productRecognizerConfig,proto3,oneof"`
}
ProcessorConfig_TagRecognizerConfig
type ProcessorConfig_TagRecognizerConfig struct {
// Runtime configs of Tag Recognizer processor.
TagRecognizerConfig *TagRecognizerConfig `protobuf:"bytes,25,opt,name=tag_recognizer_config,json=tagRecognizerConfig,proto3,oneof"`
}
ProcessorConfig_UniversalInputConfig
type ProcessorConfig_UniversalInputConfig struct {
// Runtime configs of UniversalInput processor.
UniversalInputConfig *UniversalInputConfig `protobuf:"bytes,28,opt,name=universal_input_config,json=universalInputConfig,proto3,oneof"`
}
ProcessorConfig_VertexAutomlVideoConfig
type ProcessorConfig_VertexAutomlVideoConfig struct {
// Configs of Vertex AutoML video processor.
VertexAutomlVideoConfig *VertexAutoMLVideoConfig `protobuf:"bytes,14,opt,name=vertex_automl_video_config,json=vertexAutomlVideoConfig,proto3,oneof"`
}
ProcessorConfig_VertexAutomlVisionConfig
type ProcessorConfig_VertexAutomlVisionConfig struct {
// Configs of Vertex AutoML vision processor.
VertexAutomlVisionConfig *VertexAutoMLVisionConfig `protobuf:"bytes,13,opt,name=vertex_automl_vision_config,json=vertexAutomlVisionConfig,proto3,oneof"`
}
ProcessorConfig_VertexCustomConfig
type ProcessorConfig_VertexCustomConfig struct {
// Configs of Vertex Custom processor.
VertexCustomConfig *VertexCustomConfig `protobuf:"bytes,17,opt,name=vertex_custom_config,json=vertexCustomConfig,proto3,oneof"`
}
ProcessorConfig_VideoStreamInputConfig
type ProcessorConfig_VideoStreamInputConfig struct {
// Configs of stream input processor.
VideoStreamInputConfig *VideoStreamInputConfig `protobuf:"bytes,9,opt,name=video_stream_input_config,json=videoStreamInputConfig,proto3,oneof"`
}
ProcessorIOSpec
type ProcessorIOSpec struct {
GraphInputChannelSpecs []*ProcessorIOSpec_GraphInputChannelSpec "" /* 131 byte string literal not displayed */
GraphOutputChannelSpecs []*ProcessorIOSpec_GraphOutputChannelSpec "" /* 134 byte string literal not displayed */
InstanceResourceInputBindingSpecs []*ProcessorIOSpec_InstanceResourceInputBindingSpec "" /* 166 byte string literal not displayed */
InstanceResourceOutputBindingSpecs []*ProcessorIOSpec_InstanceResourceOutputBindingSpec "" /* 169 byte string literal not displayed */
}
Message describing the input / output specifications of a processor.
func (*ProcessorIOSpec) Descriptor
func (*ProcessorIOSpec) Descriptor() ([]byte, []int)
Deprecated: Use ProcessorIOSpec.ProtoReflect.Descriptor instead.
func (*ProcessorIOSpec) GetGraphInputChannelSpecs
func (x *ProcessorIOSpec) GetGraphInputChannelSpecs() []*ProcessorIOSpec_GraphInputChannelSpec
func (*ProcessorIOSpec) GetGraphOutputChannelSpecs
func (x *ProcessorIOSpec) GetGraphOutputChannelSpecs() []*ProcessorIOSpec_GraphOutputChannelSpec
func (*ProcessorIOSpec) GetInstanceResourceInputBindingSpecs
func (x *ProcessorIOSpec) GetInstanceResourceInputBindingSpecs() []*ProcessorIOSpec_InstanceResourceInputBindingSpec
func (*ProcessorIOSpec) GetInstanceResourceOutputBindingSpecs
func (x *ProcessorIOSpec) GetInstanceResourceOutputBindingSpecs() []*ProcessorIOSpec_InstanceResourceOutputBindingSpec
func (*ProcessorIOSpec) ProtoMessage
func (*ProcessorIOSpec) ProtoMessage()
func (*ProcessorIOSpec) ProtoReflect
func (x *ProcessorIOSpec) ProtoReflect() protoreflect.Message
func (*ProcessorIOSpec) Reset
func (x *ProcessorIOSpec) Reset()
func (*ProcessorIOSpec) String
func (x *ProcessorIOSpec) String() string
ProcessorIOSpec_GraphInputChannelSpec
type ProcessorIOSpec_GraphInputChannelSpec struct {
// The name of the current input channel.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The data types of the current input channel.
// When this field has more than 1 value, it means this input channel can be
// connected to either of these different data types.
DataType DataType `protobuf:"varint,2,opt,name=data_type,json=dataType,proto3,enum=google.cloud.visionai.v1.DataType" json:"data_type,omitempty"`
// If specified, only those detailed data types can be connected to the
// processor. For example, jpeg stream for MEDIA, or PredictionResult proto
// for PROTO type. If unspecified, then any proto is accepted.
AcceptedDataTypeUris []string `protobuf:"bytes,5,rep,name=accepted_data_type_uris,json=acceptedDataTypeUris,proto3" json:"accepted_data_type_uris,omitempty"`
// Whether the current input channel is required by the processor.
// For example, for a processor with required video input and optional audio
// input, if video input is missing, the application will be rejected while
// the audio input can be missing as long as the video input exists.
Required bool `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
// How many input edges can be connected to this input channel. 0 means
// unlimited.
MaxConnectionAllowed int64 `protobuf:"varint,4,opt,name=max_connection_allowed,json=maxConnectionAllowed,proto3" json:"max_connection_allowed,omitempty"`
// contains filtered or unexported fields
}
Message for input channel specification.
func (*ProcessorIOSpec_GraphInputChannelSpec) Descriptor
func (*ProcessorIOSpec_GraphInputChannelSpec) Descriptor() ([]byte, []int)
Deprecated: Use ProcessorIOSpec_GraphInputChannelSpec.ProtoReflect.Descriptor instead.
func (*ProcessorIOSpec_GraphInputChannelSpec) GetAcceptedDataTypeUris
func (x *ProcessorIOSpec_GraphInputChannelSpec) GetAcceptedDataTypeUris() []string
func (*ProcessorIOSpec_GraphInputChannelSpec) GetDataType
func (x *ProcessorIOSpec_GraphInputChannelSpec) GetDataType() DataType
func (*ProcessorIOSpec_GraphInputChannelSpec) GetMaxConnectionAllowed
func (x *ProcessorIOSpec_GraphInputChannelSpec) GetMaxConnectionAllowed() int64
func (*ProcessorIOSpec_GraphInputChannelSpec) GetName
func (x *ProcessorIOSpec_GraphInputChannelSpec) GetName() string
func (*ProcessorIOSpec_GraphInputChannelSpec) GetRequired
func (x *ProcessorIOSpec_GraphInputChannelSpec) GetRequired() bool
func (*ProcessorIOSpec_GraphInputChannelSpec) ProtoMessage
func (*ProcessorIOSpec_GraphInputChannelSpec) ProtoMessage()
func (*ProcessorIOSpec_GraphInputChannelSpec) ProtoReflect
func (x *ProcessorIOSpec_GraphInputChannelSpec) ProtoReflect() protoreflect.Message
func (*ProcessorIOSpec_GraphInputChannelSpec) Reset
func (x *ProcessorIOSpec_GraphInputChannelSpec) Reset()
func (*ProcessorIOSpec_GraphInputChannelSpec) String
func (x *ProcessorIOSpec_GraphInputChannelSpec) String() string
ProcessorIOSpec_GraphOutputChannelSpec
type ProcessorIOSpec_GraphOutputChannelSpec struct {
// The name of the current output channel.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The data type of the current output channel.
DataType DataType `protobuf:"varint,2,opt,name=data_type,json=dataType,proto3,enum=google.cloud.visionai.v1.DataType" json:"data_type,omitempty"`
DataTypeUri string `protobuf:"bytes,3,opt,name=data_type_uri,json=dataTypeUri,proto3" json:"data_type_uri,omitempty"`
// contains filtered or unexported fields
}
Message for output channel specification.
func (*ProcessorIOSpec_GraphOutputChannelSpec) Descriptor
func (*ProcessorIOSpec_GraphOutputChannelSpec) Descriptor() ([]byte, []int)
Deprecated: Use ProcessorIOSpec_GraphOutputChannelSpec.ProtoReflect.Descriptor instead.
func (*ProcessorIOSpec_GraphOutputChannelSpec) GetDataType
func (x *ProcessorIOSpec_GraphOutputChannelSpec) GetDataType() DataType
func (*ProcessorIOSpec_GraphOutputChannelSpec) GetDataTypeUri
func (x *ProcessorIOSpec_GraphOutputChannelSpec) GetDataTypeUri() string
func (*ProcessorIOSpec_GraphOutputChannelSpec) GetName
func (x *ProcessorIOSpec_GraphOutputChannelSpec) GetName() string
func (*ProcessorIOSpec_GraphOutputChannelSpec) ProtoMessage
func (*ProcessorIOSpec_GraphOutputChannelSpec) ProtoMessage()
func (*ProcessorIOSpec_GraphOutputChannelSpec) ProtoReflect
func (x *ProcessorIOSpec_GraphOutputChannelSpec) ProtoReflect() protoreflect.Message
func (*ProcessorIOSpec_GraphOutputChannelSpec) Reset
func (x *ProcessorIOSpec_GraphOutputChannelSpec) Reset()
func (*ProcessorIOSpec_GraphOutputChannelSpec) String
func (x *ProcessorIOSpec_GraphOutputChannelSpec) String() string
ProcessorIOSpec_InstanceResourceInputBindingSpec
type ProcessorIOSpec_InstanceResourceInputBindingSpec struct {
// Types that are assignable to ResourceType:
//
// *ProcessorIOSpec_InstanceResourceInputBindingSpec_ConfigTypeUri
// *ProcessorIOSpec_InstanceResourceInputBindingSpec_ResourceTypeUri
ResourceType isProcessorIOSpec_InstanceResourceInputBindingSpec_ResourceType `protobuf_oneof:"resource_type"`
// Name of the input binding, unique within the processor.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for instance resource channel specification. External resources are virtual nodes which are not expressed in the application graph. Each processor expresses its out-graph spec, so customer is able to override the external source or destinations to the
func (*ProcessorIOSpec_InstanceResourceInputBindingSpec) Descriptor
func (*ProcessorIOSpec_InstanceResourceInputBindingSpec) Descriptor() ([]byte, []int)
Deprecated: Use ProcessorIOSpec_InstanceResourceInputBindingSpec.ProtoReflect.Descriptor instead.
func (*ProcessorIOSpec_InstanceResourceInputBindingSpec) GetConfigTypeUri
func (x *ProcessorIOSpec_InstanceResourceInputBindingSpec) GetConfigTypeUri() string
func (*ProcessorIOSpec_InstanceResourceInputBindingSpec) GetName
func (x *ProcessorIOSpec_InstanceResourceInputBindingSpec) GetName() string
func (*ProcessorIOSpec_InstanceResourceInputBindingSpec) GetResourceType
func (m *ProcessorIOSpec_InstanceResourceInputBindingSpec) GetResourceType() isProcessorIOSpec_InstanceResourceInputBindingSpec_ResourceType
func (*ProcessorIOSpec_InstanceResourceInputBindingSpec) GetResourceTypeUri
func (x *ProcessorIOSpec_InstanceResourceInputBindingSpec) GetResourceTypeUri() string
func (*ProcessorIOSpec_InstanceResourceInputBindingSpec) ProtoMessage
func (*ProcessorIOSpec_InstanceResourceInputBindingSpec) ProtoMessage()
func (*ProcessorIOSpec_InstanceResourceInputBindingSpec) ProtoReflect
func (x *ProcessorIOSpec_InstanceResourceInputBindingSpec) ProtoReflect() protoreflect.Message
func (*ProcessorIOSpec_InstanceResourceInputBindingSpec) Reset
func (x *ProcessorIOSpec_InstanceResourceInputBindingSpec) Reset()
func (*ProcessorIOSpec_InstanceResourceInputBindingSpec) String
func (x *ProcessorIOSpec_InstanceResourceInputBindingSpec) String() string
ProcessorIOSpec_InstanceResourceInputBindingSpec_ConfigTypeUri
type ProcessorIOSpec_InstanceResourceInputBindingSpec_ConfigTypeUri struct {
// The configuration proto that includes the Googleapis resources. I.e.
// type.googleapis.com/google.cloud.vision.v1.StreamWithAnnotation
ConfigTypeUri string `protobuf:"bytes,2,opt,name=config_type_uri,json=configTypeUri,proto3,oneof"`
}
ProcessorIOSpec_InstanceResourceInputBindingSpec_ResourceTypeUri
type ProcessorIOSpec_InstanceResourceInputBindingSpec_ResourceTypeUri struct {
// The direct type url of Googleapis resource. i.e.
// type.googleapis.com/google.cloud.vision.v1.Asset
ResourceTypeUri string `protobuf:"bytes,3,opt,name=resource_type_uri,json=resourceTypeUri,proto3,oneof"`
}
ProcessorIOSpec_InstanceResourceOutputBindingSpec
type ProcessorIOSpec_InstanceResourceOutputBindingSpec struct {
// Name of the output binding, unique within the processor.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The resource type uri of the acceptable output resource.
ResourceTypeUri string `protobuf:"bytes,2,opt,name=resource_type_uri,json=resourceTypeUri,proto3" json:"resource_type_uri,omitempty"`
// Whether the output resource needs to be explicitly set in the instance.
// If it is false, the processor will automatically generate it if required.
Explicit bool `protobuf:"varint,3,opt,name=explicit,proto3" json:"explicit,omitempty"`
// contains filtered or unexported fields
}
func (*ProcessorIOSpec_InstanceResourceOutputBindingSpec) Descriptor
func (*ProcessorIOSpec_InstanceResourceOutputBindingSpec) Descriptor() ([]byte, []int)
Deprecated: Use ProcessorIOSpec_InstanceResourceOutputBindingSpec.ProtoReflect.Descriptor instead.
func (*ProcessorIOSpec_InstanceResourceOutputBindingSpec) GetExplicit
func (x *ProcessorIOSpec_InstanceResourceOutputBindingSpec) GetExplicit() bool
func (*ProcessorIOSpec_InstanceResourceOutputBindingSpec) GetName
func (x *ProcessorIOSpec_InstanceResourceOutputBindingSpec) GetName() string
func (*ProcessorIOSpec_InstanceResourceOutputBindingSpec) GetResourceTypeUri
func (x *ProcessorIOSpec_InstanceResourceOutputBindingSpec) GetResourceTypeUri() string
func (*ProcessorIOSpec_InstanceResourceOutputBindingSpec) ProtoMessage
func (*ProcessorIOSpec_InstanceResourceOutputBindingSpec) ProtoMessage()
func (*ProcessorIOSpec_InstanceResourceOutputBindingSpec) ProtoReflect
func (x *ProcessorIOSpec_InstanceResourceOutputBindingSpec) ProtoReflect() protoreflect.Message
func (*ProcessorIOSpec_InstanceResourceOutputBindingSpec) Reset
func (x *ProcessorIOSpec_InstanceResourceOutputBindingSpec) Reset()
func (*ProcessorIOSpec_InstanceResourceOutputBindingSpec) String
func (x *ProcessorIOSpec_InstanceResourceOutputBindingSpec) String() string
Processor_ProcessorState
type Processor_ProcessorState int32
Processor_PROCESSOR_STATE_UNSPECIFIED, Processor_CREATING, Processor_ACTIVE, Processor_DELETING, Processor_FAILED
const (
// Unspecified Processor state.
Processor_PROCESSOR_STATE_UNSPECIFIED Processor_ProcessorState = 0
// Processor is being created (not ready for use).
Processor_CREATING Processor_ProcessorState = 1
// Processor is and ready for use.
Processor_ACTIVE Processor_ProcessorState = 2
// Processor is being deleted (not ready for use).
Processor_DELETING Processor_ProcessorState = 3
// Processor deleted or creation failed .
Processor_FAILED Processor_ProcessorState = 4
)
func (Processor_ProcessorState) Descriptor
func (Processor_ProcessorState) Descriptor() protoreflect.EnumDescriptor
func (Processor_ProcessorState) Enum
func (x Processor_ProcessorState) Enum() *Processor_ProcessorState
func (Processor_ProcessorState) EnumDescriptor
func (Processor_ProcessorState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Processor_ProcessorState.Descriptor instead.
func (Processor_ProcessorState) Number
func (x Processor_ProcessorState) Number() protoreflect.EnumNumber
func (Processor_ProcessorState) String
func (x Processor_ProcessorState) String() string
func (Processor_ProcessorState) Type
func (Processor_ProcessorState) Type() protoreflect.EnumType
Processor_ProcessorType
type Processor_ProcessorType int32
Type
Processor_PROCESSOR_TYPE_UNSPECIFIED, Processor_PRETRAINED, Processor_CUSTOM, Processor_CONNECTOR
const (
// Processor Type UNSPECIFIED.
Processor_PROCESSOR_TYPE_UNSPECIFIED Processor_ProcessorType = 0
// Processor Type PRETRAINED.
// Pretrained processor is developed by Vision AI App Platform with
// state-of-the-art vision data processing functionality, like occupancy
// counting or person blur. Pretrained processor is usually publicly
// available.
Processor_PRETRAINED Processor_ProcessorType = 1
// Processor Type CUSTOM.
// Custom processors are specialized processors which are either uploaded by
// customers or imported from other GCP platform (for example Vertex AI).
// Custom processor is only visible to the creator.
Processor_CUSTOM Processor_ProcessorType = 2
// Processor Type CONNECTOR.
// Connector processors are special processors which perform I/O for the
// application, they do not processing the data but either deliver the data
// to other processors or receive data from other processors.
Processor_CONNECTOR Processor_ProcessorType = 3
)
func (Processor_ProcessorType) Descriptor
func (Processor_ProcessorType) Descriptor() protoreflect.EnumDescriptor
func (Processor_ProcessorType) Enum
func (x Processor_ProcessorType) Enum() *Processor_ProcessorType
func (Processor_ProcessorType) EnumDescriptor
func (Processor_ProcessorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Processor_ProcessorType.Descriptor instead.
func (Processor_ProcessorType) Number
func (x Processor_ProcessorType) Number() protoreflect.EnumNumber
func (Processor_ProcessorType) String
func (x Processor_ProcessorType) String() string
func (Processor_ProcessorType) Type
func (Processor_ProcessorType) Type() protoreflect.EnumType
ProductRecognizerConfig
type ProductRecognizerConfig struct {
RetailEndpoint string `protobuf:"bytes,1,opt,name=retail_endpoint,json=retailEndpoint,proto3" json:"retail_endpoint,omitempty"`
RecognitionConfidenceThreshold float32 "" /* 155 byte string literal not displayed */
}
Message describing ProductRecognizerConfig.
func (*ProductRecognizerConfig) Descriptor
func (*ProductRecognizerConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProductRecognizerConfig.ProtoReflect.Descriptor instead.
func (*ProductRecognizerConfig) GetRecognitionConfidenceThreshold
func (x *ProductRecognizerConfig) GetRecognitionConfidenceThreshold() float32
func (*ProductRecognizerConfig) GetRetailEndpoint
func (x *ProductRecognizerConfig) GetRetailEndpoint() string
func (*ProductRecognizerConfig) ProtoMessage
func (*ProductRecognizerConfig) ProtoMessage()
func (*ProductRecognizerConfig) ProtoReflect
func (x *ProductRecognizerConfig) ProtoReflect() protoreflect.Message
func (*ProductRecognizerConfig) Reset
func (x *ProductRecognizerConfig) Reset()
func (*ProductRecognizerConfig) String
func (x *ProductRecognizerConfig) String() string
RawImageDescriptor
type RawImageDescriptor struct {
// Raw image format. Its possible values are: "srgb".
Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"`
// The height of the image.
Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
// The width of the image.
Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
// contains filtered or unexported fields
}
The descriptor for a raw image.
func (*RawImageDescriptor) Descriptor
func (*RawImageDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use RawImageDescriptor.ProtoReflect.Descriptor instead.
func (*RawImageDescriptor) GetFormat
func (x *RawImageDescriptor) GetFormat() string
func (*RawImageDescriptor) GetHeight
func (x *RawImageDescriptor) GetHeight() int32
func (*RawImageDescriptor) GetWidth
func (x *RawImageDescriptor) GetWidth() int32
func (*RawImageDescriptor) ProtoMessage
func (*RawImageDescriptor) ProtoMessage()
func (*RawImageDescriptor) ProtoReflect
func (x *RawImageDescriptor) ProtoReflect() protoreflect.Message
func (*RawImageDescriptor) Reset
func (x *RawImageDescriptor) Reset()
func (*RawImageDescriptor) String
func (x *RawImageDescriptor) String() string
ReceiveEventsControlResponse
type ReceiveEventsControlResponse struct {
// Possible control messages.
//
// Types that are assignable to Control:
//
// *ReceiveEventsControlResponse_Heartbeat
// *ReceiveEventsControlResponse_WritesDoneRequest
Control isReceiveEventsControlResponse_Control `protobuf_oneof:"control"`
// contains filtered or unexported fields
}
Control message for a ReceiveEventsResponse.
func (*ReceiveEventsControlResponse) Descriptor
func (*ReceiveEventsControlResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveEventsControlResponse.ProtoReflect.Descriptor instead.
func (*ReceiveEventsControlResponse) GetControl
func (m *ReceiveEventsControlResponse) GetControl() isReceiveEventsControlResponse_Control
func (*ReceiveEventsControlResponse) GetHeartbeat
func (x *ReceiveEventsControlResponse) GetHeartbeat() bool
func (*ReceiveEventsControlResponse) GetWritesDoneRequest
func (x *ReceiveEventsControlResponse) GetWritesDoneRequest() bool
func (*ReceiveEventsControlResponse) ProtoMessage
func (*ReceiveEventsControlResponse) ProtoMessage()
func (*ReceiveEventsControlResponse) ProtoReflect
func (x *ReceiveEventsControlResponse) ProtoReflect() protoreflect.Message
func (*ReceiveEventsControlResponse) Reset
func (x *ReceiveEventsControlResponse) Reset()
func (*ReceiveEventsControlResponse) String
func (x *ReceiveEventsControlResponse) String() string
ReceiveEventsControlResponse_Heartbeat
type ReceiveEventsControlResponse_Heartbeat struct {
// A server heartbeat.
Heartbeat bool `protobuf:"varint,1,opt,name=heartbeat,proto3,oneof"`
}
ReceiveEventsControlResponse_WritesDoneRequest
type ReceiveEventsControlResponse_WritesDoneRequest struct {
// A request to the receiver to complete any final writes followed by a
// `WritesDone`; e.g. issue any final `CommitRequest`s.
//
// May be ignored if `WritesDone` has already been issued at any point
// prior to receiving this message.
//
// If `WritesDone` does not get issued, then the server will forcefully
// cancel the connection, and the receiver will likely receive an
// uninformative after `Read` returns `false` and `Finish` is called.
WritesDoneRequest bool `protobuf:"varint,2,opt,name=writes_done_request,json=writesDoneRequest,proto3,oneof"`
}
ReceiveEventsRequest
type ReceiveEventsRequest struct {
// Types that are assignable to Request:
//
// *ReceiveEventsRequest_SetupRequest_
// *ReceiveEventsRequest_CommitRequest
Request isReceiveEventsRequest_Request `protobuf_oneof:"request"`
// contains filtered or unexported fields
}
Request message for ReceiveEvents.
func (*ReceiveEventsRequest) Descriptor
func (*ReceiveEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveEventsRequest.ProtoReflect.Descriptor instead.
func (*ReceiveEventsRequest) GetCommitRequest
func (x *ReceiveEventsRequest) GetCommitRequest() *CommitRequest
func (*ReceiveEventsRequest) GetRequest
func (m *ReceiveEventsRequest) GetRequest() isReceiveEventsRequest_Request
func (*ReceiveEventsRequest) GetSetupRequest
func (x *ReceiveEventsRequest) GetSetupRequest() *ReceiveEventsRequest_SetupRequest
func (*ReceiveEventsRequest) ProtoMessage
func (*ReceiveEventsRequest) ProtoMessage()
func (*ReceiveEventsRequest) ProtoReflect
func (x *ReceiveEventsRequest) ProtoReflect() protoreflect.Message
func (*ReceiveEventsRequest) Reset
func (x *ReceiveEventsRequest) Reset()
func (*ReceiveEventsRequest) String
func (x *ReceiveEventsRequest) String() string
ReceiveEventsRequest_CommitRequest
type ReceiveEventsRequest_CommitRequest struct {
// This request checkpoints the consumer's read progress.
CommitRequest *CommitRequest `protobuf:"bytes,2,opt,name=commit_request,json=commitRequest,proto3,oneof"`
}
ReceiveEventsRequest_SetupRequest
type ReceiveEventsRequest_SetupRequest struct {
Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
Stream string `protobuf:"bytes,2,opt,name=stream,proto3" json:"stream,omitempty"`
Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"`
ControlledMode *ControlledMode `protobuf:"bytes,4,opt,name=controlled_mode,json=controlledMode,proto3" json:"controlled_mode,omitempty"`
HeartbeatInterval *durationpb.Duration `protobuf:"bytes,5,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"`
WritesDoneGracePeriod *durationpb.Duration "" /* 128 byte string literal not displayed */
}
SetupRequest is the first message sent to the service to setup the RPC connection.
func (*ReceiveEventsRequest_SetupRequest) Descriptor
func (*ReceiveEventsRequest_SetupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveEventsRequest_SetupRequest.ProtoReflect.Descriptor instead.
func (*ReceiveEventsRequest_SetupRequest) GetCluster
func (x *ReceiveEventsRequest_SetupRequest) GetCluster() string
func (*ReceiveEventsRequest_SetupRequest) GetControlledMode
func (x *ReceiveEventsRequest_SetupRequest) GetControlledMode() *ControlledMode
func (*ReceiveEventsRequest_SetupRequest) GetHeartbeatInterval
func (x *ReceiveEventsRequest_SetupRequest) GetHeartbeatInterval() *durationpb.Duration
func (*ReceiveEventsRequest_SetupRequest) GetReceiver
func (x *ReceiveEventsRequest_SetupRequest) GetReceiver() string
func (*ReceiveEventsRequest_SetupRequest) GetStream
func (x *ReceiveEventsRequest_SetupRequest) GetStream() string
func (*ReceiveEventsRequest_SetupRequest) GetWritesDoneGracePeriod
func (x *ReceiveEventsRequest_SetupRequest) GetWritesDoneGracePeriod() *durationpb.Duration
func (*ReceiveEventsRequest_SetupRequest) ProtoMessage
func (*ReceiveEventsRequest_SetupRequest) ProtoMessage()
func (*ReceiveEventsRequest_SetupRequest) ProtoReflect
func (x *ReceiveEventsRequest_SetupRequest) ProtoReflect() protoreflect.Message
func (*ReceiveEventsRequest_SetupRequest) Reset
func (x *ReceiveEventsRequest_SetupRequest) Reset()
func (*ReceiveEventsRequest_SetupRequest) String
func (x *ReceiveEventsRequest_SetupRequest) String() string
ReceiveEventsRequest_SetupRequest_
type ReceiveEventsRequest_SetupRequest_ struct {
// The setup request to setup the RPC connection.
SetupRequest *ReceiveEventsRequest_SetupRequest `protobuf:"bytes,1,opt,name=setup_request,json=setupRequest,proto3,oneof"`
}
ReceiveEventsResponse
type ReceiveEventsResponse struct {
// Possible response types.
//
// Types that are assignable to Response:
//
// *ReceiveEventsResponse_EventUpdate
// *ReceiveEventsResponse_Control
Response isReceiveEventsResponse_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
Response message for the ReceiveEvents.
func (*ReceiveEventsResponse) Descriptor
func (*ReceiveEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveEventsResponse.ProtoReflect.Descriptor instead.
func (*ReceiveEventsResponse) GetControl
func (x *ReceiveEventsResponse) GetControl() *ReceiveEventsControlResponse
func (*ReceiveEventsResponse) GetEventUpdate
func (x *ReceiveEventsResponse) GetEventUpdate() *EventUpdate
func (*ReceiveEventsResponse) GetResponse
func (m *ReceiveEventsResponse) GetResponse() isReceiveEventsResponse_Response
func (*ReceiveEventsResponse) ProtoMessage
func (*ReceiveEventsResponse) ProtoMessage()
func (*ReceiveEventsResponse) ProtoReflect
func (x *ReceiveEventsResponse) ProtoReflect() protoreflect.Message
func (*ReceiveEventsResponse) Reset
func (x *ReceiveEventsResponse) Reset()
func (*ReceiveEventsResponse) String
func (x *ReceiveEventsResponse) String() string
ReceiveEventsResponse_Control
type ReceiveEventsResponse_Control struct {
// A control message from the server.
Control *ReceiveEventsControlResponse `protobuf:"bytes,2,opt,name=control,proto3,oneof"`
}
ReceiveEventsResponse_EventUpdate
type ReceiveEventsResponse_EventUpdate struct {
// The event update message.
EventUpdate *EventUpdate `protobuf:"bytes,1,opt,name=event_update,json=eventUpdate,proto3,oneof"`
}
ReceivePacketsControlResponse
type ReceivePacketsControlResponse struct {
// Possible control messages.
//
// Types that are assignable to Control:
//
// *ReceivePacketsControlResponse_Heartbeat
// *ReceivePacketsControlResponse_WritesDoneRequest
Control isReceivePacketsControlResponse_Control `protobuf_oneof:"control"`
// contains filtered or unexported fields
}
Control message for a ReceivePacketsResponse.
func (*ReceivePacketsControlResponse) Descriptor
func (*ReceivePacketsControlResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceivePacketsControlResponse.ProtoReflect.Descriptor instead.
func (*ReceivePacketsControlResponse) GetControl
func (m *ReceivePacketsControlResponse) GetControl() isReceivePacketsControlResponse_Control
func (*ReceivePacketsControlResponse) GetHeartbeat
func (x *ReceivePacketsControlResponse) GetHeartbeat() bool
func (*ReceivePacketsControlResponse) GetWritesDoneRequest
func (x *ReceivePacketsControlResponse) GetWritesDoneRequest() bool
func (*ReceivePacketsControlResponse) ProtoMessage
func (*ReceivePacketsControlResponse) ProtoMessage()
func (*ReceivePacketsControlResponse) ProtoReflect
func (x *ReceivePacketsControlResponse) ProtoReflect() protoreflect.Message
func (*ReceivePacketsControlResponse) Reset
func (x *ReceivePacketsControlResponse) Reset()
func (*ReceivePacketsControlResponse) String
func (x *ReceivePacketsControlResponse) String() string
ReceivePacketsControlResponse_Heartbeat
type ReceivePacketsControlResponse_Heartbeat struct {
// A server heartbeat.
Heartbeat bool `protobuf:"varint,1,opt,name=heartbeat,proto3,oneof"`
}
ReceivePacketsControlResponse_WritesDoneRequest
type ReceivePacketsControlResponse_WritesDoneRequest struct {
// A request to the receiver to complete any final writes followed by a
// `WritesDone`; e.g. issue any final `CommitRequest`s.
//
// May be ignored if `WritesDone` has already been issued at any point
// prior to receiving this message.
//
// If `WritesDone` does not get issued, then the server will forcefully
// cancel the connection, and the receiver will likely receive an
// uninformative after `Read` returns `false` and `Finish` is called.
WritesDoneRequest bool `protobuf:"varint,2,opt,name=writes_done_request,json=writesDoneRequest,proto3,oneof"`
}
ReceivePacketsRequest
type ReceivePacketsRequest struct {
// Possible request types from the client.
//
// Types that are assignable to Request:
//
// *ReceivePacketsRequest_SetupRequest_
// *ReceivePacketsRequest_CommitRequest
Request isReceivePacketsRequest_Request `protobuf_oneof:"request"`
// contains filtered or unexported fields
}
Request message for receiving packets.
func (*ReceivePacketsRequest) Descriptor
func (*ReceivePacketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReceivePacketsRequest.ProtoReflect.Descriptor instead.
func (*ReceivePacketsRequest) GetCommitRequest
func (x *ReceivePacketsRequest) GetCommitRequest() *CommitRequest
func (*ReceivePacketsRequest) GetRequest
func (m *ReceivePacketsRequest) GetRequest() isReceivePacketsRequest_Request
func (*ReceivePacketsRequest) GetSetupRequest
func (x *ReceivePacketsRequest) GetSetupRequest() *ReceivePacketsRequest_SetupRequest
func (*ReceivePacketsRequest) ProtoMessage
func (*ReceivePacketsRequest) ProtoMessage()
func (*ReceivePacketsRequest) ProtoReflect
func (x *ReceivePacketsRequest) ProtoReflect() protoreflect.Message
func (*ReceivePacketsRequest) Reset
func (x *ReceivePacketsRequest) Reset()
func (*ReceivePacketsRequest) String
func (x *ReceivePacketsRequest) String() string
ReceivePacketsRequest_CommitRequest
type ReceivePacketsRequest_CommitRequest struct {
// This request checkpoints the consumer's read progress.
CommitRequest *CommitRequest `protobuf:"bytes,7,opt,name=commit_request,json=commitRequest,proto3,oneof"`
}
ReceivePacketsRequest_SetupRequest
type ReceivePacketsRequest_SetupRequest struct {
ConsumerMode isReceivePacketsRequest_SetupRequest_ConsumerMode `protobuf_oneof:"consumer_mode"`
Metadata *RequestMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
HeartbeatInterval *durationpb.Duration `protobuf:"bytes,5,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"`
WritesDoneGracePeriod *durationpb.Duration "" /* 128 byte string literal not displayed */
}
The message specifying the initial settings for the ReceivePackets session.
func (*ReceivePacketsRequest_SetupRequest) Descriptor
func (*ReceivePacketsRequest_SetupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReceivePacketsRequest_SetupRequest.ProtoReflect.Descriptor instead.
func (*ReceivePacketsRequest_SetupRequest) GetConsumerMode
func (m *ReceivePacketsRequest_SetupRequest) GetConsumerMode() isReceivePacketsRequest_SetupRequest_ConsumerMode
func (*ReceivePacketsRequest_SetupRequest) GetControlledReceiveMode
func (x *ReceivePacketsRequest_SetupRequest) GetControlledReceiveMode() *ControlledMode
func (*ReceivePacketsRequest_SetupRequest) GetEagerReceiveMode
func (x *ReceivePacketsRequest_SetupRequest) GetEagerReceiveMode() *EagerMode
func (*ReceivePacketsRequest_SetupRequest) GetHeartbeatInterval
func (x *ReceivePacketsRequest_SetupRequest) GetHeartbeatInterval() *durationpb.Duration
func (*ReceivePacketsRequest_SetupRequest) GetMetadata
func (x *ReceivePacketsRequest_SetupRequest) GetMetadata() *RequestMetadata
func (*ReceivePacketsRequest_SetupRequest) GetReceiver
func (x *ReceivePacketsRequest_SetupRequest) GetReceiver() string
func (*ReceivePacketsRequest_SetupRequest) GetWritesDoneGracePeriod
func (x *ReceivePacketsRequest_SetupRequest) GetWritesDoneGracePeriod() *durationpb.Duration
func (*ReceivePacketsRequest_SetupRequest) ProtoMessage
func (*ReceivePacketsRequest_SetupRequest) ProtoMessage()
func (*ReceivePacketsRequest_SetupRequest) ProtoReflect
func (x *ReceivePacketsRequest_SetupRequest) ProtoReflect() protoreflect.Message
func (*ReceivePacketsRequest_SetupRequest) Reset
func (x *ReceivePacketsRequest_SetupRequest) Reset()
func (*ReceivePacketsRequest_SetupRequest) String
func (x *ReceivePacketsRequest_SetupRequest) String() string
ReceivePacketsRequest_SetupRequest_
type ReceivePacketsRequest_SetupRequest_ struct {
// The request to setup the initial state of session.
//
// The client must send and only send this as the first message.
SetupRequest *ReceivePacketsRequest_SetupRequest `protobuf:"bytes,6,opt,name=setup_request,json=setupRequest,proto3,oneof"`
}
ReceivePacketsRequest_SetupRequest_ControlledReceiveMode
type ReceivePacketsRequest_SetupRequest_ControlledReceiveMode struct {
// Options for configuring controlled mode.
ControlledReceiveMode *ControlledMode `protobuf:"bytes,4,opt,name=controlled_receive_mode,json=controlledReceiveMode,proto3,oneof"`
}
ReceivePacketsRequest_SetupRequest_EagerReceiveMode
type ReceivePacketsRequest_SetupRequest_EagerReceiveMode struct {
// Options for configuring eager mode.
EagerReceiveMode *EagerMode `protobuf:"bytes,3,opt,name=eager_receive_mode,json=eagerReceiveMode,proto3,oneof"`
}
ReceivePacketsResponse
type ReceivePacketsResponse struct {
// Possible response types.
//
// Types that are assignable to Response:
//
// *ReceivePacketsResponse_Packet
// *ReceivePacketsResponse_Control
Response isReceivePacketsResponse_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
Response message from ReceivePackets.
func (*ReceivePacketsResponse) Descriptor
func (*ReceivePacketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceivePacketsResponse.ProtoReflect.Descriptor instead.
func (*ReceivePacketsResponse) GetControl
func (x *ReceivePacketsResponse) GetControl() *ReceivePacketsControlResponse
func (*ReceivePacketsResponse) GetPacket
func (x *ReceivePacketsResponse) GetPacket() *Packet
func (*ReceivePacketsResponse) GetResponse
func (m *ReceivePacketsResponse) GetResponse() isReceivePacketsResponse_Response
func (*ReceivePacketsResponse) ProtoMessage
func (*ReceivePacketsResponse) ProtoMessage()
func (*ReceivePacketsResponse) ProtoReflect
func (x *ReceivePacketsResponse) ProtoReflect() protoreflect.Message
func (*ReceivePacketsResponse) Reset
func (x *ReceivePacketsResponse) Reset()
func (*ReceivePacketsResponse) String
func (x *ReceivePacketsResponse) String() string
ReceivePacketsResponse_Control
type ReceivePacketsResponse_Control struct {
// A control message from the server.
Control *ReceivePacketsControlResponse `protobuf:"bytes,3,opt,name=control,proto3,oneof"`
}
ReceivePacketsResponse_Packet
type ReceivePacketsResponse_Packet struct {
// A genuine data payload originating from the sender.
Packet *Packet `protobuf:"bytes,1,opt,name=packet,proto3,oneof"`
}
Registry
type Registry int32
The enum of the types of the Registry.
Registry_REGISTRY_UNSPECIFIED, Registry_PUBLIC, Registry_PRIVATE
const (
// Registry is unspecified.
Registry_REGISTRY_UNSPECIFIED Registry = 0
// Public Registry containing the public Operators released by Google.
Registry_PUBLIC Registry = 1
// Private Registry containing the local registered operators.
Registry_PRIVATE Registry = 2
)
func (Registry) Descriptor
func (Registry) Descriptor() protoreflect.EnumDescriptor
func (Registry) Enum
func (Registry) EnumDescriptor
Deprecated: Use Registry.Descriptor instead.
func (Registry) Number
func (x Registry) Number() protoreflect.EnumNumber
func (Registry) String
func (Registry) Type
func (Registry) Type() protoreflect.EnumType
ReleaseLeaseRequest
type ReleaseLeaseRequest struct {
// Lease id.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Series name.
Series string `protobuf:"bytes,2,opt,name=series,proto3" json:"series,omitempty"`
// Lease owner.
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
// contains filtered or unexported fields
}
Request message for releasing lease.
func (*ReleaseLeaseRequest) Descriptor
func (*ReleaseLeaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseLeaseRequest.ProtoReflect.Descriptor instead.
func (*ReleaseLeaseRequest) GetId
func (x *ReleaseLeaseRequest) GetId() string
func (*ReleaseLeaseRequest) GetOwner
func (x *ReleaseLeaseRequest) GetOwner() string
func (*ReleaseLeaseRequest) GetSeries
func (x *ReleaseLeaseRequest) GetSeries() string
func (*ReleaseLeaseRequest) ProtoMessage
func (*ReleaseLeaseRequest) ProtoMessage()
func (*ReleaseLeaseRequest) ProtoReflect
func (x *ReleaseLeaseRequest) ProtoReflect() protoreflect.Message
func (*ReleaseLeaseRequest) Reset
func (x *ReleaseLeaseRequest) Reset()
func (*ReleaseLeaseRequest) String
func (x *ReleaseLeaseRequest) String() string
ReleaseLeaseResponse
type ReleaseLeaseResponse struct {
// contains filtered or unexported fields
}
Response message for release lease.
func (*ReleaseLeaseResponse) Descriptor
func (*ReleaseLeaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseLeaseResponse.ProtoReflect.Descriptor instead.
func (*ReleaseLeaseResponse) ProtoMessage
func (*ReleaseLeaseResponse) ProtoMessage()
func (*ReleaseLeaseResponse) ProtoReflect
func (x *ReleaseLeaseResponse) ProtoReflect() protoreflect.Message
func (*ReleaseLeaseResponse) Reset
func (x *ReleaseLeaseResponse) Reset()
func (*ReleaseLeaseResponse) String
func (x *ReleaseLeaseResponse) String() string
RemoveApplicationStreamInputRequest
type RemoveApplicationStreamInputRequest struct {
// Required. the name of the application to retrieve.
// Format:
// "projects/{project}/locations/{location}/applications/{application}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The target stream to remove.
TargetStreamInputs []*RemoveApplicationStreamInputRequest_TargetStreamInput `protobuf:"bytes,2,rep,name=target_stream_inputs,json=targetStreamInputs,proto3" json:"target_stream_inputs,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for removing stream input from an Application.
func (*RemoveApplicationStreamInputRequest) Descriptor
func (*RemoveApplicationStreamInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveApplicationStreamInputRequest.ProtoReflect.Descriptor instead.
func (*RemoveApplicationStreamInputRequest) GetName
func (x *RemoveApplicationStreamInputRequest) GetName() string
func (*RemoveApplicationStreamInputRequest) GetRequestId
func (x *RemoveApplicationStreamInputRequest) GetRequestId() string
func (*RemoveApplicationStreamInputRequest) GetTargetStreamInputs
func (x *RemoveApplicationStreamInputRequest) GetTargetStreamInputs() []*RemoveApplicationStreamInputRequest_TargetStreamInput
func (*RemoveApplicationStreamInputRequest) ProtoMessage
func (*RemoveApplicationStreamInputRequest) ProtoMessage()
func (*RemoveApplicationStreamInputRequest) ProtoReflect
func (x *RemoveApplicationStreamInputRequest) ProtoReflect() protoreflect.Message
func (*RemoveApplicationStreamInputRequest) Reset
func (x *RemoveApplicationStreamInputRequest) Reset()
func (*RemoveApplicationStreamInputRequest) String
func (x *RemoveApplicationStreamInputRequest) String() string
RemoveApplicationStreamInputRequest_TargetStreamInput
type RemoveApplicationStreamInputRequest_TargetStreamInput struct {
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
// contains filtered or unexported fields
}
Message about target streamInput to remove.
func (*RemoveApplicationStreamInputRequest_TargetStreamInput) Descriptor
func (*RemoveApplicationStreamInputRequest_TargetStreamInput) Descriptor() ([]byte, []int)
Deprecated: Use RemoveApplicationStreamInputRequest_TargetStreamInput.ProtoReflect.Descriptor instead.
func (*RemoveApplicationStreamInputRequest_TargetStreamInput) GetStream
func (x *RemoveApplicationStreamInputRequest_TargetStreamInput) GetStream() string
func (*RemoveApplicationStreamInputRequest_TargetStreamInput) ProtoMessage
func (*RemoveApplicationStreamInputRequest_TargetStreamInput) ProtoMessage()
func (*RemoveApplicationStreamInputRequest_TargetStreamInput) ProtoReflect
func (x *RemoveApplicationStreamInputRequest_TargetStreamInput) ProtoReflect() protoreflect.Message
func (*RemoveApplicationStreamInputRequest_TargetStreamInput) Reset
func (x *RemoveApplicationStreamInputRequest_TargetStreamInput) Reset()
func (*RemoveApplicationStreamInputRequest_TargetStreamInput) String
func (x *RemoveApplicationStreamInputRequest_TargetStreamInput) String() string
RemoveApplicationStreamInputResponse
type RemoveApplicationStreamInputResponse struct {
// contains filtered or unexported fields
}
Message for RemoveApplicationStreamInput Response.
func (*RemoveApplicationStreamInputResponse) Descriptor
func (*RemoveApplicationStreamInputResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveApplicationStreamInputResponse.ProtoReflect.Descriptor instead.
func (*RemoveApplicationStreamInputResponse) ProtoMessage
func (*RemoveApplicationStreamInputResponse) ProtoMessage()
func (*RemoveApplicationStreamInputResponse) ProtoReflect
func (x *RemoveApplicationStreamInputResponse) ProtoReflect() protoreflect.Message
func (*RemoveApplicationStreamInputResponse) Reset
func (x *RemoveApplicationStreamInputResponse) Reset()
func (*RemoveApplicationStreamInputResponse) String
func (x *RemoveApplicationStreamInputResponse) String() string
RemoveCollectionItemRequest
type RemoveCollectionItemRequest struct {
// Required. The item to be removed.
Item *CollectionItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
// contains filtered or unexported fields
}
Request message for RemoveCollectionItem.
func (*RemoveCollectionItemRequest) Descriptor
func (*RemoveCollectionItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveCollectionItemRequest.ProtoReflect.Descriptor instead.
func (*RemoveCollectionItemRequest) GetItem
func (x *RemoveCollectionItemRequest) GetItem() *CollectionItem
func (*RemoveCollectionItemRequest) ProtoMessage
func (*RemoveCollectionItemRequest) ProtoMessage()
func (*RemoveCollectionItemRequest) ProtoReflect
func (x *RemoveCollectionItemRequest) ProtoReflect() protoreflect.Message
func (*RemoveCollectionItemRequest) Reset
func (x *RemoveCollectionItemRequest) Reset()
func (*RemoveCollectionItemRequest) String
func (x *RemoveCollectionItemRequest) String() string
RemoveCollectionItemResponse
type RemoveCollectionItemResponse struct {
// The item that has already been removed.
Item *CollectionItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
// contains filtered or unexported fields
}
Request message for RemoveCollectionItem.
func (*RemoveCollectionItemResponse) Descriptor
func (*RemoveCollectionItemResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveCollectionItemResponse.ProtoReflect.Descriptor instead.
func (*RemoveCollectionItemResponse) GetItem
func (x *RemoveCollectionItemResponse) GetItem() *CollectionItem
func (*RemoveCollectionItemResponse) ProtoMessage
func (*RemoveCollectionItemResponse) ProtoMessage()
func (*RemoveCollectionItemResponse) ProtoReflect
func (x *RemoveCollectionItemResponse) ProtoReflect() protoreflect.Message
func (*RemoveCollectionItemResponse) Reset
func (x *RemoveCollectionItemResponse) Reset()
func (*RemoveCollectionItemResponse) String
func (x *RemoveCollectionItemResponse) String() string
RemoveIndexAssetMetadata
type RemoveIndexAssetMetadata struct {
// The status of indexing this asset.
IndexingStatus *IndexingStatus `protobuf:"bytes,1,opt,name=indexing_status,json=indexingStatus,proto3" json:"indexing_status,omitempty"`
// The start time of the operation.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The update time of the operation.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}
Metadata for RemoveIndexAsset.
func (*RemoveIndexAssetMetadata) Descriptor
func (*RemoveIndexAssetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RemoveIndexAssetMetadata.ProtoReflect.Descriptor instead.
func (*RemoveIndexAssetMetadata) GetIndexingStatus
func (x *RemoveIndexAssetMetadata) GetIndexingStatus() *IndexingStatus
func (*RemoveIndexAssetMetadata) GetStartTime
func (x *RemoveIndexAssetMetadata) GetStartTime() *timestamppb.Timestamp
func (*RemoveIndexAssetMetadata) GetUpdateTime
func (x *RemoveIndexAssetMetadata) GetUpdateTime() *timestamppb.Timestamp
func (*RemoveIndexAssetMetadata) ProtoMessage
func (*RemoveIndexAssetMetadata) ProtoMessage()
func (*RemoveIndexAssetMetadata) ProtoReflect
func (x *RemoveIndexAssetMetadata) ProtoReflect() protoreflect.Message
func (*RemoveIndexAssetMetadata) Reset
func (x *RemoveIndexAssetMetadata) Reset()
func (*RemoveIndexAssetMetadata) String
func (x *RemoveIndexAssetMetadata) String() string
RemoveIndexAssetRequest
type RemoveIndexAssetRequest struct {
// Required. The resource name of the asset to index.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The name of the index.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}`
Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
// contains filtered or unexported fields
}
Request message for RemoveIndexAsset.
func (*RemoveIndexAssetRequest) Descriptor
func (*RemoveIndexAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveIndexAssetRequest.ProtoReflect.Descriptor instead.
func (*RemoveIndexAssetRequest) GetIndex
func (x *RemoveIndexAssetRequest) GetIndex() string
func (*RemoveIndexAssetRequest) GetName
func (x *RemoveIndexAssetRequest) GetName() string
func (*RemoveIndexAssetRequest) ProtoMessage
func (*RemoveIndexAssetRequest) ProtoMessage()
func (*RemoveIndexAssetRequest) ProtoReflect
func (x *RemoveIndexAssetRequest) ProtoReflect() protoreflect.Message
func (*RemoveIndexAssetRequest) Reset
func (x *RemoveIndexAssetRequest) Reset()
func (*RemoveIndexAssetRequest) String
func (x *RemoveIndexAssetRequest) String() string
RemoveIndexAssetResponse
type RemoveIndexAssetResponse struct {
// contains filtered or unexported fields
}
Response message for RemoveIndexAsset.
func (*RemoveIndexAssetResponse) Descriptor
func (*RemoveIndexAssetResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveIndexAssetResponse.ProtoReflect.Descriptor instead.
func (*RemoveIndexAssetResponse) ProtoMessage
func (*RemoveIndexAssetResponse) ProtoMessage()
func (*RemoveIndexAssetResponse) ProtoReflect
func (x *RemoveIndexAssetResponse) ProtoReflect() protoreflect.Message
func (*RemoveIndexAssetResponse) Reset
func (x *RemoveIndexAssetResponse) Reset()
func (*RemoveIndexAssetResponse) String
func (x *RemoveIndexAssetResponse) String() string
RenewLeaseRequest
type RenewLeaseRequest struct {
// Lease id.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Series name.
Series string `protobuf:"bytes,2,opt,name=series,proto3" json:"series,omitempty"`
// Lease owner.
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
// Lease term.
Term *durationpb.Duration `protobuf:"bytes,4,opt,name=term,proto3" json:"term,omitempty"`
// contains filtered or unexported fields
}
Request message for renewing a lease.
func (*RenewLeaseRequest) Descriptor
func (*RenewLeaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenewLeaseRequest.ProtoReflect.Descriptor instead.
func (*RenewLeaseRequest) GetId
func (x *RenewLeaseRequest) GetId() string
func (*RenewLeaseRequest) GetOwner
func (x *RenewLeaseRequest) GetOwner() string
func (*RenewLeaseRequest) GetSeries
func (x *RenewLeaseRequest) GetSeries() string
func (*RenewLeaseRequest) GetTerm
func (x *RenewLeaseRequest) GetTerm() *durationpb.Duration
func (*RenewLeaseRequest) ProtoMessage
func (*RenewLeaseRequest) ProtoMessage()
func (*RenewLeaseRequest) ProtoReflect
func (x *RenewLeaseRequest) ProtoReflect() protoreflect.Message
func (*RenewLeaseRequest) Reset
func (x *RenewLeaseRequest) Reset()
func (*RenewLeaseRequest) String
func (x *RenewLeaseRequest) String() string
RequestMetadata
type RequestMetadata struct {
// Stream name.
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
// Evevt name.
Event string `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
// Series name.
Series string `protobuf:"bytes,3,opt,name=series,proto3" json:"series,omitempty"`
// Lease id.
LeaseId string `protobuf:"bytes,4,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
// Owner name.
Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
// Lease term specifies how long the client wants the session to be maintained
// by the server after the client leaves. If the lease term is not set, the
// server will release the session immediately and the client cannot reconnect
// to the same session later.
LeaseTerm *durationpb.Duration `protobuf:"bytes,6,opt,name=lease_term,json=leaseTerm,proto3" json:"lease_term,omitempty"`
// contains filtered or unexported fields
}
RequestMetadata is the metadata message for the request.
func (*RequestMetadata) Descriptor
func (*RequestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RequestMetadata.ProtoReflect.Descriptor instead.
func (*RequestMetadata) GetEvent
func (x *RequestMetadata) GetEvent() string
func (*RequestMetadata) GetLeaseId
func (x *RequestMetadata) GetLeaseId() string
func (*RequestMetadata) GetLeaseTerm
func (x *RequestMetadata) GetLeaseTerm() *durationpb.Duration
func (*RequestMetadata) GetOwner
func (x *RequestMetadata) GetOwner() string
func (*RequestMetadata) GetSeries
func (x *RequestMetadata) GetSeries() string
func (*RequestMetadata) GetStream
func (x *RequestMetadata) GetStream() string
func (*RequestMetadata) ProtoMessage
func (*RequestMetadata) ProtoMessage()
func (*RequestMetadata) ProtoReflect
func (x *RequestMetadata) ProtoReflect() protoreflect.Message
func (*RequestMetadata) Reset
func (x *RequestMetadata) Reset()
func (*RequestMetadata) String
func (x *RequestMetadata) String() string
ResolveOperatorInfoRequest
type ResolveOperatorInfoRequest struct {
// Required. Parent value for ResolveOperatorInfoRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The operator queries.
Queries []*OperatorQuery `protobuf:"bytes,2,rep,name=queries,proto3" json:"queries,omitempty"`
// contains filtered or unexported fields
}
Request message for querying operator info.
func (*ResolveOperatorInfoRequest) Descriptor
func (*ResolveOperatorInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResolveOperatorInfoRequest.ProtoReflect.Descriptor instead.
func (*ResolveOperatorInfoRequest) GetParent
func (x *ResolveOperatorInfoRequest) GetParent() string
func (*ResolveOperatorInfoRequest) GetQueries
func (x *ResolveOperatorInfoRequest) GetQueries() []*OperatorQuery
func (*ResolveOperatorInfoRequest) ProtoMessage
func (*ResolveOperatorInfoRequest) ProtoMessage()
func (*ResolveOperatorInfoRequest) ProtoReflect
func (x *ResolveOperatorInfoRequest) ProtoReflect() protoreflect.Message
func (*ResolveOperatorInfoRequest) Reset
func (x *ResolveOperatorInfoRequest) Reset()
func (*ResolveOperatorInfoRequest) String
func (x *ResolveOperatorInfoRequest) String() string
ResolveOperatorInfoResponse
type ResolveOperatorInfoResponse struct {
// Operators with detailed information.
Operators []*Operator `protobuf:"bytes,1,rep,name=operators,proto3" json:"operators,omitempty"`
// contains filtered or unexported fields
}
Response message of ResolveOperatorInfo API.
func (*ResolveOperatorInfoResponse) Descriptor
func (*ResolveOperatorInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResolveOperatorInfoResponse.ProtoReflect.Descriptor instead.
func (*ResolveOperatorInfoResponse) GetOperators
func (x *ResolveOperatorInfoResponse) GetOperators() []*Operator
func (*ResolveOperatorInfoResponse) ProtoMessage
func (*ResolveOperatorInfoResponse) ProtoMessage()
func (*ResolveOperatorInfoResponse) ProtoReflect
func (x *ResolveOperatorInfoResponse) ProtoReflect() protoreflect.Message
func (*ResolveOperatorInfoResponse) Reset
func (x *ResolveOperatorInfoResponse) Reset()
func (*ResolveOperatorInfoResponse) String
func (x *ResolveOperatorInfoResponse) String() string
ResourceAnnotations
type ResourceAnnotations struct {
ApplicationAnnotations []*StreamAnnotation "" /* 127 byte string literal not displayed */
NodeAnnotations []*ApplicationNodeAnnotation `protobuf:"bytes,2,rep,name=node_annotations,json=nodeAnnotations,proto3" json:"node_annotations,omitempty"`
}
Message describing general annotation for resources.
func (*ResourceAnnotations) Descriptor
func (*ResourceAnnotations) Descriptor() ([]byte, []int)
Deprecated: Use ResourceAnnotations.ProtoReflect.Descriptor instead.
func (*ResourceAnnotations) GetApplicationAnnotations
func (x *ResourceAnnotations) GetApplicationAnnotations() []*StreamAnnotation
func (*ResourceAnnotations) GetNodeAnnotations
func (x *ResourceAnnotations) GetNodeAnnotations() []*ApplicationNodeAnnotation
func (*ResourceAnnotations) ProtoMessage
func (*ResourceAnnotations) ProtoMessage()
func (*ResourceAnnotations) ProtoReflect
func (x *ResourceAnnotations) ProtoReflect() protoreflect.Message
func (*ResourceAnnotations) Reset
func (x *ResourceAnnotations) Reset()
func (*ResourceAnnotations) String
func (x *ResourceAnnotations) String() string
ResourceSpecification
type ResourceSpecification struct {
// CPU specification.
//
// Examples:
// "100m", "0.5", "1", "2", ... correspond to
// 0.1, half, 1, or 2 cpus.
//
// Leave empty to let the system decide.
//
// Note that this does *not* determine the cpu vender/make,
// or its underlying clock speed and specific SIMD features.
// It is only the amount time it requires in timeslicing.
Cpu string `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
// CPU limit.
//
// Examples:
// "100m", "0.5", "1", "2", ... correspond to
// 0.1, half, 1, or 2 cpus.
//
// Leave empty to indicate no limit.
CpuLimits string `protobuf:"bytes,5,opt,name=cpu_limits,json=cpuLimits,proto3" json:"cpu_limits,omitempty"`
// Memory specification (in bytes).
//
// Examples:
// "128974848", "129e6", "129M", "123Mi", ... correspond to
// 128974848 bytes, 129000000 bytes, 129 mebibytes, 123 megabytes.
//
// Leave empty to let the system decide.
Memory string `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"`
// Memory usage limits.
//
// Examples:
// "128974848", "129e6", "129M", "123Mi", ... correspond to
// 128974848 bytes, 129000000 bytes, 129 mebibytes, 123 megabytes.
//
// Leave empty to indicate no limit.
MemoryLimits string `protobuf:"bytes,6,opt,name=memory_limits,json=memoryLimits,proto3" json:"memory_limits,omitempty"`
// Number of gpus.
Gpus int32 `protobuf:"varint,3,opt,name=gpus,proto3" json:"gpus,omitempty"`
// The maximum latency that this operator may use to process an element.
//
// If non positive, then a system default will be used.
// Operator developers should arrange for the system compute resources to be
// aligned with this latency budget; e.g. if you want a ML model to produce
// results within 500ms, then you should make sure you request enough
// cpu/gpu/memory to achieve that.
LatencyBudgetMs int32 `protobuf:"varint,4,opt,name=latency_budget_ms,json=latencyBudgetMs,proto3" json:"latency_budget_ms,omitempty"`
// contains filtered or unexported fields
}
ResourceSpec collects a set of resources that can be used to specify requests and requirements.
Note: Highly experimental as this can be runtime dependent. Can use the "extras" field to experiment first before trying to abstract it.
func (*ResourceSpecification) Descriptor
func (*ResourceSpecification) Descriptor() ([]byte, []int)
Deprecated: Use ResourceSpecification.ProtoReflect.Descriptor instead.
func (*ResourceSpecification) GetCpu
func (x *ResourceSpecification) GetCpu() string
func (*ResourceSpecification) GetCpuLimits
func (x *ResourceSpecification) GetCpuLimits() string
func (*ResourceSpecification) GetGpus
func (x *ResourceSpecification) GetGpus() int32
func (*ResourceSpecification) GetLatencyBudgetMs
func (x *ResourceSpecification) GetLatencyBudgetMs() int32
func (*ResourceSpecification) GetMemory
func (x *ResourceSpecification) GetMemory() string
func (*ResourceSpecification) GetMemoryLimits
func (x *ResourceSpecification) GetMemoryLimits() string
func (*ResourceSpecification) ProtoMessage
func (*ResourceSpecification) ProtoMessage()
func (*ResourceSpecification) ProtoReflect
func (x *ResourceSpecification) ProtoReflect() protoreflect.Message
func (*ResourceSpecification) Reset
func (x *ResourceSpecification) Reset()
func (*ResourceSpecification) String
func (x *ResourceSpecification) String() string
RunMode
type RunMode int32
RunMode represents the mode to launch the Process on.
RunMode_RUN_MODE_UNSPECIFIED, RunMode_LIVE, RunMode_SUBMISSION
const (
// Mode is unspecified.
RunMode_RUN_MODE_UNSPECIFIED RunMode = 0
// Live mode. Meaning the Process is launched to handle live video
// source, and possible packet drops are expected.
RunMode_LIVE RunMode = 1
// Submission mode. Meaning the Process is launched to handle bounded video
// files, with no packet drop. Completion status is tracked.
RunMode_SUBMISSION RunMode = 2
)
func (RunMode) Descriptor
func (RunMode) Descriptor() protoreflect.EnumDescriptor
func (RunMode) Enum
func (RunMode) EnumDescriptor
Deprecated: Use RunMode.Descriptor instead.
func (RunMode) Number
func (x RunMode) Number() protoreflect.EnumNumber
func (RunMode) String
func (RunMode) Type
func (RunMode) Type() protoreflect.EnumType
RunStatus
type RunStatus struct {
// The state of the Process.
State RunStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.visionai.v1.RunStatus_State" json:"state,omitempty"`
// The reason of becoming the state.
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
Message describing the status of the Process.
func (*RunStatus) Descriptor
Deprecated: Use RunStatus.ProtoReflect.Descriptor instead.
func (*RunStatus) GetReason
func (*RunStatus) GetState
func (x *RunStatus) GetState() RunStatus_State
func (*RunStatus) ProtoMessage
func (*RunStatus) ProtoMessage()
func (*RunStatus) ProtoReflect
func (x *RunStatus) ProtoReflect() protoreflect.Message
func (*RunStatus) Reset
func (x *RunStatus) Reset()
func (*RunStatus) String
RunStatus_State
type RunStatus_State int32
State represents the running status of the Process.
RunStatus_STATE_UNSPECIFIED, RunStatus_INITIALIZING, RunStatus_RUNNING, RunStatus_COMPLETED, RunStatus_FAILED, RunStatus_PENDING
const (
// State is unspecified.
RunStatus_STATE_UNSPECIFIED RunStatus_State = 0
// INITIALIZING means the Process is scheduled but yet ready to handle
// real traffic.
RunStatus_INITIALIZING RunStatus_State = 1
// RUNNING means the Process is up running and handling traffic.
RunStatus_RUNNING RunStatus_State = 2
// COMPLETED means the Process has completed the processing, especially
// for non-streaming use case.
RunStatus_COMPLETED RunStatus_State = 3
// FAILED means the Process failed to complete the processing.
RunStatus_FAILED RunStatus_State = 4
// PENDING means the Process is created but yet to be scheduled.
RunStatus_PENDING RunStatus_State = 5
)
func (RunStatus_State) Descriptor
func (RunStatus_State) Descriptor() protoreflect.EnumDescriptor
func (RunStatus_State) Enum
func (x RunStatus_State) Enum() *RunStatus_State
func (RunStatus_State) EnumDescriptor
func (RunStatus_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use RunStatus_State.Descriptor instead.
func (RunStatus_State) Number
func (x RunStatus_State) Number() protoreflect.EnumNumber
func (RunStatus_State) String
func (x RunStatus_State) String() string
func (RunStatus_State) Type
func (RunStatus_State) Type() protoreflect.EnumType
SchemaKeySortingStrategy
type SchemaKeySortingStrategy struct {
// Options in the front have high priority than those in the back.
Options []*SchemaKeySortingStrategy_Option `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
A strategy to specify how to sort by data schema key.
func (*SchemaKeySortingStrategy) Descriptor
func (*SchemaKeySortingStrategy) Descriptor() ([]byte, []int)
Deprecated: Use SchemaKeySortingStrategy.ProtoReflect.Descriptor instead.
func (*SchemaKeySortingStrategy) GetOptions
func (x *SchemaKeySortingStrategy) GetOptions() []*SchemaKeySortingStrategy_Option
func (*SchemaKeySortingStrategy) ProtoMessage
func (*SchemaKeySortingStrategy) ProtoMessage()
func (*SchemaKeySortingStrategy) ProtoReflect
func (x *SchemaKeySortingStrategy) ProtoReflect() protoreflect.Message
func (*SchemaKeySortingStrategy) Reset
func (x *SchemaKeySortingStrategy) Reset()
func (*SchemaKeySortingStrategy) String
func (x *SchemaKeySortingStrategy) String() string
SchemaKeySortingStrategy_Option
type SchemaKeySortingStrategy_Option struct {
DataSchemaKey string `protobuf:"bytes,1,opt,name=data_schema_key,json=dataSchemaKey,proto3" json:"data_schema_key,omitempty"`
SortDecreasing bool `protobuf:"varint,2,opt,name=sort_decreasing,json=sortDecreasing,proto3" json:"sort_decreasing,omitempty"`
AggregateMethod *SchemaKeySortingStrategy_Option_AggregateMethod "" /* 191 byte string literal not displayed */
}
Option for one data schema key.
func (*SchemaKeySortingStrategy_Option) Descriptor
func (*SchemaKeySortingStrategy_Option) Descriptor() ([]byte, []int)
Deprecated: Use SchemaKeySortingStrategy_Option.ProtoReflect.Descriptor instead.
func (*SchemaKeySortingStrategy_Option) GetAggregateMethod
func (x *SchemaKeySortingStrategy_Option) GetAggregateMethod() SchemaKeySortingStrategy_Option_AggregateMethod
func (*SchemaKeySortingStrategy_Option) GetDataSchemaKey
func (x *SchemaKeySortingStrategy_Option) GetDataSchemaKey() string
func (*SchemaKeySortingStrategy_Option) GetSortDecreasing
func (x *SchemaKeySortingStrategy_Option) GetSortDecreasing() bool
func (*SchemaKeySortingStrategy_Option) ProtoMessage
func (*SchemaKeySortingStrategy_Option) ProtoMessage()
func (*SchemaKeySortingStrategy_Option) ProtoReflect
func (x *SchemaKeySortingStrategy_Option) ProtoReflect() protoreflect.Message
func (*SchemaKeySortingStrategy_Option) Reset
func (x *SchemaKeySortingStrategy_Option) Reset()
func (*SchemaKeySortingStrategy_Option) String
func (x *SchemaKeySortingStrategy_Option) String() string
SchemaKeySortingStrategy_Option_AggregateMethod
type SchemaKeySortingStrategy_Option_AggregateMethod int32
When one result has multiple values with the same key, specify which value is used to sort. By default, AGGREGATE_METHOD_LARGEST is used when results are sorted in decreasing order, AGGREGATE_METHOD_SMALLEST is used when results are sorted in incresing order.
SchemaKeySortingStrategy_Option_AGGREGATE_METHOD_UNSPECIFIED, SchemaKeySortingStrategy_Option_AGGREGATE_METHOD_LARGEST, SchemaKeySortingStrategy_Option_AGGREGATE_METHOD_SMALLEST
const (
// The unspecified aggregate method will be overwritten as mentioned
// above.
SchemaKeySortingStrategy_Option_AGGREGATE_METHOD_UNSPECIFIED SchemaKeySortingStrategy_Option_AggregateMethod = 0
// Take the (lexicographical or numerical) largest value to sort.
SchemaKeySortingStrategy_Option_AGGREGATE_METHOD_LARGEST SchemaKeySortingStrategy_Option_AggregateMethod = 1
// Take the (lexicographical or numerical) smallest value to sort.
SchemaKeySortingStrategy_Option_AGGREGATE_METHOD_SMALLEST SchemaKeySortingStrategy_Option_AggregateMethod = 2
)
func (SchemaKeySortingStrategy_Option_AggregateMethod) Descriptor
func (SchemaKeySortingStrategy_Option_AggregateMethod) Descriptor() protoreflect.EnumDescriptor
func (SchemaKeySortingStrategy_Option_AggregateMethod) Enum
func (x SchemaKeySortingStrategy_Option_AggregateMethod) Enum() *SchemaKeySortingStrategy_Option_AggregateMethod
func (SchemaKeySortingStrategy_Option_AggregateMethod) EnumDescriptor
func (SchemaKeySortingStrategy_Option_AggregateMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use SchemaKeySortingStrategy_Option_AggregateMethod.Descriptor instead.
func (SchemaKeySortingStrategy_Option_AggregateMethod) Number
func (x SchemaKeySortingStrategy_Option_AggregateMethod) Number() protoreflect.EnumNumber
func (SchemaKeySortingStrategy_Option_AggregateMethod) String
func (x SchemaKeySortingStrategy_Option_AggregateMethod) String() string
func (SchemaKeySortingStrategy_Option_AggregateMethod) Type
SearchAssetsRequest
type SearchAssetsRequest struct {
// Sorting specification. If this field is not specified, by default:
// - STREAM_VIDEO: search results are sorted by the start time.
//
// Types that are assignable to SortSpec:
//
// *SearchAssetsRequest_SchemaKeySortingStrategy
SortSpec isSearchAssetsRequest_SortSpec `protobuf_oneof:"sort_spec"`
// Required. The parent corpus to search.
// Format: `projects/{project_id}/locations/{location_id}/corpora/{corpus_id}'
Corpus string `protobuf:"bytes,1,opt,name=corpus,proto3" json:"corpus,omitempty"`
// The number of results to be returned in this page. If it's 0, the server
// will decide the appropriate page_size.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The continuation token to fetch the next page. If empty, it means it is
// fetching the first page.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Time ranges that matching video content must fall within. If no ranges are
// provided, there will be no time restriction. This field is treated just
// like the criteria below, but defined separately for convenience as it is
// used frequently. Note that if the end_time is in the future, it will be
// clamped to the time the request was received.
ContentTimeRanges *DateTimeRangeArray `protobuf:"bytes,5,opt,name=content_time_ranges,json=contentTimeRanges,proto3" json:"content_time_ranges,omitempty"`
// Criteria applied to search results.
Criteria []*Criteria `protobuf:"bytes,4,rep,name=criteria,proto3" json:"criteria,omitempty"`
// Stores most recent facet selection state. Only facet groups with user's
// selection will be presented here. Selection state is either selected or
// unselected. Only selected facet buckets will be used as search criteria.
FacetSelections []*FacetGroup `protobuf:"bytes,6,rep,name=facet_selections,json=facetSelections,proto3" json:"facet_selections,omitempty"`
// A list of annotation keys to specify the annotations to be retrieved and
// returned with each search result.
// Annotation granularity must be GRANULARITY_ASSET_LEVEL and its search
// strategy must not be NO_SEARCH.
ResultAnnotationKeys []string `protobuf:"bytes,8,rep,name=result_annotation_keys,json=resultAnnotationKeys,proto3" json:"result_annotation_keys,omitempty"`
// Global search query. Allows user to search assets without needing to
// specify which field the value belongs to.
SearchQuery string `protobuf:"bytes,10,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty"`
// contains filtered or unexported fields
}
Request message for SearchAssets.
func (*SearchAssetsRequest) Descriptor
func (*SearchAssetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchAssetsRequest.ProtoReflect.Descriptor instead.
func (*SearchAssetsRequest) GetContentTimeRanges
func (x *SearchAssetsRequest) GetContentTimeRanges() *DateTimeRangeArray
func (*SearchAssetsRequest) GetCorpus
func (x *SearchAssetsRequest) GetCorpus() string
func (*SearchAssetsRequest) GetCriteria
func (x *SearchAssetsRequest) GetCriteria() []*Criteria
func (*SearchAssetsRequest) GetFacetSelections
func (x *SearchAssetsRequest) GetFacetSelections() []*FacetGroup
func (*SearchAssetsRequest) GetPageSize
func (x *SearchAssetsRequest) GetPageSize() int32
func (*SearchAssetsRequest) GetPageToken
func (x *SearchAssetsRequest) GetPageToken() string
func (*SearchAssetsRequest) GetResultAnnotationKeys
func (x *SearchAssetsRequest) GetResultAnnotationKeys() []string
func (*SearchAssetsRequest) GetSchemaKeySortingStrategy
func (x *SearchAssetsRequest) GetSchemaKeySortingStrategy() *SchemaKeySortingStrategy
func (*SearchAssetsRequest) GetSearchQuery
func (x *SearchAssetsRequest) GetSearchQuery() string
func (*SearchAssetsRequest) GetSortSpec
func (m *SearchAssetsRequest) GetSortSpec() isSearchAssetsRequest_SortSpec
func (*SearchAssetsRequest) ProtoMessage
func (*SearchAssetsRequest) ProtoMessage()
func (*SearchAssetsRequest) ProtoReflect
func (x *SearchAssetsRequest) ProtoReflect() protoreflect.Message
func (*SearchAssetsRequest) Reset
func (x *SearchAssetsRequest) Reset()
func (*SearchAssetsRequest) String
func (x *SearchAssetsRequest) String() string
SearchAssetsRequest_SchemaKeySortingStrategy
type SearchAssetsRequest_SchemaKeySortingStrategy struct {
// Sort by the value under the data schema key.
SchemaKeySortingStrategy *SchemaKeySortingStrategy `protobuf:"bytes,9,opt,name=schema_key_sorting_strategy,json=schemaKeySortingStrategy,proto3,oneof"`
}
SearchAssetsResponse
type SearchAssetsResponse struct {
// Returned search results.
SearchResultItems []*SearchResultItem `protobuf:"bytes,1,rep,name=search_result_items,json=searchResultItems,proto3" json:"search_result_items,omitempty"`
// The next-page continuation token.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Facet search results of a given query, which contains user's
// already-selected facet values and updated facet search results.
FacetResults []*FacetGroup `protobuf:"bytes,3,rep,name=facet_results,json=facetResults,proto3" json:"facet_results,omitempty"`
// contains filtered or unexported fields
}
Response message for SearchAssets.
func (*SearchAssetsResponse) Descriptor
func (*SearchAssetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchAssetsResponse.ProtoReflect.Descriptor instead.
func (*SearchAssetsResponse) GetFacetResults
func (x *SearchAssetsResponse) GetFacetResults() []*FacetGroup
func (*SearchAssetsResponse) GetNextPageToken
func (x *SearchAssetsResponse) GetNextPageToken() string
func (*SearchAssetsResponse) GetSearchResultItems
func (x *SearchAssetsResponse) GetSearchResultItems() []*SearchResultItem
func (*SearchAssetsResponse) ProtoMessage
func (*SearchAssetsResponse) ProtoMessage()
func (*SearchAssetsResponse) ProtoReflect
func (x *SearchAssetsResponse) ProtoReflect() protoreflect.Message
func (*SearchAssetsResponse) Reset
func (x *SearchAssetsResponse) Reset()
func (*SearchAssetsResponse) String
func (x *SearchAssetsResponse) String() string
SearchCapability
type SearchCapability struct {
// The search capability to enable.
Type SearchCapability_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.visionai.v1.SearchCapability_Type" json:"type,omitempty"`
// contains filtered or unexported fields
}
The capability and metadata of search capability.
func (*SearchCapability) Descriptor
func (*SearchCapability) Descriptor() ([]byte, []int)
Deprecated: Use SearchCapability.ProtoReflect.Descriptor instead.
func (*SearchCapability) GetType
func (x *SearchCapability) GetType() SearchCapability_Type
func (*SearchCapability) ProtoMessage
func (*SearchCapability) ProtoMessage()
func (*SearchCapability) ProtoReflect
func (x *SearchCapability) ProtoReflect() protoreflect.Message
func (*SearchCapability) Reset
func (x *SearchCapability) Reset()
func (*SearchCapability) String
func (x *SearchCapability) String() string
SearchCapabilitySetting
type SearchCapabilitySetting struct {
// The metadata of search capability to enable.
SearchCapabilities []*SearchCapability `protobuf:"bytes,1,rep,name=search_capabilities,json=searchCapabilities,proto3" json:"search_capabilities,omitempty"`
// contains filtered or unexported fields
}
Setting for search capability to enable.
func (*SearchCapabilitySetting) Descriptor
func (*SearchCapabilitySetting) Descriptor() ([]byte, []int)
Deprecated: Use SearchCapabilitySetting.ProtoReflect.Descriptor instead.
func (*SearchCapabilitySetting) GetSearchCapabilities
func (x *SearchCapabilitySetting) GetSearchCapabilities() []*SearchCapability
func (*SearchCapabilitySetting) ProtoMessage
func (*SearchCapabilitySetting) ProtoMessage()
func (*SearchCapabilitySetting) ProtoReflect
func (x *SearchCapabilitySetting) ProtoReflect() protoreflect.Message
func (*SearchCapabilitySetting) Reset
func (x *SearchCapabilitySetting) Reset()
func (*SearchCapabilitySetting) String
func (x *SearchCapabilitySetting) String() string
SearchCapability_Type
type SearchCapability_Type int32
Capability to perform different search on assets.
SearchCapability_TYPE_UNSPECIFIED, SearchCapability_EMBEDDING_SEARCH
const (
// Unspecified search capability, should never be used.
SearchCapability_TYPE_UNSPECIFIED SearchCapability_Type = 0
// Embedding search.
SearchCapability_EMBEDDING_SEARCH SearchCapability_Type = 1
)
func (SearchCapability_Type) Descriptor
func (SearchCapability_Type) Descriptor() protoreflect.EnumDescriptor
func (SearchCapability_Type) Enum
func (x SearchCapability_Type) Enum() *SearchCapability_Type
func (SearchCapability_Type) EnumDescriptor
func (SearchCapability_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use SearchCapability_Type.Descriptor instead.
func (SearchCapability_Type) Number
func (x SearchCapability_Type) Number() protoreflect.EnumNumber
func (SearchCapability_Type) String
func (x SearchCapability_Type) String() string
func (SearchCapability_Type) Type
func (SearchCapability_Type) Type() protoreflect.EnumType
SearchConfig
type SearchConfig struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
FacetProperty *FacetProperty `protobuf:"bytes,2,opt,name=facet_property,json=facetProperty,proto3" json:"facet_property,omitempty"`
SearchCriteriaProperty *SearchCriteriaProperty "" /* 129 byte string literal not displayed */
}
SearchConfig stores different properties that will affect search behaviors and search results.
func (*SearchConfig) Descriptor
func (*SearchConfig) Descriptor() ([]byte, []int)
Deprecated: Use SearchConfig.ProtoReflect.Descriptor instead.
func (*SearchConfig) GetFacetProperty
func (x *SearchConfig) GetFacetProperty() *FacetProperty
func (*SearchConfig) GetName
func (x *SearchConfig) GetName() string
func (*SearchConfig) GetSearchCriteriaProperty
func (x *SearchConfig) GetSearchCriteriaProperty() *SearchCriteriaProperty
func (*SearchConfig) ProtoMessage
func (*SearchConfig) ProtoMessage()
func (*SearchConfig) ProtoReflect
func (x *SearchConfig) ProtoReflect() protoreflect.Message
func (*SearchConfig) Reset
func (x *SearchConfig) Reset()
func (*SearchConfig) String
func (x *SearchConfig) String() string
SearchCriteriaProperty
type SearchCriteriaProperty struct {
// Each mapped_field corresponds to a UGA key. To understand how this property
// works, take the following example. In the SearchConfig table, the
// user adds this entry:
//
// search_config {
// name: "person"
// search_criteria_property {
// mapped_fields: "player"
// mapped_fields: "coach"
// }
// }
//
// Now, when a user issues a query like:
//
// criteria {
// field: "person"
// text_array {
// txt_values: "Tom Brady"
// txt_values: "Bill Belichick"
// }
// }
//
// MWH search will return search documents where (player=Tom Brady ||
// coach=Tom Brady || player=Bill Belichick || coach=Bill Belichick).
MappedFields []string `protobuf:"bytes,1,rep,name=mapped_fields,json=mappedFields,proto3" json:"mapped_fields,omitempty"`
// contains filtered or unexported fields
}
Central configuration for custom search criteria.
func (*SearchCriteriaProperty) Descriptor
func (*SearchCriteriaProperty) Descriptor() ([]byte, []int)
Deprecated: Use SearchCriteriaProperty.ProtoReflect.Descriptor instead.
func (*SearchCriteriaProperty) GetMappedFields
func (x *SearchCriteriaProperty) GetMappedFields() []string
func (*SearchCriteriaProperty) ProtoMessage
func (*SearchCriteriaProperty) ProtoMessage()
func (*SearchCriteriaProperty) ProtoReflect
func (x *SearchCriteriaProperty) ProtoReflect() protoreflect.Message
func (*SearchCriteriaProperty) Reset
func (x *SearchCriteriaProperty) Reset()
func (*SearchCriteriaProperty) String
func (x *SearchCriteriaProperty) String() string
SearchHypernym
type SearchHypernym struct {
// Resource name of the SearchHypernym.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The hypernym.
Hypernym string `protobuf:"bytes,2,opt,name=hypernym,proto3" json:"hypernym,omitempty"`
// Optional. Hyponyms that the hypernym is mapped to.
Hyponyms []string `protobuf:"bytes,3,rep,name=hyponyms,proto3" json:"hyponyms,omitempty"`
// contains filtered or unexported fields
}
Search resource: SearchHypernym. For example, { hypernym: "vehicle"
hyponyms: ["sedan", "truck"] }
This means in SMART_SEARCH mode, searching for "vehicle" will also return results with "sedan" or "truck" as annotations.
func (*SearchHypernym) Descriptor
func (*SearchHypernym) Descriptor() ([]byte, []int)
Deprecated: Use SearchHypernym.ProtoReflect.Descriptor instead.
func (*SearchHypernym) GetHypernym
func (x *SearchHypernym) GetHypernym() string
func (*SearchHypernym) GetHyponyms
func (x *SearchHypernym) GetHyponyms() []string
func (*SearchHypernym) GetName
func (x *SearchHypernym) GetName() string
func (*SearchHypernym) ProtoMessage
func (*SearchHypernym) ProtoMessage()
func (*SearchHypernym) ProtoReflect
func (x *SearchHypernym) ProtoReflect() protoreflect.Message
func (*SearchHypernym) Reset
func (x *SearchHypernym) Reset()
func (*SearchHypernym) String
func (x *SearchHypernym) String() string
SearchIndexEndpointRequest
type SearchIndexEndpointRequest struct {
// The oneof global search query.
//
// Types that are assignable to Query:
//
// *SearchIndexEndpointRequest_ImageQuery
// *SearchIndexEndpointRequest_TextQuery
Query isSearchIndexEndpointRequest_Query `protobuf_oneof:"query"`
// Required. The index endpoint to search.
// Format:
// `projects/{project_id}/locations/{location_id}/indexEndpoints/{index_endpoint_id}'
IndexEndpoint string `protobuf:"bytes,1,opt,name=index_endpoint,json=indexEndpoint,proto3" json:"index_endpoint,omitempty"`
// Criteria applied to search results.
Criteria []*Criteria `protobuf:"bytes,4,rep,name=criteria,proto3" json:"criteria,omitempty"`
// Criteria to exclude from search results.
// Note that `fetch_matched_annotations` will be ignored.
ExclusionCriteria []*Criteria `protobuf:"bytes,7,rep,name=exclusion_criteria,json=exclusionCriteria,proto3" json:"exclusion_criteria,omitempty"`
// Requested page size. API may return fewer results than requested.
// If negative, INVALID_ARGUMENT error will be returned.
// If unspecified or 0, API will pick a default size, which is 10.
// If the requested page size is larger than the maximum size, API will pick
// the maximum size, which is 100.
PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The continuation token to fetch the next page. If empty, it means it is
// fetching the first page.
PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for SearchIndexEndpoint.
func (*SearchIndexEndpointRequest) Descriptor
func (*SearchIndexEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchIndexEndpointRequest.ProtoReflect.Descriptor instead.
func (*SearchIndexEndpointRequest) GetCriteria
func (x *SearchIndexEndpointRequest) GetCriteria() []*Criteria
func (*SearchIndexEndpointRequest) GetExclusionCriteria
func (x *SearchIndexEndpointRequest) GetExclusionCriteria() []*Criteria
func (*SearchIndexEndpointRequest) GetImageQuery
func (x *SearchIndexEndpointRequest) GetImageQuery() *ImageQuery
func (*SearchIndexEndpointRequest) GetIndexEndpoint
func (x *SearchIndexEndpointRequest) GetIndexEndpoint() string
func (*SearchIndexEndpointRequest) GetPageSize
func (x *SearchIndexEndpointRequest) GetPageSize() int32
func (*SearchIndexEndpointRequest) GetPageToken
func (x *SearchIndexEndpointRequest) GetPageToken() string
func (*SearchIndexEndpointRequest) GetQuery
func (m *SearchIndexEndpointRequest) GetQuery() isSearchIndexEndpointRequest_Query
func (*SearchIndexEndpointRequest) GetTextQuery
func (x *SearchIndexEndpointRequest) GetTextQuery() string
func (*SearchIndexEndpointRequest) ProtoMessage
func (*SearchIndexEndpointRequest) ProtoMessage()
func (*SearchIndexEndpointRequest) ProtoReflect
func (x *SearchIndexEndpointRequest) ProtoReflect() protoreflect.Message
func (*SearchIndexEndpointRequest) Reset
func (x *SearchIndexEndpointRequest) Reset()
func (*SearchIndexEndpointRequest) String
func (x *SearchIndexEndpointRequest) String() string
SearchIndexEndpointRequest_ImageQuery
type SearchIndexEndpointRequest_ImageQuery struct {
// An image-only query.
ImageQuery *ImageQuery `protobuf:"bytes,2,opt,name=image_query,json=imageQuery,proto3,oneof"`
}
SearchIndexEndpointRequest_TextQuery
type SearchIndexEndpointRequest_TextQuery struct {
// A text-only query.
TextQuery string `protobuf:"bytes,3,opt,name=text_query,json=textQuery,proto3,oneof"`
}
SearchIndexEndpointResponse
type SearchIndexEndpointResponse struct {
// Returned search results.
SearchResultItems []*SearchResultItem `protobuf:"bytes,1,rep,name=search_result_items,json=searchResultItems,proto3" json:"search_result_items,omitempty"`
// The next-page continuation token.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for SearchIndexEndpoint.
func (*SearchIndexEndpointResponse) Descriptor
func (*SearchIndexEndpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchIndexEndpointResponse.ProtoReflect.Descriptor instead.
func (*SearchIndexEndpointResponse) GetNextPageToken
func (x *SearchIndexEndpointResponse) GetNextPageToken() string
func (*SearchIndexEndpointResponse) GetSearchResultItems
func (x *SearchIndexEndpointResponse) GetSearchResultItems() []*SearchResultItem
func (*SearchIndexEndpointResponse) ProtoMessage
func (*SearchIndexEndpointResponse) ProtoMessage()
func (*SearchIndexEndpointResponse) ProtoReflect
func (x *SearchIndexEndpointResponse) ProtoReflect() protoreflect.Message
func (*SearchIndexEndpointResponse) Reset
func (x *SearchIndexEndpointResponse) Reset()
func (*SearchIndexEndpointResponse) String
func (x *SearchIndexEndpointResponse) String() string
SearchResultItem
type SearchResultItem struct {
Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
Segments []*Partition_TemporalPartition `protobuf:"bytes,2,rep,name=segments,proto3" json:"segments,omitempty"`
Segment *Partition_TemporalPartition `protobuf:"bytes,5,opt,name=segment,proto3" json:"segment,omitempty"`
Relevance float64 `protobuf:"fixed64,6,opt,name=relevance,proto3" json:"relevance,omitempty"`
RequestedAnnotations []*Annotation `protobuf:"bytes,3,rep,name=requested_annotations,json=requestedAnnotations,proto3" json:"requested_annotations,omitempty"`
AnnotationMatchingResults []*AnnotationMatchingResult "" /* 138 byte string literal not displayed */
}
Search result contains asset name and corresponding time ranges.
func (*SearchResultItem) Descriptor
func (*SearchResultItem) Descriptor() ([]byte, []int)
Deprecated: Use SearchResultItem.ProtoReflect.Descriptor instead.
func (*SearchResultItem) GetAnnotationMatchingResults
func (x *SearchResultItem) GetAnnotationMatchingResults() []*AnnotationMatchingResult
func (*SearchResultItem) GetAsset
func (x *SearchResultItem) GetAsset() string
func (*SearchResultItem) GetRelevance
func (x *SearchResultItem) GetRelevance() float64
func (*SearchResultItem) GetRequestedAnnotations
func (x *SearchResultItem) GetRequestedAnnotations() []*Annotation
func (*SearchResultItem) GetSegment
func (x *SearchResultItem) GetSegment() *Partition_TemporalPartition
func (*SearchResultItem) GetSegments
func (x *SearchResultItem) GetSegments() []*Partition_TemporalPartition
Deprecated: Marked as deprecated in google/cloud/visionai/v1/warehouse.proto.
func (*SearchResultItem) ProtoMessage
func (*SearchResultItem) ProtoMessage()
func (*SearchResultItem) ProtoReflect
func (x *SearchResultItem) ProtoReflect() protoreflect.Message
func (*SearchResultItem) Reset
func (x *SearchResultItem) Reset()
func (*SearchResultItem) String
func (x *SearchResultItem) String() string
SendPacketsRequest
type SendPacketsRequest struct {
// Types that are assignable to Request:
//
// *SendPacketsRequest_Packet
// *SendPacketsRequest_Metadata
Request isSendPacketsRequest_Request `protobuf_oneof:"request"`
// contains filtered or unexported fields
}
Request message for sending packets.
func (*SendPacketsRequest) Descriptor
func (*SendPacketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendPacketsRequest.ProtoReflect.Descriptor instead.
func (*SendPacketsRequest) GetMetadata
func (x *SendPacketsRequest) GetMetadata() *RequestMetadata
func (*SendPacketsRequest) GetPacket
func (x *SendPacketsRequest) GetPacket() *Packet
func (*SendPacketsRequest) GetRequest
func (m *SendPacketsRequest) GetRequest() isSendPacketsRequest_Request
func (*SendPacketsRequest) ProtoMessage
func (*SendPacketsRequest) ProtoMessage()
func (*SendPacketsRequest) ProtoReflect
func (x *SendPacketsRequest) ProtoReflect() protoreflect.Message
func (*SendPacketsRequest) Reset
func (x *SendPacketsRequest) Reset()
func (*SendPacketsRequest) String
func (x *SendPacketsRequest) String() string
SendPacketsRequest_Metadata
type SendPacketsRequest_Metadata struct {
// The first message of the streaming rpc including the request metadata.
Metadata *RequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3,oneof"`
}
SendPacketsRequest_Packet
type SendPacketsRequest_Packet struct {
// Packets sent over the streaming rpc.
Packet *Packet `protobuf:"bytes,1,opt,name=packet,proto3,oneof"`
}
SendPacketsResponse
type SendPacketsResponse struct {
// contains filtered or unexported fields
}
Response message for sending packets.
func (*SendPacketsResponse) Descriptor
func (*SendPacketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendPacketsResponse.ProtoReflect.Descriptor instead.
func (*SendPacketsResponse) ProtoMessage
func (*SendPacketsResponse) ProtoMessage()
func (*SendPacketsResponse) ProtoReflect
func (x *SendPacketsResponse) ProtoReflect() protoreflect.Message
func (*SendPacketsResponse) Reset
func (x *SendPacketsResponse) Reset()
func (*SendPacketsResponse) String
func (x *SendPacketsResponse) String() string
Series
type Series struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
Annotations map[string]string "" /* 163 byte string literal not displayed */
Stream string `protobuf:"bytes,6,opt,name=stream,proto3" json:"stream,omitempty"`
Event string `protobuf:"bytes,7,opt,name=event,proto3" json:"event,omitempty"`
}
Message describing the Series object.
func (*Series) Descriptor
Deprecated: Use Series.ProtoReflect.Descriptor instead.
func (*Series) GetAnnotations
func (*Series) GetCreateTime
func (x *Series) GetCreateTime() *timestamppb.Timestamp
func (*Series) GetEvent
func (*Series) GetLabels
func (*Series) GetName
func (*Series) GetStream
func (*Series) GetUpdateTime
func (x *Series) GetUpdateTime() *timestamppb.Timestamp
func (*Series) ProtoMessage
func (*Series) ProtoMessage()
func (*Series) ProtoReflect
func (x *Series) ProtoReflect() protoreflect.Message
func (*Series) Reset
func (x *Series) Reset()
func (*Series) String
SeriesMetadata
type SeriesMetadata struct {
// Series name. It's in the format of
// "projects/{project}/locations/{location}/clusters/{cluster}/series/{stream}".
Series string `protobuf:"bytes,1,opt,name=series,proto3" json:"series,omitempty"`
// contains filtered or unexported fields
}
The message that represents series metadata.
func (*SeriesMetadata) Descriptor
func (*SeriesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SeriesMetadata.ProtoReflect.Descriptor instead.
func (*SeriesMetadata) GetSeries
func (x *SeriesMetadata) GetSeries() string
func (*SeriesMetadata) ProtoMessage
func (*SeriesMetadata) ProtoMessage()
func (*SeriesMetadata) ProtoReflect
func (x *SeriesMetadata) ProtoReflect() protoreflect.Message
func (*SeriesMetadata) Reset
func (x *SeriesMetadata) Reset()
func (*SeriesMetadata) String
func (x *SeriesMetadata) String() string
ServerMetadata
type ServerMetadata struct {
// The offset position for the packet in its stream.
Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
// The timestamp at which the stream server receives this packet. This is
// based on the local clock of on the server side. It is guaranteed to be
// monotonically increasing for the packets within each session; however
// this timestamp is not comparable across packets sent to the same stream
// different sessions. Session here refers to one individual gRPC streaming
// request to the stream server.
IngestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ingest_time,json=ingestTime,proto3" json:"ingest_time,omitempty"`
// contains filtered or unexported fields
}
The message that represents server metadata.
func (*ServerMetadata) Descriptor
func (*ServerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ServerMetadata.ProtoReflect.Descriptor instead.
func (*ServerMetadata) GetIngestTime
func (x *ServerMetadata) GetIngestTime() *timestamppb.Timestamp
func (*ServerMetadata) GetOffset
func (x *ServerMetadata) GetOffset() int64
func (*ServerMetadata) ProtoMessage
func (*ServerMetadata) ProtoMessage()
func (*ServerMetadata) ProtoReflect
func (x *ServerMetadata) ProtoReflect() protoreflect.Message
func (*ServerMetadata) Reset
func (x *ServerMetadata) Reset()
func (*ServerMetadata) String
func (x *ServerMetadata) String() string
Stream
type Stream struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
Annotations map[string]string "" /* 163 byte string literal not displayed */
DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
EnableHlsPlayback bool `protobuf:"varint,7,opt,name=enable_hls_playback,json=enableHlsPlayback,proto3" json:"enable_hls_playback,omitempty"`
MediaWarehouseAsset string `protobuf:"bytes,8,opt,name=media_warehouse_asset,json=mediaWarehouseAsset,proto3" json:"media_warehouse_asset,omitempty"`
}
Message describing the Stream object. The Stream and the Event resources are many to many; i.e., each Stream resource can associate to many Event resources and each Event resource can associate to many Stream resources.
func (*Stream) Descriptor
Deprecated: Use Stream.ProtoReflect.Descriptor instead.
func (*Stream) GetAnnotations
func (*Stream) GetCreateTime
func (x *Stream) GetCreateTime() *timestamppb.Timestamp
func (*Stream) GetDisplayName
func (*Stream) GetEnableHlsPlayback
func (*Stream) GetLabels
func (*Stream) GetMediaWarehouseAsset
func (*Stream) GetName
func (*Stream) GetUpdateTime
func (x *Stream) GetUpdateTime() *timestamppb.Timestamp
func (*Stream) ProtoMessage
func (*Stream) ProtoMessage()
func (*Stream) ProtoReflect
func (x *Stream) ProtoReflect() protoreflect.Message
func (*Stream) Reset
func (x *Stream) Reset()
func (*Stream) String
StreamAnnotation
type StreamAnnotation struct {
// Types that are assignable to AnnotationPayload:
//
// *StreamAnnotation_ActiveZone
// *StreamAnnotation_CrossingLine
AnnotationPayload isStreamAnnotation_AnnotationPayload `protobuf_oneof:"annotation_payload"`
// ID of the annotation. It must be unique when used in the certain context.
// For example, all the annotations to one input streams of a Vision AI
// application.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// User-friendly name for the annotation.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The Vision AI stream resource name.
SourceStream string `protobuf:"bytes,3,opt,name=source_stream,json=sourceStream,proto3" json:"source_stream,omitempty"`
// The actual type of Annotation.
Type StreamAnnotationType `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.visionai.v1.StreamAnnotationType" json:"type,omitempty"`
// contains filtered or unexported fields
}
message about annotations about Vision AI stream resource.
func (*StreamAnnotation) Descriptor
func (*StreamAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use StreamAnnotation.ProtoReflect.Descriptor instead.
func (*StreamAnnotation) GetActiveZone
func (x *StreamAnnotation) GetActiveZone() *NormalizedPolygon
func (*StreamAnnotation) GetAnnotationPayload
func (m *StreamAnnotation) GetAnnotationPayload() isStreamAnnotation_AnnotationPayload
func (*StreamAnnotation) GetCrossingLine
func (x *StreamAnnotation) GetCrossingLine() *NormalizedPolyline
func (*StreamAnnotation) GetDisplayName
func (x *StreamAnnotation) GetDisplayName() string
func (*StreamAnnotation) GetId
func (x *StreamAnnotation) GetId() string
func (*StreamAnnotation) GetSourceStream
func (x *StreamAnnotation) GetSourceStream() string
func (*StreamAnnotation) GetType
func (x *StreamAnnotation) GetType() StreamAnnotationType
func (*StreamAnnotation) ProtoMessage
func (*StreamAnnotation) ProtoMessage()
func (*StreamAnnotation) ProtoReflect
func (x *StreamAnnotation) ProtoReflect() protoreflect.Message
func (*StreamAnnotation) Reset
func (x *StreamAnnotation) Reset()
func (*StreamAnnotation) String
func (x *StreamAnnotation) String() string
StreamAnnotationType
type StreamAnnotationType int32
Enum describing all possible types of a stream annotation.
StreamAnnotationType_STREAM_ANNOTATION_TYPE_UNSPECIFIED, StreamAnnotationType_STREAM_ANNOTATION_TYPE_ACTIVE_ZONE, StreamAnnotationType_STREAM_ANNOTATION_TYPE_CROSSING_LINE
const (
// Type UNSPECIFIED.
StreamAnnotationType_STREAM_ANNOTATION_TYPE_UNSPECIFIED StreamAnnotationType = 0
// active_zone annotation defines a polygon on top of the content from an
// image/video based stream, following processing will only focus on the
// content inside the active zone.
StreamAnnotationType_STREAM_ANNOTATION_TYPE_ACTIVE_ZONE StreamAnnotationType = 1
// crossing_line annotation defines a polyline on top of the content from an
// image/video based Vision AI stream, events happening across the line will
// be captured. For example, the counts of people who goes acroos the line
// in Occupancy Analytic Processor.
StreamAnnotationType_STREAM_ANNOTATION_TYPE_CROSSING_LINE StreamAnnotationType = 2
)
func (StreamAnnotationType) Descriptor
func (StreamAnnotationType) Descriptor() protoreflect.EnumDescriptor
func (StreamAnnotationType) Enum
func (x StreamAnnotationType) Enum() *StreamAnnotationType
func (StreamAnnotationType) EnumDescriptor
func (StreamAnnotationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use StreamAnnotationType.Descriptor instead.
func (StreamAnnotationType) Number
func (x StreamAnnotationType) Number() protoreflect.EnumNumber
func (StreamAnnotationType) String
func (x StreamAnnotationType) String() string
func (StreamAnnotationType) Type
func (StreamAnnotationType) Type() protoreflect.EnumType
StreamAnnotation_ActiveZone
type StreamAnnotation_ActiveZone struct {
// Annotation for type ACTIVE_ZONE
ActiveZone *NormalizedPolygon `protobuf:"bytes,5,opt,name=active_zone,json=activeZone,proto3,oneof"`
}
StreamAnnotation_CrossingLine
type StreamAnnotation_CrossingLine struct {
// Annotation for type CROSSING_LINE
CrossingLine *NormalizedPolyline `protobuf:"bytes,6,opt,name=crossing_line,json=crossingLine,proto3,oneof"`
}
StreamAnnotations
type StreamAnnotations struct {
// Multiple annotations.
StreamAnnotations []*StreamAnnotation `protobuf:"bytes,1,rep,name=stream_annotations,json=streamAnnotations,proto3" json:"stream_annotations,omitempty"`
// contains filtered or unexported fields
}
A wrapper of repeated StreamAnnotation.
func (*StreamAnnotations) Descriptor
func (*StreamAnnotations) Descriptor() ([]byte, []int)
Deprecated: Use StreamAnnotations.ProtoReflect.Descriptor instead.
func (*StreamAnnotations) GetStreamAnnotations
func (x *StreamAnnotations) GetStreamAnnotations() []*StreamAnnotation
func (*StreamAnnotations) ProtoMessage
func (*StreamAnnotations) ProtoMessage()
func (*StreamAnnotations) ProtoReflect
func (x *StreamAnnotations) ProtoReflect() protoreflect.Message
func (*StreamAnnotations) Reset
func (x *StreamAnnotations) Reset()
func (*StreamAnnotations) String
func (x *StreamAnnotations) String() string
StreamWithAnnotation
type StreamWithAnnotation struct {
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
ApplicationAnnotations []*StreamAnnotation "" /* 127 byte string literal not displayed */
NodeAnnotations []*StreamWithAnnotation_NodeAnnotation `protobuf:"bytes,3,rep,name=node_annotations,json=nodeAnnotations,proto3" json:"node_annotations,omitempty"`
}
Message describing Vision AI stream with application specific annotations. All the StreamAnnotation object inside this message MUST have unique id.
func (*StreamWithAnnotation) Descriptor
func (*StreamWithAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use StreamWithAnnotation.ProtoReflect.Descriptor instead.
func (*StreamWithAnnotation) GetApplicationAnnotations
func (x *StreamWithAnnotation) GetApplicationAnnotations() []*StreamAnnotation
func (*StreamWithAnnotation) GetNodeAnnotations
func (x *StreamWithAnnotation) GetNodeAnnotations() []*StreamWithAnnotation_NodeAnnotation
func (*StreamWithAnnotation) GetStream
func (x *StreamWithAnnotation) GetStream() string
func (*StreamWithAnnotation) ProtoMessage
func (*StreamWithAnnotation) ProtoMessage()
func (*StreamWithAnnotation) ProtoReflect
func (x *StreamWithAnnotation) ProtoReflect() protoreflect.Message
func (*StreamWithAnnotation) Reset
func (x *StreamWithAnnotation) Reset()
func (*StreamWithAnnotation) String
func (x *StreamWithAnnotation) String() string
StreamWithAnnotation_NodeAnnotation
type StreamWithAnnotation_NodeAnnotation struct {
// The node name of the application graph.
Node string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
// The node specific stream annotations.
Annotations []*StreamAnnotation `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty"`
// contains filtered or unexported fields
}
Message describing annotations specific to application node.
func (*StreamWithAnnotation_NodeAnnotation) Descriptor
func (*StreamWithAnnotation_NodeAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use StreamWithAnnotation_NodeAnnotation.ProtoReflect.Descriptor instead.
func (*StreamWithAnnotation_NodeAnnotation) GetAnnotations
func (x *StreamWithAnnotation_NodeAnnotation) GetAnnotations() []*StreamAnnotation
func (*StreamWithAnnotation_NodeAnnotation) GetNode
func (x *StreamWithAnnotation_NodeAnnotation) GetNode() string
func (*StreamWithAnnotation_NodeAnnotation) ProtoMessage
func (*StreamWithAnnotation_NodeAnnotation) ProtoMessage()
func (*StreamWithAnnotation_NodeAnnotation) ProtoReflect
func (x *StreamWithAnnotation_NodeAnnotation) ProtoReflect() protoreflect.Message
func (*StreamWithAnnotation_NodeAnnotation) Reset
func (x *StreamWithAnnotation_NodeAnnotation) Reset()
func (*StreamWithAnnotation_NodeAnnotation) String
func (x *StreamWithAnnotation_NodeAnnotation) String() string
StreamingServiceClient
type StreamingServiceClient interface {
// Send packets to the series.
SendPackets(ctx context.Context, opts ...grpc.CallOption) (StreamingService_SendPacketsClient, error)
// Receive packets from the series.
ReceivePackets(ctx context.Context, opts ...grpc.CallOption) (StreamingService_ReceivePacketsClient, error)
// Receive events given the stream name.
ReceiveEvents(ctx context.Context, opts ...grpc.CallOption) (StreamingService_ReceiveEventsClient, error)
// AcquireLease acquires a lease.
AcquireLease(ctx context.Context, in *AcquireLeaseRequest, opts ...grpc.CallOption) (*Lease, error)
// RenewLease renews a lease.
RenewLease(ctx context.Context, in *RenewLeaseRequest, opts ...grpc.CallOption) (*Lease, error)
// RleaseLease releases a lease.
ReleaseLease(ctx context.Context, in *ReleaseLeaseRequest, opts ...grpc.CallOption) (*ReleaseLeaseResponse, error)
}
StreamingServiceClient is the client API for StreamingService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStreamingServiceClient
func NewStreamingServiceClient(cc grpc.ClientConnInterface) StreamingServiceClient
StreamingServiceServer
type StreamingServiceServer interface {
// Send packets to the series.
SendPackets(StreamingService_SendPacketsServer) error
// Receive packets from the series.
ReceivePackets(StreamingService_ReceivePacketsServer) error
// Receive events given the stream name.
ReceiveEvents(StreamingService_ReceiveEventsServer) error
// AcquireLease acquires a lease.
AcquireLease(context.Context, *AcquireLeaseRequest) (*Lease, error)
// RenewLease renews a lease.
RenewLease(context.Context, *RenewLeaseRequest) (*Lease, error)
// RleaseLease releases a lease.
ReleaseLease(context.Context, *ReleaseLeaseRequest) (*ReleaseLeaseResponse, error)
}
StreamingServiceServer is the server API for StreamingService service.
StreamingService_ReceiveEventsClient
type StreamingService_ReceiveEventsClient interface {
Send(*ReceiveEventsRequest) error
Recv() (*ReceiveEventsResponse, error)
grpc.ClientStream
}
StreamingService_ReceiveEventsServer
type StreamingService_ReceiveEventsServer interface {
Send(*ReceiveEventsResponse) error
Recv() (*ReceiveEventsRequest, error)
grpc.ServerStream
}
StreamingService_ReceivePacketsClient
type StreamingService_ReceivePacketsClient interface {
Send(*ReceivePacketsRequest) error
Recv() (*ReceivePacketsResponse, error)
grpc.ClientStream
}
StreamingService_ReceivePacketsServer
type StreamingService_ReceivePacketsServer interface {
Send(*ReceivePacketsResponse) error
Recv() (*ReceivePacketsRequest, error)
grpc.ServerStream
}
StreamingService_SendPacketsClient
type StreamingService_SendPacketsClient interface {
Send(*SendPacketsRequest) error
Recv() (*SendPacketsResponse, error)
grpc.ClientStream
}
StreamingService_SendPacketsServer
type StreamingService_SendPacketsServer interface {
Send(*SendPacketsResponse) error
Recv() (*SendPacketsRequest, error)
grpc.ServerStream
}
StreamsServiceClient
type StreamsServiceClient interface {
// Lists Clusters in a given project and location.
ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
// Gets details of a single Cluster.
GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
// Creates a new Cluster in a given project and location.
CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Cluster.
UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Cluster.
DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Streams in a given project and location.
ListStreams(ctx context.Context, in *ListStreamsRequest, opts ...grpc.CallOption) (*ListStreamsResponse, error)
// Gets details of a single Stream.
GetStream(ctx context.Context, in *GetStreamRequest, opts ...grpc.CallOption) (*Stream, error)
// Creates a new Stream in a given project and location.
CreateStream(ctx context.Context, in *CreateStreamRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Stream.
UpdateStream(ctx context.Context, in *UpdateStreamRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Stream.
DeleteStream(ctx context.Context, in *DeleteStreamRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets the thumbnail (image snapshot) of a single Stream.
GetStreamThumbnail(ctx context.Context, in *GetStreamThumbnailRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Generate the JWT auth token required to get the stream HLS contents.
GenerateStreamHlsToken(ctx context.Context, in *GenerateStreamHlsTokenRequest, opts ...grpc.CallOption) (*GenerateStreamHlsTokenResponse, error)
// Lists Events in a given project and location.
ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error)
// Gets details of a single Event.
GetEvent(ctx context.Context, in *GetEventRequest, opts ...grpc.CallOption) (*Event, error)
// Creates a new Event in a given project and location.
CreateEvent(ctx context.Context, in *CreateEventRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Event.
UpdateEvent(ctx context.Context, in *UpdateEventRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Event.
DeleteEvent(ctx context.Context, in *DeleteEventRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Series in a given project and location.
ListSeries(ctx context.Context, in *ListSeriesRequest, opts ...grpc.CallOption) (*ListSeriesResponse, error)
// Gets details of a single Series.
GetSeries(ctx context.Context, in *GetSeriesRequest, opts ...grpc.CallOption) (*Series, error)
// Creates a new Series in a given project and location.
CreateSeries(ctx context.Context, in *CreateSeriesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Event.
UpdateSeries(ctx context.Context, in *UpdateSeriesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Series.
DeleteSeries(ctx context.Context, in *DeleteSeriesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Materialize a channel.
MaterializeChannel(ctx context.Context, in *MaterializeChannelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
StreamsServiceClient is the client API for StreamsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStreamsServiceClient
func NewStreamsServiceClient(cc grpc.ClientConnInterface) StreamsServiceClient
StreamsServiceServer
type StreamsServiceServer interface {
// Lists Clusters in a given project and location.
ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
// Gets details of a single Cluster.
GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
// Creates a new Cluster in a given project and location.
CreateCluster(context.Context, *CreateClusterRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Cluster.
UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunningpb.Operation, error)
// Deletes a single Cluster.
DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunningpb.Operation, error)
// Lists Streams in a given project and location.
ListStreams(context.Context, *ListStreamsRequest) (*ListStreamsResponse, error)
// Gets details of a single Stream.
GetStream(context.Context, *GetStreamRequest) (*Stream, error)
// Creates a new Stream in a given project and location.
CreateStream(context.Context, *CreateStreamRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Stream.
UpdateStream(context.Context, *UpdateStreamRequest) (*longrunningpb.Operation, error)
// Deletes a single Stream.
DeleteStream(context.Context, *DeleteStreamRequest) (*longrunningpb.Operation, error)
// Gets the thumbnail (image snapshot) of a single Stream.
GetStreamThumbnail(context.Context, *GetStreamThumbnailRequest) (*longrunningpb.Operation, error)
// Generate the JWT auth token required to get the stream HLS contents.
GenerateStreamHlsToken(context.Context, *GenerateStreamHlsTokenRequest) (*GenerateStreamHlsTokenResponse, error)
// Lists Events in a given project and location.
ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
// Gets details of a single Event.
GetEvent(context.Context, *GetEventRequest) (*Event, error)
// Creates a new Event in a given project and location.
CreateEvent(context.Context, *CreateEventRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Event.
UpdateEvent(context.Context, *UpdateEventRequest) (*longrunningpb.Operation, error)
// Deletes a single Event.
DeleteEvent(context.Context, *DeleteEventRequest) (*longrunningpb.Operation, error)
// Lists Series in a given project and location.
ListSeries(context.Context, *ListSeriesRequest) (*ListSeriesResponse, error)
// Gets details of a single Series.
GetSeries(context.Context, *GetSeriesRequest) (*Series, error)
// Creates a new Series in a given project and location.
CreateSeries(context.Context, *CreateSeriesRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Event.
UpdateSeries(context.Context, *UpdateSeriesRequest) (*longrunningpb.Operation, error)
// Deletes a single Series.
DeleteSeries(context.Context, *DeleteSeriesRequest) (*longrunningpb.Operation, error)
// Materialize a channel.
MaterializeChannel(context.Context, *MaterializeChannelRequest) (*longrunningpb.Operation, error)
}
StreamsServiceServer is the server API for StreamsService service.
StringArray
type StringArray struct {
// String type values.
TxtValues []string `protobuf:"bytes,1,rep,name=txt_values,json=txtValues,proto3" json:"txt_values,omitempty"`
// contains filtered or unexported fields
}
A list of string-type values.
func (*StringArray) Descriptor
func (*StringArray) Descriptor() ([]byte, []int)
Deprecated: Use StringArray.ProtoReflect.Descriptor instead.
func (*StringArray) GetTxtValues
func (x *StringArray) GetTxtValues() []string
func (*StringArray) ProtoMessage
func (*StringArray) ProtoMessage()
func (*StringArray) ProtoReflect
func (x *StringArray) ProtoReflect() protoreflect.Message
func (*StringArray) Reset
func (x *StringArray) Reset()
func (*StringArray) String
func (x *StringArray) String() string
TagParsingConfig
type TagParsingConfig struct {
// Each tag entity class may have an optional EntityParsingConfig which is
// used to help parse the entities of the class.
EntityParsingConfigs []*TagParsingConfig_EntityParsingConfig `protobuf:"bytes,1,rep,name=entity_parsing_configs,json=entityParsingConfigs,proto3" json:"entity_parsing_configs,omitempty"`
// contains filtered or unexported fields
}
Configuration for tag parsing.
func (*TagParsingConfig) Descriptor
func (*TagParsingConfig) Descriptor() ([]byte, []int)
Deprecated: Use TagParsingConfig.ProtoReflect.Descriptor instead.
func (*TagParsingConfig) GetEntityParsingConfigs
func (x *TagParsingConfig) GetEntityParsingConfigs() []*TagParsingConfig_EntityParsingConfig
func (*TagParsingConfig) ProtoMessage
func (*TagParsingConfig) ProtoMessage()
func (*TagParsingConfig) ProtoReflect
func (x *TagParsingConfig) ProtoReflect() protoreflect.Message
func (*TagParsingConfig) Reset
func (x *TagParsingConfig) Reset()
func (*TagParsingConfig) String
func (x *TagParsingConfig) String() string
TagParsingConfig_EntityParsingConfig
type TagParsingConfig_EntityParsingConfig struct {
EntityClass string `protobuf:"bytes,1,opt,name=entity_class,json=entityClass,proto3" json:"entity_class,omitempty"`
Regex string `protobuf:"bytes,2,opt,name=regex,proto3" json:"regex,omitempty"`
EntityMatchingStrategy TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy "" /* 220 byte string literal not displayed */
}
Configuration for parsing a tag entity class.
func (*TagParsingConfig_EntityParsingConfig) Descriptor
func (*TagParsingConfig_EntityParsingConfig) Descriptor() ([]byte, []int)
Deprecated: Use TagParsingConfig_EntityParsingConfig.ProtoReflect.Descriptor instead.
func (*TagParsingConfig_EntityParsingConfig) GetEntityClass
func (x *TagParsingConfig_EntityParsingConfig) GetEntityClass() string
func (*TagParsingConfig_EntityParsingConfig) GetEntityMatchingStrategy
func (x *TagParsingConfig_EntityParsingConfig) GetEntityMatchingStrategy() TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy
func (*TagParsingConfig_EntityParsingConfig) GetRegex
func (x *TagParsingConfig_EntityParsingConfig) GetRegex() string
func (*TagParsingConfig_EntityParsingConfig) ProtoMessage
func (*TagParsingConfig_EntityParsingConfig) ProtoMessage()
func (*TagParsingConfig_EntityParsingConfig) ProtoReflect
func (x *TagParsingConfig_EntityParsingConfig) ProtoReflect() protoreflect.Message
func (*TagParsingConfig_EntityParsingConfig) Reset
func (x *TagParsingConfig_EntityParsingConfig) Reset()
func (*TagParsingConfig_EntityParsingConfig) String
func (x *TagParsingConfig_EntityParsingConfig) String() string
TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy
type TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy int32
Type of entity matching strategy.
TagParsingConfig_EntityParsingConfig_ENTITY_MATCHING_STRATEGY_UNSPECIFIED, TagParsingConfig_EntityParsingConfig_MULTI_LINE_MATCHING, TagParsingConfig_EntityParsingConfig_MAX_OVERLAP_AREA
const (
// If unspecified, multi-line matching will be used by default.
TagParsingConfig_EntityParsingConfig_ENTITY_MATCHING_STRATEGY_UNSPECIFIED TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy = 0
// Matches multiple lines of text.
TagParsingConfig_EntityParsingConfig_MULTI_LINE_MATCHING TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy = 1
// Matches the line with the maximum overlap area with entity bounding
// box.
TagParsingConfig_EntityParsingConfig_MAX_OVERLAP_AREA TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy = 2
)
func (TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy) Descriptor
func (TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy) Descriptor() protoreflect.EnumDescriptor
func (TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy) Enum
func (x TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy) Enum() *TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy
func (TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy) EnumDescriptor
func (TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy.Descriptor instead.
func (TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy) Number
func (x TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy) Number() protoreflect.EnumNumber
func (TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy) String
func (x TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy) String() string
func (TagParsingConfig_EntityParsingConfig_EntityMatchingStrategy) Type
TagRecognizerConfig
type TagRecognizerConfig struct {
EntityDetectionConfidenceThreshold float32 "" /* 169 byte string literal not displayed */
TagParsingConfig *TagParsingConfig `protobuf:"bytes,2,opt,name=tag_parsing_config,json=tagParsingConfig,proto3" json:"tag_parsing_config,omitempty"`
}
Message describing TagRecognizerConfig.
func (*TagRecognizerConfig) Descriptor
func (*TagRecognizerConfig) Descriptor() ([]byte, []int)
Deprecated: Use TagRecognizerConfig.ProtoReflect.Descriptor instead.
func (*TagRecognizerConfig) GetEntityDetectionConfidenceThreshold
func (x *TagRecognizerConfig) GetEntityDetectionConfidenceThreshold() float32
func (*TagRecognizerConfig) GetTagParsingConfig
func (x *TagRecognizerConfig) GetTagParsingConfig() *TagParsingConfig
func (*TagRecognizerConfig) ProtoMessage
func (*TagRecognizerConfig) ProtoMessage()
func (*TagRecognizerConfig) ProtoReflect
func (x *TagRecognizerConfig) ProtoReflect() protoreflect.Message
func (*TagRecognizerConfig) Reset
func (x *TagRecognizerConfig) Reset()
func (*TagRecognizerConfig) String
func (x *TagRecognizerConfig) String() string
UndeployApplicationRequest
type UndeployApplicationRequest struct {
// Required. the name of the application to retrieve.
// Format:
// "projects/{project}/locations/{location}/applications/{application}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for undeploying an Application.
func (*UndeployApplicationRequest) Descriptor
func (*UndeployApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UndeployApplicationRequest.ProtoReflect.Descriptor instead.
func (*UndeployApplicationRequest) GetName
func (x *UndeployApplicationRequest) GetName() string
func (*UndeployApplicationRequest) GetRequestId
func (x *UndeployApplicationRequest) GetRequestId() string
func (*UndeployApplicationRequest) ProtoMessage
func (*UndeployApplicationRequest) ProtoMessage()
func (*UndeployApplicationRequest) ProtoReflect
func (x *UndeployApplicationRequest) ProtoReflect() protoreflect.Message
func (*UndeployApplicationRequest) Reset
func (x *UndeployApplicationRequest) Reset()
func (*UndeployApplicationRequest) String
func (x *UndeployApplicationRequest) String() string
UndeployApplicationResponse
type UndeployApplicationResponse struct {
// contains filtered or unexported fields
}
Message for UndeployApplication Response.
func (*UndeployApplicationResponse) Descriptor
func (*UndeployApplicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use UndeployApplicationResponse.ProtoReflect.Descriptor instead.
func (*UndeployApplicationResponse) ProtoMessage
func (*UndeployApplicationResponse) ProtoMessage()
func (*UndeployApplicationResponse) ProtoReflect
func (x *UndeployApplicationResponse) ProtoReflect() protoreflect.Message
func (*UndeployApplicationResponse) Reset
func (x *UndeployApplicationResponse) Reset()
func (*UndeployApplicationResponse) String
func (x *UndeployApplicationResponse) String() string
UndeployIndexMetadata
type UndeployIndexMetadata struct {
// Common metadata of the long-running operation.
OperationMetadata *OperationMetadata `protobuf:"bytes,1,opt,name=operation_metadata,json=operationMetadata,proto3" json:"operation_metadata,omitempty"`
// Output only. The index being undeployed.
DeployedIndex string `protobuf:"bytes,2,opt,name=deployed_index,json=deployedIndex,proto3" json:"deployed_index,omitempty"`
// contains filtered or unexported fields
}
Metadata message for UndeployIndex.
func (*UndeployIndexMetadata) Descriptor
func (*UndeployIndexMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UndeployIndexMetadata.ProtoReflect.Descriptor instead.
func (*UndeployIndexMetadata) GetDeployedIndex
func (x *UndeployIndexMetadata) GetDeployedIndex() string
func (*UndeployIndexMetadata) GetOperationMetadata
func (x *UndeployIndexMetadata) GetOperationMetadata() *OperationMetadata
func (*UndeployIndexMetadata) ProtoMessage
func (*UndeployIndexMetadata) ProtoMessage()
func (*UndeployIndexMetadata) ProtoReflect
func (x *UndeployIndexMetadata) ProtoReflect() protoreflect.Message
func (*UndeployIndexMetadata) Reset
func (x *UndeployIndexMetadata) Reset()
func (*UndeployIndexMetadata) String
func (x *UndeployIndexMetadata) String() string
UndeployIndexRequest
type UndeployIndexRequest struct {
// Required. Resource name of the IndexEndpoint resource on which the
// undeployment will act. Format:
// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`
IndexEndpoint string `protobuf:"bytes,1,opt,name=index_endpoint,json=indexEndpoint,proto3" json:"index_endpoint,omitempty"`
// contains filtered or unexported fields
}
Request message for UndeployIndexEndpoint.
func (*UndeployIndexRequest) Descriptor
func (*UndeployIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use UndeployIndexRequest.ProtoReflect.Descriptor instead.
func (*UndeployIndexRequest) GetIndexEndpoint
func (x *UndeployIndexRequest) GetIndexEndpoint() string
func (*UndeployIndexRequest) ProtoMessage
func (*UndeployIndexRequest) ProtoMessage()
func (*UndeployIndexRequest) ProtoReflect
func (x *UndeployIndexRequest) ProtoReflect() protoreflect.Message
func (*UndeployIndexRequest) Reset
func (x *UndeployIndexRequest) Reset()
func (*UndeployIndexRequest) String
func (x *UndeployIndexRequest) String() string
UndeployIndexResponse
type UndeployIndexResponse struct {
// contains filtered or unexported fields
}
UndeployIndex response once the operation is done.
func (*UndeployIndexResponse) Descriptor
func (*UndeployIndexResponse) Descriptor() ([]byte, []int)
Deprecated: Use UndeployIndexResponse.ProtoReflect.Descriptor instead.
func (*UndeployIndexResponse) ProtoMessage
func (*UndeployIndexResponse) ProtoMessage()
func (*UndeployIndexResponse) ProtoReflect
func (x *UndeployIndexResponse) ProtoReflect() protoreflect.Message
func (*UndeployIndexResponse) Reset
func (x *UndeployIndexResponse) Reset()
func (*UndeployIndexResponse) String
func (x *UndeployIndexResponse) String() string
UnimplementedAppPlatformServer
type UnimplementedAppPlatformServer struct {
}
UnimplementedAppPlatformServer can be embedded to have forward compatible implementations.
func (*UnimplementedAppPlatformServer) AddApplicationStreamInput
func (*UnimplementedAppPlatformServer) AddApplicationStreamInput(context.Context, *AddApplicationStreamInputRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) CreateApplication
func (*UnimplementedAppPlatformServer) CreateApplication(context.Context, *CreateApplicationRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) CreateApplicationInstances
func (*UnimplementedAppPlatformServer) CreateApplicationInstances(context.Context, *CreateApplicationInstancesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) CreateDraft
func (*UnimplementedAppPlatformServer) CreateDraft(context.Context, *CreateDraftRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) CreateProcessor
func (*UnimplementedAppPlatformServer) CreateProcessor(context.Context, *CreateProcessorRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) DeleteApplication
func (*UnimplementedAppPlatformServer) DeleteApplication(context.Context, *DeleteApplicationRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) DeleteApplicationInstances
func (*UnimplementedAppPlatformServer) DeleteApplicationInstances(context.Context, *DeleteApplicationInstancesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) DeleteDraft
func (*UnimplementedAppPlatformServer) DeleteDraft(context.Context, *DeleteDraftRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) DeleteProcessor
func (*UnimplementedAppPlatformServer) DeleteProcessor(context.Context, *DeleteProcessorRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) DeployApplication
func (*UnimplementedAppPlatformServer) DeployApplication(context.Context, *DeployApplicationRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) GetApplication
func (*UnimplementedAppPlatformServer) GetApplication(context.Context, *GetApplicationRequest) (*Application, error)
func (*UnimplementedAppPlatformServer) GetDraft
func (*UnimplementedAppPlatformServer) GetDraft(context.Context, *GetDraftRequest) (*Draft, error)
func (*UnimplementedAppPlatformServer) GetInstance
func (*UnimplementedAppPlatformServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
func (*UnimplementedAppPlatformServer) GetProcessor
func (*UnimplementedAppPlatformServer) GetProcessor(context.Context, *GetProcessorRequest) (*Processor, error)
func (*UnimplementedAppPlatformServer) ListApplications
func (*UnimplementedAppPlatformServer) ListApplications(context.Context, *ListApplicationsRequest) (*ListApplicationsResponse, error)
func (*UnimplementedAppPlatformServer) ListDrafts
func (*UnimplementedAppPlatformServer) ListDrafts(context.Context, *ListDraftsRequest) (*ListDraftsResponse, error)
func (*UnimplementedAppPlatformServer) ListInstances
func (*UnimplementedAppPlatformServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
func (*UnimplementedAppPlatformServer) ListPrebuiltProcessors
func (*UnimplementedAppPlatformServer) ListPrebuiltProcessors(context.Context, *ListPrebuiltProcessorsRequest) (*ListPrebuiltProcessorsResponse, error)
func (*UnimplementedAppPlatformServer) ListProcessors
func (*UnimplementedAppPlatformServer) ListProcessors(context.Context, *ListProcessorsRequest) (*ListProcessorsResponse, error)
func (*UnimplementedAppPlatformServer) RemoveApplicationStreamInput
func (*UnimplementedAppPlatformServer) RemoveApplicationStreamInput(context.Context, *RemoveApplicationStreamInputRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) UndeployApplication
func (*UnimplementedAppPlatformServer) UndeployApplication(context.Context, *UndeployApplicationRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) UpdateApplication
func (*UnimplementedAppPlatformServer) UpdateApplication(context.Context, *UpdateApplicationRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) UpdateApplicationInstances
func (*UnimplementedAppPlatformServer) UpdateApplicationInstances(context.Context, *UpdateApplicationInstancesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) UpdateApplicationStreamInput
func (*UnimplementedAppPlatformServer) UpdateApplicationStreamInput(context.Context, *UpdateApplicationStreamInputRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) UpdateDraft
func (*UnimplementedAppPlatformServer) UpdateDraft(context.Context, *UpdateDraftRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppPlatformServer) UpdateProcessor
func (*UnimplementedAppPlatformServer) UpdateProcessor(context.Context, *UpdateProcessorRequest) (*longrunningpb.Operation, error)
UnimplementedHealthCheckServiceServer
type UnimplementedHealthCheckServiceServer struct {
}
UnimplementedHealthCheckServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedHealthCheckServiceServer) HealthCheck
func (*UnimplementedHealthCheckServiceServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
UnimplementedLiveVideoAnalyticsServer
type UnimplementedLiveVideoAnalyticsServer struct {
}
UnimplementedLiveVideoAnalyticsServer can be embedded to have forward compatible implementations.
func (*UnimplementedLiveVideoAnalyticsServer) BatchRunProcess
func (*UnimplementedLiveVideoAnalyticsServer) BatchRunProcess(context.Context, *BatchRunProcessRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLiveVideoAnalyticsServer) CreateAnalysis
func (*UnimplementedLiveVideoAnalyticsServer) CreateAnalysis(context.Context, *CreateAnalysisRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLiveVideoAnalyticsServer) CreateOperator
func (*UnimplementedLiveVideoAnalyticsServer) CreateOperator(context.Context, *CreateOperatorRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLiveVideoAnalyticsServer) CreateProcess
func (*UnimplementedLiveVideoAnalyticsServer) CreateProcess(context.Context, *CreateProcessRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLiveVideoAnalyticsServer) DeleteAnalysis
func (*UnimplementedLiveVideoAnalyticsServer) DeleteAnalysis(context.Context, *DeleteAnalysisRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLiveVideoAnalyticsServer) DeleteOperator
func (*UnimplementedLiveVideoAnalyticsServer) DeleteOperator(context.Context, *DeleteOperatorRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLiveVideoAnalyticsServer) DeleteProcess
func (*UnimplementedLiveVideoAnalyticsServer) DeleteProcess(context.Context, *DeleteProcessRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLiveVideoAnalyticsServer) GetAnalysis
func (*UnimplementedLiveVideoAnalyticsServer) GetAnalysis(context.Context, *GetAnalysisRequest) (*Analysis, error)
func (*UnimplementedLiveVideoAnalyticsServer) GetOperator
func (*UnimplementedLiveVideoAnalyticsServer) GetOperator(context.Context, *GetOperatorRequest) (*Operator, error)
func (*UnimplementedLiveVideoAnalyticsServer) GetProcess
func (*UnimplementedLiveVideoAnalyticsServer) GetProcess(context.Context, *GetProcessRequest) (*Process, error)
func (*UnimplementedLiveVideoAnalyticsServer) ListAnalyses
func (*UnimplementedLiveVideoAnalyticsServer) ListAnalyses(context.Context, *ListAnalysesRequest) (*ListAnalysesResponse, error)
func (*UnimplementedLiveVideoAnalyticsServer) ListOperators
func (*UnimplementedLiveVideoAnalyticsServer) ListOperators(context.Context, *ListOperatorsRequest) (*ListOperatorsResponse, error)
func (*UnimplementedLiveVideoAnalyticsServer) ListProcesses
func (*UnimplementedLiveVideoAnalyticsServer) ListProcesses(context.Context, *ListProcessesRequest) (*ListProcessesResponse, error)
func (*UnimplementedLiveVideoAnalyticsServer) ListPublicOperators
func (*UnimplementedLiveVideoAnalyticsServer) ListPublicOperators(context.Context, *ListPublicOperatorsRequest) (*ListPublicOperatorsResponse, error)
func (*UnimplementedLiveVideoAnalyticsServer) ResolveOperatorInfo
func (*UnimplementedLiveVideoAnalyticsServer) ResolveOperatorInfo(context.Context, *ResolveOperatorInfoRequest) (*ResolveOperatorInfoResponse, error)
func (*UnimplementedLiveVideoAnalyticsServer) UpdateAnalysis
func (*UnimplementedLiveVideoAnalyticsServer) UpdateAnalysis(context.Context, *UpdateAnalysisRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLiveVideoAnalyticsServer) UpdateOperator
func (*UnimplementedLiveVideoAnalyticsServer) UpdateOperator(context.Context, *UpdateOperatorRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLiveVideoAnalyticsServer) UpdateProcess
func (*UnimplementedLiveVideoAnalyticsServer) UpdateProcess(context.Context, *UpdateProcessRequest) (*longrunningpb.Operation, error)
UnimplementedStreamingServiceServer
type UnimplementedStreamingServiceServer struct {
}
UnimplementedStreamingServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedStreamingServiceServer) AcquireLease
func (*UnimplementedStreamingServiceServer) AcquireLease(context.Context, *AcquireLeaseRequest) (*Lease, error)
func (*UnimplementedStreamingServiceServer) ReceiveEvents
func (*UnimplementedStreamingServiceServer) ReceiveEvents(StreamingService_ReceiveEventsServer) error
func (*UnimplementedStreamingServiceServer) ReceivePackets
func (*UnimplementedStreamingServiceServer) ReceivePackets(StreamingService_ReceivePacketsServer) error
func (*UnimplementedStreamingServiceServer) ReleaseLease
func (*UnimplementedStreamingServiceServer) ReleaseLease(context.Context, *ReleaseLeaseRequest) (*ReleaseLeaseResponse, error)
func (*UnimplementedStreamingServiceServer) RenewLease
func (*UnimplementedStreamingServiceServer) RenewLease(context.Context, *RenewLeaseRequest) (*Lease, error)
func (*UnimplementedStreamingServiceServer) SendPackets
func (*UnimplementedStreamingServiceServer) SendPackets(StreamingService_SendPacketsServer) error
UnimplementedStreamsServiceServer
type UnimplementedStreamsServiceServer struct {
}
UnimplementedStreamsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedStreamsServiceServer) CreateCluster
func (*UnimplementedStreamsServiceServer) CreateCluster(context.Context, *CreateClusterRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStreamsServiceServer) CreateEvent
func (*UnimplementedStreamsServiceServer) CreateEvent(context.Context, *CreateEventRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStreamsServiceServer) CreateSeries
func (*UnimplementedStreamsServiceServer) CreateSeries(context.Context, *CreateSeriesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStreamsServiceServer) CreateStream
func (*UnimplementedStreamsServiceServer) CreateStream(context.Context, *CreateStreamRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStreamsServiceServer) DeleteCluster
func (*UnimplementedStreamsServiceServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStreamsServiceServer) DeleteEvent
func (*UnimplementedStreamsServiceServer) DeleteEvent(context.Context, *DeleteEventRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStreamsServiceServer) DeleteSeries
func (*UnimplementedStreamsServiceServer) DeleteSeries(context.Context, *DeleteSeriesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStreamsServiceServer) DeleteStream
func (*UnimplementedStreamsServiceServer) DeleteStream(context.Context, *DeleteStreamRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStreamsServiceServer) GenerateStreamHlsToken
func (*UnimplementedStreamsServiceServer) GenerateStreamHlsToken(context.Context, *GenerateStreamHlsTokenRequest) (*GenerateStreamHlsTokenResponse, error)
func (*UnimplementedStreamsServiceServer) GetCluster
func (*UnimplementedStreamsServiceServer) GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
func (*UnimplementedStreamsServiceServer) GetEvent
func (*UnimplementedStreamsServiceServer) GetEvent(context.Context, *GetEventRequest) (*Event, error)
func (*UnimplementedStreamsServiceServer) GetSeries
func (*UnimplementedStreamsServiceServer) GetSeries(context.Context, *GetSeriesRequest) (*Series, error)
func (*UnimplementedStreamsServiceServer) GetStream
func (*UnimplementedStreamsServiceServer) GetStream(context.Context, *GetStreamRequest) (*Stream, error)
func (*UnimplementedStreamsServiceServer) GetStreamThumbnail
func (*UnimplementedStreamsServiceServer) GetStreamThumbnail(context.Context, *GetStreamThumbnailRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStreamsServiceServer) ListClusters
func (*UnimplementedStreamsServiceServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
func (*UnimplementedStreamsServiceServer) ListEvents
func (*UnimplementedStreamsServiceServer) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
func (*UnimplementedStreamsServiceServer) ListSeries
func (*UnimplementedStreamsServiceServer) ListSeries(context.Context, *ListSeriesRequest) (*ListSeriesResponse, error)
func (*UnimplementedStreamsServiceServer) ListStreams
func (*UnimplementedStreamsServiceServer) ListStreams(context.Context, *ListStreamsRequest) (*ListStreamsResponse, error)
func (*UnimplementedStreamsServiceServer) MaterializeChannel
func (*UnimplementedStreamsServiceServer) MaterializeChannel(context.Context, *MaterializeChannelRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStreamsServiceServer) UpdateCluster
func (*UnimplementedStreamsServiceServer) UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStreamsServiceServer) UpdateEvent
func (*UnimplementedStreamsServiceServer) UpdateEvent(context.Context, *UpdateEventRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStreamsServiceServer) UpdateSeries
func (*UnimplementedStreamsServiceServer) UpdateSeries(context.Context, *UpdateSeriesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStreamsServiceServer) UpdateStream
func (*UnimplementedStreamsServiceServer) UpdateStream(context.Context, *UpdateStreamRequest) (*longrunningpb.Operation, error)
UnimplementedWarehouseServer
type UnimplementedWarehouseServer struct {
}
UnimplementedWarehouseServer can be embedded to have forward compatible implementations.
func (*UnimplementedWarehouseServer) AddCollectionItem
func (*UnimplementedWarehouseServer) AddCollectionItem(context.Context, *AddCollectionItemRequest) (*AddCollectionItemResponse, error)
func (*UnimplementedWarehouseServer) AnalyzeAsset
func (*UnimplementedWarehouseServer) AnalyzeAsset(context.Context, *AnalyzeAssetRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) AnalyzeCorpus
func (*UnimplementedWarehouseServer) AnalyzeCorpus(context.Context, *AnalyzeCorpusRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) ClipAsset
func (*UnimplementedWarehouseServer) ClipAsset(context.Context, *ClipAssetRequest) (*ClipAssetResponse, error)
func (*UnimplementedWarehouseServer) CreateAnnotation
func (*UnimplementedWarehouseServer) CreateAnnotation(context.Context, *CreateAnnotationRequest) (*Annotation, error)
func (*UnimplementedWarehouseServer) CreateAsset
func (*UnimplementedWarehouseServer) CreateAsset(context.Context, *CreateAssetRequest) (*Asset, error)
func (*UnimplementedWarehouseServer) CreateCollection
func (*UnimplementedWarehouseServer) CreateCollection(context.Context, *CreateCollectionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) CreateCorpus
func (*UnimplementedWarehouseServer) CreateCorpus(context.Context, *CreateCorpusRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) CreateDataSchema
func (*UnimplementedWarehouseServer) CreateDataSchema(context.Context, *CreateDataSchemaRequest) (*DataSchema, error)
func (*UnimplementedWarehouseServer) CreateIndex
func (*UnimplementedWarehouseServer) CreateIndex(context.Context, *CreateIndexRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) CreateIndexEndpoint
func (*UnimplementedWarehouseServer) CreateIndexEndpoint(context.Context, *CreateIndexEndpointRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) CreateSearchConfig
func (*UnimplementedWarehouseServer) CreateSearchConfig(context.Context, *CreateSearchConfigRequest) (*SearchConfig, error)
func (*UnimplementedWarehouseServer) CreateSearchHypernym
func (*UnimplementedWarehouseServer) CreateSearchHypernym(context.Context, *CreateSearchHypernymRequest) (*SearchHypernym, error)
func (*UnimplementedWarehouseServer) DeleteAnnotation
func (*UnimplementedWarehouseServer) DeleteAnnotation(context.Context, *DeleteAnnotationRequest) (*emptypb.Empty, error)
func (*UnimplementedWarehouseServer) DeleteAsset
func (*UnimplementedWarehouseServer) DeleteAsset(context.Context, *DeleteAssetRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) DeleteCollection
func (*UnimplementedWarehouseServer) DeleteCollection(context.Context, *DeleteCollectionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) DeleteCorpus
func (*UnimplementedWarehouseServer) DeleteCorpus(context.Context, *DeleteCorpusRequest) (*emptypb.Empty, error)
func (*UnimplementedWarehouseServer) DeleteDataSchema
func (*UnimplementedWarehouseServer) DeleteDataSchema(context.Context, *DeleteDataSchemaRequest) (*emptypb.Empty, error)
func (*UnimplementedWarehouseServer) DeleteIndex
func (*UnimplementedWarehouseServer) DeleteIndex(context.Context, *DeleteIndexRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) DeleteIndexEndpoint
func (*UnimplementedWarehouseServer) DeleteIndexEndpoint(context.Context, *DeleteIndexEndpointRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) DeleteSearchConfig
func (*UnimplementedWarehouseServer) DeleteSearchConfig(context.Context, *DeleteSearchConfigRequest) (*emptypb.Empty, error)
func (*UnimplementedWarehouseServer) DeleteSearchHypernym
func (*UnimplementedWarehouseServer) DeleteSearchHypernym(context.Context, *DeleteSearchHypernymRequest) (*emptypb.Empty, error)
func (*UnimplementedWarehouseServer) DeployIndex
func (*UnimplementedWarehouseServer) DeployIndex(context.Context, *DeployIndexRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) GenerateHlsUri
func (*UnimplementedWarehouseServer) GenerateHlsUri(context.Context, *GenerateHlsUriRequest) (*GenerateHlsUriResponse, error)
func (*UnimplementedWarehouseServer) GenerateRetrievalUrl
func (*UnimplementedWarehouseServer) GenerateRetrievalUrl(context.Context, *GenerateRetrievalUrlRequest) (*GenerateRetrievalUrlResponse, error)
func (*UnimplementedWarehouseServer) GetAnnotation
func (*UnimplementedWarehouseServer) GetAnnotation(context.Context, *GetAnnotationRequest) (*Annotation, error)
func (*UnimplementedWarehouseServer) GetAsset
func (*UnimplementedWarehouseServer) GetAsset(context.Context, *GetAssetRequest) (*Asset, error)
func (*UnimplementedWarehouseServer) GetCollection
func (*UnimplementedWarehouseServer) GetCollection(context.Context, *GetCollectionRequest) (*Collection, error)
func (*UnimplementedWarehouseServer) GetCorpus
func (*UnimplementedWarehouseServer) GetCorpus(context.Context, *GetCorpusRequest) (*Corpus, error)
func (*UnimplementedWarehouseServer) GetDataSchema
func (*UnimplementedWarehouseServer) GetDataSchema(context.Context, *GetDataSchemaRequest) (*DataSchema, error)
func (*UnimplementedWarehouseServer) GetIndex
func (*UnimplementedWarehouseServer) GetIndex(context.Context, *GetIndexRequest) (*Index, error)
func (*UnimplementedWarehouseServer) GetIndexEndpoint
func (*UnimplementedWarehouseServer) GetIndexEndpoint(context.Context, *GetIndexEndpointRequest) (*IndexEndpoint, error)
func (*UnimplementedWarehouseServer) GetSearchConfig
func (*UnimplementedWarehouseServer) GetSearchConfig(context.Context, *GetSearchConfigRequest) (*SearchConfig, error)
func (*UnimplementedWarehouseServer) GetSearchHypernym
func (*UnimplementedWarehouseServer) GetSearchHypernym(context.Context, *GetSearchHypernymRequest) (*SearchHypernym, error)
func (*UnimplementedWarehouseServer) ImportAssets
func (*UnimplementedWarehouseServer) ImportAssets(context.Context, *ImportAssetsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) IndexAsset
func (*UnimplementedWarehouseServer) IndexAsset(context.Context, *IndexAssetRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) IngestAsset
func (*UnimplementedWarehouseServer) IngestAsset(Warehouse_IngestAssetServer) error
func (*UnimplementedWarehouseServer) ListAnnotations
func (*UnimplementedWarehouseServer) ListAnnotations(context.Context, *ListAnnotationsRequest) (*ListAnnotationsResponse, error)
func (*UnimplementedWarehouseServer) ListAssets
func (*UnimplementedWarehouseServer) ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error)
func (*UnimplementedWarehouseServer) ListCollections
func (*UnimplementedWarehouseServer) ListCollections(context.Context, *ListCollectionsRequest) (*ListCollectionsResponse, error)
func (*UnimplementedWarehouseServer) ListCorpora
func (*UnimplementedWarehouseServer) ListCorpora(context.Context, *ListCorporaRequest) (*ListCorporaResponse, error)
func (*UnimplementedWarehouseServer) ListDataSchemas
func (*UnimplementedWarehouseServer) ListDataSchemas(context.Context, *ListDataSchemasRequest) (*ListDataSchemasResponse, error)
func (*UnimplementedWarehouseServer) ListIndexEndpoints
func (*UnimplementedWarehouseServer) ListIndexEndpoints(context.Context, *ListIndexEndpointsRequest) (*ListIndexEndpointsResponse, error)
func (*UnimplementedWarehouseServer) ListIndexes
func (*UnimplementedWarehouseServer) ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error)
func (*UnimplementedWarehouseServer) ListSearchConfigs
func (*UnimplementedWarehouseServer) ListSearchConfigs(context.Context, *ListSearchConfigsRequest) (*ListSearchConfigsResponse, error)
func (*UnimplementedWarehouseServer) ListSearchHypernyms
func (*UnimplementedWarehouseServer) ListSearchHypernyms(context.Context, *ListSearchHypernymsRequest) (*ListSearchHypernymsResponse, error)
func (*UnimplementedWarehouseServer) RemoveCollectionItem
func (*UnimplementedWarehouseServer) RemoveCollectionItem(context.Context, *RemoveCollectionItemRequest) (*RemoveCollectionItemResponse, error)
func (*UnimplementedWarehouseServer) RemoveIndexAsset
func (*UnimplementedWarehouseServer) RemoveIndexAsset(context.Context, *RemoveIndexAssetRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) SearchAssets
func (*UnimplementedWarehouseServer) SearchAssets(context.Context, *SearchAssetsRequest) (*SearchAssetsResponse, error)
func (*UnimplementedWarehouseServer) SearchIndexEndpoint
func (*UnimplementedWarehouseServer) SearchIndexEndpoint(context.Context, *SearchIndexEndpointRequest) (*SearchIndexEndpointResponse, error)
func (*UnimplementedWarehouseServer) UndeployIndex
func (*UnimplementedWarehouseServer) UndeployIndex(context.Context, *UndeployIndexRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) UpdateAnnotation
func (*UnimplementedWarehouseServer) UpdateAnnotation(context.Context, *UpdateAnnotationRequest) (*Annotation, error)
func (*UnimplementedWarehouseServer) UpdateAsset
func (*UnimplementedWarehouseServer) UpdateAsset(context.Context, *UpdateAssetRequest) (*Asset, error)
func (*UnimplementedWarehouseServer) UpdateCollection
func (*UnimplementedWarehouseServer) UpdateCollection(context.Context, *UpdateCollectionRequest) (*Collection, error)
func (*UnimplementedWarehouseServer) UpdateCorpus
func (*UnimplementedWarehouseServer) UpdateCorpus(context.Context, *UpdateCorpusRequest) (*Corpus, error)
func (*UnimplementedWarehouseServer) UpdateDataSchema
func (*UnimplementedWarehouseServer) UpdateDataSchema(context.Context, *UpdateDataSchemaRequest) (*DataSchema, error)
func (*UnimplementedWarehouseServer) UpdateIndex
func (*UnimplementedWarehouseServer) UpdateIndex(context.Context, *UpdateIndexRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) UpdateIndexEndpoint
func (*UnimplementedWarehouseServer) UpdateIndexEndpoint(context.Context, *UpdateIndexEndpointRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) UpdateSearchConfig
func (*UnimplementedWarehouseServer) UpdateSearchConfig(context.Context, *UpdateSearchConfigRequest) (*SearchConfig, error)
func (*UnimplementedWarehouseServer) UpdateSearchHypernym
func (*UnimplementedWarehouseServer) UpdateSearchHypernym(context.Context, *UpdateSearchHypernymRequest) (*SearchHypernym, error)
func (*UnimplementedWarehouseServer) UploadAsset
func (*UnimplementedWarehouseServer) UploadAsset(context.Context, *UploadAssetRequest) (*longrunningpb.Operation, error)
func (*UnimplementedWarehouseServer) ViewCollectionItems
func (*UnimplementedWarehouseServer) ViewCollectionItems(context.Context, *ViewCollectionItemsRequest) (*ViewCollectionItemsResponse, error)
func (*UnimplementedWarehouseServer) ViewIndexedAssets
func (*UnimplementedWarehouseServer) ViewIndexedAssets(context.Context, *ViewIndexedAssetsRequest) (*ViewIndexedAssetsResponse, error)
UniversalInputConfig
type UniversalInputConfig struct {
// contains filtered or unexported fields
}
Message describing UniversalInputConfig.
func (*UniversalInputConfig) Descriptor
func (*UniversalInputConfig) Descriptor() ([]byte, []int)
Deprecated: Use UniversalInputConfig.ProtoReflect.Descriptor instead.
func (*UniversalInputConfig) ProtoMessage
func (*UniversalInputConfig) ProtoMessage()
func (*UniversalInputConfig) ProtoReflect
func (x *UniversalInputConfig) ProtoReflect() protoreflect.Message
func (*UniversalInputConfig) Reset
func (x *UniversalInputConfig) Reset()
func (*UniversalInputConfig) String
func (x *UniversalInputConfig) String() string
UpdateAnalysisRequest
type UpdateAnalysisRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Analysis resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated.
Analysis *Analysis `protobuf:"bytes,2,opt,name=analysis,proto3" json:"analysis,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for updating an Analysis.
func (*UpdateAnalysisRequest) Descriptor
func (*UpdateAnalysisRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAnalysisRequest.ProtoReflect.Descriptor instead.
func (*UpdateAnalysisRequest) GetAnalysis
func (x *UpdateAnalysisRequest) GetAnalysis() *Analysis
func (*UpdateAnalysisRequest) GetRequestId
func (x *UpdateAnalysisRequest) GetRequestId() string
func (*UpdateAnalysisRequest) GetUpdateMask
func (x *UpdateAnalysisRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAnalysisRequest) ProtoMessage
func (*UpdateAnalysisRequest) ProtoMessage()
func (*UpdateAnalysisRequest) ProtoReflect
func (x *UpdateAnalysisRequest) ProtoReflect() protoreflect.Message
func (*UpdateAnalysisRequest) Reset
func (x *UpdateAnalysisRequest) Reset()
func (*UpdateAnalysisRequest) String
func (x *UpdateAnalysisRequest) String() string
UpdateAnnotationRequest
type UpdateAnnotationRequest struct {
// Required. The annotation to update.
// The annotation's `name` field is used to identify the annotation to be
// updated. Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}`
Annotation *Annotation `protobuf:"bytes,1,opt,name=annotation,proto3" json:"annotation,omitempty"`
// The list of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for UpdateAnnotation API.
func (*UpdateAnnotationRequest) Descriptor
func (*UpdateAnnotationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAnnotationRequest.ProtoReflect.Descriptor instead.
func (*UpdateAnnotationRequest) GetAnnotation
func (x *UpdateAnnotationRequest) GetAnnotation() *Annotation
func (*UpdateAnnotationRequest) GetUpdateMask
func (x *UpdateAnnotationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAnnotationRequest) ProtoMessage
func (*UpdateAnnotationRequest) ProtoMessage()
func (*UpdateAnnotationRequest) ProtoReflect
func (x *UpdateAnnotationRequest) ProtoReflect() protoreflect.Message
func (*UpdateAnnotationRequest) Reset
func (x *UpdateAnnotationRequest) Reset()
func (*UpdateAnnotationRequest) String
func (x *UpdateAnnotationRequest) String() string
UpdateApplicationInstancesRequest
type UpdateApplicationInstancesRequest struct {
// Required. the name of the application to retrieve.
// Format:
// "projects/{project}/locations/{location}/applications/{application}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
ApplicationInstances []*UpdateApplicationInstancesRequest_UpdateApplicationInstance `protobuf:"bytes,2,rep,name=application_instances,json=applicationInstances,proto3" json:"application_instances,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// If true, Update Request will create one resource if the target resource
// doesn't exist, this time, the field_mask will be ignored.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// contains filtered or unexported fields
}
Message for updating an ApplicationInstance.
func (*UpdateApplicationInstancesRequest) Descriptor
func (*UpdateApplicationInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApplicationInstancesRequest.ProtoReflect.Descriptor instead.
func (*UpdateApplicationInstancesRequest) GetAllowMissing
func (x *UpdateApplicationInstancesRequest) GetAllowMissing() bool
func (*UpdateApplicationInstancesRequest) GetApplicationInstances
func (x *UpdateApplicationInstancesRequest) GetApplicationInstances() []*UpdateApplicationInstancesRequest_UpdateApplicationInstance
func (*UpdateApplicationInstancesRequest) GetName
func (x *UpdateApplicationInstancesRequest) GetName() string
func (*UpdateApplicationInstancesRequest) GetRequestId
func (x *UpdateApplicationInstancesRequest) GetRequestId() string
func (*UpdateApplicationInstancesRequest) ProtoMessage
func (*UpdateApplicationInstancesRequest) ProtoMessage()
func (*UpdateApplicationInstancesRequest) ProtoReflect
func (x *UpdateApplicationInstancesRequest) ProtoReflect() protoreflect.Message
func (*UpdateApplicationInstancesRequest) Reset
func (x *UpdateApplicationInstancesRequest) Reset()
func (*UpdateApplicationInstancesRequest) String
func (x *UpdateApplicationInstancesRequest) String() string
UpdateApplicationInstancesRequest_UpdateApplicationInstance
type UpdateApplicationInstancesRequest_UpdateApplicationInstance struct {
// Optional. Field mask is used to specify the fields to be overwritten in
// the Draft resource by the update. The fields specified in the update_mask
// are relative to the resource, not the full request. A field will be
// overwritten if it is in the mask. If the user does not provide a mask
// then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated.
Instance *Instance `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
// Required. The id of the instance.
InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateApplicationInstancesRequest_UpdateApplicationInstance) Descriptor
func (*UpdateApplicationInstancesRequest_UpdateApplicationInstance) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApplicationInstancesRequest_UpdateApplicationInstance.ProtoReflect.Descriptor instead.
func (*UpdateApplicationInstancesRequest_UpdateApplicationInstance) GetInstance
func (x *UpdateApplicationInstancesRequest_UpdateApplicationInstance) GetInstance() *Instance
func (*UpdateApplicationInstancesRequest_UpdateApplicationInstance) GetInstanceId
func (x *UpdateApplicationInstancesRequest_UpdateApplicationInstance) GetInstanceId() string
func (*UpdateApplicationInstancesRequest_UpdateApplicationInstance) GetUpdateMask
func (x *UpdateApplicationInstancesRequest_UpdateApplicationInstance) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateApplicationInstancesRequest_UpdateApplicationInstance) ProtoMessage
func (*UpdateApplicationInstancesRequest_UpdateApplicationInstance) ProtoMessage()
func (*UpdateApplicationInstancesRequest_UpdateApplicationInstance) ProtoReflect
func (x *UpdateApplicationInstancesRequest_UpdateApplicationInstance) ProtoReflect() protoreflect.Message
func (*UpdateApplicationInstancesRequest_UpdateApplicationInstance) Reset
func (x *UpdateApplicationInstancesRequest_UpdateApplicationInstance) Reset()
func (*UpdateApplicationInstancesRequest_UpdateApplicationInstance) String
func (x *UpdateApplicationInstancesRequest_UpdateApplicationInstance) String() string
UpdateApplicationInstancesResponse
type UpdateApplicationInstancesResponse struct {
// contains filtered or unexported fields
}
Message for UpdateApplicationInstances Response.
func (*UpdateApplicationInstancesResponse) Descriptor
func (*UpdateApplicationInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApplicationInstancesResponse.ProtoReflect.Descriptor instead.
func (*UpdateApplicationInstancesResponse) ProtoMessage
func (*UpdateApplicationInstancesResponse) ProtoMessage()
func (*UpdateApplicationInstancesResponse) ProtoReflect
func (x *UpdateApplicationInstancesResponse) ProtoReflect() protoreflect.Message
func (*UpdateApplicationInstancesResponse) Reset
func (x *UpdateApplicationInstancesResponse) Reset()
func (*UpdateApplicationInstancesResponse) String
func (x *UpdateApplicationInstancesResponse) String() string
UpdateApplicationRequest
type UpdateApplicationRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// Application resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated.
Application *Application `protobuf:"bytes,2,opt,name=application,proto3" json:"application,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for updating an Application.
func (*UpdateApplicationRequest) Descriptor
func (*UpdateApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApplicationRequest.ProtoReflect.Descriptor instead.
func (*UpdateApplicationRequest) GetApplication
func (x *UpdateApplicationRequest) GetApplication() *Application
func (*UpdateApplicationRequest) GetRequestId
func (x *UpdateApplicationRequest) GetRequestId() string
func (*UpdateApplicationRequest) GetUpdateMask
func (x *UpdateApplicationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateApplicationRequest) ProtoMessage
func (*UpdateApplicationRequest) ProtoMessage()
func (*UpdateApplicationRequest) ProtoReflect
func (x *UpdateApplicationRequest) ProtoReflect() protoreflect.Message
func (*UpdateApplicationRequest) Reset
func (x *UpdateApplicationRequest) Reset()
func (*UpdateApplicationRequest) String
func (x *UpdateApplicationRequest) String() string
UpdateApplicationStreamInputRequest
type UpdateApplicationStreamInputRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
ApplicationStreamInputs []*ApplicationStreamInput "" /* 132 byte string literal not displayed */
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
}
Message for updating stream input to an Application.
func (*UpdateApplicationStreamInputRequest) Descriptor
func (*UpdateApplicationStreamInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApplicationStreamInputRequest.ProtoReflect.Descriptor instead.
func (*UpdateApplicationStreamInputRequest) GetAllowMissing
func (x *UpdateApplicationStreamInputRequest) GetAllowMissing() bool
func (*UpdateApplicationStreamInputRequest) GetApplicationStreamInputs
func (x *UpdateApplicationStreamInputRequest) GetApplicationStreamInputs() []*ApplicationStreamInput
func (*UpdateApplicationStreamInputRequest) GetName
func (x *UpdateApplicationStreamInputRequest) GetName() string
func (*UpdateApplicationStreamInputRequest) GetRequestId
func (x *UpdateApplicationStreamInputRequest) GetRequestId() string
func (*UpdateApplicationStreamInputRequest) ProtoMessage
func (*UpdateApplicationStreamInputRequest) ProtoMessage()
func (*UpdateApplicationStreamInputRequest) ProtoReflect
func (x *UpdateApplicationStreamInputRequest) ProtoReflect() protoreflect.Message
func (*UpdateApplicationStreamInputRequest) Reset
func (x *UpdateApplicationStreamInputRequest) Reset()
func (*UpdateApplicationStreamInputRequest) String
func (x *UpdateApplicationStreamInputRequest) String() string
UpdateApplicationStreamInputResponse
type UpdateApplicationStreamInputResponse struct {
// contains filtered or unexported fields
}
Message for AddApplicationStreamInput Response.
func (*UpdateApplicationStreamInputResponse) Descriptor
func (*UpdateApplicationStreamInputResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApplicationStreamInputResponse.ProtoReflect.Descriptor instead.
func (*UpdateApplicationStreamInputResponse) ProtoMessage
func (*UpdateApplicationStreamInputResponse) ProtoMessage()
func (*UpdateApplicationStreamInputResponse) ProtoReflect
func (x *UpdateApplicationStreamInputResponse) ProtoReflect() protoreflect.Message
func (*UpdateApplicationStreamInputResponse) Reset
func (x *UpdateApplicationStreamInputResponse) Reset()
func (*UpdateApplicationStreamInputResponse) String
func (x *UpdateApplicationStreamInputResponse) String() string
UpdateAssetRequest
type UpdateAssetRequest struct {
// Required. The asset to update.
//
// The asset's `name` field is used to identify the asset to be updated.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}`
Asset *Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
// The list of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for UpdateAsset.
func (*UpdateAssetRequest) Descriptor
func (*UpdateAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAssetRequest.ProtoReflect.Descriptor instead.
func (*UpdateAssetRequest) GetAsset
func (x *UpdateAssetRequest) GetAsset() *Asset
func (*UpdateAssetRequest) GetUpdateMask
func (x *UpdateAssetRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAssetRequest) ProtoMessage
func (*UpdateAssetRequest) ProtoMessage()
func (*UpdateAssetRequest) ProtoReflect
func (x *UpdateAssetRequest) ProtoReflect() protoreflect.Message
func (*UpdateAssetRequest) Reset
func (x *UpdateAssetRequest) Reset()
func (*UpdateAssetRequest) String
func (x *UpdateAssetRequest) String() string
UpdateClusterRequest
type UpdateClusterRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Cluster resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated
Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for updating a Cluster.
func (*UpdateClusterRequest) Descriptor
func (*UpdateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.
func (*UpdateClusterRequest) GetCluster
func (x *UpdateClusterRequest) GetCluster() *Cluster
func (*UpdateClusterRequest) GetRequestId
func (x *UpdateClusterRequest) GetRequestId() string
func (*UpdateClusterRequest) GetUpdateMask
func (x *UpdateClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateClusterRequest) ProtoMessage
func (*UpdateClusterRequest) ProtoMessage()
func (*UpdateClusterRequest) ProtoReflect
func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message
func (*UpdateClusterRequest) Reset
func (x *UpdateClusterRequest) Reset()
func (*UpdateClusterRequest) String
func (x *UpdateClusterRequest) String() string
UpdateCollectionRequest
type UpdateCollectionRequest struct {
// Required. The collection to update.
//
// The collection's `name` field is used to identify the collection to be
// updated. Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`
Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
// The list of fields to be updated.
// - Unset `update_mask` or set `update_mask` to be a single "*" only will
// update all updatable fields with the value provided in `collection`.
// - To update `display_name` value to empty string, set it in the
//
// `collection`
//
// to empty string, and set `update_mask` with "display_name". Same applies
// to other updatable string fields in the `collection`.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for UpdateCollectionRequest.
func (*UpdateCollectionRequest) Descriptor
func (*UpdateCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCollectionRequest.ProtoReflect.Descriptor instead.
func (*UpdateCollectionRequest) GetCollection
func (x *UpdateCollectionRequest) GetCollection() *Collection
func (*UpdateCollectionRequest) GetUpdateMask
func (x *UpdateCollectionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateCollectionRequest) ProtoMessage
func (*UpdateCollectionRequest) ProtoMessage()
func (*UpdateCollectionRequest) ProtoReflect
func (x *UpdateCollectionRequest) ProtoReflect() protoreflect.Message
func (*UpdateCollectionRequest) Reset
func (x *UpdateCollectionRequest) Reset()
func (*UpdateCollectionRequest) String
func (x *UpdateCollectionRequest) String() string
UpdateCorpusRequest
type UpdateCorpusRequest struct {
// Required. The corpus which replaces the resource on the server.
Corpus *Corpus `protobuf:"bytes,1,opt,name=corpus,proto3" json:"corpus,omitempty"`
// The list of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for UpdateCorpus.
func (*UpdateCorpusRequest) Descriptor
func (*UpdateCorpusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCorpusRequest.ProtoReflect.Descriptor instead.
func (*UpdateCorpusRequest) GetCorpus
func (x *UpdateCorpusRequest) GetCorpus() *Corpus
func (*UpdateCorpusRequest) GetUpdateMask
func (x *UpdateCorpusRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateCorpusRequest) ProtoMessage
func (*UpdateCorpusRequest) ProtoMessage()
func (*UpdateCorpusRequest) ProtoReflect
func (x *UpdateCorpusRequest) ProtoReflect() protoreflect.Message
func (*UpdateCorpusRequest) Reset
func (x *UpdateCorpusRequest) Reset()
func (*UpdateCorpusRequest) String
func (x *UpdateCorpusRequest) String() string
UpdateDataSchemaRequest
type UpdateDataSchemaRequest struct {
// Required. The data schema's `name` field is used to identify the data
// schema to be updated. Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}`
DataSchema *DataSchema `protobuf:"bytes,1,opt,name=data_schema,json=dataSchema,proto3" json:"data_schema,omitempty"`
// The list of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for UpdateDataSchema.
func (*UpdateDataSchemaRequest) Descriptor
func (*UpdateDataSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDataSchemaRequest.ProtoReflect.Descriptor instead.
func (*UpdateDataSchemaRequest) GetDataSchema
func (x *UpdateDataSchemaRequest) GetDataSchema() *DataSchema
func (*UpdateDataSchemaRequest) GetUpdateMask
func (x *UpdateDataSchemaRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDataSchemaRequest) ProtoMessage
func (*UpdateDataSchemaRequest) ProtoMessage()
func (*UpdateDataSchemaRequest) ProtoReflect
func (x *UpdateDataSchemaRequest) ProtoReflect() protoreflect.Message
func (*UpdateDataSchemaRequest) Reset
func (x *UpdateDataSchemaRequest) Reset()
func (*UpdateDataSchemaRequest) String
func (x *UpdateDataSchemaRequest) String() string
UpdateDraftRequest
type UpdateDraftRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// Draft resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated.
Draft *Draft `protobuf:"bytes,2,opt,name=draft,proto3" json:"draft,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// If true, UpdateDraftRequest will create one resource if the target resource
// doesn't exist, this time, the field_mask will be ignored.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// contains filtered or unexported fields
}
Message for updating a Draft.
func (*UpdateDraftRequest) Descriptor
func (*UpdateDraftRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDraftRequest.ProtoReflect.Descriptor instead.
func (*UpdateDraftRequest) GetAllowMissing
func (x *UpdateDraftRequest) GetAllowMissing() bool
func (*UpdateDraftRequest) GetDraft
func (x *UpdateDraftRequest) GetDraft() *Draft
func (*UpdateDraftRequest) GetRequestId
func (x *UpdateDraftRequest) GetRequestId() string
func (*UpdateDraftRequest) GetUpdateMask
func (x *UpdateDraftRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDraftRequest) ProtoMessage
func (*UpdateDraftRequest) ProtoMessage()
func (*UpdateDraftRequest) ProtoReflect
func (x *UpdateDraftRequest) ProtoReflect() protoreflect.Message
func (*UpdateDraftRequest) Reset
func (x *UpdateDraftRequest) Reset()
func (*UpdateDraftRequest) String
func (x *UpdateDraftRequest) String() string
UpdateEventRequest
type UpdateEventRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Event resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated.
Event *Event `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for updating a Event.
func (*UpdateEventRequest) Descriptor
func (*UpdateEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEventRequest.ProtoReflect.Descriptor instead.
func (*UpdateEventRequest) GetEvent
func (x *UpdateEventRequest) GetEvent() *Event
func (*UpdateEventRequest) GetRequestId
func (x *UpdateEventRequest) GetRequestId() string
func (*UpdateEventRequest) GetUpdateMask
func (x *UpdateEventRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateEventRequest) ProtoMessage
func (*UpdateEventRequest) ProtoMessage()
func (*UpdateEventRequest) ProtoReflect
func (x *UpdateEventRequest) ProtoReflect() protoreflect.Message
func (*UpdateEventRequest) Reset
func (x *UpdateEventRequest) Reset()
func (*UpdateEventRequest) String
func (x *UpdateEventRequest) String() string
UpdateIndexEndpointMetadata
type UpdateIndexEndpointMetadata struct {
// Common metadata of the long-running operation.
OperationMetadata *OperationMetadata `protobuf:"bytes,1,opt,name=operation_metadata,json=operationMetadata,proto3" json:"operation_metadata,omitempty"`
// contains filtered or unexported fields
}
Metadata message for UpdateIndexEndpoint.
func (*UpdateIndexEndpointMetadata) Descriptor
func (*UpdateIndexEndpointMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIndexEndpointMetadata.ProtoReflect.Descriptor instead.
func (*UpdateIndexEndpointMetadata) GetOperationMetadata
func (x *UpdateIndexEndpointMetadata) GetOperationMetadata() *OperationMetadata
func (*UpdateIndexEndpointMetadata) ProtoMessage
func (*UpdateIndexEndpointMetadata) ProtoMessage()
func (*UpdateIndexEndpointMetadata) ProtoReflect
func (x *UpdateIndexEndpointMetadata) ProtoReflect() protoreflect.Message
func (*UpdateIndexEndpointMetadata) Reset
func (x *UpdateIndexEndpointMetadata) Reset()
func (*UpdateIndexEndpointMetadata) String
func (x *UpdateIndexEndpointMetadata) String() string
UpdateIndexEndpointRequest
type UpdateIndexEndpointRequest struct {
// Required. The resource being updated.
IndexEndpoint *IndexEndpoint `protobuf:"bytes,1,opt,name=index_endpoint,json=indexEndpoint,proto3" json:"index_endpoint,omitempty"`
// Required. Field mask is used to specify the fields to be overwritten in the
// IndexEndpoint resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request.
// A field of the resource will be overwritten if it is in the mask.
// Empty field mask is not allowed.
// If the mask is "*", then this is a full replacement of the resource.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for UpdateIndexEndpoint.
func (*UpdateIndexEndpointRequest) Descriptor
func (*UpdateIndexEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIndexEndpointRequest.ProtoReflect.Descriptor instead.
func (*UpdateIndexEndpointRequest) GetIndexEndpoint
func (x *UpdateIndexEndpointRequest) GetIndexEndpoint() *IndexEndpoint
func (*UpdateIndexEndpointRequest) GetUpdateMask
func (x *UpdateIndexEndpointRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateIndexEndpointRequest) ProtoMessage
func (*UpdateIndexEndpointRequest) ProtoMessage()
func (*UpdateIndexEndpointRequest) ProtoReflect
func (x *UpdateIndexEndpointRequest) ProtoReflect() protoreflect.Message
func (*UpdateIndexEndpointRequest) Reset
func (x *UpdateIndexEndpointRequest) Reset()
func (*UpdateIndexEndpointRequest) String
func (x *UpdateIndexEndpointRequest) String() string
UpdateIndexMetadata
type UpdateIndexMetadata struct {
// Common metadata of the long-running operation.
OperationMetadata *OperationMetadata `protobuf:"bytes,1,opt,name=operation_metadata,json=operationMetadata,proto3" json:"operation_metadata,omitempty"`
// contains filtered or unexported fields
}
Metadata message for UpdateIndexRequest
func (*UpdateIndexMetadata) Descriptor
func (*UpdateIndexMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIndexMetadata.ProtoReflect.Descriptor instead.
func (*UpdateIndexMetadata) GetOperationMetadata
func (x *UpdateIndexMetadata) GetOperationMetadata() *OperationMetadata
func (*UpdateIndexMetadata) ProtoMessage
func (*UpdateIndexMetadata) ProtoMessage()
func (*UpdateIndexMetadata) ProtoReflect
func (x *UpdateIndexMetadata) ProtoReflect() protoreflect.Message
func (*UpdateIndexMetadata) Reset
func (x *UpdateIndexMetadata) Reset()
func (*UpdateIndexMetadata) String
func (x *UpdateIndexMetadata) String() string
UpdateIndexRequest
type UpdateIndexRequest struct {
// Required. The resource being updated.
Index *Index `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
// Required. Field mask is used to specify the fields to be overwritten in the
// Index resource by the update. The fields specified in the update_mask are
// relative to the resource, not the full request. A field of the resource
// will be overwritten if it is in the mask. Empty field mask is not allowed.
// If the mask is "*", it triggers a full update of the index, and also a
// whole rebuild of index data.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for UpdateIndex.
func (*UpdateIndexRequest) Descriptor
func (*UpdateIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIndexRequest.ProtoReflect.Descriptor instead.
func (*UpdateIndexRequest) GetIndex
func (x *UpdateIndexRequest) GetIndex() *Index
func (*UpdateIndexRequest) GetUpdateMask
func (x *UpdateIndexRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateIndexRequest) ProtoMessage
func (*UpdateIndexRequest) ProtoMessage()
func (*UpdateIndexRequest) ProtoReflect
func (x *UpdateIndexRequest) ProtoReflect() protoreflect.Message
func (*UpdateIndexRequest) Reset
func (x *UpdateIndexRequest) Reset()
func (*UpdateIndexRequest) String
func (x *UpdateIndexRequest) String() string
UpdateOperatorRequest
type UpdateOperatorRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Operator resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated
Operator *Operator `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for updating a Operator.
func (*UpdateOperatorRequest) Descriptor
func (*UpdateOperatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOperatorRequest.ProtoReflect.Descriptor instead.
func (*UpdateOperatorRequest) GetOperator
func (x *UpdateOperatorRequest) GetOperator() *Operator
func (*UpdateOperatorRequest) GetRequestId
func (x *UpdateOperatorRequest) GetRequestId() string
func (*UpdateOperatorRequest) GetUpdateMask
func (x *UpdateOperatorRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateOperatorRequest) ProtoMessage
func (*UpdateOperatorRequest) ProtoMessage()
func (*UpdateOperatorRequest) ProtoReflect
func (x *UpdateOperatorRequest) ProtoReflect() protoreflect.Message
func (*UpdateOperatorRequest) Reset
func (x *UpdateOperatorRequest) Reset()
func (*UpdateOperatorRequest) String
func (x *UpdateOperatorRequest) String() string
UpdateProcessRequest
type UpdateProcessRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Process resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated.
Process *Process `protobuf:"bytes,2,opt,name=process,proto3" json:"process,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for updating a Process.
func (*UpdateProcessRequest) Descriptor
func (*UpdateProcessRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProcessRequest.ProtoReflect.Descriptor instead.
func (*UpdateProcessRequest) GetProcess
func (x *UpdateProcessRequest) GetProcess() *Process
func (*UpdateProcessRequest) GetRequestId
func (x *UpdateProcessRequest) GetRequestId() string
func (*UpdateProcessRequest) GetUpdateMask
func (x *UpdateProcessRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateProcessRequest) ProtoMessage
func (*UpdateProcessRequest) ProtoMessage()
func (*UpdateProcessRequest) ProtoReflect
func (x *UpdateProcessRequest) ProtoReflect() protoreflect.Message
func (*UpdateProcessRequest) Reset
func (x *UpdateProcessRequest) Reset()
func (*UpdateProcessRequest) String
func (x *UpdateProcessRequest) String() string
UpdateProcessorRequest
type UpdateProcessorRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// Processor resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated.
Processor *Processor `protobuf:"bytes,2,opt,name=processor,proto3" json:"processor,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for updating a Processor.
func (*UpdateProcessorRequest) Descriptor
func (*UpdateProcessorRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProcessorRequest.ProtoReflect.Descriptor instead.
func (*UpdateProcessorRequest) GetProcessor
func (x *UpdateProcessorRequest) GetProcessor() *Processor
func (*UpdateProcessorRequest) GetRequestId
func (x *UpdateProcessorRequest) GetRequestId() string
func (*UpdateProcessorRequest) GetUpdateMask
func (x *UpdateProcessorRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateProcessorRequest) ProtoMessage
func (*UpdateProcessorRequest) ProtoMessage()
func (*UpdateProcessorRequest) ProtoReflect
func (x *UpdateProcessorRequest) ProtoReflect() protoreflect.Message
func (*UpdateProcessorRequest) Reset
func (x *UpdateProcessorRequest) Reset()
func (*UpdateProcessorRequest) String
func (x *UpdateProcessorRequest) String() string
UpdateSearchConfigRequest
type UpdateSearchConfigRequest struct {
// Required. The search configuration to update.
//
// The search configuration's `name` field is used to identify the resource to
// be updated. Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}`
SearchConfig *SearchConfig `protobuf:"bytes,1,opt,name=search_config,json=searchConfig,proto3" json:"search_config,omitempty"`
// The list of fields to be updated. If left unset, all field paths will be
// updated/overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for UpdateSearchConfig.
func (*UpdateSearchConfigRequest) Descriptor
func (*UpdateSearchConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSearchConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateSearchConfigRequest) GetSearchConfig
func (x *UpdateSearchConfigRequest) GetSearchConfig() *SearchConfig
func (*UpdateSearchConfigRequest) GetUpdateMask
func (x *UpdateSearchConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSearchConfigRequest) ProtoMessage
func (*UpdateSearchConfigRequest) ProtoMessage()
func (*UpdateSearchConfigRequest) ProtoReflect
func (x *UpdateSearchConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateSearchConfigRequest) Reset
func (x *UpdateSearchConfigRequest) Reset()
func (*UpdateSearchConfigRequest) String
func (x *UpdateSearchConfigRequest) String() string
UpdateSearchHypernymRequest
type UpdateSearchHypernymRequest struct {
// Required. The SearchHypernym to update.
// The search hypernym's `name` field is used to identify the search hypernym
// to be updated. Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}`
SearchHypernym *SearchHypernym `protobuf:"bytes,1,opt,name=search_hypernym,json=searchHypernym,proto3" json:"search_hypernym,omitempty"`
// The list of fields to be updated. If left unset, all field paths will be
// updated/overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for updating SearchHypernym.
func (*UpdateSearchHypernymRequest) Descriptor
func (*UpdateSearchHypernymRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSearchHypernymRequest.ProtoReflect.Descriptor instead.
func (*UpdateSearchHypernymRequest) GetSearchHypernym
func (x *UpdateSearchHypernymRequest) GetSearchHypernym() *SearchHypernym
func (*UpdateSearchHypernymRequest) GetUpdateMask
func (x *UpdateSearchHypernymRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSearchHypernymRequest) ProtoMessage
func (*UpdateSearchHypernymRequest) ProtoMessage()
func (*UpdateSearchHypernymRequest) ProtoReflect
func (x *UpdateSearchHypernymRequest) ProtoReflect() protoreflect.Message
func (*UpdateSearchHypernymRequest) Reset
func (x *UpdateSearchHypernymRequest) Reset()
func (*UpdateSearchHypernymRequest) String
func (x *UpdateSearchHypernymRequest) String() string
UpdateSeriesRequest
type UpdateSeriesRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Series resource by the update. The fields specified in the update_mask are
// relative to the resource, not the full request. A field will be overwritten
// if it is in the mask. If the user does not provide a mask then all fields
// will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated
Series *Series `protobuf:"bytes,2,opt,name=series,proto3" json:"series,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for updating a Series.
func (*UpdateSeriesRequest) Descriptor
func (*UpdateSeriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSeriesRequest.ProtoReflect.Descriptor instead.
func (*UpdateSeriesRequest) GetRequestId
func (x *UpdateSeriesRequest) GetRequestId() string
func (*UpdateSeriesRequest) GetSeries
func (x *UpdateSeriesRequest) GetSeries() *Series
func (*UpdateSeriesRequest) GetUpdateMask
func (x *UpdateSeriesRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSeriesRequest) ProtoMessage
func (*UpdateSeriesRequest) ProtoMessage()
func (*UpdateSeriesRequest) ProtoReflect
func (x *UpdateSeriesRequest) ProtoReflect() protoreflect.Message
func (*UpdateSeriesRequest) Reset
func (x *UpdateSeriesRequest) Reset()
func (*UpdateSeriesRequest) String
func (x *UpdateSeriesRequest) String() string
UpdateStreamRequest
type UpdateStreamRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Stream resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated.
Stream *Stream `protobuf:"bytes,2,opt,name=stream,proto3" json:"stream,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for updating a Stream.
func (*UpdateStreamRequest) Descriptor
func (*UpdateStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStreamRequest.ProtoReflect.Descriptor instead.
func (*UpdateStreamRequest) GetRequestId
func (x *UpdateStreamRequest) GetRequestId() string
func (*UpdateStreamRequest) GetStream
func (x *UpdateStreamRequest) GetStream() *Stream
func (*UpdateStreamRequest) GetUpdateMask
func (x *UpdateStreamRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateStreamRequest) ProtoMessage
func (*UpdateStreamRequest) ProtoMessage()
func (*UpdateStreamRequest) ProtoReflect
func (x *UpdateStreamRequest) ProtoReflect() protoreflect.Message
func (*UpdateStreamRequest) Reset
func (x *UpdateStreamRequest) Reset()
func (*UpdateStreamRequest) String
func (x *UpdateStreamRequest) String() string
UploadAssetMetadata
type UploadAssetMetadata struct {
// The start time of the operation.
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The update time of the operation.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}
Metadata for UploadAsset.
func (*UploadAssetMetadata) Descriptor
func (*UploadAssetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UploadAssetMetadata.ProtoReflect.Descriptor instead.
func (*UploadAssetMetadata) GetStartTime
func (x *UploadAssetMetadata) GetStartTime() *timestamppb.Timestamp
func (*UploadAssetMetadata) GetUpdateTime
func (x *UploadAssetMetadata) GetUpdateTime() *timestamppb.Timestamp
func (*UploadAssetMetadata) ProtoMessage
func (*UploadAssetMetadata) ProtoMessage()
func (*UploadAssetMetadata) ProtoReflect
func (x *UploadAssetMetadata) ProtoReflect() protoreflect.Message
func (*UploadAssetMetadata) Reset
func (x *UploadAssetMetadata) Reset()
func (*UploadAssetMetadata) String
func (x *UploadAssetMetadata) String() string
UploadAssetRequest
type UploadAssetRequest struct {
// Required. The resource name of the asset to upload.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The source of the asset.
AssetSource *AssetSource `protobuf:"bytes,2,opt,name=asset_source,json=assetSource,proto3" json:"asset_source,omitempty"`
// contains filtered or unexported fields
}
Request message for UploadAsset.
func (*UploadAssetRequest) Descriptor
func (*UploadAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadAssetRequest.ProtoReflect.Descriptor instead.
func (*UploadAssetRequest) GetAssetSource
func (x *UploadAssetRequest) GetAssetSource() *AssetSource
func (*UploadAssetRequest) GetName
func (x *UploadAssetRequest) GetName() string
func (*UploadAssetRequest) ProtoMessage
func (*UploadAssetRequest) ProtoMessage()
func (*UploadAssetRequest) ProtoReflect
func (x *UploadAssetRequest) ProtoReflect() protoreflect.Message
func (*UploadAssetRequest) Reset
func (x *UploadAssetRequest) Reset()
func (*UploadAssetRequest) String
func (x *UploadAssetRequest) String() string
UploadAssetResponse
type UploadAssetResponse struct {
// contains filtered or unexported fields
}
Response message for UploadAsset.
func (*UploadAssetResponse) Descriptor
func (*UploadAssetResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadAssetResponse.ProtoReflect.Descriptor instead.
func (*UploadAssetResponse) ProtoMessage
func (*UploadAssetResponse) ProtoMessage()
func (*UploadAssetResponse) ProtoReflect
func (x *UploadAssetResponse) ProtoReflect() protoreflect.Message
func (*UploadAssetResponse) Reset
func (x *UploadAssetResponse) Reset()
func (*UploadAssetResponse) String
func (x *UploadAssetResponse) String() string
UserSpecifiedAnnotation
type UserSpecifiedAnnotation struct {
// Required. Key of the annotation. The key must be set with type by
// CreateDataSchema.
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// Value of the annotation. The value must be able to convert
// to the type according to the data schema.
Value *AnnotationValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// Partition information in time and space for the sub-asset level annotation.
Partition *Partition `protobuf:"bytes,3,opt,name=partition,proto3" json:"partition,omitempty"`
// contains filtered or unexported fields
}
Annotation provided by users.
func (*UserSpecifiedAnnotation) Descriptor
func (*UserSpecifiedAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use UserSpecifiedAnnotation.ProtoReflect.Descriptor instead.
func (*UserSpecifiedAnnotation) GetKey
func (x *UserSpecifiedAnnotation) GetKey() string
func (*UserSpecifiedAnnotation) GetPartition
func (x *UserSpecifiedAnnotation) GetPartition() *Partition
func (*UserSpecifiedAnnotation) GetValue
func (x *UserSpecifiedAnnotation) GetValue() *AnnotationValue
func (*UserSpecifiedAnnotation) ProtoMessage
func (*UserSpecifiedAnnotation) ProtoMessage()
func (*UserSpecifiedAnnotation) ProtoReflect
func (x *UserSpecifiedAnnotation) ProtoReflect() protoreflect.Message
func (*UserSpecifiedAnnotation) Reset
func (x *UserSpecifiedAnnotation) Reset()
func (*UserSpecifiedAnnotation) String
func (x *UserSpecifiedAnnotation) String() string
VertexAutoMLVideoConfig
type VertexAutoMLVideoConfig struct {
ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"`
BlockedLabels []string `protobuf:"bytes,2,rep,name=blocked_labels,json=blockedLabels,proto3" json:"blocked_labels,omitempty"`
MaxPredictions int32 `protobuf:"varint,3,opt,name=max_predictions,json=maxPredictions,proto3" json:"max_predictions,omitempty"`
BoundingBoxSizeLimit float32 "" /* 127 byte string literal not displayed */
}
Message describing VertexAutoMLVideoConfig.
func (*VertexAutoMLVideoConfig) Descriptor
func (*VertexAutoMLVideoConfig) Descriptor() ([]byte, []int)
Deprecated: Use VertexAutoMLVideoConfig.ProtoReflect.Descriptor instead.
func (*VertexAutoMLVideoConfig) GetBlockedLabels
func (x *VertexAutoMLVideoConfig) GetBlockedLabels() []string
func (*VertexAutoMLVideoConfig) GetBoundingBoxSizeLimit
func (x *VertexAutoMLVideoConfig) GetBoundingBoxSizeLimit() float32
func (*VertexAutoMLVideoConfig) GetConfidenceThreshold
func (x *VertexAutoMLVideoConfig) GetConfidenceThreshold() float32
func (*VertexAutoMLVideoConfig) GetMaxPredictions
func (x *VertexAutoMLVideoConfig) GetMaxPredictions() int32
func (*VertexAutoMLVideoConfig) ProtoMessage
func (*VertexAutoMLVideoConfig) ProtoMessage()
func (*VertexAutoMLVideoConfig) ProtoReflect
func (x *VertexAutoMLVideoConfig) ProtoReflect() protoreflect.Message
func (*VertexAutoMLVideoConfig) Reset
func (x *VertexAutoMLVideoConfig) Reset()
func (*VertexAutoMLVideoConfig) String
func (x *VertexAutoMLVideoConfig) String() string
VertexAutoMLVisionConfig
type VertexAutoMLVisionConfig struct {
// Only entities with higher score than the threshold will be returned.
// Value 0.0 means to return all the detected entities.
ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"`
// At most this many predictions will be returned per output frame.
// Value 0 means to return all the detected entities.
MaxPredictions int32 `protobuf:"varint,2,opt,name=max_predictions,json=maxPredictions,proto3" json:"max_predictions,omitempty"`
// contains filtered or unexported fields
}
Message of configurations of Vertex AutoML Vision Processors.
func (*VertexAutoMLVisionConfig) Descriptor
func (*VertexAutoMLVisionConfig) Descriptor() ([]byte, []int)
Deprecated: Use VertexAutoMLVisionConfig.ProtoReflect.Descriptor instead.
func (*VertexAutoMLVisionConfig) GetConfidenceThreshold
func (x *VertexAutoMLVisionConfig) GetConfidenceThreshold() float32
func (*VertexAutoMLVisionConfig) GetMaxPredictions
func (x *VertexAutoMLVisionConfig) GetMaxPredictions() int32
func (*VertexAutoMLVisionConfig) ProtoMessage
func (*VertexAutoMLVisionConfig) ProtoMessage()
func (*VertexAutoMLVisionConfig) ProtoReflect
func (x *VertexAutoMLVisionConfig) ProtoReflect() protoreflect.Message
func (*VertexAutoMLVisionConfig) Reset
func (x *VertexAutoMLVisionConfig) Reset()
func (*VertexAutoMLVisionConfig) String
func (x *VertexAutoMLVisionConfig) String() string
VertexCustomConfig
type VertexCustomConfig struct {
MaxPredictionFps int32 `protobuf:"varint,1,opt,name=max_prediction_fps,json=maxPredictionFps,proto3" json:"max_prediction_fps,omitempty"`
DedicatedResources *DedicatedResources `protobuf:"bytes,2,opt,name=dedicated_resources,json=dedicatedResources,proto3" json:"dedicated_resources,omitempty"`
PostProcessingCloudFunction string "" /* 146 byte string literal not displayed */
AttachApplicationMetadata bool "" /* 139 byte string literal not displayed */
DynamicConfigInputTopic *string "" /* 140 byte string literal not displayed */
}
Message describing VertexCustomConfig.
func (*VertexCustomConfig) Descriptor
func (*VertexCustomConfig) Descriptor() ([]byte, []int)
Deprecated: Use VertexCustomConfig.ProtoReflect.Descriptor instead.
func (*VertexCustomConfig) GetAttachApplicationMetadata
func (x *VertexCustomConfig) GetAttachApplicationMetadata() bool
func (*VertexCustomConfig) GetDedicatedResources
func (x *VertexCustomConfig) GetDedicatedResources() *DedicatedResources
func (*VertexCustomConfig) GetDynamicConfigInputTopic
func (x *VertexCustomConfig) GetDynamicConfigInputTopic() string
func (*VertexCustomConfig) GetMaxPredictionFps
func (x *VertexCustomConfig) GetMaxPredictionFps() int32
func (*VertexCustomConfig) GetPostProcessingCloudFunction
func (x *VertexCustomConfig) GetPostProcessingCloudFunction() string
func (*VertexCustomConfig) ProtoMessage
func (*VertexCustomConfig) ProtoMessage()
func (*VertexCustomConfig) ProtoReflect
func (x *VertexCustomConfig) ProtoReflect() protoreflect.Message
func (*VertexCustomConfig) Reset
func (x *VertexCustomConfig) Reset()
func (*VertexCustomConfig) String
func (x *VertexCustomConfig) String() string
VideoActionRecognitionPredictionResult
type VideoActionRecognitionPredictionResult struct {
// The beginning, inclusive, of the video's time segment in which the
// actions have been identified.
SegmentStartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=segment_start_time,json=segmentStartTime,proto3" json:"segment_start_time,omitempty"`
// The end, inclusive, of the video's time segment in which the actions have
// been identified. Particularly, if the end is the same as the start, it
// means the identification happens on a specific video frame.
SegmentEndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=segment_end_time,json=segmentEndTime,proto3" json:"segment_end_time,omitempty"`
// All of the actions identified in the time range.
Actions []*VideoActionRecognitionPredictionResult_IdentifiedAction `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
// contains filtered or unexported fields
}
Prediction output format for Video Action Recognition.
func (*VideoActionRecognitionPredictionResult) Descriptor
func (*VideoActionRecognitionPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use VideoActionRecognitionPredictionResult.ProtoReflect.Descriptor instead.
func (*VideoActionRecognitionPredictionResult) GetActions
func (x *VideoActionRecognitionPredictionResult) GetActions() []*VideoActionRecognitionPredictionResult_IdentifiedAction
func (*VideoActionRecognitionPredictionResult) GetSegmentEndTime
func (x *VideoActionRecognitionPredictionResult) GetSegmentEndTime() *timestamppb.Timestamp
func (*VideoActionRecognitionPredictionResult) GetSegmentStartTime
func (x *VideoActionRecognitionPredictionResult) GetSegmentStartTime() *timestamppb.Timestamp
func (*VideoActionRecognitionPredictionResult) ProtoMessage
func (*VideoActionRecognitionPredictionResult) ProtoMessage()
func (*VideoActionRecognitionPredictionResult) ProtoReflect
func (x *VideoActionRecognitionPredictionResult) ProtoReflect() protoreflect.Message
func (*VideoActionRecognitionPredictionResult) Reset
func (x *VideoActionRecognitionPredictionResult) Reset()
func (*VideoActionRecognitionPredictionResult) String
func (x *VideoActionRecognitionPredictionResult) String() string
VideoActionRecognitionPredictionResult_IdentifiedAction
type VideoActionRecognitionPredictionResult_IdentifiedAction struct {
// The resource ID of the AnnotationSpec that had been identified.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The display name of the AnnotationSpec that had been identified.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The Model's confidence in correction of this identification, higher
// value means higher confidence.
Confidence float32 `protobuf:"fixed32,3,opt,name=confidence,proto3" json:"confidence,omitempty"`
// contains filtered or unexported fields
}
Each IdentifiedAction is one particular identification of an action specified with the AnnotationSpec id, display_name and the associated confidence score.
func (*VideoActionRecognitionPredictionResult_IdentifiedAction) Descriptor
func (*VideoActionRecognitionPredictionResult_IdentifiedAction) Descriptor() ([]byte, []int)
Deprecated: Use VideoActionRecognitionPredictionResult_IdentifiedAction.ProtoReflect.Descriptor instead.
func (*VideoActionRecognitionPredictionResult_IdentifiedAction) GetConfidence
func (x *VideoActionRecognitionPredictionResult_IdentifiedAction) GetConfidence() float32
func (*VideoActionRecognitionPredictionResult_IdentifiedAction) GetDisplayName
func (x *VideoActionRecognitionPredictionResult_IdentifiedAction) GetDisplayName() string
func (*VideoActionRecognitionPredictionResult_IdentifiedAction) GetId
func (x *VideoActionRecognitionPredictionResult_IdentifiedAction) GetId() string
func (*VideoActionRecognitionPredictionResult_IdentifiedAction) ProtoMessage
func (*VideoActionRecognitionPredictionResult_IdentifiedAction) ProtoMessage()
func (*VideoActionRecognitionPredictionResult_IdentifiedAction) ProtoReflect
func (x *VideoActionRecognitionPredictionResult_IdentifiedAction) ProtoReflect() protoreflect.Message
func (*VideoActionRecognitionPredictionResult_IdentifiedAction) Reset
func (x *VideoActionRecognitionPredictionResult_IdentifiedAction) Reset()
func (*VideoActionRecognitionPredictionResult_IdentifiedAction) String
func (x *VideoActionRecognitionPredictionResult_IdentifiedAction) String() string
VideoClassificationPredictionResult
type VideoClassificationPredictionResult struct {
// The beginning, inclusive, of the video's time segment in which the
// classifications have been identified.
SegmentStartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=segment_start_time,json=segmentStartTime,proto3" json:"segment_start_time,omitempty"`
// The end, inclusive, of the video's time segment in which the
// classifications have been identified. Particularly, if the end is the same
// as the start, it means the identification happens on a specific video
// frame.
SegmentEndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=segment_end_time,json=segmentEndTime,proto3" json:"segment_end_time,omitempty"`
// All of the classifications identified in the time range.
Classifications []*VideoClassificationPredictionResult_IdentifiedClassification `protobuf:"bytes,3,rep,name=classifications,proto3" json:"classifications,omitempty"`
// contains filtered or unexported fields
}
Prediction output format for Video Classification.
func (*VideoClassificationPredictionResult) Descriptor
func (*VideoClassificationPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use VideoClassificationPredictionResult.ProtoReflect.Descriptor instead.
func (*VideoClassificationPredictionResult) GetClassifications
func (x *VideoClassificationPredictionResult) GetClassifications() []*VideoClassificationPredictionResult_IdentifiedClassification
func (*VideoClassificationPredictionResult) GetSegmentEndTime
func (x *VideoClassificationPredictionResult) GetSegmentEndTime() *timestamppb.Timestamp
func (*VideoClassificationPredictionResult) GetSegmentStartTime
func (x *VideoClassificationPredictionResult) GetSegmentStartTime() *timestamppb.Timestamp
func (*VideoClassificationPredictionResult) ProtoMessage
func (*VideoClassificationPredictionResult) ProtoMessage()
func (*VideoClassificationPredictionResult) ProtoReflect
func (x *VideoClassificationPredictionResult) ProtoReflect() protoreflect.Message
func (*VideoClassificationPredictionResult) Reset
func (x *VideoClassificationPredictionResult) Reset()
func (*VideoClassificationPredictionResult) String
func (x *VideoClassificationPredictionResult) String() string
VideoClassificationPredictionResult_IdentifiedClassification
type VideoClassificationPredictionResult_IdentifiedClassification struct {
// The resource ID of the AnnotationSpec that had been identified.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The display name of the AnnotationSpec that had been identified.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The Model's confidence in correction of this identification, higher
// value means higher confidence.
Confidence float32 `protobuf:"fixed32,3,opt,name=confidence,proto3" json:"confidence,omitempty"`
// contains filtered or unexported fields
}
Each IdentifiedClassification is one particular identification of an classification specified with the AnnotationSpec id and display_name, and the associated confidence score.
func (*VideoClassificationPredictionResult_IdentifiedClassification) Descriptor
func (*VideoClassificationPredictionResult_IdentifiedClassification) Descriptor() ([]byte, []int)
Deprecated: Use VideoClassificationPredictionResult_IdentifiedClassification.ProtoReflect.Descriptor instead.
func (*VideoClassificationPredictionResult_IdentifiedClassification) GetConfidence
func (x *VideoClassificationPredictionResult_IdentifiedClassification) GetConfidence() float32
func (*VideoClassificationPredictionResult_IdentifiedClassification) GetDisplayName
func (x *VideoClassificationPredictionResult_IdentifiedClassification) GetDisplayName() string
func (*VideoClassificationPredictionResult_IdentifiedClassification) GetId
func (x *VideoClassificationPredictionResult_IdentifiedClassification) GetId() string
func (*VideoClassificationPredictionResult_IdentifiedClassification) ProtoMessage
func (*VideoClassificationPredictionResult_IdentifiedClassification) ProtoMessage()
func (*VideoClassificationPredictionResult_IdentifiedClassification) ProtoReflect
func (x *VideoClassificationPredictionResult_IdentifiedClassification) ProtoReflect() protoreflect.Message
func (*VideoClassificationPredictionResult_IdentifiedClassification) Reset
func (x *VideoClassificationPredictionResult_IdentifiedClassification) Reset()
func (*VideoClassificationPredictionResult_IdentifiedClassification) String
func (x *VideoClassificationPredictionResult_IdentifiedClassification) String() string
VideoObjectTrackingPredictionResult
type VideoObjectTrackingPredictionResult struct {
// The beginning, inclusive, of the video's time segment in which the
// current identifications happens.
SegmentStartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=segment_start_time,json=segmentStartTime,proto3" json:"segment_start_time,omitempty"`
// The end, inclusive, of the video's time segment in which the current
// identifications happen. Particularly, if the end is the same as the start,
// it means the identifications happen on a specific video frame.
SegmentEndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=segment_end_time,json=segmentEndTime,proto3" json:"segment_end_time,omitempty"`
// All of the objects detected in the specified time range.
Objects []*VideoObjectTrackingPredictionResult_DetectedObject `protobuf:"bytes,3,rep,name=objects,proto3" json:"objects,omitempty"`
// contains filtered or unexported fields
}
Prediction output format for Video Object Tracking.
func (*VideoObjectTrackingPredictionResult) Descriptor
func (*VideoObjectTrackingPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use VideoObjectTrackingPredictionResult.ProtoReflect.Descriptor instead.
func (*VideoObjectTrackingPredictionResult) GetObjects
func (x *VideoObjectTrackingPredictionResult) GetObjects() []*VideoObjectTrackingPredictionResult_DetectedObject
func (*VideoObjectTrackingPredictionResult) GetSegmentEndTime
func (x *VideoObjectTrackingPredictionResult) GetSegmentEndTime() *timestamppb.Timestamp
func (*VideoObjectTrackingPredictionResult) GetSegmentStartTime
func (x *VideoObjectTrackingPredictionResult) GetSegmentStartTime() *timestamppb.Timestamp
func (*VideoObjectTrackingPredictionResult) ProtoMessage
func (*VideoObjectTrackingPredictionResult) ProtoMessage()
func (*VideoObjectTrackingPredictionResult) ProtoReflect
func (x *VideoObjectTrackingPredictionResult) ProtoReflect() protoreflect.Message
func (*VideoObjectTrackingPredictionResult) Reset
func (x *VideoObjectTrackingPredictionResult) Reset()
func (*VideoObjectTrackingPredictionResult) String
func (x *VideoObjectTrackingPredictionResult) String() string
VideoObjectTrackingPredictionResult_BoundingBox
type VideoObjectTrackingPredictionResult_BoundingBox struct {
// The leftmost coordinate of the bounding box.
XMin float32 `protobuf:"fixed32,1,opt,name=x_min,json=xMin,proto3" json:"x_min,omitempty"`
// The rightmost coordinate of the bounding box.
XMax float32 `protobuf:"fixed32,2,opt,name=x_max,json=xMax,proto3" json:"x_max,omitempty"`
// The topmost coordinate of the bounding box.
YMin float32 `protobuf:"fixed32,3,opt,name=y_min,json=yMin,proto3" json:"y_min,omitempty"`
// The bottommost coordinate of the bounding box.
YMax float32 `protobuf:"fixed32,4,opt,name=y_max,json=yMax,proto3" json:"y_max,omitempty"`
// contains filtered or unexported fields
}
Boundingbox for detected object. I.e. the rectangle over the video frame pinpointing the found AnnotationSpec. The coordinates are relative to the frame size, and the point 0,0 is in the top left of the frame.
func (*VideoObjectTrackingPredictionResult_BoundingBox) Descriptor
func (*VideoObjectTrackingPredictionResult_BoundingBox) Descriptor() ([]byte, []int)
Deprecated: Use VideoObjectTrackingPredictionResult_BoundingBox.ProtoReflect.Descriptor instead.
func (*VideoObjectTrackingPredictionResult_BoundingBox) GetXMax
func (x *VideoObjectTrackingPredictionResult_BoundingBox) GetXMax() float32
func (*VideoObjectTrackingPredictionResult_BoundingBox) GetXMin
func (x *VideoObjectTrackingPredictionResult_BoundingBox) GetXMin() float32
func (*VideoObjectTrackingPredictionResult_BoundingBox) GetYMax
func (x *VideoObjectTrackingPredictionResult_BoundingBox) GetYMax() float32
func (*VideoObjectTrackingPredictionResult_BoundingBox) GetYMin
func (x *VideoObjectTrackingPredictionResult_BoundingBox) GetYMin() float32
func (*VideoObjectTrackingPredictionResult_BoundingBox) ProtoMessage
func (*VideoObjectTrackingPredictionResult_BoundingBox) ProtoMessage()
func (*VideoObjectTrackingPredictionResult_BoundingBox) ProtoReflect
func (x *VideoObjectTrackingPredictionResult_BoundingBox) ProtoReflect() protoreflect.Message
func (*VideoObjectTrackingPredictionResult_BoundingBox) Reset
func (x *VideoObjectTrackingPredictionResult_BoundingBox) Reset()
func (*VideoObjectTrackingPredictionResult_BoundingBox) String
func (x *VideoObjectTrackingPredictionResult_BoundingBox) String() string
VideoObjectTrackingPredictionResult_DetectedObject
type VideoObjectTrackingPredictionResult_DetectedObject struct {
// The resource ID of the AnnotationSpec that had been identified.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The display name of the AnnotationSpec that had been identified.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Boundingbox.
BoundingBox *VideoObjectTrackingPredictionResult_BoundingBox `protobuf:"bytes,3,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
// The Model's confidence in correction of this identification, higher
// value means higher confidence.
Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
// The same object may be identified on muitiple frames which are typical
// adjacent. The set of frames where a particular object has been detected
// form a track. This track_id can be used to trace down all frames for an
// detected object.
TrackId int64 `protobuf:"varint,5,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"`
// contains filtered or unexported fields
}
Each DetectedObject is one particular identification of an object specified with the AnnotationSpec id and display_name, the bounding box, the associated confidence score and the corresponding track_id.
func (*VideoObjectTrackingPredictionResult_DetectedObject) Descriptor
func (*VideoObjectTrackingPredictionResult_DetectedObject) Descriptor() ([]byte, []int)
Deprecated: Use VideoObjectTrackingPredictionResult_DetectedObject.ProtoReflect.Descriptor instead.
func (*VideoObjectTrackingPredictionResult_DetectedObject) GetBoundingBox
func (x *VideoObjectTrackingPredictionResult_DetectedObject) GetBoundingBox() *VideoObjectTrackingPredictionResult_BoundingBox
func (*VideoObjectTrackingPredictionResult_DetectedObject) GetConfidence
func (x *VideoObjectTrackingPredictionResult_DetectedObject) GetConfidence() float32
func (*VideoObjectTrackingPredictionResult_DetectedObject) GetDisplayName
func (x *VideoObjectTrackingPredictionResult_DetectedObject) GetDisplayName() string
func (*VideoObjectTrackingPredictionResult_DetectedObject) GetId
func (x *VideoObjectTrackingPredictionResult_DetectedObject) GetId() string
func (*VideoObjectTrackingPredictionResult_DetectedObject) GetTrackId
func (x *VideoObjectTrackingPredictionResult_DetectedObject) GetTrackId() int64
func (*VideoObjectTrackingPredictionResult_DetectedObject) ProtoMessage
func (*VideoObjectTrackingPredictionResult_DetectedObject) ProtoMessage()
func (*VideoObjectTrackingPredictionResult_DetectedObject) ProtoReflect
func (x *VideoObjectTrackingPredictionResult_DetectedObject) ProtoReflect() protoreflect.Message
func (*VideoObjectTrackingPredictionResult_DetectedObject) Reset
func (x *VideoObjectTrackingPredictionResult_DetectedObject) Reset()
func (*VideoObjectTrackingPredictionResult_DetectedObject) String
func (x *VideoObjectTrackingPredictionResult_DetectedObject) String() string
VideoStreamInputConfig
type VideoStreamInputConfig struct {
// Deprecated: Marked as deprecated in google/cloud/visionai/v1/platform.proto.
Streams []string `protobuf:"bytes,1,rep,name=streams,proto3" json:"streams,omitempty"`
// Deprecated: Marked as deprecated in google/cloud/visionai/v1/platform.proto.
StreamsWithAnnotation []*StreamWithAnnotation `protobuf:"bytes,2,rep,name=streams_with_annotation,json=streamsWithAnnotation,proto3" json:"streams_with_annotation,omitempty"`
// contains filtered or unexported fields
}
Message describing Video Stream Input Config. This message should only be used as a placeholder for builtin:stream-input processor, actual stream binding should be specified using corresponding API.
func (*VideoStreamInputConfig) Descriptor
func (*VideoStreamInputConfig) Descriptor() ([]byte, []int)
Deprecated: Use VideoStreamInputConfig.ProtoReflect.Descriptor instead.
func (*VideoStreamInputConfig) GetStreams
func (x *VideoStreamInputConfig) GetStreams() []string
Deprecated: Marked as deprecated in google/cloud/visionai/v1/platform.proto.
func (*VideoStreamInputConfig) GetStreamsWithAnnotation
func (x *VideoStreamInputConfig) GetStreamsWithAnnotation() []*StreamWithAnnotation
Deprecated: Marked as deprecated in google/cloud/visionai/v1/platform.proto.
func (*VideoStreamInputConfig) ProtoMessage
func (*VideoStreamInputConfig) ProtoMessage()
func (*VideoStreamInputConfig) ProtoReflect
func (x *VideoStreamInputConfig) ProtoReflect() protoreflect.Message
func (*VideoStreamInputConfig) Reset
func (x *VideoStreamInputConfig) Reset()
func (*VideoStreamInputConfig) String
func (x *VideoStreamInputConfig) String() string
ViewCollectionItemsRequest
type ViewCollectionItemsRequest struct {
// Required. The collection to view. Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`
Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
// The maximum number of collections to return. The service may return fewer
// than this value. If unspecified, at most 50 collections will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ViewCollectionItemsRequest` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to
// `ViewCollectionItemsRequest` must match the call that provided the page
// token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for ViewCollectionItems.
func (*ViewCollectionItemsRequest) Descriptor
func (*ViewCollectionItemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ViewCollectionItemsRequest.ProtoReflect.Descriptor instead.
func (*ViewCollectionItemsRequest) GetCollection
func (x *ViewCollectionItemsRequest) GetCollection() string
func (*ViewCollectionItemsRequest) GetPageSize
func (x *ViewCollectionItemsRequest) GetPageSize() int32
func (*ViewCollectionItemsRequest) GetPageToken
func (x *ViewCollectionItemsRequest) GetPageToken() string
func (*ViewCollectionItemsRequest) ProtoMessage
func (*ViewCollectionItemsRequest) ProtoMessage()
func (*ViewCollectionItemsRequest) ProtoReflect
func (x *ViewCollectionItemsRequest) ProtoReflect() protoreflect.Message
func (*ViewCollectionItemsRequest) Reset
func (x *ViewCollectionItemsRequest) Reset()
func (*ViewCollectionItemsRequest) String
func (x *ViewCollectionItemsRequest) String() string
ViewCollectionItemsResponse
type ViewCollectionItemsResponse struct {
// The items from the specified collection.
Items []*CollectionItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for ViewCollectionItems.
func (*ViewCollectionItemsResponse) Descriptor
func (*ViewCollectionItemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ViewCollectionItemsResponse.ProtoReflect.Descriptor instead.
func (*ViewCollectionItemsResponse) GetItems
func (x *ViewCollectionItemsResponse) GetItems() []*CollectionItem
func (*ViewCollectionItemsResponse) GetNextPageToken
func (x *ViewCollectionItemsResponse) GetNextPageToken() string
func (*ViewCollectionItemsResponse) ProtoMessage
func (*ViewCollectionItemsResponse) ProtoMessage()
func (*ViewCollectionItemsResponse) ProtoReflect
func (x *ViewCollectionItemsResponse) ProtoReflect() protoreflect.Message
func (*ViewCollectionItemsResponse) Reset
func (x *ViewCollectionItemsResponse) Reset()
func (*ViewCollectionItemsResponse) String
func (x *ViewCollectionItemsResponse) String() string
ViewIndexedAssetsRequest
type ViewIndexedAssetsRequest struct {
// Required. The index that owns this collection of assets.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}`
Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
// The maximum number of assets to return. The service may return fewer than
// this value.
// If unspecified, at most 50 assets will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ViewIndexedAssets` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ViewIndexedAssets` must
// match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The filter applied to the returned list.
// Only the following filterings are supported:
// "asset_id = xxxx", which returns asset with specified id.
// "asset_id = xxxx, yyyy, zzzz", which returns assets with specified ids.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Request message for ViewIndexedAssets.
func (*ViewIndexedAssetsRequest) Descriptor
func (*ViewIndexedAssetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ViewIndexedAssetsRequest.ProtoReflect.Descriptor instead.
func (*ViewIndexedAssetsRequest) GetFilter
func (x *ViewIndexedAssetsRequest) GetFilter() string
func (*ViewIndexedAssetsRequest) GetIndex
func (x *ViewIndexedAssetsRequest) GetIndex() string
func (*ViewIndexedAssetsRequest) GetPageSize
func (x *ViewIndexedAssetsRequest) GetPageSize() int32
func (*ViewIndexedAssetsRequest) GetPageToken
func (x *ViewIndexedAssetsRequest) GetPageToken() string
func (*ViewIndexedAssetsRequest) ProtoMessage
func (*ViewIndexedAssetsRequest) ProtoMessage()
func (*ViewIndexedAssetsRequest) ProtoReflect
func (x *ViewIndexedAssetsRequest) ProtoReflect() protoreflect.Message
func (*ViewIndexedAssetsRequest) Reset
func (x *ViewIndexedAssetsRequest) Reset()
func (*ViewIndexedAssetsRequest) String
func (x *ViewIndexedAssetsRequest) String() string
ViewIndexedAssetsResponse
type ViewIndexedAssetsResponse struct {
// The assets from the specified index.
IndexedAssets []*IndexedAsset `protobuf:"bytes,1,rep,name=indexed_assets,json=indexedAssets,proto3" json:"indexed_assets,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for ViewIndexedAssets.
func (*ViewIndexedAssetsResponse) Descriptor
func (*ViewIndexedAssetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ViewIndexedAssetsResponse.ProtoReflect.Descriptor instead.
func (*ViewIndexedAssetsResponse) GetIndexedAssets
func (x *ViewIndexedAssetsResponse) GetIndexedAssets() []*IndexedAsset
func (*ViewIndexedAssetsResponse) GetNextPageToken
func (x *ViewIndexedAssetsResponse) GetNextPageToken() string
func (*ViewIndexedAssetsResponse) ProtoMessage
func (*ViewIndexedAssetsResponse) ProtoMessage()
func (*ViewIndexedAssetsResponse) ProtoReflect
func (x *ViewIndexedAssetsResponse) ProtoReflect() protoreflect.Message
func (*ViewIndexedAssetsResponse) Reset
func (x *ViewIndexedAssetsResponse) Reset()
func (*ViewIndexedAssetsResponse) String
func (x *ViewIndexedAssetsResponse) String() string
WarehouseClient
type WarehouseClient interface {
// Creates an asset inside corpus.
CreateAsset(ctx context.Context, in *CreateAssetRequest, opts ...grpc.CallOption) (*Asset, error)
// Updates an asset inside corpus.
UpdateAsset(ctx context.Context, in *UpdateAssetRequest, opts ...grpc.CallOption) (*Asset, error)
// Reads an asset inside corpus.
GetAsset(ctx context.Context, in *GetAssetRequest, opts ...grpc.CallOption) (*Asset, error)
// Lists an list of assets inside corpus.
ListAssets(ctx context.Context, in *ListAssetsRequest, opts ...grpc.CallOption) (*ListAssetsResponse, error)
// Deletes asset inside corpus.
DeleteAsset(ctx context.Context, in *DeleteAssetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Upload asset by specifing the asset Cloud Storage uri.
// For video warehouse, it requires users who call this API have read access
// to the cloud storage file. Once it is uploaded, it can be retrieved by
// GenerateRetrievalUrl API which by default, only can retrieve cloud storage
// files from the same project of the warehouse. To allow retrieval cloud
// storage files that are in a separate project, it requires to find the
// vision ai service account (Go to IAM, check checkbox to show "Include
// Google-provided role grants", search for "Cloud Vision AI Service Agent")
// and grant the read access of the cloud storage files to that service
// account.
UploadAsset(ctx context.Context, in *UploadAssetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Generates a signed url for downloading the asset.
// For video warehouse, please see comment of UploadAsset about how to allow
// retrieval of cloud storage files in a different project.
GenerateRetrievalUrl(ctx context.Context, in *GenerateRetrievalUrlRequest, opts ...grpc.CallOption) (*GenerateRetrievalUrlResponse, error)
// Analyze asset to power search capability.
AnalyzeAsset(ctx context.Context, in *AnalyzeAssetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Index one asset for search.
// Supported corpus type: Corpus.Type.VIDEO_ON_DEMAND
IndexAsset(ctx context.Context, in *IndexAssetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Remove one asset's index data for search.
// Supported corpus type: Corpus.Type.VIDEO_ON_DEMAND
RemoveIndexAsset(ctx context.Context, in *RemoveIndexAssetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists assets inside an index.
ViewIndexedAssets(ctx context.Context, in *ViewIndexedAssetsRequest, opts ...grpc.CallOption) (*ViewIndexedAssetsResponse, error)
// Creates an Index under the corpus.
CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates an Index under the corpus.
// Users can perform a metadata-only update or trigger a full index rebuild
// with different update_mask values.
UpdateIndex(ctx context.Context, in *UpdateIndexRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets the details of a single Index under a Corpus.
GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error)
// List all Indexes in a given Corpus.
ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error)
// Delete a single Index. In order to delete an index, the caller must
// make sure that it is not deployed to any index endpoint.
DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates a corpus inside a project.
CreateCorpus(ctx context.Context, in *CreateCorpusRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets corpus details inside a project.
GetCorpus(ctx context.Context, in *GetCorpusRequest, opts ...grpc.CallOption) (*Corpus, error)
// Updates a corpus in a project.
UpdateCorpus(ctx context.Context, in *UpdateCorpusRequest, opts ...grpc.CallOption) (*Corpus, error)
// Lists all corpora in a project.
ListCorpora(ctx context.Context, in *ListCorporaRequest, opts ...grpc.CallOption) (*ListCorporaResponse, error)
// Deletes a corpus only if its empty.
// Returns empty response.
DeleteCorpus(ctx context.Context, in *DeleteCorpusRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Analyzes a corpus.
AnalyzeCorpus(ctx context.Context, in *AnalyzeCorpusRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates data schema inside corpus.
CreateDataSchema(ctx context.Context, in *CreateDataSchemaRequest, opts ...grpc.CallOption) (*DataSchema, error)
// Updates data schema inside corpus.
UpdateDataSchema(ctx context.Context, in *UpdateDataSchemaRequest, opts ...grpc.CallOption) (*DataSchema, error)
// Gets data schema inside corpus.
GetDataSchema(ctx context.Context, in *GetDataSchemaRequest, opts ...grpc.CallOption) (*DataSchema, error)
// Deletes data schema inside corpus.
DeleteDataSchema(ctx context.Context, in *DeleteDataSchemaRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists a list of data schemas inside corpus.
ListDataSchemas(ctx context.Context, in *ListDataSchemasRequest, opts ...grpc.CallOption) (*ListDataSchemasResponse, error)
// Creates annotation inside asset.
CreateAnnotation(ctx context.Context, in *CreateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error)
// Reads annotation inside asset.
GetAnnotation(ctx context.Context, in *GetAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error)
// Lists a list of annotations inside asset.
ListAnnotations(ctx context.Context, in *ListAnnotationsRequest, opts ...grpc.CallOption) (*ListAnnotationsResponse, error)
// Updates annotation inside asset.
UpdateAnnotation(ctx context.Context, in *UpdateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error)
// Deletes annotation inside asset.
DeleteAnnotation(ctx context.Context, in *DeleteAnnotationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Ingests data for the asset. It is not allowed to ingest a data chunk which
// is already expired according to TTL.
// This method is only available via the gRPC API (not HTTP since
// bi-directional streaming is not supported via HTTP).
IngestAsset(ctx context.Context, opts ...grpc.CallOption) (Warehouse_IngestAssetClient, error)
// Generates clips for downloading. The api takes in a time range, and
// generates a clip of the first content available after start_time and
// before end_time, which may overflow beyond these bounds.
// Returned clips are truncated if the total size of the clips are larger
// than 100MB.
ClipAsset(ctx context.Context, in *ClipAssetRequest, opts ...grpc.CallOption) (*ClipAssetResponse, error)
// Generates a uri for an HLS manifest. The api takes in a collection of time
// ranges, and generates a URI for an HLS manifest that covers all the
// requested time ranges.
GenerateHlsUri(ctx context.Context, in *GenerateHlsUriRequest, opts ...grpc.CallOption) (*GenerateHlsUriResponse, error)
// Imports assets (images plus annotations) from a meta file on cloud storage.
// Each row in the meta file is corresponding to an image (specified by a
// cloud storage uri) and its annotations.
ImportAssets(ctx context.Context, in *ImportAssetsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates a search configuration inside a corpus.
//
// Please follow the rules below to create a valid CreateSearchConfigRequest.
// --- General Rules ---
// 1. Request.search_config_id must not be associated with an existing
// SearchConfig.
// 2. Request must contain at least one non-empty search_criteria_property or
// facet_property.
// 3. mapped_fields must not be empty, and must map to existing UGA keys.
// 4. All mapped_fields must be of the same type.
// 5. All mapped_fields must share the same granularity.
// 6. All mapped_fields must share the same semantic SearchConfig match
// options.
//
// For property-specific rules, please reference the comments for
// FacetProperty and SearchCriteriaProperty.
CreateSearchConfig(ctx context.Context, in *CreateSearchConfigRequest, opts ...grpc.CallOption) (*SearchConfig, error)
// Updates a search configuration inside a corpus.
//
// Please follow the rules below to create a valid UpdateSearchConfigRequest.
// --- General Rules ---
// 1. Request.search_configuration.name must already exist.
// 2. Request must contain at least one non-empty search_criteria_property or
// facet_property.
// 3. mapped_fields must not be empty, and must map to existing UGA keys.
// 4. All mapped_fields must be of the same type.
// 5. All mapped_fields must share the same granularity.
// 6. All mapped_fields must share the same semantic SearchConfig match
// options.
//
// For property-specific rules, please reference the comments for
// FacetProperty and SearchCriteriaProperty.
UpdateSearchConfig(ctx context.Context, in *UpdateSearchConfigRequest, opts ...grpc.CallOption) (*SearchConfig, error)
// Gets a search configuration inside a corpus.
GetSearchConfig(ctx context.Context, in *GetSearchConfigRequest, opts ...grpc.CallOption) (*SearchConfig, error)
// Deletes a search configuration inside a corpus.
//
// For a DeleteSearchConfigRequest to be valid,
// Request.search_configuration.name must already exist.
DeleteSearchConfig(ctx context.Context, in *DeleteSearchConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists all search configurations inside a corpus.
ListSearchConfigs(ctx context.Context, in *ListSearchConfigsRequest, opts ...grpc.CallOption) (*ListSearchConfigsResponse, error)
// Creates a SearchHypernym inside a corpus.
CreateSearchHypernym(ctx context.Context, in *CreateSearchHypernymRequest, opts ...grpc.CallOption) (*SearchHypernym, error)
// Updates a SearchHypernym inside a corpus.
UpdateSearchHypernym(ctx context.Context, in *UpdateSearchHypernymRequest, opts ...grpc.CallOption) (*SearchHypernym, error)
// Gets a SearchHypernym inside a corpus.
GetSearchHypernym(ctx context.Context, in *GetSearchHypernymRequest, opts ...grpc.CallOption) (*SearchHypernym, error)
// Deletes a SearchHypernym inside a corpus.
DeleteSearchHypernym(ctx context.Context, in *DeleteSearchHypernymRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists SearchHypernyms inside a corpus.
ListSearchHypernyms(ctx context.Context, in *ListSearchHypernymsRequest, opts ...grpc.CallOption) (*ListSearchHypernymsResponse, error)
// Search media asset.
SearchAssets(ctx context.Context, in *SearchAssetsRequest, opts ...grpc.CallOption) (*SearchAssetsResponse, error)
// Search a deployed index endpoint (IMAGE corpus type only).
SearchIndexEndpoint(ctx context.Context, in *SearchIndexEndpointRequest, opts ...grpc.CallOption) (*SearchIndexEndpointResponse, error)
// Creates an IndexEndpoint.
CreateIndexEndpoint(ctx context.Context, in *CreateIndexEndpointRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets an IndexEndpoint.
GetIndexEndpoint(ctx context.Context, in *GetIndexEndpointRequest, opts ...grpc.CallOption) (*IndexEndpoint, error)
// Lists all IndexEndpoints in a project.
ListIndexEndpoints(ctx context.Context, in *ListIndexEndpointsRequest, opts ...grpc.CallOption) (*ListIndexEndpointsResponse, error)
// Updates an IndexEndpoint.
UpdateIndexEndpoint(ctx context.Context, in *UpdateIndexEndpointRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes an IndexEndpoint.
DeleteIndexEndpoint(ctx context.Context, in *DeleteIndexEndpointRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deploys an Index to IndexEndpoint.
DeployIndex(ctx context.Context, in *DeployIndexRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Undeploys an Index from IndexEndpoint.
UndeployIndex(ctx context.Context, in *UndeployIndexRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates a collection.
CreateCollection(ctx context.Context, in *CreateCollectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a collection.
DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets a collection.
GetCollection(ctx context.Context, in *GetCollectionRequest, opts ...grpc.CallOption) (*Collection, error)
// Updates a collection.
UpdateCollection(ctx context.Context, in *UpdateCollectionRequest, opts ...grpc.CallOption) (*Collection, error)
// Lists collections inside a corpus.
ListCollections(ctx context.Context, in *ListCollectionsRequest, opts ...grpc.CallOption) (*ListCollectionsResponse, error)
// Adds an item into a Collection.
AddCollectionItem(ctx context.Context, in *AddCollectionItemRequest, opts ...grpc.CallOption) (*AddCollectionItemResponse, error)
// Removes an item from a collection.
RemoveCollectionItem(ctx context.Context, in *RemoveCollectionItemRequest, opts ...grpc.CallOption) (*RemoveCollectionItemResponse, error)
// View items inside a collection.
ViewCollectionItems(ctx context.Context, in *ViewCollectionItemsRequest, opts ...grpc.CallOption) (*ViewCollectionItemsResponse, error)
}
WarehouseClient is the client API for Warehouse service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWarehouseClient
func NewWarehouseClient(cc grpc.ClientConnInterface) WarehouseClient
WarehouseServer
type WarehouseServer interface {
// Creates an asset inside corpus.
CreateAsset(context.Context, *CreateAssetRequest) (*Asset, error)
// Updates an asset inside corpus.
UpdateAsset(context.Context, *UpdateAssetRequest) (*Asset, error)
// Reads an asset inside corpus.
GetAsset(context.Context, *GetAssetRequest) (*Asset, error)
// Lists an list of assets inside corpus.
ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error)
// Deletes asset inside corpus.
DeleteAsset(context.Context, *DeleteAssetRequest) (*longrunningpb.Operation, error)
// Upload asset by specifing the asset Cloud Storage uri.
// For video warehouse, it requires users who call this API have read access
// to the cloud storage file. Once it is uploaded, it can be retrieved by
// GenerateRetrievalUrl API which by default, only can retrieve cloud storage
// files from the same project of the warehouse. To allow retrieval cloud
// storage files that are in a separate project, it requires to find the
// vision ai service account (Go to IAM, check checkbox to show "Include
// Google-provided role grants", search for "Cloud Vision AI Service Agent")
// and grant the read access of the cloud storage files to that service
// account.
UploadAsset(context.Context, *UploadAssetRequest) (*longrunningpb.Operation, error)
// Generates a signed url for downloading the asset.
// For video warehouse, please see comment of UploadAsset about how to allow
// retrieval of cloud storage files in a different project.
GenerateRetrievalUrl(context.Context, *GenerateRetrievalUrlRequest) (*GenerateRetrievalUrlResponse, error)
// Analyze asset to power search capability.
AnalyzeAsset(context.Context, *AnalyzeAssetRequest) (*longrunningpb.Operation, error)
// Index one asset for search.
// Supported corpus type: Corpus.Type.VIDEO_ON_DEMAND
IndexAsset(context.Context, *IndexAssetRequest) (*longrunningpb.Operation, error)
// Remove one asset's index data for search.
// Supported corpus type: Corpus.Type.VIDEO_ON_DEMAND
RemoveIndexAsset(context.Context, *RemoveIndexAssetRequest) (*longrunningpb.Operation, error)
// Lists assets inside an index.
ViewIndexedAssets(context.Context, *ViewIndexedAssetsRequest) (*ViewIndexedAssetsResponse, error)
// Creates an Index under the corpus.
CreateIndex(context.Context, *CreateIndexRequest) (*longrunningpb.Operation, error)
// Updates an Index under the corpus.
// Users can perform a metadata-only update or trigger a full index rebuild
// with different update_mask values.
UpdateIndex(context.Context, *UpdateIndexRequest) (*longrunningpb.Operation, error)
// Gets the details of a single Index under a Corpus.
GetIndex(context.Context, *GetIndexRequest) (*Index, error)
// List all Indexes in a given Corpus.
ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error)
// Delete a single Index. In order to delete an index, the caller must
// make sure that it is not deployed to any index endpoint.
DeleteIndex(context.Context, *DeleteIndexRequest) (*longrunningpb.Operation, error)
// Creates a corpus inside a project.
CreateCorpus(context.Context, *CreateCorpusRequest) (*longrunningpb.Operation, error)
// Gets corpus details inside a project.
GetCorpus(context.Context, *GetCorpusRequest) (*Corpus, error)
// Updates a corpus in a project.
UpdateCorpus(context.Context, *UpdateCorpusRequest) (*Corpus, error)
// Lists all corpora in a project.
ListCorpora(context.Context, *ListCorporaRequest) (*ListCorporaResponse, error)
// Deletes a corpus only if its empty.
// Returns empty response.
DeleteCorpus(context.Context, *DeleteCorpusRequest) (*emptypb.Empty, error)
// Analyzes a corpus.
AnalyzeCorpus(context.Context, *AnalyzeCorpusRequest) (*longrunningpb.Operation, error)
// Creates data schema inside corpus.
CreateDataSchema(context.Context, *CreateDataSchemaRequest) (*DataSchema, error)
// Updates data schema inside corpus.
UpdateDataSchema(context.Context, *UpdateDataSchemaRequest) (*DataSchema, error)
// Gets data schema inside corpus.
GetDataSchema(context.Context, *GetDataSchemaRequest) (*DataSchema, error)
// Deletes data schema inside corpus.
DeleteDataSchema(context.Context, *DeleteDataSchemaRequest) (*emptypb.Empty, error)
// Lists a list of data schemas inside corpus.
ListDataSchemas(context.Context, *ListDataSchemasRequest) (*ListDataSchemasResponse, error)
// Creates annotation inside asset.
CreateAnnotation(context.Context, *CreateAnnotationRequest) (*Annotation, error)
// Reads annotation inside asset.
GetAnnotation(context.Context, *GetAnnotationRequest) (*Annotation, error)
// Lists a list of annotations inside asset.
ListAnnotations(context.Context, *ListAnnotationsRequest) (*ListAnnotationsResponse, error)
// Updates annotation inside asset.
UpdateAnnotation(context.Context, *UpdateAnnotationRequest) (*Annotation, error)
// Deletes annotation inside asset.
DeleteAnnotation(context.Context, *DeleteAnnotationRequest) (*emptypb.Empty, error)
// Ingests data for the asset. It is not allowed to ingest a data chunk which
// is already expired according to TTL.
// This method is only available via the gRPC API (not HTTP since
// bi-directional streaming is not supported via HTTP).
IngestAsset(Warehouse_IngestAssetServer) error
// Generates clips for downloading. The api takes in a time range, and
// generates a clip of the first content available after start_time and
// before end_time, which may overflow beyond these bounds.
// Returned clips are truncated if the total size of the clips are larger
// than 100MB.
ClipAsset(context.Context, *ClipAssetRequest) (*ClipAssetResponse, error)
// Generates a uri for an HLS manifest. The api takes in a collection of time
// ranges, and generates a URI for an HLS manifest that covers all the
// requested time ranges.
GenerateHlsUri(context.Context, *GenerateHlsUriRequest) (*GenerateHlsUriResponse, error)
// Imports assets (images plus annotations) from a meta file on cloud storage.
// Each row in the meta file is corresponding to an image (specified by a
// cloud storage uri) and its annotations.
ImportAssets(context.Context, *ImportAssetsRequest) (*longrunningpb.Operation, error)
// Creates a search configuration inside a corpus.
//
// Please follow the rules below to create a valid CreateSearchConfigRequest.
// --- General Rules ---
// 1. Request.search_config_id must not be associated with an existing
// SearchConfig.
// 2. Request must contain at least one non-empty search_criteria_property or
// facet_property.
// 3. mapped_fields must not be empty, and must map to existing UGA keys.
// 4. All mapped_fields must be of the same type.
// 5. All mapped_fields must share the same granularity.
// 6. All mapped_fields must share the same semantic SearchConfig match
// options.
//
// For property-specific rules, please reference the comments for
// FacetProperty and SearchCriteriaProperty.
CreateSearchConfig(context.Context, *CreateSearchConfigRequest) (*SearchConfig, error)
// Updates a search configuration inside a corpus.
//
// Please follow the rules below to create a valid UpdateSearchConfigRequest.
// --- General Rules ---
// 1. Request.search_configuration.name must already exist.
// 2. Request must contain at least one non-empty search_criteria_property or
// facet_property.
// 3. mapped_fields must not be empty, and must map to existing UGA keys.
// 4. All mapped_fields must be of the same type.
// 5. All mapped_fields must share the same granularity.
// 6. All mapped_fields must share the same semantic SearchConfig match
// options.
//
// For property-specific rules, please reference the comments for
// FacetProperty and SearchCriteriaProperty.
UpdateSearchConfig(context.Context, *UpdateSearchConfigRequest) (*SearchConfig, error)
// Gets a search configuration inside a corpus.
GetSearchConfig(context.Context, *GetSearchConfigRequest) (*SearchConfig, error)
// Deletes a search configuration inside a corpus.
//
// For a DeleteSearchConfigRequest to be valid,
// Request.search_configuration.name must already exist.
DeleteSearchConfig(context.Context, *DeleteSearchConfigRequest) (*emptypb.Empty, error)
// Lists all search configurations inside a corpus.
ListSearchConfigs(context.Context, *ListSearchConfigsRequest) (*ListSearchConfigsResponse, error)
// Creates a SearchHypernym inside a corpus.
CreateSearchHypernym(context.Context, *CreateSearchHypernymRequest) (*SearchHypernym, error)
// Updates a SearchHypernym inside a corpus.
UpdateSearchHypernym(context.Context, *UpdateSearchHypernymRequest) (*SearchHypernym, error)
// Gets a SearchHypernym inside a corpus.
GetSearchHypernym(context.Context, *GetSearchHypernymRequest) (*SearchHypernym, error)
// Deletes a SearchHypernym inside a corpus.
DeleteSearchHypernym(context.Context, *DeleteSearchHypernymRequest) (*emptypb.Empty, error)
// Lists SearchHypernyms inside a corpus.
ListSearchHypernyms(context.Context, *ListSearchHypernymsRequest) (*ListSearchHypernymsResponse, error)
// Search media asset.
SearchAssets(context.Context, *SearchAssetsRequest) (*SearchAssetsResponse, error)
// Search a deployed index endpoint (IMAGE corpus type only).
SearchIndexEndpoint(context.Context, *SearchIndexEndpointRequest) (*SearchIndexEndpointResponse, error)
// Creates an IndexEndpoint.
CreateIndexEndpoint(context.Context, *CreateIndexEndpointRequest) (*longrunningpb.Operation, error)
// Gets an IndexEndpoint.
GetIndexEndpoint(context.Context, *GetIndexEndpointRequest) (*IndexEndpoint, error)
// Lists all IndexEndpoints in a project.
ListIndexEndpoints(context.Context, *ListIndexEndpointsRequest) (*ListIndexEndpointsResponse, error)
// Updates an IndexEndpoint.
UpdateIndexEndpoint(context.Context, *UpdateIndexEndpointRequest) (*longrunningpb.Operation, error)
// Deletes an IndexEndpoint.
DeleteIndexEndpoint(context.Context, *DeleteIndexEndpointRequest) (*longrunningpb.Operation, error)
// Deploys an Index to IndexEndpoint.
DeployIndex(context.Context, *DeployIndexRequest) (*longrunningpb.Operation, error)
// Undeploys an Index from IndexEndpoint.
UndeployIndex(context.Context, *UndeployIndexRequest) (*longrunningpb.Operation, error)
// Creates a collection.
CreateCollection(context.Context, *CreateCollectionRequest) (*longrunningpb.Operation, error)
// Deletes a collection.
DeleteCollection(context.Context, *DeleteCollectionRequest) (*longrunningpb.Operation, error)
// Gets a collection.
GetCollection(context.Context, *GetCollectionRequest) (*Collection, error)
// Updates a collection.
UpdateCollection(context.Context, *UpdateCollectionRequest) (*Collection, error)
// Lists collections inside a corpus.
ListCollections(context.Context, *ListCollectionsRequest) (*ListCollectionsResponse, error)
// Adds an item into a Collection.
AddCollectionItem(context.Context, *AddCollectionItemRequest) (*AddCollectionItemResponse, error)
// Removes an item from a collection.
RemoveCollectionItem(context.Context, *RemoveCollectionItemRequest) (*RemoveCollectionItemResponse, error)
// View items inside a collection.
ViewCollectionItems(context.Context, *ViewCollectionItemsRequest) (*ViewCollectionItemsResponse, error)
}
WarehouseServer is the server API for Warehouse service.
Warehouse_IngestAssetClient
type Warehouse_IngestAssetClient interface {
Send(*IngestAssetRequest) error
Recv() (*IngestAssetResponse, error)
grpc.ClientStream
}
Warehouse_IngestAssetServer
type Warehouse_IngestAssetServer interface {
Send(*IngestAssetResponse) error
Recv() (*IngestAssetRequest, error)
grpc.ServerStream
}