Constants
LiveVideoAnalytics_ListPublicOperators_FullMethodName, LiveVideoAnalytics_ResolveOperatorInfo_FullMethodName, LiveVideoAnalytics_ListOperators_FullMethodName, LiveVideoAnalytics_GetOperator_FullMethodName, LiveVideoAnalytics_CreateOperator_FullMethodName, LiveVideoAnalytics_UpdateOperator_FullMethodName, LiveVideoAnalytics_DeleteOperator_FullMethodName, LiveVideoAnalytics_ListAnalyses_FullMethodName, LiveVideoAnalytics_GetAnalysis_FullMethodName, LiveVideoAnalytics_CreateAnalysis_FullMethodName, LiveVideoAnalytics_UpdateAnalysis_FullMethodName, LiveVideoAnalytics_DeleteAnalysis_FullMethodName, LiveVideoAnalytics_ListProcesses_FullMethodName, LiveVideoAnalytics_GetProcess_FullMethodName, LiveVideoAnalytics_CreateProcess_FullMethodName, LiveVideoAnalytics_UpdateProcess_FullMethodName, LiveVideoAnalytics_DeleteProcess_FullMethodName, LiveVideoAnalytics_BatchRunProcess_FullMethodName
const (
LiveVideoAnalytics_ListPublicOperators_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/ListPublicOperators"
LiveVideoAnalytics_ResolveOperatorInfo_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/ResolveOperatorInfo"
LiveVideoAnalytics_ListOperators_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/ListOperators"
LiveVideoAnalytics_GetOperator_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/GetOperator"
LiveVideoAnalytics_CreateOperator_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/CreateOperator"
LiveVideoAnalytics_UpdateOperator_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/UpdateOperator"
LiveVideoAnalytics_DeleteOperator_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/DeleteOperator"
LiveVideoAnalytics_ListAnalyses_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/ListAnalyses"
LiveVideoAnalytics_GetAnalysis_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/GetAnalysis"
LiveVideoAnalytics_CreateAnalysis_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/CreateAnalysis"
LiveVideoAnalytics_UpdateAnalysis_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/UpdateAnalysis"
LiveVideoAnalytics_DeleteAnalysis_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/DeleteAnalysis"
LiveVideoAnalytics_ListProcesses_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/ListProcesses"
LiveVideoAnalytics_GetProcess_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/GetProcess"
LiveVideoAnalytics_CreateProcess_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/CreateProcess"
LiveVideoAnalytics_UpdateProcess_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/UpdateProcess"
LiveVideoAnalytics_DeleteProcess_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/DeleteProcess"
LiveVideoAnalytics_BatchRunProcess_FullMethodName = "/google.cloud.visionai.v1.LiveVideoAnalytics/BatchRunProcess"
)AppPlatform_ListApplications_FullMethodName, AppPlatform_GetApplication_FullMethodName, AppPlatform_CreateApplication_FullMethodName, AppPlatform_UpdateApplication_FullMethodName, AppPlatform_DeleteApplication_FullMethodName, AppPlatform_DeployApplication_FullMethodName, AppPlatform_UndeployApplication_FullMethodName, AppPlatform_AddApplicationStreamInput_FullMethodName, AppPlatform_RemoveApplicationStreamInput_FullMethodName, AppPlatform_UpdateApplicationStreamInput_FullMethodName, AppPlatform_ListInstances_FullMethodName, AppPlatform_GetInstance_FullMethodName, AppPlatform_CreateApplicationInstances_FullMethodName, AppPlatform_DeleteApplicationInstances_FullMethodName, AppPlatform_UpdateApplicationInstances_FullMethodName, AppPlatform_ListDrafts_FullMethodName, AppPlatform_GetDraft_FullMethodName, AppPlatform_CreateDraft_FullMethodName, AppPlatform_UpdateDraft_FullMethodName, AppPlatform_DeleteDraft_FullMethodName, AppPlatform_ListProcessors_FullMethodName, AppPlatform_ListPrebuiltProcessors_FullMethodName, AppPlatform_GetProcessor_FullMethodName, AppPlatform_CreateProcessor_FullMethodName, AppPlatform_UpdateProcessor_FullMethodName, AppPlatform_DeleteProcessor_FullMethodName
const (
AppPlatform_ListApplications_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/ListApplications"
AppPlatform_GetApplication_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/GetApplication"
AppPlatform_CreateApplication_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/CreateApplication"
AppPlatform_UpdateApplication_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/UpdateApplication"
AppPlatform_DeleteApplication_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/DeleteApplication"
AppPlatform_DeployApplication_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/DeployApplication"
AppPlatform_UndeployApplication_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/UndeployApplication"
AppPlatform_AddApplicationStreamInput_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/AddApplicationStreamInput"
AppPlatform_RemoveApplicationStreamInput_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/RemoveApplicationStreamInput"
AppPlatform_UpdateApplicationStreamInput_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/UpdateApplicationStreamInput"
AppPlatform_ListInstances_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/ListInstances"
AppPlatform_GetInstance_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/GetInstance"
AppPlatform_CreateApplicationInstances_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/CreateApplicationInstances"
AppPlatform_DeleteApplicationInstances_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/DeleteApplicationInstances"
AppPlatform_UpdateApplicationInstances_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/UpdateApplicationInstances"
AppPlatform_ListDrafts_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/ListDrafts"
AppPlatform_GetDraft_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/GetDraft"
AppPlatform_CreateDraft_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/CreateDraft"
AppPlatform_UpdateDraft_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/UpdateDraft"
AppPlatform_DeleteDraft_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/DeleteDraft"
AppPlatform_ListProcessors_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/ListProcessors"
AppPlatform_ListPrebuiltProcessors_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/ListPrebuiltProcessors"
AppPlatform_GetProcessor_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/GetProcessor"
AppPlatform_CreateProcessor_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/CreateProcessor"
AppPlatform_UpdateProcessor_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/UpdateProcessor"
AppPlatform_DeleteProcessor_FullMethodName = "/google.cloud.visionai.v1.AppPlatform/DeleteProcessor"
)StreamingService_SendPackets_FullMethodName, StreamingService_ReceivePackets_FullMethodName, StreamingService_ReceiveEvents_FullMethodName, StreamingService_AcquireLease_FullMethodName, StreamingService_RenewLease_FullMethodName, StreamingService_ReleaseLease_FullMethodName
const (
StreamingService_SendPackets_FullMethodName = "/google.cloud.visionai.v1.StreamingService/SendPackets"
StreamingService_ReceivePackets_FullMethodName = "/google.cloud.visionai.v1.StreamingService/ReceivePackets"
StreamingService_ReceiveEvents_FullMethodName = "/google.cloud.visionai.v1.StreamingService/ReceiveEvents"
StreamingService_AcquireLease_FullMethodName = "/google.cloud.visionai.v1.StreamingService/AcquireLease"
StreamingService_RenewLease_FullMethodName = "/google.cloud.visionai.v1.StreamingService/RenewLease"
StreamingService_ReleaseLease_FullMethodName = "/google.cloud.visionai.v1.StreamingService/ReleaseLease"
)StreamsService_ListClusters_FullMethodName, StreamsService_GetCluster_FullMethodName, StreamsService_CreateCluster_FullMethodName, StreamsService_UpdateCluster_FullMethodName, StreamsService_DeleteCluster_FullMethodName, StreamsService_ListStreams_FullMethodName, StreamsService_GetStream_FullMethodName, StreamsService_CreateStream_FullMethodName, StreamsService_UpdateStream_FullMethodName, StreamsService_DeleteStream_FullMethodName, StreamsService_GetStreamThumbnail_FullMethodName, StreamsService_GenerateStreamHlsToken_FullMethodName, StreamsService_ListEvents_FullMethodName, StreamsService_GetEvent_FullMethodName, StreamsService_CreateEvent_FullMethodName, StreamsService_UpdateEvent_FullMethodName, StreamsService_DeleteEvent_FullMethodName, StreamsService_ListSeries_FullMethodName, StreamsService_GetSeries_FullMethodName, StreamsService_CreateSeries_FullMethodName, StreamsService_UpdateSeries_FullMethodName, StreamsService_DeleteSeries_FullMethodName, StreamsService_MaterializeChannel_FullMethodName
const (
StreamsService_ListClusters_FullMethodName = "/google.cloud.visionai.v1.StreamsService/ListClusters"
StreamsService_GetCluster_FullMethodName = "/google.cloud.visionai.v1.StreamsService/GetCluster"
StreamsService_CreateCluster_FullMethodName = "/google.cloud.visionai.v1.StreamsService/CreateCluster"
StreamsService_UpdateCluster_FullMethodName = "/google.cloud.visionai.v1.StreamsService/UpdateCluster"
StreamsService_DeleteCluster_FullMethodName = "/google.cloud.visionai.v1.StreamsService/DeleteCluster"
StreamsService_ListStreams_FullMethodName = "/google.cloud.visionai.v1.StreamsService/ListStreams"
StreamsService_GetStream_FullMethodName = "/google.cloud.visionai.v1.StreamsService/GetStream"
StreamsService_CreateStream_FullMethodName = "/google.cloud.visionai.v1.StreamsService/CreateStream"
StreamsService_UpdateStream_FullMethodName = "/google.cloud.visionai.v1.StreamsService/UpdateStream"
StreamsService_DeleteStream_FullMethodName = "/google.cloud.visionai.v1.StreamsService/DeleteStream"
StreamsService_GetStreamThumbnail_FullMethodName = "/google.cloud.visionai.v1.StreamsService/GetStreamThumbnail"
StreamsService_GenerateStreamHlsToken_FullMethodName = "/google.cloud.visionai.v1.StreamsService/GenerateStreamHlsToken"
StreamsService_ListEvents_FullMethodName = "/google.cloud.visionai.v1.StreamsService/ListEvents"
StreamsService_GetEvent_FullMethodName = "/google.cloud.visionai.v1.StreamsService/GetEvent"
StreamsService_CreateEvent_FullMethodName = "/google.cloud.visionai.v1.StreamsService/CreateEvent"
StreamsService_UpdateEvent_FullMethodName = "/google.cloud.visionai.v1.StreamsService/UpdateEvent"
StreamsService_DeleteEvent_FullMethodName = "/google.cloud.visionai.v1.StreamsService/DeleteEvent"
StreamsService_ListSeries_FullMethodName = "/google.cloud.visionai.v1.StreamsService/ListSeries"
StreamsService_GetSeries_FullMethodName = "/google.cloud.visionai.v1.StreamsService/GetSeries"
StreamsService_CreateSeries_FullMethodName = "/google.cloud.visionai.v1.StreamsService/CreateSeries"
StreamsService_UpdateSeries_FullMethodName = "/google.cloud.visionai.v1.StreamsService/UpdateSeries"
StreamsService_DeleteSeries_FullMethodName = "/google.cloud.visionai.v1.StreamsService/DeleteSeries"
StreamsService_MaterializeChannel_FullMethodName = "/google.cloud.visionai.v1.StreamsService/MaterializeChannel"
)Warehouse_CreateAsset_FullMethodName, Warehouse_UpdateAsset_FullMethodName, Warehouse_GetAsset_FullMethodName, Warehouse_ListAssets_FullMethodName, Warehouse_DeleteAsset_FullMethodName, Warehouse_UploadAsset_FullMethodName, Warehouse_GenerateRetrievalUrl_FullMethodName, Warehouse_AnalyzeAsset_FullMethodName, Warehouse_IndexAsset_FullMethodName, Warehouse_RemoveIndexAsset_FullMethodName, Warehouse_ViewIndexedAssets_FullMethodName, Warehouse_CreateIndex_FullMethodName, Warehouse_UpdateIndex_FullMethodName, Warehouse_GetIndex_FullMethodName, Warehouse_ListIndexes_FullMethodName, Warehouse_DeleteIndex_FullMethodName, Warehouse_CreateCorpus_FullMethodName, Warehouse_GetCorpus_FullMethodName, Warehouse_UpdateCorpus_FullMethodName, Warehouse_ListCorpora_FullMethodName, Warehouse_DeleteCorpus_FullMethodName, Warehouse_AnalyzeCorpus_FullMethodName, Warehouse_CreateDataSchema_FullMethodName, Warehouse_UpdateDataSchema_FullMethodName, Warehouse_GetDataSchema_FullMethodName, Warehouse_DeleteDataSchema_FullMethodName, Warehouse_ListDataSchemas_FullMethodName, Warehouse_CreateAnnotation_FullMethodName, Warehouse_GetAnnotation_FullMethodName, Warehouse_ListAnnotations_FullMethodName, Warehouse_UpdateAnnotation_FullMethodName, Warehouse_DeleteAnnotation_FullMethodName, Warehouse_IngestAsset_FullMethodName, Warehouse_ClipAsset_FullMethodName, Warehouse_GenerateHlsUri_FullMethodName, Warehouse_ImportAssets_FullMethodName, Warehouse_CreateSearchConfig_FullMethodName, Warehouse_UpdateSearchConfig_FullMethodName, Warehouse_GetSearchConfig_FullMethodName, Warehouse_DeleteSearchConfig_FullMethodName, Warehouse_ListSearchConfigs_FullMethodName, Warehouse_CreateSearchHypernym_FullMethodName, Warehouse_UpdateSearchHypernym_FullMethodName, Warehouse_GetSearchHypernym_FullMethodName, Warehouse_DeleteSearchHypernym_FullMethodName, Warehouse_ListSearchHypernyms_FullMethodName, Warehouse_SearchAssets_FullMethodName, Warehouse_SearchIndexEndpoint_FullMethodName, Warehouse_CreateIndexEndpoint_FullMethodName, Warehouse_GetIndexEndpoint_FullMethodName, Warehouse_ListIndexEndpoints_FullMethodName, Warehouse_UpdateIndexEndpoint_FullMethodName, Warehouse_DeleteIndexEndpoint_FullMethodName, Warehouse_DeployIndex_FullMethodName, Warehouse_UndeployIndex_FullMethodName, Warehouse_CreateCollection_FullMethodName, Warehouse_DeleteCollection_FullMethodName, Warehouse_GetCollection_FullMethodName, Warehouse_UpdateCollection_FullMethodName, Warehouse_ListCollections_FullMethodName, Warehouse_AddCollectionItem_FullMethodName, Warehouse_RemoveCollectionItem_FullMethodName, Warehouse_ViewCollectionItems_FullMethodName
const (
Warehouse_CreateAsset_FullMethodName = "/google.cloud.visionai.v1.Warehouse/CreateAsset"
Warehouse_UpdateAsset_FullMethodName = "/google.cloud.visionai.v1.Warehouse/UpdateAsset"
Warehouse_GetAsset_FullMethodName = "/google.cloud.visionai.v1.Warehouse/GetAsset"
Warehouse_ListAssets_FullMethodName = "/google.cloud.visionai.v1.Warehouse/ListAssets"
Warehouse_DeleteAsset_FullMethodName = "/google.cloud.visionai.v1.Warehouse/DeleteAsset"
Warehouse_UploadAsset_FullMethodName = "/google.cloud.visionai.v1.Warehouse/UploadAsset"
Warehouse_GenerateRetrievalUrl_FullMethodName = "/google.cloud.visionai.v1.Warehouse/GenerateRetrievalUrl"
Warehouse_AnalyzeAsset_FullMethodName = "/google.cloud.visionai.v1.Warehouse/AnalyzeAsset"
Warehouse_IndexAsset_FullMethodName = "/google.cloud.visionai.v1.Warehouse/IndexAsset"
Warehouse_RemoveIndexAsset_FullMethodName = "/google.cloud.visionai.v1.Warehouse/RemoveIndexAsset"
Warehouse_ViewIndexedAssets_FullMethodName = "/google.cloud.visionai.v1.Warehouse/ViewIndexedAssets"
Warehouse_CreateIndex_FullMethodName = "/google.cloud.visionai.v1.Warehouse/CreateIndex"
Warehouse_UpdateIndex_FullMethodName = "/google.cloud.visionai.v1.Warehouse/UpdateIndex"
Warehouse_GetIndex_FullMethodName = "/google.cloud.visionai.v1.Warehouse/GetIndex"
Warehouse_ListIndexes_FullMethodName = "/google.cloud.visionai.v1.Warehouse/ListIndexes"
Warehouse_DeleteIndex_FullMethodName = "/google.cloud.visionai.v1.Warehouse/DeleteIndex"
Warehouse_CreateCorpus_FullMethodName = "/google.cloud.visionai.v1.Warehouse/CreateCorpus"
Warehouse_GetCorpus_FullMethodName = "/google.cloud.visionai.v1.Warehouse/GetCorpus"
Warehouse_UpdateCorpus_FullMethodName = "/google.cloud.visionai.v1.Warehouse/UpdateCorpus"
Warehouse_ListCorpora_FullMethodName = "/google.cloud.visionai.v1.Warehouse/ListCorpora"
Warehouse_DeleteCorpus_FullMethodName = "/google.cloud.visionai.v1.Warehouse/DeleteCorpus"
Warehouse_AnalyzeCorpus_FullMethodName = "/google.cloud.visionai.v1.Warehouse/AnalyzeCorpus"
Warehouse_CreateDataSchema_FullMethodName = "/google.cloud.visionai.v1.Warehouse/CreateDataSchema"
Warehouse_UpdateDataSchema_FullMethodName = "/google.cloud.visionai.v1.Warehouse/UpdateDataSchema"
Warehouse_GetDataSchema_FullMethodName = "/google.cloud.visionai.v1.Warehouse/GetDataSchema"
Warehouse_DeleteDataSchema_FullMethodName = "/google.cloud.visionai.v1.Warehouse/DeleteDataSchema"
Warehouse_ListDataSchemas_FullMethodName = "/google.cloud.visionai.v1.Warehouse/ListDataSchemas"
Warehouse_CreateAnnotation_FullMethodName = "/google.cloud.visionai.v1.Warehouse/CreateAnnotation"
Warehouse_GetAnnotation_FullMethodName = "/google.cloud.visionai.v1.Warehouse/GetAnnotation"
Warehouse_ListAnnotations_FullMethodName = "/google.cloud.visionai.v1.Warehouse/ListAnnotations"
Warehouse_UpdateAnnotation_FullMethodName = "/google.cloud.visionai.v1.Warehouse/UpdateAnnotation"
Warehouse_DeleteAnnotation_FullMethodName = "/google.cloud.visionai.v1.Warehouse/DeleteAnnotation"
Warehouse_IngestAsset_FullMethodName = "/google.cloud.visionai.v1.Warehouse/IngestAsset"
Warehouse_ClipAsset_FullMethodName = "/google.cloud.visionai.v1.Warehouse/ClipAsset"
Warehouse_GenerateHlsUri_FullMethodName = "/google.cloud.visionai.v1.Warehouse/GenerateHlsUri"
Warehouse_ImportAssets_FullMethodName = "/google.cloud.visionai.v1.Warehouse/ImportAssets"
Warehouse_CreateSearchConfig_FullMethodName = "/google.cloud.visionai.v1.Warehouse/CreateSearchConfig"
Warehouse_UpdateSearchConfig_FullMethodName = "/google.cloud.visionai.v1.Warehouse/UpdateSearchConfig"
Warehouse_GetSearchConfig_FullMethodName = "/google.cloud.visionai.v1.Warehouse/GetSearchConfig"
Warehouse_DeleteSearchConfig_FullMethodName = "/google.cloud.visionai.v1.Warehouse/DeleteSearchConfig"
Warehouse_ListSearchConfigs_FullMethodName = "/google.cloud.visionai.v1.Warehouse/ListSearchConfigs"
Warehouse_CreateSearchHypernym_FullMethodName = "/google.cloud.visionai.v1.Warehouse/CreateSearchHypernym"
Warehouse_UpdateSearchHypernym_FullMethodName = "/google.cloud.visionai.v1.Warehouse/UpdateSearchHypernym"
Warehouse_GetSearchHypernym_FullMethodName = "/google.cloud.visionai.v1.Warehouse/GetSearchHypernym"
Warehouse_DeleteSearchHypernym_FullMethodName = "/google.cloud.visionai.v1.Warehouse/DeleteSearchHypernym"
Warehouse_ListSearchHypernyms_FullMethodName = "/google.cloud.visionai.v1.Warehouse/ListSearchHypernyms"
Warehouse_SearchAssets_FullMethodName = "/google.cloud.visionai.v1.Warehouse/SearchAssets"
Warehouse_SearchIndexEndpoint_FullMethodName = "/google.cloud.visionai.v1.Warehouse/SearchIndexEndpoint"
Warehouse_CreateIndexEndpoint_FullMethodName = "/google.cloud.visionai.v1.Warehouse/CreateIndexEndpoint"
Warehouse_GetIndexEndpoint_FullMethodName = "/google.cloud.visionai.v1.Warehouse/GetIndexEndpoint"
Warehouse_ListIndexEndpoints_FullMethodName = "/google.cloud.visionai.v1.Warehouse/ListIndexEndpoints"
Warehouse_UpdateIndexEndpoint_FullMethodName = "/google.cloud.visionai.v1.Warehouse/UpdateIndexEndpoint"
Warehouse_DeleteIndexEndpoint_FullMethodName = "/google.cloud.visionai.v1.Warehouse/DeleteIndexEndpoint"
Warehouse_DeployIndex_FullMethodName = "/google.cloud.visionai.v1.Warehouse/DeployIndex"
Warehouse_UndeployIndex_FullMethodName = "/google.cloud.visionai.v1.Warehouse/UndeployIndex"
Warehouse_CreateCollection_FullMethodName = "/google.cloud.visionai.v1.Warehouse/CreateCollection"
Warehouse_DeleteCollection_FullMethodName = "/google.cloud.visionai.v1.Warehouse/DeleteCollection"
Warehouse_GetCollection_FullMethodName = "/google.cloud.visionai.v1.Warehouse/GetCollection"
Warehouse_UpdateCollection_FullMethodName = "/google.cloud.visionai.v1.Warehouse/UpdateCollection"
Warehouse_ListCollections_FullMethodName = "/google.cloud.visionai.v1.Warehouse/ListCollections"
Warehouse_AddCollectionItem_FullMethodName = "/google.cloud.visionai.v1.Warehouse/AddCollectionItem"
Warehouse_RemoveCollectionItem_FullMethodName = "/google.cloud.visionai.v1.Warehouse/RemoveCollectionItem"
Warehouse_ViewCollectionItems_FullMethodName = "/google.cloud.visionai.v1.Warehouse/ViewCollectionItems"
)HealthCheckService_HealthCheck_FullMethodName
const (
HealthCheckService_HealthCheck_FullMethodName = "/google.cloud.visionai.v1.HealthCheckService/HealthCheck"
)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.
AppPlatform_ServiceDesc
var AppPlatform_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.visionai.v1.AppPlatform",
HandlerType: (*AppPlatformServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListApplications",
Handler: _AppPlatform_ListApplications_Handler,
},
{
MethodName: "GetApplication",
Handler: _AppPlatform_GetApplication_Handler,
},
{
MethodName: "CreateApplication",
Handler: _AppPlatform_CreateApplication_Handler,
},
{
MethodName: "UpdateApplication",
Handler: _AppPlatform_UpdateApplication_Handler,
},
{
MethodName: "DeleteApplication",
Handler: _AppPlatform_DeleteApplication_Handler,
},
{
MethodName: "DeployApplication",
Handler: _AppPlatform_DeployApplication_Handler,
},
{
MethodName: "UndeployApplication",
Handler: _AppPlatform_UndeployApplication_Handler,
},
{
MethodName: "AddApplicationStreamInput",
Handler: _AppPlatform_AddApplicationStreamInput_Handler,
},
{
MethodName: "RemoveApplicationStreamInput",
Handler: _AppPlatform_RemoveApplicationStreamInput_Handler,
},
{
MethodName: "UpdateApplicationStreamInput",
Handler: _AppPlatform_UpdateApplicationStreamInput_Handler,
},
{
MethodName: "ListInstances",
Handler: _AppPlatform_ListInstances_Handler,
},
{
MethodName: "GetInstance",
Handler: _AppPlatform_GetInstance_Handler,
},
{
MethodName: "CreateApplicationInstances",
Handler: _AppPlatform_CreateApplicationInstances_Handler,
},
{
MethodName: "DeleteApplicationInstances",
Handler: _AppPlatform_DeleteApplicationInstances_Handler,
},
{
MethodName: "UpdateApplicationInstances",
Handler: _AppPlatform_UpdateApplicationInstances_Handler,
},
{
MethodName: "ListDrafts",
Handler: _AppPlatform_ListDrafts_Handler,
},
{
MethodName: "GetDraft",
Handler: _AppPlatform_GetDraft_Handler,
},
{
MethodName: "CreateDraft",
Handler: _AppPlatform_CreateDraft_Handler,
},
{
MethodName: "UpdateDraft",
Handler: _AppPlatform_UpdateDraft_Handler,
},
{
MethodName: "DeleteDraft",
Handler: _AppPlatform_DeleteDraft_Handler,
},
{
MethodName: "ListProcessors",
Handler: _AppPlatform_ListProcessors_Handler,
},
{
MethodName: "ListPrebuiltProcessors",
Handler: _AppPlatform_ListPrebuiltProcessors_Handler,
},
{
MethodName: "GetProcessor",
Handler: _AppPlatform_GetProcessor_Handler,
},
{
MethodName: "CreateProcessor",
Handler: _AppPlatform_CreateProcessor_Handler,
},
{
MethodName: "UpdateProcessor",
Handler: _AppPlatform_UpdateProcessor_Handler,
},
{
MethodName: "DeleteProcessor",
Handler: _AppPlatform_DeleteProcessor_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/visionai/v1/platform.proto",
}AppPlatform_ServiceDesc is the grpc.ServiceDesc for AppPlatform service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_visionai_v1_annotations_proto
var File_google_cloud_visionai_v1_annotations_proto protoreflect.FileDescriptorFile_google_cloud_visionai_v1_common_proto
var File_google_cloud_visionai_v1_common_proto protoreflect.FileDescriptorFile_google_cloud_visionai_v1_health_service_proto
var File_google_cloud_visionai_v1_health_service_proto protoreflect.FileDescriptorFile_google_cloud_visionai_v1_lva_proto
var File_google_cloud_visionai_v1_lva_proto protoreflect.FileDescriptorFile_google_cloud_visionai_v1_lva_resources_proto
var File_google_cloud_visionai_v1_lva_resources_proto protoreflect.FileDescriptorFile_google_cloud_visionai_v1_lva_service_proto
var File_google_cloud_visionai_v1_lva_service_proto protoreflect.FileDescriptorFile_google_cloud_visionai_v1_platform_proto
var File_google_cloud_visionai_v1_platform_proto protoreflect.FileDescriptorFile_google_cloud_visionai_v1_streaming_resources_proto
var File_google_cloud_visionai_v1_streaming_resources_proto protoreflect.FileDescriptorFile_google_cloud_visionai_v1_streaming_service_proto
var File_google_cloud_visionai_v1_streaming_service_proto protoreflect.FileDescriptorFile_google_cloud_visionai_v1_streams_resources_proto
var File_google_cloud_visionai_v1_streams_resources_proto protoreflect.FileDescriptorFile_google_cloud_visionai_v1_streams_service_proto
var File_google_cloud_visionai_v1_streams_service_proto protoreflect.FileDescriptorFile_google_cloud_visionai_v1_warehouse_proto
var File_google_cloud_visionai_v1_warehouse_proto protoreflect.FileDescriptorHealthCheckService_ServiceDesc
var HealthCheckService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.visionai.v1.HealthCheckService",
HandlerType: (*HealthCheckServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "HealthCheck",
Handler: _HealthCheckService_HealthCheck_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/visionai/v1/health_service.proto",
}HealthCheckService_ServiceDesc is the grpc.ServiceDesc for HealthCheckService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
LiveVideoAnalytics_ServiceDesc
var LiveVideoAnalytics_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.visionai.v1.LiveVideoAnalytics",
HandlerType: (*LiveVideoAnalyticsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListPublicOperators",
Handler: _LiveVideoAnalytics_ListPublicOperators_Handler,
},
{
MethodName: "ResolveOperatorInfo",
Handler: _LiveVideoAnalytics_ResolveOperatorInfo_Handler,
},
{
MethodName: "ListOperators",
Handler: _LiveVideoAnalytics_ListOperators_Handler,
},
{
MethodName: "GetOperator",
Handler: _LiveVideoAnalytics_GetOperator_Handler,
},
{
MethodName: "CreateOperator",
Handler: _LiveVideoAnalytics_CreateOperator_Handler,
},
{
MethodName: "UpdateOperator",
Handler: _LiveVideoAnalytics_UpdateOperator_Handler,
},
{
MethodName: "DeleteOperator",
Handler: _LiveVideoAnalytics_DeleteOperator_Handler,
},
{
MethodName: "ListAnalyses",
Handler: _LiveVideoAnalytics_ListAnalyses_Handler,
},
{
MethodName: "GetAnalysis",
Handler: _LiveVideoAnalytics_GetAnalysis_Handler,
},
{
MethodName: "CreateAnalysis",
Handler: _LiveVideoAnalytics_CreateAnalysis_Handler,
},
{
MethodName: "UpdateAnalysis",
Handler: _LiveVideoAnalytics_UpdateAnalysis_Handler,
},
{
MethodName: "DeleteAnalysis",
Handler: _LiveVideoAnalytics_DeleteAnalysis_Handler,
},
{
MethodName: "ListProcesses",
Handler: _LiveVideoAnalytics_ListProcesses_Handler,
},
{
MethodName: "GetProcess",
Handler: _LiveVideoAnalytics_GetProcess_Handler,
},
{
MethodName: "CreateProcess",
Handler: _LiveVideoAnalytics_CreateProcess_Handler,
},
{
MethodName: "UpdateProcess",
Handler: _LiveVideoAnalytics_UpdateProcess_Handler,
},
{
MethodName: "DeleteProcess",
Handler: _LiveVideoAnalytics_DeleteProcess_Handler,
},
{
MethodName: "BatchRunProcess",
Handler: _LiveVideoAnalytics_BatchRunProcess_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/visionai/v1/lva_service.proto",
}LiveVideoAnalytics_ServiceDesc is the grpc.ServiceDesc for LiveVideoAnalytics service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
StreamingService_ServiceDesc
var StreamingService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.visionai.v1.StreamingService",
HandlerType: (*StreamingServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "AcquireLease",
Handler: _StreamingService_AcquireLease_Handler,
},
{
MethodName: "RenewLease",
Handler: _StreamingService_RenewLease_Handler,
},
{
MethodName: "ReleaseLease",
Handler: _StreamingService_ReleaseLease_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "SendPackets",
Handler: _StreamingService_SendPackets_Handler,
ServerStreams: true,
ClientStreams: true,
},
{
StreamName: "ReceivePackets",
Handler: _StreamingService_ReceivePackets_Handler,
ServerStreams: true,
ClientStreams: true,
},
{
StreamName: "ReceiveEvents",
Handler: _StreamingService_ReceiveEvents_Handler,
ServerStreams: true,
ClientStreams: true,
},
},
Metadata: "google/cloud/visionai/v1/streaming_service.proto",
}StreamingService_ServiceDesc is the grpc.ServiceDesc for StreamingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
StreamsService_ServiceDesc
var StreamsService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.visionai.v1.StreamsService",
HandlerType: (*StreamsServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListClusters",
Handler: _StreamsService_ListClusters_Handler,
},
{
MethodName: "GetCluster",
Handler: _StreamsService_GetCluster_Handler,
},
{
MethodName: "CreateCluster",
Handler: _StreamsService_CreateCluster_Handler,
},
{
MethodName: "UpdateCluster",
Handler: _StreamsService_UpdateCluster_Handler,
},
{
MethodName: "DeleteCluster",
Handler: _StreamsService_DeleteCluster_Handler,
},
{
MethodName: "ListStreams",
Handler: _StreamsService_ListStreams_Handler,
},
{
MethodName: "GetStream",
Handler: _StreamsService_GetStream_Handler,
},
{
MethodName: "CreateStream",
Handler: _StreamsService_CreateStream_Handler,
},
{
MethodName: "UpdateStream",
Handler: _StreamsService_UpdateStream_Handler,
},
{
MethodName: "DeleteStream",
Handler: _StreamsService_DeleteStream_Handler,
},
{
MethodName: "GetStreamThumbnail",
Handler: _StreamsService_GetStreamThumbnail_Handler,
},
{
MethodName: "GenerateStreamHlsToken",
Handler: _StreamsService_GenerateStreamHlsToken_Handler,
},
{
MethodName: "ListEvents",
Handler: _StreamsService_ListEvents_Handler,
},
{
MethodName: "GetEvent",
Handler: _StreamsService_GetEvent_Handler,
},
{
MethodName: "CreateEvent",
Handler: _StreamsService_CreateEvent_Handler,
},
{
MethodName: "UpdateEvent",
Handler: _StreamsService_UpdateEvent_Handler,
},
{
MethodName: "DeleteEvent",
Handler: _StreamsService_DeleteEvent_Handler,
},
{
MethodName: "ListSeries",
Handler: _StreamsService_ListSeries_Handler,
},
{
MethodName: "GetSeries",
Handler: _StreamsService_GetSeries_Handler,
},
{
MethodName: "CreateSeries",
Handler: _StreamsService_CreateSeries_Handler,
},
{
MethodName: "UpdateSeries",
Handler: _StreamsService_UpdateSeries_Handler,
},
{
MethodName: "DeleteSeries",
Handler: _StreamsService_DeleteSeries_Handler,
},
{
MethodName: "MaterializeChannel",
Handler: _StreamsService_MaterializeChannel_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/visionai/v1/streams_service.proto",
}StreamsService_ServiceDesc is the grpc.ServiceDesc for StreamsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Warehouse_ServiceDesc
var Warehouse_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.visionai.v1.Warehouse",
HandlerType: (*WarehouseServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateAsset",
Handler: _Warehouse_CreateAsset_Handler,
},
{
MethodName: "UpdateAsset",
Handler: _Warehouse_UpdateAsset_Handler,
},
{
MethodName: "GetAsset",
Handler: _Warehouse_GetAsset_Handler,
},
{
MethodName: "ListAssets",
Handler: _Warehouse_ListAssets_Handler,
},
{
MethodName: "DeleteAsset",
Handler: _Warehouse_DeleteAsset_Handler,
},
{
MethodName: "UploadAsset",
Handler: _Warehouse_UploadAsset_Handler,
},
{
MethodName: "GenerateRetrievalUrl",
Handler: _Warehouse_GenerateRetrievalUrl_Handler,
},
{
MethodName: "AnalyzeAsset",
Handler: _Warehouse_AnalyzeAsset_Handler,
},
{
MethodName: "IndexAsset",
Handler: _Warehouse_IndexAsset_Handler,
},
{
MethodName: "RemoveIndexAsset",
Handler: _Warehouse_RemoveIndexAsset_Handler,
},
{
MethodName: "ViewIndexedAssets",
Handler: _Warehouse_ViewIndexedAssets_Handler,
},
{
MethodName: "CreateIndex",
Handler: _Warehouse_CreateIndex_Handler,
},
{
MethodName: "UpdateIndex",
Handler: _Warehouse_UpdateIndex_Handler,
},
{
MethodName: "GetIndex",
Handler: _Warehouse_GetIndex_Handler,
},
{
MethodName: "ListIndexes",
Handler: _Warehouse_ListIndexes_Handler,
},
{
MethodName: "DeleteIndex",
Handler: _Warehouse_DeleteIndex_Handler,
},
{
MethodName: "CreateCorpus",
Handler: _Warehouse_CreateCorpus_Handler,
},
{
MethodName: "GetCorpus",
Handler: _Warehouse_GetCorpus_Handler,
},
{
MethodName: "UpdateCorpus",
Handler: _Warehouse_UpdateCorpus_Handler,
},
{
MethodName: "ListCorpora",
Handler: _Warehouse_ListCorpora_Handler,
},
{
MethodName: "DeleteCorpus",
Handler: _Warehouse_DeleteCorpus_Handler,
},
{
MethodName: "AnalyzeCorpus",
Handler: _Warehouse_AnalyzeCorpus_Handler,
},
{
MethodName: "CreateDataSchema",
Handler: _Warehouse_CreateDataSchema_Handler,
},
{
MethodName: "UpdateDataSchema",
Handler: _Warehouse_UpdateDataSchema_Handler,
},
{
MethodName: "GetDataSchema",
Handler: _Warehouse_GetDataSchema_Handler,
},
{
MethodName: "DeleteDataSchema",
Handler: _Warehouse_DeleteDataSchema_Handler,
},
{
MethodName: "ListDataSchemas",
Handler: _Warehouse_ListDataSchemas_Handler,
},
{
MethodName: "CreateAnnotation",
Handler: _Warehouse_CreateAnnotation_Handler,
},
{
MethodName: "GetAnnotation",
Handler: _Warehouse_GetAnnotation_Handler,
},
{
MethodName: "ListAnnotations",
Handler: _Warehouse_ListAnnotations_Handler,
},
{
MethodName: "UpdateAnnotation",
Handler: _Warehouse_UpdateAnnotation_Handler,
},
{
MethodName: "DeleteAnnotation",
Handler: _Warehouse_DeleteAnnotation_Handler,
},
{
MethodName: "ClipAsset",
Handler: _Warehouse_ClipAsset_Handler,
},
{
MethodName: "GenerateHlsUri",
Handler: _Warehouse_GenerateHlsUri_Handler,
},
{
MethodName: "ImportAssets",
Handler: _Warehouse_ImportAssets_Handler,
},
{
MethodName: "CreateSearchConfig",
Handler: _Warehouse_CreateSearchConfig_Handler,
},
{
MethodName: "UpdateSearchConfig",
Handler: _Warehouse_UpdateSearchConfig_Handler,
},
{
MethodName: "GetSearchConfig",
Handler: _Warehouse_GetSearchConfig_Handler,
},
{
MethodName: "DeleteSearchConfig",
Handler: _Warehouse_DeleteSearchConfig_Handler,
},
{
MethodName: "ListSearchConfigs",
Handler: _Warehouse_ListSearchConfigs_Handler,
},
{
MethodName: "CreateSearchHypernym",
Handler: _Warehouse_CreateSearchHypernym_Handler,
},
{
MethodName: "UpdateSearchHypernym",
Handler: _Warehouse_UpdateSearchHypernym_Handler,
},
{
MethodName: "GetSearchHypernym",
Handler: _Warehouse_GetSearchHypernym_Handler,
},
{
MethodName: "DeleteSearchHypernym",
Handler: _Warehouse_DeleteSearchHypernym_Handler,
},
{
MethodName: "ListSearchHypernyms",
Handler: _Warehouse_ListSearchHypernyms_Handler,
},
{
MethodName: "SearchAssets",
Handler: _Warehouse_SearchAssets_Handler,
},
{
MethodName: "SearchIndexEndpoint",
Handler: _Warehouse_SearchIndexEndpoint_Handler,
},
{
MethodName: "CreateIndexEndpoint",
Handler: _Warehouse_CreateIndexEndpoint_Handler,
},
{
MethodName: "GetIndexEndpoint",
Handler: _Warehouse_GetIndexEndpoint_Handler,
},
{
MethodName: "ListIndexEndpoints",
Handler: _Warehouse_ListIndexEndpoints_Handler,
},
{
MethodName: "UpdateIndexEndpoint",
Handler: _Warehouse_UpdateIndexEndpoint_Handler,
},
{
MethodName: "DeleteIndexEndpoint",
Handler: _Warehouse_DeleteIndexEndpoint_Handler,
},
{
MethodName: "DeployIndex",
Handler: _Warehouse_DeployIndex_Handler,
},
{
MethodName: "UndeployIndex",
Handler: _Warehouse_UndeployIndex_Handler,
},
{
MethodName: "CreateCollection",
Handler: _Warehouse_CreateCollection_Handler,
},
{
MethodName: "DeleteCollection",
Handler: _Warehouse_DeleteCollection_Handler,
},
{
MethodName: "GetCollection",
Handler: _Warehouse_GetCollection_Handler,
},
{
MethodName: "UpdateCollection",
Handler: _Warehouse_UpdateCollection_Handler,
},
{
MethodName: "ListCollections",
Handler: _Warehouse_ListCollections_Handler,
},
{
MethodName: "AddCollectionItem",
Handler: _Warehouse_AddCollectionItem_Handler,
},
{
MethodName: "RemoveCollectionItem",
Handler: _Warehouse_RemoveCollectionItem_Handler,
},
{
MethodName: "ViewCollectionItems",
Handler: _Warehouse_ViewCollectionItems_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "IngestAsset",
Handler: _Warehouse_IngestAsset_Handler,
ServerStreams: true,
ClientStreams: true,
},
},
Metadata: "google/cloud/visionai/v1/warehouse.proto",
}Warehouse_ServiceDesc is the grpc.ServiceDesc for Warehouse service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterAppPlatformServer
func RegisterAppPlatformServer(s grpc.ServiceRegistrar, srv AppPlatformServer)func RegisterHealthCheckServiceServer
func RegisterHealthCheckServiceServer(s grpc.ServiceRegistrar, srv HealthCheckServiceServer)func RegisterLiveVideoAnalyticsServer
func RegisterLiveVideoAnalyticsServer(s grpc.ServiceRegistrar, srv LiveVideoAnalyticsServer)func RegisterStreamingServiceServer
func RegisterStreamingServiceServer(s grpc.ServiceRegistrar, srv StreamingServiceServer)func RegisterStreamsServiceServer
func RegisterStreamsServiceServer(s grpc.ServiceRegistrar, srv StreamsServiceServer)func RegisterWarehouseServer
func RegisterWarehouseServer(s grpc.ServiceRegistrar, 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.Messagefunc (*AIEnabledDevicesInputConfig) Reset
func (x *AIEnabledDevicesInputConfig) Reset()func (*AIEnabledDevicesInputConfig) String
func (x *AIEnabledDevicesInputConfig) String() stringAcceleratorType
type AcceleratorType int32Represents 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.EnumDescriptorfunc (AcceleratorType) Enum
func (x AcceleratorType) Enum() *AcceleratorTypefunc (AcceleratorType) EnumDescriptor
func (AcceleratorType) EnumDescriptor() ([]byte, []int)Deprecated: Use AcceleratorType.Descriptor instead.
func (AcceleratorType) Number
func (x AcceleratorType) Number() protoreflect.EnumNumberfunc (AcceleratorType) String
func (x AcceleratorType) String() stringfunc (AcceleratorType) Type
func (AcceleratorType) Type() protoreflect.EnumTypeAcquireLeaseRequest
type AcquireLeaseRequest struct {
// The series name.
Series string `protobuf:"bytes,1,opt,name=series,proto3" json:"series,omitempty"`
// The owner name.
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
// The lease term.
Term *durationpb.Duration `protobuf:"bytes,3,opt,name=term,proto3" json:"term,omitempty"`
// The lease type.
LeaseType LeaseType `protobuf:"varint,4,opt,name=lease_type,json=leaseType,proto3,enum=google.cloud.visionai.v1.LeaseType" json:"lease_type,omitempty"`
// contains filtered or unexported fields
}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() LeaseTypefunc (*AcquireLeaseRequest) GetOwner
func (x *AcquireLeaseRequest) GetOwner() stringfunc (*AcquireLeaseRequest) GetSeries
func (x *AcquireLeaseRequest) GetSeries() stringfunc (*AcquireLeaseRequest) GetTerm
func (x *AcquireLeaseRequest) GetTerm() *durationpb.Durationfunc (*AcquireLeaseRequest) ProtoMessage
func (*AcquireLeaseRequest) ProtoMessage()func (*AcquireLeaseRequest) ProtoReflect
func (x *AcquireLeaseRequest) ProtoReflect() protoreflect.Messagefunc (*AcquireLeaseRequest) Reset
func (x *AcquireLeaseRequest) Reset()func (*AcquireLeaseRequest) String
func (x *AcquireLeaseRequest) String() stringAddApplicationStreamInputRequest
type AddApplicationStreamInputRequest 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 stream inputs to add, the stream resource name is the key of each
// StreamInput, and it must be unique within each application.
ApplicationStreamInputs []*ApplicationStreamInput `protobuf:"bytes,2,rep,name=application_stream_inputs,json=applicationStreamInputs,proto3" json:"application_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 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() []*ApplicationStreamInputfunc (*AddApplicationStreamInputRequest) GetName
func (x *AddApplicationStreamInputRequest) GetName() stringfunc (*AddApplicationStreamInputRequest) GetRequestId
func (x *AddApplicationStreamInputRequest) GetRequestId() stringfunc (*AddApplicationStreamInputRequest) ProtoMessage
func (*AddApplicationStreamInputRequest) ProtoMessage()func (*AddApplicationStreamInputRequest) ProtoReflect
func (x *AddApplicationStreamInputRequest) ProtoReflect() protoreflect.Messagefunc (*AddApplicationStreamInputRequest) Reset
func (x *AddApplicationStreamInputRequest) Reset()func (*AddApplicationStreamInputRequest) String
func (x *AddApplicationStreamInputRequest) String() stringAddApplicationStreamInputResponse
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.Messagefunc (*AddApplicationStreamInputResponse) Reset
func (x *AddApplicationStreamInputResponse) Reset()func (*AddApplicationStreamInputResponse) String
func (x *AddApplicationStreamInputResponse) String() stringAddCollectionItemRequest
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() *CollectionItemfunc (*AddCollectionItemRequest) ProtoMessage
func (*AddCollectionItemRequest) ProtoMessage()func (*AddCollectionItemRequest) ProtoReflect
func (x *AddCollectionItemRequest) ProtoReflect() protoreflect.Messagefunc (*AddCollectionItemRequest) Reset
func (x *AddCollectionItemRequest) Reset()func (*AddCollectionItemRequest) String
func (x *AddCollectionItemRequest) String() stringAddCollectionItemResponse
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() *CollectionItemfunc (*AddCollectionItemResponse) ProtoMessage
func (*AddCollectionItemResponse) ProtoMessage()func (*AddCollectionItemResponse) ProtoReflect
func (x *AddCollectionItemResponse) ProtoReflect() protoreflect.Messagefunc (*AddCollectionItemResponse) Reset
func (x *AddCollectionItemResponse) Reset()func (*AddCollectionItemResponse) String
func (x *AddCollectionItemResponse) String() stringAnalysis
type Analysis 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"`
// Labels as key value pairs.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// The definition of the analysis.
AnalysisDefinition *AnalysisDefinition `protobuf:"bytes,5,opt,name=analysis_definition,json=analysisDefinition,proto3" json:"analysis_definition,omitempty"`
// Map from the input parameter in the definition to the real stream.
// E.g., suppose you had a stream source operator named "input-0" and you try
// to receive from the real stream "stream-0". You can add the following
// mapping: [input-0: stream-0].
InputStreamsMapping map[string]string `protobuf:"bytes,6,rep,name=input_streams_mapping,json=inputStreamsMapping,proto3" json:"input_streams_mapping,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Map from the output parameter in the definition to the real stream.
// E.g., suppose you had a stream sink operator named "output-0" and you try
// to send to the real stream "stream-0". You can add the following
// mapping: [output-0: stream-0].
OutputStreamsMapping map[string]string `protobuf:"bytes,7,rep,name=output_streams_mapping,json=outputStreamsMapping,proto3" json:"output_streams_mapping,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Boolean flag to indicate whether you would like to disable the ability
// to automatically start a Process when new event happening in the input
// Stream. If you would like to start a Process manually, the field needs
// to be set to true.
DisableEventWatch bool `protobuf:"varint,8,opt,name=disable_event_watch,json=disableEventWatch,proto3" json:"disable_event_watch,omitempty"`
// contains filtered or unexported fields
}Message describing the Analysis object.
func (*Analysis) Descriptor
Deprecated: Use Analysis.ProtoReflect.Descriptor instead.
func (*Analysis) GetAnalysisDefinition
func (x *Analysis) GetAnalysisDefinition() *AnalysisDefinitionfunc (*Analysis) GetCreateTime
func (x *Analysis) GetCreateTime() *timestamppb.Timestampfunc (*Analysis) GetDisableEventWatch
func (*Analysis) GetInputStreamsMapping
func (*Analysis) GetLabels
func (*Analysis) GetName
func (*Analysis) GetOutputStreamsMapping
func (*Analysis) GetUpdateTime
func (x *Analysis) GetUpdateTime() *timestamppb.Timestampfunc (*Analysis) ProtoMessage
func (*Analysis) ProtoMessage()func (*Analysis) ProtoReflect
func (x *Analysis) ProtoReflect() protoreflect.Messagefunc (*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() []*AnalyzerDefinitionfunc (*AnalysisDefinition) ProtoMessage
func (*AnalysisDefinition) ProtoMessage()func (*AnalysisDefinition) ProtoReflect
func (x *AnalysisDefinition) ProtoReflect() protoreflect.Messagefunc (*AnalysisDefinition) Reset
func (x *AnalysisDefinition) Reset()func (*AnalysisDefinition) String
func (x *AnalysisDefinition) String() stringAnalyzeAssetMetadata
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_AnalysisStatusfunc (*AnalyzeAssetMetadata) GetStartTime
func (x *AnalyzeAssetMetadata) GetStartTime() *timestamppb.Timestampfunc (*AnalyzeAssetMetadata) GetUpdateTime
func (x *AnalyzeAssetMetadata) GetUpdateTime() *timestamppb.Timestampfunc (*AnalyzeAssetMetadata) ProtoMessage
func (*AnalyzeAssetMetadata) ProtoMessage()func (*AnalyzeAssetMetadata) ProtoReflect
func (x *AnalyzeAssetMetadata) ProtoReflect() protoreflect.Messagefunc (*AnalyzeAssetMetadata) Reset
func (x *AnalyzeAssetMetadata) Reset()func (*AnalyzeAssetMetadata) String
func (x *AnalyzeAssetMetadata) String() stringAnalyzeAssetMetadata_AnalysisStatus
type AnalyzeAssetMetadata_AnalysisStatus struct {
State AnalyzeAssetMetadata_AnalysisStatus_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.visionai.v1.AnalyzeAssetMetadata_AnalysisStatus_State" json:"state,omitempty"`
StatusMessage string `protobuf:"bytes,3,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// The search capability requested.
SearchCapability *SearchCapability `protobuf:"bytes,4,opt,name=search_capability,json=searchCapability,proto3" json:"search_capability,omitempty"`
// contains filtered or unexported fields
}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() *SearchCapabilityfunc (*AnalyzeAssetMetadata_AnalysisStatus) GetState
func (x *AnalyzeAssetMetadata_AnalysisStatus) GetState() AnalyzeAssetMetadata_AnalysisStatus_Statefunc (*AnalyzeAssetMetadata_AnalysisStatus) GetStatusMessage
func (x *AnalyzeAssetMetadata_AnalysisStatus) GetStatusMessage() stringfunc (*AnalyzeAssetMetadata_AnalysisStatus) ProtoMessage
func (*AnalyzeAssetMetadata_AnalysisStatus) ProtoMessage()func (*AnalyzeAssetMetadata_AnalysisStatus) ProtoReflect
func (x *AnalyzeAssetMetadata_AnalysisStatus) ProtoReflect() protoreflect.Messagefunc (*AnalyzeAssetMetadata_AnalysisStatus) Reset
func (x *AnalyzeAssetMetadata_AnalysisStatus) Reset()func (*AnalyzeAssetMetadata_AnalysisStatus) String
func (x *AnalyzeAssetMetadata_AnalysisStatus) String() stringAnalyzeAssetMetadata_AnalysisStatus_State
type AnalyzeAssetMetadata_AnalysisStatus_State int32The 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 ml model analysis is in progress.
AnalyzeAssetMetadata_AnalysisStatus_IN_PROGRESS AnalyzeAssetMetadata_AnalysisStatus_State = 1
// The ml model analysis is successfully done.
AnalyzeAssetMetadata_AnalysisStatus_SUCCEEDED AnalyzeAssetMetadata_AnalysisStatus_State = 2
// The ml model analysis failed.
AnalyzeAssetMetadata_AnalysisStatus_FAILED AnalyzeAssetMetadata_AnalysisStatus_State = 3
)func (AnalyzeAssetMetadata_AnalysisStatus_State) Descriptor
func (AnalyzeAssetMetadata_AnalysisStatus_State) Descriptor() protoreflect.EnumDescriptorfunc (AnalyzeAssetMetadata_AnalysisStatus_State) Enum
func (x AnalyzeAssetMetadata_AnalysisStatus_State) Enum() *AnalyzeAssetMetadata_AnalysisStatus_Statefunc (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.EnumNumberfunc (AnalyzeAssetMetadata_AnalysisStatus_State) String
func (x AnalyzeAssetMetadata_AnalysisStatus_State) String() stringfunc (AnalyzeAssetMetadata_AnalysisStatus_State) Type
func (AnalyzeAssetMetadata_AnalysisStatus_State) Type() protoreflect.EnumTypeAnalyzeAssetRequest
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() stringfunc (*AnalyzeAssetRequest) ProtoMessage
func (*AnalyzeAssetRequest) ProtoMessage()func (*AnalyzeAssetRequest) ProtoReflect
func (x *AnalyzeAssetRequest) ProtoReflect() protoreflect.Messagefunc (*AnalyzeAssetRequest) Reset
func (x *AnalyzeAssetRequest) Reset()func (*AnalyzeAssetRequest) String
func (x *AnalyzeAssetRequest) String() stringAnalyzeAssetResponse
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.Messagefunc (*AnalyzeAssetResponse) Reset
func (x *AnalyzeAssetResponse) Reset()func (*AnalyzeAssetResponse) String
func (x *AnalyzeAssetResponse) String() stringAnalyzeCorpusMetadata
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() *OperationMetadatafunc (*AnalyzeCorpusMetadata) ProtoMessage
func (*AnalyzeCorpusMetadata) ProtoMessage()func (*AnalyzeCorpusMetadata) ProtoReflect
func (x *AnalyzeCorpusMetadata) ProtoReflect() protoreflect.Messagefunc (*AnalyzeCorpusMetadata) Reset
func (x *AnalyzeCorpusMetadata) Reset()func (*AnalyzeCorpusMetadata) String
func (x *AnalyzeCorpusMetadata) String() stringAnalyzeCorpusRequest
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() stringfunc (*AnalyzeCorpusRequest) ProtoMessage
func (*AnalyzeCorpusRequest) ProtoMessage()func (*AnalyzeCorpusRequest) ProtoReflect
func (x *AnalyzeCorpusRequest) ProtoReflect() protoreflect.Messagefunc (*AnalyzeCorpusRequest) Reset
func (x *AnalyzeCorpusRequest) Reset()func (*AnalyzeCorpusRequest) String
func (x *AnalyzeCorpusRequest) String() stringAnalyzeCorpusResponse
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.Messagefunc (*AnalyzeCorpusResponse) Reset
func (x *AnalyzeCorpusResponse) Reset()func (*AnalyzeCorpusResponse) String
func (x *AnalyzeCorpusResponse) String() stringAnalyzerDefinition
type AnalyzerDefinition struct {
// The name of this analyzer.
//
// Tentatively [a-z][a-z0-9]*(_[a-z0-9]+)*.
Analyzer string `protobuf:"bytes,1,opt,name=analyzer,proto3" json:"analyzer,omitempty"`
// The name of the operator that this analyzer runs.
//
// Must match the name of a supported operator.
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
// Input streams.
Inputs []*AnalyzerDefinition_StreamInput `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"`
// The attribute values that this analyzer applies to the operator.
//
// Supply a mapping between the attribute names and the actual value you wish
// to apply. If an attribute name is omitted, then it will take a
// preconfigured default value.
Attrs map[string]*AttributeValue `protobuf:"bytes,4,rep,name=attrs,proto3" json:"attrs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Debug options.
DebugOptions *AnalyzerDefinition_DebugOptions `protobuf:"bytes,5,opt,name=debug_options,json=debugOptions,proto3" json:"debug_options,omitempty"`
// Operator option.
OperatorOption *AnalyzerDefinition_OperatorOption `protobuf:"bytes,6,opt,name=operator_option,json=operatorOption,proto3" json:"operator_option,omitempty"`
// contains filtered or unexported fields
}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() stringfunc (*AnalyzerDefinition) GetAttrs
func (x *AnalyzerDefinition) GetAttrs() map[string]*AttributeValuefunc (*AnalyzerDefinition) GetDebugOptions
func (x *AnalyzerDefinition) GetDebugOptions() *AnalyzerDefinition_DebugOptionsfunc (*AnalyzerDefinition) GetInputs
func (x *AnalyzerDefinition) GetInputs() []*AnalyzerDefinition_StreamInputfunc (*AnalyzerDefinition) GetOperator
func (x *AnalyzerDefinition) GetOperator() stringfunc (*AnalyzerDefinition) GetOperatorOption
func (x *AnalyzerDefinition) GetOperatorOption() *AnalyzerDefinition_OperatorOptionfunc (*AnalyzerDefinition) ProtoMessage
func (*AnalyzerDefinition) ProtoMessage()func (*AnalyzerDefinition) ProtoReflect
func (x *AnalyzerDefinition) ProtoReflect() protoreflect.Messagefunc (*AnalyzerDefinition) Reset
func (x *AnalyzerDefinition) Reset()func (*AnalyzerDefinition) String
func (x *AnalyzerDefinition) String() stringAnalyzerDefinition_DebugOptions
type AnalyzerDefinition_DebugOptions struct {
// Environment variables.
EnvironmentVariables map[string]string `protobuf:"bytes,1,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}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]stringfunc (*AnalyzerDefinition_DebugOptions) ProtoMessage
func (*AnalyzerDefinition_DebugOptions) ProtoMessage()func (*AnalyzerDefinition_DebugOptions) ProtoReflect
func (x *AnalyzerDefinition_DebugOptions) ProtoReflect() protoreflect.Messagefunc (*AnalyzerDefinition_DebugOptions) Reset
func (x *AnalyzerDefinition_DebugOptions) Reset()func (*AnalyzerDefinition_DebugOptions) String
func (x *AnalyzerDefinition_DebugOptions) String() stringAnalyzerDefinition_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() stringfunc (*AnalyzerDefinition_OperatorOption) GetTag
func (x *AnalyzerDefinition_OperatorOption) GetTag() stringfunc (*AnalyzerDefinition_OperatorOption) ProtoMessage
func (*AnalyzerDefinition_OperatorOption) ProtoMessage()func (*AnalyzerDefinition_OperatorOption) ProtoReflect
func (x *AnalyzerDefinition_OperatorOption) ProtoReflect() protoreflect.Messagefunc (*AnalyzerDefinition_OperatorOption) Reset
func (x *AnalyzerDefinition_OperatorOption) Reset()func (*AnalyzerDefinition_OperatorOption) String
func (x *AnalyzerDefinition_OperatorOption) String() stringAnalyzerDefinition_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() stringfunc (*AnalyzerDefinition_StreamInput) ProtoMessage
func (*AnalyzerDefinition_StreamInput) ProtoMessage()func (*AnalyzerDefinition_StreamInput) ProtoReflect
func (x *AnalyzerDefinition_StreamInput) ProtoReflect() protoreflect.Messagefunc (*AnalyzerDefinition_StreamInput) Reset
func (x *AnalyzerDefinition_StreamInput) Reset()func (*AnalyzerDefinition_StreamInput) String
func (x *AnalyzerDefinition_StreamInput) String() stringAnnotation
type Annotation struct {
// Resource name of the annotation.
// Format:
// `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// User provided annotation.
UserSpecifiedAnnotation *UserSpecifiedAnnotation `protobuf:"bytes,2,opt,name=user_specified_annotation,json=userSpecifiedAnnotation,proto3" json:"user_specified_annotation,omitempty"`
// contains filtered or unexported fields
}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() stringfunc (*Annotation) GetUserSpecifiedAnnotation
func (x *Annotation) GetUserSpecifiedAnnotation() *UserSpecifiedAnnotationfunc (*Annotation) ProtoMessage
func (*Annotation) ProtoMessage()func (*Annotation) ProtoReflect
func (x *Annotation) ProtoReflect() protoreflect.Messagefunc (*Annotation) Reset
func (x *Annotation) Reset()func (*Annotation) String
func (x *Annotation) String() stringAnnotationCustomizedStruct
type AnnotationCustomizedStruct struct {
// A map from elements' keys to element's annotation value.
Elements map[string]*AnnotationValue `protobuf:"bytes,2,rep,name=elements,proto3" json:"elements,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}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]*AnnotationValuefunc (*AnnotationCustomizedStruct) ProtoMessage
func (*AnnotationCustomizedStruct) ProtoMessage()func (*AnnotationCustomizedStruct) ProtoReflect
func (x *AnnotationCustomizedStruct) ProtoReflect() protoreflect.Messagefunc (*AnnotationCustomizedStruct) Reset
func (x *AnnotationCustomizedStruct) Reset()func (*AnnotationCustomizedStruct) String
func (x *AnnotationCustomizedStruct) String() stringAnnotationList
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() []*AnnotationValuefunc (*AnnotationList) ProtoMessage
func (*AnnotationList) ProtoMessage()func (*AnnotationList) ProtoReflect
func (x *AnnotationList) ProtoReflect() protoreflect.Messagefunc (*AnnotationList) Reset
func (x *AnnotationList) Reset()func (*AnnotationList) String
func (x *AnnotationList) String() stringAnnotationMatchingResult
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() *Criteriafunc (*AnnotationMatchingResult) GetMatchedAnnotations
func (x *AnnotationMatchingResult) GetMatchedAnnotations() []*Annotationfunc (*AnnotationMatchingResult) GetStatus
func (x *AnnotationMatchingResult) GetStatus() *status.Statusfunc (*AnnotationMatchingResult) ProtoMessage
func (*AnnotationMatchingResult) ProtoMessage()func (*AnnotationMatchingResult) ProtoReflect
func (x *AnnotationMatchingResult) ProtoReflect() protoreflect.Messagefunc (*AnnotationMatchingResult) Reset
func (x *AnnotationMatchingResult) Reset()func (*AnnotationMatchingResult) String
func (x *AnnotationMatchingResult) String() stringAnnotationValue
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() boolfunc (*AnnotationValue) GetCustomizedStructDataValue
func (x *AnnotationValue) GetCustomizedStructDataValue() *structpb.Structfunc (*AnnotationValue) GetCustomizedStructValue
func (x *AnnotationValue) GetCustomizedStructValue() *AnnotationCustomizedStructfunc (*AnnotationValue) GetDatetimeValue
func (x *AnnotationValue) GetDatetimeValue() stringfunc (*AnnotationValue) GetFloatValue
func (x *AnnotationValue) GetFloatValue() float32func (*AnnotationValue) GetGeoCoordinate
func (x *AnnotationValue) GetGeoCoordinate() *GeoCoordinatefunc (*AnnotationValue) GetIntValue
func (x *AnnotationValue) GetIntValue() int64func (*AnnotationValue) GetListValue
func (x *AnnotationValue) GetListValue() *AnnotationListfunc (*AnnotationValue) GetProtoAnyValue
func (x *AnnotationValue) GetProtoAnyValue() *anypb.Anyfunc (*AnnotationValue) GetStrValue
func (x *AnnotationValue) GetStrValue() stringfunc (*AnnotationValue) GetValue
func (m *AnnotationValue) GetValue() isAnnotationValue_Valuefunc (*AnnotationValue) ProtoMessage
func (*AnnotationValue) ProtoMessage()func (*AnnotationValue) ProtoReflect
func (x *AnnotationValue) ProtoReflect() protoreflect.Messagefunc (*AnnotationValue) Reset
func (x *AnnotationValue) Reset()func (*AnnotationValue) String
func (x *AnnotationValue) String() stringAnnotationValue_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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAppPlatformClient
func NewAppPlatformClient(cc grpc.ClientConnInterface) AppPlatformClientAppPlatformCloudFunctionRequest
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_StructedInputAnnotationfunc (*AppPlatformCloudFunctionRequest) GetAppPlatformMetadata
func (x *AppPlatformCloudFunctionRequest) GetAppPlatformMetadata() *AppPlatformMetadatafunc (*AppPlatformCloudFunctionRequest) ProtoMessage
func (*AppPlatformCloudFunctionRequest) ProtoMessage()func (*AppPlatformCloudFunctionRequest) ProtoReflect
func (x *AppPlatformCloudFunctionRequest) ProtoReflect() protoreflect.Messagefunc (*AppPlatformCloudFunctionRequest) Reset
func (x *AppPlatformCloudFunctionRequest) Reset()func (*AppPlatformCloudFunctionRequest) String
func (x *AppPlatformCloudFunctionRequest) String() stringAppPlatformCloudFunctionRequest_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.Structfunc (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) GetIngestionTimeMicros
func (x *AppPlatformCloudFunctionRequest_StructedInputAnnotation) GetIngestionTimeMicros() int64func (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) ProtoMessage
func (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) ProtoMessage()func (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) ProtoReflect
func (x *AppPlatformCloudFunctionRequest_StructedInputAnnotation) ProtoReflect() protoreflect.Messagefunc (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) Reset
func (x *AppPlatformCloudFunctionRequest_StructedInputAnnotation) Reset()func (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) String
func (x *AppPlatformCloudFunctionRequest_StructedInputAnnotation) String() stringAppPlatformCloudFunctionResponse
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() boolfunc (*AppPlatformCloudFunctionResponse) GetAnnotations
func (x *AppPlatformCloudFunctionResponse) GetAnnotations() []*AppPlatformCloudFunctionResponse_StructedOutputAnnotationfunc (*AppPlatformCloudFunctionResponse) GetEvents
func (x *AppPlatformCloudFunctionResponse) GetEvents() []*AppPlatformEventBodyfunc (*AppPlatformCloudFunctionResponse) ProtoMessage
func (*AppPlatformCloudFunctionResponse) ProtoMessage()func (*AppPlatformCloudFunctionResponse) ProtoReflect
func (x *AppPlatformCloudFunctionResponse) ProtoReflect() protoreflect.Messagefunc (*AppPlatformCloudFunctionResponse) Reset
func (x *AppPlatformCloudFunctionResponse) Reset()func (*AppPlatformCloudFunctionResponse) String
func (x *AppPlatformCloudFunctionResponse) String() stringAppPlatformCloudFunctionResponse_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.Structfunc (*AppPlatformCloudFunctionResponse_StructedOutputAnnotation) ProtoMessage
func (*AppPlatformCloudFunctionResponse_StructedOutputAnnotation) ProtoMessage()func (*AppPlatformCloudFunctionResponse_StructedOutputAnnotation) ProtoReflect
func (x *AppPlatformCloudFunctionResponse_StructedOutputAnnotation) ProtoReflect() protoreflect.Messagefunc (*AppPlatformCloudFunctionResponse_StructedOutputAnnotation) Reset
func (x *AppPlatformCloudFunctionResponse_StructedOutputAnnotation) Reset()func (*AppPlatformCloudFunctionResponse_StructedOutputAnnotation) String
func (x *AppPlatformCloudFunctionResponse_StructedOutputAnnotation) String() stringAppPlatformEventBody
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() stringfunc (*AppPlatformEventBody) GetEventMessage
func (x *AppPlatformEventBody) GetEventMessage() stringfunc (*AppPlatformEventBody) GetPayload
func (x *AppPlatformEventBody) GetPayload() *structpb.Structfunc (*AppPlatformEventBody) ProtoMessage
func (*AppPlatformEventBody) ProtoMessage()func (*AppPlatformEventBody) ProtoReflect
func (x *AppPlatformEventBody) ProtoReflect() protoreflect.Messagefunc (*AppPlatformEventBody) Reset
func (x *AppPlatformEventBody) Reset()func (*AppPlatformEventBody) String
func (x *AppPlatformEventBody) String() stringAppPlatformMetadata
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() stringfunc (*AppPlatformMetadata) GetInstanceId
func (x *AppPlatformMetadata) GetInstanceId() stringfunc (*AppPlatformMetadata) GetNode
func (x *AppPlatformMetadata) GetNode() stringfunc (*AppPlatformMetadata) GetProcessor
func (x *AppPlatformMetadata) GetProcessor() stringfunc (*AppPlatformMetadata) ProtoMessage
func (*AppPlatformMetadata) ProtoMessage()func (*AppPlatformMetadata) ProtoReflect
func (x *AppPlatformMetadata) ProtoReflect() protoreflect.Messagefunc (*AppPlatformMetadata) Reset
func (x *AppPlatformMetadata) Reset()func (*AppPlatformMetadata) String
func (x *AppPlatformMetadata) String() stringAppPlatformServer
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. All implementations should embed UnimplementedAppPlatformServer for forward compatibility
Application
type Application struct {
// name of resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. [Output only] Create timestamp
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. [Output only] Update timestamp
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Labels as key value pairs
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Required. A user friendly display name for the solution.
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// A description for this application.
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
// Application graph configuration.
ApplicationConfigs *ApplicationConfigs `protobuf:"bytes,7,opt,name=application_configs,json=applicationConfigs,proto3" json:"application_configs,omitempty"`
// Output only. Application graph runtime info. Only exists when application
// state equals to DEPLOYED.
RuntimeInfo *Application_ApplicationRuntimeInfo `protobuf:"bytes,8,opt,name=runtime_info,json=runtimeInfo,proto3" json:"runtime_info,omitempty"`
// Output only. State of the application.
State Application_State `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.visionai.v1.Application_State" json:"state,omitempty"`
// Billing mode of the application.
BillingMode Application_BillingMode `protobuf:"varint,12,opt,name=billing_mode,json=billingMode,proto3,enum=google.cloud.visionai.v1.Application_BillingMode" json:"billing_mode,omitempty"`
// contains filtered or unexported fields
}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() *ApplicationConfigsfunc (*Application) GetBillingMode
func (x *Application) GetBillingMode() Application_BillingModefunc (*Application) GetCreateTime
func (x *Application) GetCreateTime() *timestamppb.Timestampfunc (*Application) GetDescription
func (x *Application) GetDescription() stringfunc (*Application) GetDisplayName
func (x *Application) GetDisplayName() stringfunc (*Application) GetLabels
func (x *Application) GetLabels() map[string]stringfunc (*Application) GetName
func (x *Application) GetName() stringfunc (*Application) GetRuntimeInfo
func (x *Application) GetRuntimeInfo() *Application_ApplicationRuntimeInfofunc (*Application) GetState
func (x *Application) GetState() Application_Statefunc (*Application) GetUpdateTime
func (x *Application) GetUpdateTime() *timestamppb.Timestampfunc (*Application) ProtoMessage
func (*Application) ProtoMessage()func (*Application) ProtoReflect
func (x *Application) ProtoReflect() protoreflect.Messagefunc (*Application) Reset
func (x *Application) Reset()func (*Application) String
func (x *Application) String() stringApplicationConfigs
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_EventDeliveryConfigfunc (*ApplicationConfigs) GetNodes
func (x *ApplicationConfigs) GetNodes() []*Nodefunc (*ApplicationConfigs) ProtoMessage
func (*ApplicationConfigs) ProtoMessage()func (*ApplicationConfigs) ProtoReflect
func (x *ApplicationConfigs) ProtoReflect() protoreflect.Messagefunc (*ApplicationConfigs) Reset
func (x *ApplicationConfigs) Reset()func (*ApplicationConfigs) String
func (x *ApplicationConfigs) String() stringApplicationConfigs_EventDeliveryConfig
type ApplicationConfigs_EventDeliveryConfig struct {
// The delivery channel for the event notification, only pub/sub topic is
// supported now.
// Example channel:
// [//pubsub.googleapis.com/projects/visionai-testing-stable/topics/test-topic]
Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
// The expected delivery interval for the same event. The same event won't
// be notified multiple times during this internal event that it is
// happening multiple times during the period of time.The same event is
// identified by 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() stringfunc (*ApplicationConfigs_EventDeliveryConfig) GetMinimalDeliveryInterval
func (x *ApplicationConfigs_EventDeliveryConfig) GetMinimalDeliveryInterval() *durationpb.Durationfunc (*ApplicationConfigs_EventDeliveryConfig) ProtoMessage
func (*ApplicationConfigs_EventDeliveryConfig) ProtoMessage()func (*ApplicationConfigs_EventDeliveryConfig) ProtoReflect
func (x *ApplicationConfigs_EventDeliveryConfig) ProtoReflect() protoreflect.Messagefunc (*ApplicationConfigs_EventDeliveryConfig) Reset
func (x *ApplicationConfigs_EventDeliveryConfig) Reset()func (*ApplicationConfigs_EventDeliveryConfig) String
func (x *ApplicationConfigs_EventDeliveryConfig) String() stringApplicationInstance
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() *Instancefunc (*ApplicationInstance) GetInstanceId
func (x *ApplicationInstance) GetInstanceId() stringfunc (*ApplicationInstance) ProtoMessage
func (*ApplicationInstance) ProtoMessage()func (*ApplicationInstance) ProtoReflect
func (x *ApplicationInstance) ProtoReflect() protoreflect.Messagefunc (*ApplicationInstance) Reset
func (x *ApplicationInstance) Reset()func (*ApplicationInstance) String
func (x *ApplicationInstance) String() stringApplicationNodeAnnotation
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() []*StreamAnnotationfunc (*ApplicationNodeAnnotation) GetNode
func (x *ApplicationNodeAnnotation) GetNode() stringfunc (*ApplicationNodeAnnotation) ProtoMessage
func (*ApplicationNodeAnnotation) ProtoMessage()func (*ApplicationNodeAnnotation) ProtoReflect
func (x *ApplicationNodeAnnotation) ProtoReflect() protoreflect.Messagefunc (*ApplicationNodeAnnotation) Reset
func (x *ApplicationNodeAnnotation) Reset()func (*ApplicationNodeAnnotation) String
func (x *ApplicationNodeAnnotation) String() stringApplicationStreamInput
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() *StreamWithAnnotationfunc (*ApplicationStreamInput) ProtoMessage
func (*ApplicationStreamInput) ProtoMessage()func (*ApplicationStreamInput) ProtoReflect
func (x *ApplicationStreamInput) ProtoReflect() protoreflect.Messagefunc (*ApplicationStreamInput) Reset
func (x *ApplicationStreamInput) Reset()func (*ApplicationStreamInput) String
func (x *ApplicationStreamInput) String() stringApplication_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.Timestampfunc (*Application_ApplicationRuntimeInfo) GetGlobalOutputResources
func (x *Application_ApplicationRuntimeInfo) GetGlobalOutputResources() []*Application_ApplicationRuntimeInfo_GlobalOutputResourcefunc (*Application_ApplicationRuntimeInfo) GetMonitoringConfig
func (x *Application_ApplicationRuntimeInfo) GetMonitoringConfig() *Application_ApplicationRuntimeInfo_MonitoringConfigfunc (*Application_ApplicationRuntimeInfo) ProtoMessage
func (*Application_ApplicationRuntimeInfo) ProtoMessage()func (*Application_ApplicationRuntimeInfo) ProtoReflect
func (x *Application_ApplicationRuntimeInfo) ProtoReflect() protoreflect.Messagefunc (*Application_ApplicationRuntimeInfo) Reset
func (x *Application_ApplicationRuntimeInfo) Reset()func (*Application_ApplicationRuntimeInfo) String
func (x *Application_ApplicationRuntimeInfo) String() stringApplication_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() stringfunc (*Application_ApplicationRuntimeInfo_GlobalOutputResource) GetOutputResource
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) GetOutputResource() stringfunc (*Application_ApplicationRuntimeInfo_GlobalOutputResource) GetProducerNode
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) GetProducerNode() stringfunc (*Application_ApplicationRuntimeInfo_GlobalOutputResource) ProtoMessage
func (*Application_ApplicationRuntimeInfo_GlobalOutputResource) ProtoMessage()func (*Application_ApplicationRuntimeInfo_GlobalOutputResource) ProtoReflect
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) ProtoReflect() protoreflect.Messagefunc (*Application_ApplicationRuntimeInfo_GlobalOutputResource) Reset
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) Reset()func (*Application_ApplicationRuntimeInfo_GlobalOutputResource) String
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) String() stringApplication_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() boolfunc (*Application_ApplicationRuntimeInfo_MonitoringConfig) ProtoMessage
func (*Application_ApplicationRuntimeInfo_MonitoringConfig) ProtoMessage()func (*Application_ApplicationRuntimeInfo_MonitoringConfig) ProtoReflect
func (x *Application_ApplicationRuntimeInfo_MonitoringConfig) ProtoReflect() protoreflect.Messagefunc (*Application_ApplicationRuntimeInfo_MonitoringConfig) Reset
func (x *Application_ApplicationRuntimeInfo_MonitoringConfig) Reset()func (*Application_ApplicationRuntimeInfo_MonitoringConfig) String
func (x *Application_ApplicationRuntimeInfo_MonitoringConfig) String() stringApplication_BillingMode
type Application_BillingMode int32Billing 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.EnumDescriptorfunc (Application_BillingMode) Enum
func (x Application_BillingMode) Enum() *Application_BillingModefunc (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.EnumNumberfunc (Application_BillingMode) String
func (x Application_BillingMode) String() stringfunc (Application_BillingMode) Type
func (Application_BillingMode) Type() protoreflect.EnumTypeApplication_State
type Application_State int32State 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.EnumDescriptorfunc (Application_State) Enum
func (x Application_State) Enum() *Application_Statefunc (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.EnumNumberfunc (Application_State) String
func (x Application_State) String() stringfunc (Application_State) Type
func (Application_State) Type() protoreflect.EnumTypeAsset
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_AssetGcsSourcefunc (*Asset) GetName
func (*Asset) GetTtl
func (x *Asset) GetTtl() *durationpb.Durationfunc (*Asset) ProtoMessage
func (*Asset) ProtoMessage()func (*Asset) ProtoReflect
func (x *Asset) ProtoReflect() protoreflect.Messagefunc (*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_AssetContentDatafunc (*AssetSource) GetAssetGcsSource
func (x *AssetSource) GetAssetGcsSource() *AssetSource_AssetGcsSourcefunc (*AssetSource) GetSourceForm
func (m *AssetSource) GetSourceForm() isAssetSource_SourceFormfunc (*AssetSource) ProtoMessage
func (*AssetSource) ProtoMessage()func (*AssetSource) ProtoReflect
func (x *AssetSource) ProtoReflect() protoreflect.Messagefunc (*AssetSource) Reset
func (x *AssetSource) Reset()func (*AssetSource) String
func (x *AssetSource) String() stringAssetSource_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() []bytefunc (*AssetSource_AssetContentData) ProtoMessage
func (*AssetSource_AssetContentData) ProtoMessage()func (*AssetSource_AssetContentData) ProtoReflect
func (x *AssetSource_AssetContentData) ProtoReflect() protoreflect.Messagefunc (*AssetSource_AssetContentData) Reset
func (x *AssetSource_AssetContentData) Reset()func (*AssetSource_AssetContentData) String
func (x *AssetSource_AssetContentData) String() stringAssetSource_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() stringfunc (*AssetSource_AssetGcsSource) ProtoMessage
func (*AssetSource_AssetGcsSource) ProtoMessage()func (*AssetSource_AssetGcsSource) ProtoReflect
func (x *AssetSource_AssetGcsSource) ProtoReflect() protoreflect.Messagefunc (*AssetSource_AssetGcsSource) Reset
func (x *AssetSource_AssetGcsSource) Reset()func (*AssetSource_AssetGcsSource) String
func (x *AssetSource_AssetGcsSource) String() stringAssetSource_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() boolfunc (*AttributeValue) GetF
func (x *AttributeValue) GetF() float32func (*AttributeValue) GetI
func (x *AttributeValue) GetI() int64func (*AttributeValue) GetS
func (x *AttributeValue) GetS() []bytefunc (*AttributeValue) GetValue
func (m *AttributeValue) GetValue() isAttributeValue_Valuefunc (*AttributeValue) ProtoMessage
func (*AttributeValue) ProtoMessage()func (*AttributeValue) ProtoReflect
func (x *AttributeValue) ProtoReflect() protoreflect.Messagefunc (*AttributeValue) Reset
func (x *AttributeValue) Reset()func (*AttributeValue) String
func (x *AttributeValue) String() stringAttributeValue_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() stringfunc (*AutoscalingMetricSpec) GetTarget
func (x *AutoscalingMetricSpec) GetTarget() int32func (*AutoscalingMetricSpec) ProtoMessage
func (*AutoscalingMetricSpec) ProtoMessage()func (*AutoscalingMetricSpec) ProtoReflect
func (x *AutoscalingMetricSpec) ProtoReflect() protoreflect.Messagefunc (*AutoscalingMetricSpec) Reset
func (x *AutoscalingMetricSpec) Reset()func (*AutoscalingMetricSpec) String
func (x *AutoscalingMetricSpec) String() stringBatchOperationStatus
type BatchOperationStatus struct {
// The count of assets (together with their annotations if any) successfully
// ingested.
SuccessCount int32 `protobuf:"varint,1,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"`
// The count of assets failed to ingested; it might be due to the annotation
// ingestion error.
FailureCount int32 `protobuf:"varint,2,opt,name=failure_count,json=failureCount,proto3" json:"failure_count,omitempty"`
// contains filtered or unexported fields
}The batch operation status.
func (*BatchOperationStatus) Descriptor
func (*BatchOperationStatus) Descriptor() ([]byte, []int)Deprecated: Use BatchOperationStatus.ProtoReflect.Descriptor instead.
func (*BatchOperationStatus) GetFailureCount
func (x *BatchOperationStatus) GetFailureCount() int32func (*BatchOperationStatus) GetSuccessCount
func (x *BatchOperationStatus) GetSuccessCount() int32func (*BatchOperationStatus) ProtoMessage
func (*BatchOperationStatus) ProtoMessage()func (*BatchOperationStatus) ProtoReflect
func (x *BatchOperationStatus) ProtoReflect() protoreflect.Messagefunc (*BatchOperationStatus) Reset
func (x *BatchOperationStatus) Reset()func (*BatchOperationStatus) String
func (x *BatchOperationStatus) String() stringBatchRunProcessRequest
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() stringfunc (*BatchRunProcessRequest) GetOptions
func (x *BatchRunProcessRequest) GetOptions() *BatchRunProcessRequest_BatchRunProcessOptionsfunc (*BatchRunProcessRequest) GetParent
func (x *BatchRunProcessRequest) GetParent() stringfunc (*BatchRunProcessRequest) GetRequests
func (x *BatchRunProcessRequest) GetRequests() []*CreateProcessRequestfunc (*BatchRunProcessRequest) ProtoMessage
func (*BatchRunProcessRequest) ProtoMessage()func (*BatchRunProcessRequest) ProtoReflect
func (x *BatchRunProcessRequest) ProtoReflect() protoreflect.Messagefunc (*BatchRunProcessRequest) Reset
func (x *BatchRunProcessRequest) Reset()func (*BatchRunProcessRequest) String
func (x *BatchRunProcessRequest) String() stringBatchRunProcessRequest_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() int32func (*BatchRunProcessRequest_BatchRunProcessOptions) GetRetryCount
func (x *BatchRunProcessRequest_BatchRunProcessOptions) GetRetryCount() int32func (*BatchRunProcessRequest_BatchRunProcessOptions) ProtoMessage
func (*BatchRunProcessRequest_BatchRunProcessOptions) ProtoMessage()func (*BatchRunProcessRequest_BatchRunProcessOptions) ProtoReflect
func (x *BatchRunProcessRequest_BatchRunProcessOptions) ProtoReflect() protoreflect.Messagefunc (*BatchRunProcessRequest_BatchRunProcessOptions) Reset
func (x *BatchRunProcessRequest_BatchRunProcessOptions) Reset()func (*BatchRunProcessRequest_BatchRunProcessOptions) String
func (x *BatchRunProcessRequest_BatchRunProcessOptions) String() stringBatchRunProcessResponse
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() stringfunc (*BatchRunProcessResponse) GetProcesses
func (x *BatchRunProcessResponse) GetProcesses() []*Processfunc (*BatchRunProcessResponse) ProtoMessage
func (*BatchRunProcessResponse) ProtoMessage()func (*BatchRunProcessResponse) ProtoReflect
func (x *BatchRunProcessResponse) ProtoReflect() protoreflect.Messagefunc (*BatchRunProcessResponse) Reset
func (x *BatchRunProcessResponse) Reset()func (*BatchRunProcessResponse) String
func (x *BatchRunProcessResponse) String() stringBigQueryConfig
type BigQueryConfig struct {
// BigQuery table resource for Vision AI Platform to ingest annotations to.
Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
// Data Schema
// By default, Vision AI Application will try to write annotations to the
// target BigQuery table using the following schema:
//
// ingestion_time: TIMESTAMP, the ingestion time of the original data.
//
// application: STRING, name of the application which produces the annotation.
//
// instance: STRING, Id of the instance which produces the annotation.
//
// node: STRING, name of the application graph node which produces the
// annotation.
//
// annotation: STRING or JSON, the actual annotation protobuf will be
// converted to json string with bytes field as 64 encoded string. It can be
// written to both String or Json type column.
//
// To forward annotation data to an existing BigQuery table, customer needs to
// make sure the compatibility of the schema.
// The map maps application node name to its corresponding cloud function
// endpoint to transform the annotations directly to the
// google.cloud.bigquery.storage.v1.AppendRowsRequest (only avro_rows or
// proto_rows should be set). If configured, annotations produced by
// corresponding application node will sent to the Cloud Function at first
// before be forwarded to BigQuery.
//
// If the default table schema doesn't fit, customer is able to transform the
// annotation output from Vision AI Application to arbitrary BigQuery table
// schema with CloudFunction.
// * The cloud function will receive AppPlatformCloudFunctionRequest where
// the annotations field will be the json format of Vision AI annotation.
// * The cloud function should return AppPlatformCloudFunctionResponse with
// AppendRowsRequest stored in the annotations field.
// * To drop the annotation, simply clear the annotations field in the
// returned AppPlatformCloudFunctionResponse.
CloudFunctionMapping map[string]string `protobuf:"bytes,2,rep,name=cloud_function_mapping,json=cloudFunctionMapping,proto3" json:"cloud_function_mapping,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// If true, App Platform will create the BigQuery DataSet and the
// BigQuery Table with default schema if the specified table doesn't exist.
// This doesn't work if any cloud function customized schema is specified
// since the system doesn't know your desired schema.
// JSON column will be used in the default table created by App Platform.
CreateDefaultTableIfNotExists bool `protobuf:"varint,3,opt,name=create_default_table_if_not_exists,json=createDefaultTableIfNotExists,proto3" json:"create_default_table_if_not_exists,omitempty"`
// contains filtered or unexported fields
}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]stringfunc (*BigQueryConfig) GetCreateDefaultTableIfNotExists
func (x *BigQueryConfig) GetCreateDefaultTableIfNotExists() boolfunc (*BigQueryConfig) GetTable
func (x *BigQueryConfig) GetTable() stringfunc (*BigQueryConfig) ProtoMessage
func (*BigQueryConfig) ProtoMessage()func (*BigQueryConfig) ProtoReflect
func (x *BigQueryConfig) ProtoReflect() protoreflect.Messagefunc (*BigQueryConfig) Reset
func (x *BigQueryConfig) Reset()func (*BigQueryConfig) String
func (x *BigQueryConfig) String() stringBoolValue
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.Messagefunc (*BoolValue) Reset
func (x *BoolValue) Reset()func (*BoolValue) String
Channel
type Channel struct {
// Name of the 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"`
// Labels as key value pairs.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Annotations to allow clients to store small amounts of arbitrary data.
Annotations map[string]string `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Required. Stream that is associated with this series.
Stream string `protobuf:"bytes,6,opt,name=stream,proto3" json:"stream,omitempty"`
// Required. Event that is associated with this series.
Event string `protobuf:"bytes,7,opt,name=event,proto3" json:"event,omitempty"`
// contains filtered or unexported fields
}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.Timestampfunc (*Channel) GetEvent
func (*Channel) GetLabels
func (*Channel) GetName
func (*Channel) GetStream
func (*Channel) GetUpdateTime
func (x *Channel) GetUpdateTime() *timestamppb.Timestampfunc (*Channel) ProtoMessage
func (*Channel) ProtoMessage()func (*Channel) ProtoReflect
func (x *Channel) ProtoReflect() protoreflect.Messagefunc (*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() float64func (*CircleArea) GetLongitude
func (x *CircleArea) GetLongitude() float64func (*CircleArea) GetRadiusMeter
func (x *CircleArea) GetRadiusMeter() float64func (*CircleArea) ProtoMessage
func (*CircleArea) ProtoMessage()func (*CircleArea) ProtoReflect
func (x *CircleArea) ProtoReflect() protoreflect.Messagefunc (*CircleArea) Reset
func (x *CircleArea) Reset()func (*CircleArea) String
func (x *CircleArea) String() stringClassificationPredictionResult
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() []float32func (*ClassificationPredictionResult) GetDisplayNames
func (x *ClassificationPredictionResult) GetDisplayNames() []stringfunc (*ClassificationPredictionResult) GetIds
func (x *ClassificationPredictionResult) GetIds() []int64func (*ClassificationPredictionResult) ProtoMessage
func (*ClassificationPredictionResult) ProtoMessage()func (*ClassificationPredictionResult) ProtoReflect
func (x *ClassificationPredictionResult) ProtoReflect() protoreflect.Messagefunc (*ClassificationPredictionResult) Reset
func (x *ClassificationPredictionResult) Reset()func (*ClassificationPredictionResult) String
func (x *ClassificationPredictionResult) String() stringClipAssetRequest
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() stringfunc (*ClipAssetRequest) GetTemporalPartition
func (x *ClipAssetRequest) GetTemporalPartition() *Partition_TemporalPartitionfunc (*ClipAssetRequest) ProtoMessage
func (*ClipAssetRequest) ProtoMessage()func (*ClipAssetRequest) ProtoReflect
func (x *ClipAssetRequest) ProtoReflect() protoreflect.Messagefunc (*ClipAssetRequest) Reset
func (x *ClipAssetRequest) Reset()func (*ClipAssetRequest) String
func (x *ClipAssetRequest) String() stringClipAssetResponse
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_TimeIndexedUrifunc (*ClipAssetResponse) ProtoMessage
func (*ClipAssetResponse) ProtoMessage()func (*ClipAssetResponse) ProtoReflect
func (x *ClipAssetResponse) ProtoReflect() protoreflect.Messagefunc (*ClipAssetResponse) Reset
func (x *ClipAssetResponse) Reset()func (*ClipAssetResponse) String
func (x *ClipAssetResponse) String() stringClipAssetResponse_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_TemporalPartitionfunc (*ClipAssetResponse_TimeIndexedUri) GetUri
func (x *ClipAssetResponse_TimeIndexedUri) GetUri() stringfunc (*ClipAssetResponse_TimeIndexedUri) ProtoMessage
func (*ClipAssetResponse_TimeIndexedUri) ProtoMessage()func (*ClipAssetResponse_TimeIndexedUri) ProtoReflect
func (x *ClipAssetResponse_TimeIndexedUri) ProtoReflect() protoreflect.Messagefunc (*ClipAssetResponse_TimeIndexedUri) Reset
func (x *ClipAssetResponse_TimeIndexedUri) Reset()func (*ClipAssetResponse_TimeIndexedUri) String
func (x *ClipAssetResponse_TimeIndexedUri) String() stringCluster
type Cluster struct {
// Output only. Name of the 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"`
// Labels as key value pairs
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Annotations to allow clients to store small amounts of arbitrary data.
Annotations map[string]string `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. The DNS name of the data plane service
DataplaneServiceEndpoint string `protobuf:"bytes,6,opt,name=dataplane_service_endpoint,json=dataplaneServiceEndpoint,proto3" json:"dataplane_service_endpoint,omitempty"`
// Output only. The current state of the cluster.
State Cluster_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.visionai.v1.Cluster_State" json:"state,omitempty"`
// Output only. The private service connection service target name.
PscTarget string `protobuf:"bytes,8,opt,name=psc_target,json=pscTarget,proto3" json:"psc_target,omitempty"`
// contains filtered or unexported fields
}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.Timestampfunc (*Cluster) GetDataplaneServiceEndpoint
func (*Cluster) GetLabels
func (*Cluster) GetName
func (*Cluster) GetPscTarget
func (*Cluster) GetState
func (x *Cluster) GetState() Cluster_Statefunc (*Cluster) GetUpdateTime
func (x *Cluster) GetUpdateTime() *timestamppb.Timestampfunc (*Cluster) ProtoMessage
func (*Cluster) ProtoMessage()func (*Cluster) ProtoReflect
func (x *Cluster) ProtoReflect() protoreflect.Messagefunc (*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() int32func (*ClusterInfo) GetStreamsCount
func (x *ClusterInfo) GetStreamsCount() int32func (*ClusterInfo) ProtoMessage
func (*ClusterInfo) ProtoMessage()func (*ClusterInfo) ProtoReflect
func (x *ClusterInfo) ProtoReflect() protoreflect.Messagefunc (*ClusterInfo) Reset
func (x *ClusterInfo) Reset()func (*ClusterInfo) String
func (x *ClusterInfo) String() stringCluster_State
type Cluster_State int32The 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.EnumDescriptorfunc (Cluster_State) Enum
func (x Cluster_State) Enum() *Cluster_Statefunc (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.EnumNumberfunc (Cluster_State) String
func (x Cluster_State) String() stringfunc (Cluster_State) Type
func (Cluster_State) Type() protoreflect.EnumTypeCollection
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() stringfunc (*Collection) GetDisplayName
func (x *Collection) GetDisplayName() stringfunc (*Collection) GetName
func (x *Collection) GetName() stringfunc (*Collection) ProtoMessage
func (*Collection) ProtoMessage()func (*Collection) ProtoReflect
func (x *Collection) ProtoReflect() protoreflect.Messagefunc (*Collection) Reset
func (x *Collection) Reset()func (*Collection) String
func (x *Collection) String() stringCollectionItem
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() stringfunc (*CollectionItem) GetItemResource
func (x *CollectionItem) GetItemResource() stringfunc (*CollectionItem) GetType
func (x *CollectionItem) GetType() CollectionItem_Typefunc (*CollectionItem) ProtoMessage
func (*CollectionItem) ProtoMessage()func (*CollectionItem) ProtoReflect
func (x *CollectionItem) ProtoReflect() protoreflect.Messagefunc (*CollectionItem) Reset
func (x *CollectionItem) Reset()func (*CollectionItem) String
func (x *CollectionItem) String() stringCollectionItem_Type
type CollectionItem_Type int32CollectionItem 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.EnumDescriptorfunc (CollectionItem_Type) Enum
func (x CollectionItem_Type) Enum() *CollectionItem_Typefunc (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.EnumNumberfunc (CollectionItem_Type) String
func (x CollectionItem_Type) String() stringfunc (CollectionItem_Type) Type
func (CollectionItem_Type) Type() protoreflect.EnumTypeCommitRequest
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() int64func (*CommitRequest) ProtoMessage
func (*CommitRequest) ProtoMessage()func (*CommitRequest) ProtoReflect
func (x *CommitRequest) ProtoReflect() protoreflect.Messagefunc (*CommitRequest) Reset
func (x *CommitRequest) Reset()func (*CommitRequest) String
func (x *CommitRequest) String() stringControlledMode
type ControlledMode struct {
// This is the offset from which to start receiveing.
//
// Types that are assignable to StartingOffset:
//
// *ControlledMode_StartingLogicalOffset
StartingOffset isControlledMode_StartingOffset `protobuf_oneof:"starting_offset"`
// This is the logical starting point to fallback upon should the
// specified starting offset be unavailable.
//
// This can be one of the following values:
//
// "begin": This will read from the earliest available message.
//
// "end": This will read only future messages.
FallbackStartingOffset string `protobuf:"bytes,2,opt,name=fallback_starting_offset,json=fallbackStartingOffset,proto3" json:"fallback_starting_offset,omitempty"`
// contains filtered or unexported fields
}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() stringfunc (*ControlledMode) GetStartingLogicalOffset
func (x *ControlledMode) GetStartingLogicalOffset() stringfunc (*ControlledMode) GetStartingOffset
func (m *ControlledMode) GetStartingOffset() isControlledMode_StartingOffsetfunc (*ControlledMode) ProtoMessage
func (*ControlledMode) ProtoMessage()func (*ControlledMode) ProtoReflect
func (x *ControlledMode) ProtoReflect() protoreflect.Messagefunc (*ControlledMode) Reset
func (x *ControlledMode) Reset()func (*ControlledMode) String
func (x *ControlledMode) String() stringControlledMode_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 {
// Resource name of the corpus.
// Format:
// `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The corpus name to shown in the UI. The name can be up to 32
// characters long.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. Description of the corpus. Can be up to 25000 characters long.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Optional. The default TTL value for all assets under the corpus without a
// asset level user-defined TTL. For STREAM_VIDEO type corpora, this is
// required and the maximum allowed
//
// default_ttl is 10 years.
DefaultTtl *durationpb.Duration `protobuf:"bytes,5,opt,name=default_ttl,json=defaultTtl,proto3" json:"default_ttl,omitempty"`
// Optional. Type of the asset inside corpus.
Type Corpus_Type `protobuf:"varint,7,opt,name=type,proto3,enum=google.cloud.visionai.v1.Corpus_Type" json:"type,omitempty"`
// Default search capability setting on corpus level.
SearchCapabilitySetting *SearchCapabilitySetting `protobuf:"bytes,8,opt,name=search_capability_setting,json=searchCapabilitySetting,proto3" json:"search_capability_setting,omitempty"`
// Output only. This boolean field is only set for projects that have Physical
// Zone Separation enabled via an Org Policy constraint. It is set to true
// when the corpus is a valid zone separated corpus and false if it isn't.
SatisfiesPzs *bool `protobuf:"varint,11,opt,name=satisfies_pzs,json=satisfiesPzs,proto3,oneof" json:"satisfies_pzs,omitempty"`
// Output only. This boolean field is only set for projects that have Physical
// Zone Isolation enabled via an Org Policy constraint. It is set to true when
// the corpus is a valid zone isolated corpus and false if it isn't.
SatisfiesPzi *bool `protobuf:"varint,12,opt,name=satisfies_pzi,json=satisfiesPzi,proto3,oneof" json:"satisfies_pzi,omitempty"`
// contains filtered or unexported fields
}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.Durationfunc (*Corpus) GetDescription
func (*Corpus) GetDisplayName
func (*Corpus) GetName
func (*Corpus) GetSatisfiesPzi
func (*Corpus) GetSatisfiesPzs
func (*Corpus) GetSearchCapabilitySetting
func (x *Corpus) GetSearchCapabilitySetting() *SearchCapabilitySettingfunc (*Corpus) GetType
func (x *Corpus) GetType() Corpus_Typefunc (*Corpus) ProtoMessage
func (*Corpus) ProtoMessage()func (*Corpus) ProtoReflect
func (x *Corpus) ProtoReflect() protoreflect.Messagefunc (*Corpus) Reset
func (x *Corpus) Reset()func (*Corpus) String
Corpus_Type
type Corpus_Type int32Type 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.EnumDescriptorfunc (Corpus_Type) Enum
func (x Corpus_Type) Enum() *Corpus_Typefunc (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.EnumNumberfunc (Corpus_Type) String
func (x Corpus_Type) String() stringfunc (Corpus_Type) Type
func (Corpus_Type) Type() protoreflect.EnumTypeCreateAnalysisRequest
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() *Analysisfunc (*CreateAnalysisRequest) GetAnalysisId
func (x *CreateAnalysisRequest) GetAnalysisId() stringfunc (*CreateAnalysisRequest) GetParent
func (x *CreateAnalysisRequest) GetParent() stringfunc (*CreateAnalysisRequest) GetRequestId
func (x *CreateAnalysisRequest) GetRequestId() stringfunc (*CreateAnalysisRequest) ProtoMessage
func (*CreateAnalysisRequest) ProtoMessage()func (*CreateAnalysisRequest) ProtoReflect
func (x *CreateAnalysisRequest) ProtoReflect() protoreflect.Messagefunc (*CreateAnalysisRequest) Reset
func (x *CreateAnalysisRequest) Reset()func (*CreateAnalysisRequest) String
func (x *CreateAnalysisRequest) String() stringCreateAnnotationRequest
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() *Annotationfunc (*CreateAnnotationRequest) GetAnnotationId
func (x *CreateAnnotationRequest) GetAnnotationId() stringfunc (*CreateAnnotationRequest) GetParent
func (x *CreateAnnotationRequest) GetParent() stringfunc (*CreateAnnotationRequest) ProtoMessage
func (*CreateAnnotationRequest) ProtoMessage()func (*CreateAnnotationRequest) ProtoReflect
func (x *CreateAnnotationRequest) ProtoReflect() protoreflect.Messagefunc (*CreateAnnotationRequest) Reset
func (x *CreateAnnotationRequest) Reset()func (*CreateAnnotationRequest) String
func (x *CreateAnnotationRequest) String() stringCreateApplicationInstancesRequest
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() []*ApplicationInstancefunc (*CreateApplicationInstancesRequest) GetName
func (x *CreateApplicationInstancesRequest) GetName() stringfunc (*CreateApplicationInstancesRequest) GetRequestId
func (x *CreateApplicationInstancesRequest) GetRequestId() stringfunc (*CreateApplicationInstancesRequest) ProtoMessage
func (*CreateApplicationInstancesRequest) ProtoMessage()func (*CreateApplicationInstancesRequest) ProtoReflect
func (x *CreateApplicationInstancesRequest) ProtoReflect() protoreflect.Messagefunc (*CreateApplicationInstancesRequest) Reset
func (x *CreateApplicationInstancesRequest) Reset()func (*CreateApplicationInstancesRequest) String
func (x *CreateApplicationInstancesRequest) String() stringCreateApplicationInstancesResponse
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.Messagefunc (*CreateApplicationInstancesResponse) Reset
func (x *CreateApplicationInstancesResponse) Reset()func (*CreateApplicationInstancesResponse) String
func (x *CreateApplicationInstancesResponse) String() stringCreateApplicationRequest
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() *Applicationfunc (*CreateApplicationRequest) GetApplicationId
func (x *CreateApplicationRequest) GetApplicationId() stringfunc (*CreateApplicationRequest) GetParent
func (x *CreateApplicationRequest) GetParent() stringfunc (*CreateApplicationRequest) GetRequestId
func (x *CreateApplicationRequest) GetRequestId() stringfunc (*CreateApplicationRequest) ProtoMessage
func (*CreateApplicationRequest) ProtoMessage()func (*CreateApplicationRequest) ProtoReflect
func (x *CreateApplicationRequest) ProtoReflect() protoreflect.Messagefunc (*CreateApplicationRequest) Reset
func (x *CreateApplicationRequest) Reset()func (*CreateApplicationRequest) String
func (x *CreateApplicationRequest) String() stringCreateAssetRequest
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() *Assetfunc (*CreateAssetRequest) GetAssetId
func (x *CreateAssetRequest) GetAssetId() stringfunc (*CreateAssetRequest) GetParent
func (x *CreateAssetRequest) GetParent() stringfunc (*CreateAssetRequest) ProtoMessage
func (*CreateAssetRequest) ProtoMessage()func (*CreateAssetRequest) ProtoReflect
func (x *CreateAssetRequest) ProtoReflect() protoreflect.Messagefunc (*CreateAssetRequest) Reset
func (x *CreateAssetRequest) Reset()func (*CreateAssetRequest) String
func (x *CreateAssetRequest) String() stringCreateClusterRequest
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() *Clusterfunc (*CreateClusterRequest) GetClusterId
func (x *CreateClusterRequest) GetClusterId() stringfunc (*CreateClusterRequest) GetParent
func (x *CreateClusterRequest) GetParent() stringfunc (*CreateClusterRequest) GetRequestId
func (x *CreateClusterRequest) GetRequestId() stringfunc (*CreateClusterRequest) ProtoMessage
func (*CreateClusterRequest) ProtoMessage()func (*CreateClusterRequest) ProtoReflect
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Messagefunc (*CreateClusterRequest) Reset
func (x *CreateClusterRequest) Reset()func (*CreateClusterRequest) String
func (x *CreateClusterRequest) String() stringCreateCollectionMetadata
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() *OperationMetadatafunc (*CreateCollectionMetadata) ProtoMessage
func (*CreateCollectionMetadata) ProtoMessage()func (*CreateCollectionMetadata) ProtoReflect
func (x *CreateCollectionMetadata) ProtoReflect() protoreflect.Messagefunc (*CreateCollectionMetadata) Reset
func (x *CreateCollectionMetadata) Reset()func (*CreateCollectionMetadata) String
func (x *CreateCollectionMetadata) String() stringCreateCollectionRequest
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() *Collectionfunc (*CreateCollectionRequest) GetCollectionId
func (x *CreateCollectionRequest) GetCollectionId() stringfunc (*CreateCollectionRequest) GetParent
func (x *CreateCollectionRequest) GetParent() stringfunc (*CreateCollectionRequest) ProtoMessage
func (*CreateCollectionRequest) ProtoMessage()func (*CreateCollectionRequest) ProtoReflect
func (x *CreateCollectionRequest) ProtoReflect() protoreflect.Messagefunc (*CreateCollectionRequest) Reset
func (x *CreateCollectionRequest) Reset()func (*CreateCollectionRequest) String
func (x *CreateCollectionRequest) String() stringCreateCorpusMetadata
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.Timestampfunc (*CreateCorpusMetadata) GetUpdateTime
func (x *CreateCorpusMetadata) GetUpdateTime() *timestamppb.Timestampfunc (*CreateCorpusMetadata) ProtoMessage
func (*CreateCorpusMetadata) ProtoMessage()func (*CreateCorpusMetadata) ProtoReflect
func (x *CreateCorpusMetadata) ProtoReflect() protoreflect.Messagefunc (*CreateCorpusMetadata) Reset
func (x *CreateCorpusMetadata) Reset()func (*CreateCorpusMetadata) String
func (x *CreateCorpusMetadata) String() stringCreateCorpusRequest
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() *Corpusfunc (*CreateCorpusRequest) GetParent
func (x *CreateCorpusRequest) GetParent() stringfunc (*CreateCorpusRequest) ProtoMessage
func (*CreateCorpusRequest) ProtoMessage()func (*CreateCorpusRequest) ProtoReflect
func (x *CreateCorpusRequest) ProtoReflect() protoreflect.Messagefunc (*CreateCorpusRequest) Reset
func (x *CreateCorpusRequest) Reset()func (*CreateCorpusRequest) String
func (x *CreateCorpusRequest) String() stringCreateDataSchemaRequest
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() *DataSchemafunc (*CreateDataSchemaRequest) GetParent
func (x *CreateDataSchemaRequest) GetParent() stringfunc (*CreateDataSchemaRequest) ProtoMessage
func (*CreateDataSchemaRequest) ProtoMessage()func (*CreateDataSchemaRequest) ProtoReflect
func (x *CreateDataSchemaRequest) ProtoReflect() protoreflect.Messagefunc (*CreateDataSchemaRequest) Reset
func (x *CreateDataSchemaRequest) Reset()func (*CreateDataSchemaRequest) String
func (x *CreateDataSchemaRequest) String() stringCreateDraftRequest
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() *Draftfunc (*CreateDraftRequest) GetDraftId
func (x *CreateDraftRequest) GetDraftId() stringfunc (*CreateDraftRequest) GetParent
func (x *CreateDraftRequest) GetParent() stringfunc (*CreateDraftRequest) GetRequestId
func (x *CreateDraftRequest) GetRequestId() stringfunc (*CreateDraftRequest) ProtoMessage
func (*CreateDraftRequest) ProtoMessage()func (*CreateDraftRequest) ProtoReflect
func (x *CreateDraftRequest) ProtoReflect() protoreflect.Messagefunc (*CreateDraftRequest) Reset
func (x *CreateDraftRequest) Reset()func (*CreateDraftRequest) String
func (x *CreateDraftRequest) String() stringCreateEventRequest
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() *Eventfunc (*CreateEventRequest) GetEventId
func (x *CreateEventRequest) GetEventId() stringfunc (*CreateEventRequest) GetParent
func (x *CreateEventRequest) GetParent() stringfunc (*CreateEventRequest) GetRequestId
func (x *CreateEventRequest) GetRequestId() stringfunc (*CreateEventRequest) ProtoMessage
func (*CreateEventRequest) ProtoMessage()func (*CreateEventRequest) ProtoReflect
func (x *CreateEventRequest) ProtoReflect() protoreflect.Messagefunc (*CreateEventRequest) Reset
func (x *CreateEventRequest) Reset()func (*CreateEventRequest) String
func (x *CreateEventRequest) String() stringCreateIndexEndpointMetadata
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() *OperationMetadatafunc (*CreateIndexEndpointMetadata) ProtoMessage
func (*CreateIndexEndpointMetadata) ProtoMessage()func (*CreateIndexEndpointMetadata) ProtoReflect
func (x *CreateIndexEndpointMetadata) ProtoReflect() protoreflect.Messagefunc (*CreateIndexEndpointMetadata) Reset
func (x *CreateIndexEndpointMetadata) Reset()func (*CreateIndexEndpointMetadata) String
func (x *CreateIndexEndpointMetadata) String() stringCreateIndexEndpointRequest
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() *IndexEndpointfunc (*CreateIndexEndpointRequest) GetIndexEndpointId
func (x *CreateIndexEndpointRequest) GetIndexEndpointId() stringfunc (*CreateIndexEndpointRequest) GetParent
func (x *CreateIndexEndpointRequest) GetParent() stringfunc (*CreateIndexEndpointRequest) ProtoMessage
func (*CreateIndexEndpointRequest) ProtoMessage()func (*CreateIndexEndpointRequest) ProtoReflect
func (x *CreateIndexEndpointRequest) ProtoReflect() protoreflect.Messagefunc (*CreateIndexEndpointRequest) Reset
func (x *CreateIndexEndpointRequest) Reset()func (*CreateIndexEndpointRequest) String
func (x *CreateIndexEndpointRequest) String() stringCreateIndexMetadata
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() *OperationMetadatafunc (*CreateIndexMetadata) ProtoMessage
func (*CreateIndexMetadata) ProtoMessage()func (*CreateIndexMetadata) ProtoReflect
func (x *CreateIndexMetadata) ProtoReflect() protoreflect.Messagefunc (*CreateIndexMetadata) Reset
func (x *CreateIndexMetadata) Reset()func (*CreateIndexMetadata) String
func (x *CreateIndexMetadata) String() stringCreateIndexRequest
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() *Indexfunc (*CreateIndexRequest) GetIndexId
func (x *CreateIndexRequest) GetIndexId() stringfunc (*CreateIndexRequest) GetParent
func (x *CreateIndexRequest) GetParent() stringfunc (*CreateIndexRequest) ProtoMessage
func (*CreateIndexRequest) ProtoMessage()func (*CreateIndexRequest) ProtoReflect
func (x *CreateIndexRequest) ProtoReflect() protoreflect.Messagefunc (*CreateIndexRequest) Reset
func (x *CreateIndexRequest) Reset()func (*CreateIndexRequest) String
func (x *CreateIndexRequest) String() stringCreateOperatorRequest
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() *Operatorfunc (*CreateOperatorRequest) GetOperatorId
func (x *CreateOperatorRequest) GetOperatorId() stringfunc (*CreateOperatorRequest) GetParent
func (x *CreateOperatorRequest) GetParent() stringfunc (*CreateOperatorRequest) GetRequestId
func (x *CreateOperatorRequest) GetRequestId() stringfunc (*CreateOperatorRequest) ProtoMessage
func (*CreateOperatorRequest) ProtoMessage()func (*CreateOperatorRequest) ProtoReflect
func (x *CreateOperatorRequest) ProtoReflect() protoreflect.Messagefunc (*CreateOperatorRequest) Reset
func (x *CreateOperatorRequest) Reset()func (*CreateOperatorRequest) String
func (x *CreateOperatorRequest) String() stringCreateProcessRequest
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() stringfunc (*CreateProcessRequest) GetProcess
func (x *CreateProcessRequest) GetProcess() *Processfunc (*CreateProcessRequest) GetProcessId
func (x *CreateProcessRequest) GetProcessId() stringfunc (*CreateProcessRequest) GetRequestId
func (x *CreateProcessRequest) GetRequestId() stringfunc (*CreateProcessRequest) ProtoMessage
func (*CreateProcessRequest) ProtoMessage()func (*CreateProcessRequest) ProtoReflect
func (x *CreateProcessRequest) ProtoReflect() protoreflect.Messagefunc (*CreateProcessRequest) Reset
func (x *CreateProcessRequest) Reset()func (*CreateProcessRequest) String
func (x *CreateProcessRequest) String() stringCreateProcessorRequest
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() stringfunc (*CreateProcessorRequest) GetProcessor
func (x *CreateProcessorRequest) GetProcessor() *Processorfunc (*CreateProcessorRequest) GetProcessorId
func (x *CreateProcessorRequest) GetProcessorId() stringfunc (*CreateProcessorRequest) GetRequestId
func (x *CreateProcessorRequest) GetRequestId() stringfunc (*CreateProcessorRequest) ProtoMessage
func (*CreateProcessorRequest) ProtoMessage()func (*CreateProcessorRequest) ProtoReflect
func (x *CreateProcessorRequest) ProtoReflect() protoreflect.Messagefunc (*CreateProcessorRequest) Reset
func (x *CreateProcessorRequest) Reset()func (*CreateProcessorRequest) String
func (x *CreateProcessorRequest) String() stringCreateSearchConfigRequest
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() stringfunc (*CreateSearchConfigRequest) GetSearchConfig
func (x *CreateSearchConfigRequest) GetSearchConfig() *SearchConfigfunc (*CreateSearchConfigRequest) GetSearchConfigId
func (x *CreateSearchConfigRequest) GetSearchConfigId() stringfunc (*CreateSearchConfigRequest) ProtoMessage
func (*CreateSearchConfigRequest) ProtoMessage()func (*CreateSearchConfigRequest) ProtoReflect
func (x *CreateSearchConfigRequest) ProtoReflect() protoreflect.Messagefunc (*CreateSearchConfigRequest) Reset
func (x *CreateSearchConfigRequest) Reset()func (*CreateSearchConfigRequest) String
func (x *CreateSearchConfigRequest) String() stringCreateSearchHypernymRequest
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() stringfunc (*CreateSearchHypernymRequest) GetSearchHypernym
func (x *CreateSearchHypernymRequest) GetSearchHypernym() *SearchHypernymfunc (*CreateSearchHypernymRequest) GetSearchHypernymId
func (x *CreateSearchHypernymRequest) GetSearchHypernymId() stringfunc (*CreateSearchHypernymRequest) ProtoMessage
func (*CreateSearchHypernymRequest) ProtoMessage()func (*CreateSearchHypernymRequest) ProtoReflect
func (x *CreateSearchHypernymRequest) ProtoReflect() protoreflect.Messagefunc (*CreateSearchHypernymRequest) Reset
func (x *CreateSearchHypernymRequest) Reset()func (*CreateSearchHypernymRequest) String
func (x *CreateSearchHypernymRequest) String() stringCreateSeriesRequest
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() stringfunc (*CreateSeriesRequest) GetRequestId
func (x *CreateSeriesRequest) GetRequestId() stringfunc (*CreateSeriesRequest) GetSeries
func (x *CreateSeriesRequest) GetSeries() *Seriesfunc (*CreateSeriesRequest) GetSeriesId
func (x *CreateSeriesRequest) GetSeriesId() stringfunc (*CreateSeriesRequest) ProtoMessage
func (*CreateSeriesRequest) ProtoMessage()func (*CreateSeriesRequest) ProtoReflect
func (x *CreateSeriesRequest) ProtoReflect() protoreflect.Messagefunc (*CreateSeriesRequest) Reset
func (x *CreateSeriesRequest) Reset()func (*CreateSeriesRequest) String
func (x *CreateSeriesRequest) String() stringCreateStreamRequest
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() stringfunc (*CreateStreamRequest) GetRequestId
func (x *CreateStreamRequest) GetRequestId() stringfunc (*CreateStreamRequest) GetStream
func (x *CreateStreamRequest) GetStream() *Streamfunc (*CreateStreamRequest) GetStreamId
func (x *CreateStreamRequest) GetStreamId() stringfunc (*CreateStreamRequest) ProtoMessage
func (*CreateStreamRequest) ProtoMessage()func (*CreateStreamRequest) ProtoReflect
func (x *CreateStreamRequest) ProtoReflect() protoreflect.Messagefunc (*CreateStreamRequest) Reset
func (x *CreateStreamRequest) Reset()func (*CreateStreamRequest) String
func (x *CreateStreamRequest) String() stringCriteria
type Criteria struct {
// Types that are assignable to Value:
//
// *Criteria_TextArray
// *Criteria_IntRangeArray
// *Criteria_FloatRangeArray
// *Criteria_DateTimeRangeArray
// *Criteria_GeoLocationArray
// *Criteria_BoolValue
Value isCriteria_Value `protobuf_oneof:"value"`
// The UGA field or ML field to apply filtering criteria.
Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
// If true, return query matched annotations for this criteria.
// This option is only applicable for inclusion criteria, i.e., not exclusion
// criteria, with partition level annotations. It supports the following data
// types:
// - INTEGER
// - FLOAT
// - STRING (DataSchema.SearchStrategy.EXACT_SEARCH only)
// - BOOLEAN
FetchMatchedAnnotations bool `protobuf:"varint,8,opt,name=fetch_matched_annotations,json=fetchMatchedAnnotations,proto3" json:"fetch_matched_annotations,omitempty"`
// contains filtered or unexported fields
}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() *DateTimeRangeArrayfunc (*Criteria) GetFetchMatchedAnnotations
func (*Criteria) GetField
func (*Criteria) GetFloatRangeArray
func (x *Criteria) GetFloatRangeArray() *FloatRangeArrayfunc (*Criteria) GetGeoLocationArray
func (x *Criteria) GetGeoLocationArray() *GeoLocationArrayfunc (*Criteria) GetIntRangeArray
func (x *Criteria) GetIntRangeArray() *IntRangeArrayfunc (*Criteria) GetTextArray
func (x *Criteria) GetTextArray() *StringArrayfunc (*Criteria) GetValue
func (m *Criteria) GetValue() isCriteria_Valuefunc (*Criteria) ProtoMessage
func (*Criteria) ProtoMessage()func (*Criteria) ProtoReflect
func (x *Criteria) ProtoReflect() protoreflect.Messagefunc (*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 {
// The path where App Platform loads the artifacts for the custom processor.
//
// Types that are assignable to ArtifactPath:
//
// *CustomProcessorSourceInfo_VertexModel
// *CustomProcessorSourceInfo_ProductRecognizerArtifact_
ArtifactPath isCustomProcessorSourceInfo_ArtifactPath `protobuf_oneof:"artifact_path"`
// The original product which holds the custom processor's functionality.
SourceType CustomProcessorSourceInfo_SourceType `protobuf:"varint,1,opt,name=source_type,json=sourceType,proto3,enum=google.cloud.visionai.v1.CustomProcessorSourceInfo_SourceType" json:"source_type,omitempty"`
// Output only. Additional info related to the imported custom processor.
// Data is filled in by app platform during the processor creation.
AdditionalInfo map[string]string `protobuf:"bytes,4,rep,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Model schema files which specifies the signature of the model.
// For VERTEX_CUSTOM models, instances schema is required.
// If instances schema is not specified during the processor creation,
// VisionAI Platform will try to get it from Vertex, if it doesn't exist, the
// creation will fail.
ModelSchema *CustomProcessorSourceInfo_ModelSchema `protobuf:"bytes,5,opt,name=model_schema,json=modelSchema,proto3" json:"model_schema,omitempty"`
// contains filtered or unexported fields
}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]stringfunc (*CustomProcessorSourceInfo) GetArtifactPath
func (m *CustomProcessorSourceInfo) GetArtifactPath() isCustomProcessorSourceInfo_ArtifactPathfunc (*CustomProcessorSourceInfo) GetModelSchema
func (x *CustomProcessorSourceInfo) GetModelSchema() *CustomProcessorSourceInfo_ModelSchemafunc (*CustomProcessorSourceInfo) GetProductRecognizerArtifact
func (x *CustomProcessorSourceInfo) GetProductRecognizerArtifact() *CustomProcessorSourceInfo_ProductRecognizerArtifactfunc (*CustomProcessorSourceInfo) GetSourceType
func (x *CustomProcessorSourceInfo) GetSourceType() CustomProcessorSourceInfo_SourceTypefunc (*CustomProcessorSourceInfo) GetVertexModel
func (x *CustomProcessorSourceInfo) GetVertexModel() stringfunc (*CustomProcessorSourceInfo) ProtoMessage
func (*CustomProcessorSourceInfo) ProtoMessage()func (*CustomProcessorSourceInfo) ProtoReflect
func (x *CustomProcessorSourceInfo) ProtoReflect() protoreflect.Messagefunc (*CustomProcessorSourceInfo) Reset
func (x *CustomProcessorSourceInfo) Reset()func (*CustomProcessorSourceInfo) String
func (x *CustomProcessorSourceInfo) String() stringCustomProcessorSourceInfo_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() *GcsSourcefunc (*CustomProcessorSourceInfo_ModelSchema) GetParametersSchema
func (x *CustomProcessorSourceInfo_ModelSchema) GetParametersSchema() *GcsSourcefunc (*CustomProcessorSourceInfo_ModelSchema) GetPredictionsSchema
func (x *CustomProcessorSourceInfo_ModelSchema) GetPredictionsSchema() *GcsSourcefunc (*CustomProcessorSourceInfo_ModelSchema) ProtoMessage
func (*CustomProcessorSourceInfo_ModelSchema) ProtoMessage()func (*CustomProcessorSourceInfo_ModelSchema) ProtoReflect
func (x *CustomProcessorSourceInfo_ModelSchema) ProtoReflect() protoreflect.Messagefunc (*CustomProcessorSourceInfo_ModelSchema) Reset
func (x *CustomProcessorSourceInfo_ModelSchema) Reset()func (*CustomProcessorSourceInfo_ModelSchema) String
func (x *CustomProcessorSourceInfo_ModelSchema) String() stringCustomProcessorSourceInfo_ProductRecognizerArtifact
type CustomProcessorSourceInfo_ProductRecognizerArtifact struct {
// Required. Resource name of RetailProductRecognitionIndex.
// Format is
// 'projects/*/locations/*/retailCatalogs/*/retailProductRecognitionIndexes/*'
RetailProductRecognitionIndex string `protobuf:"bytes,1,opt,name=retail_product_recognition_index,json=retailProductRecognitionIndex,proto3" json:"retail_product_recognition_index,omitempty"`
// Optional. The resource name of embedding model hosted in Vertex AI
// Platform.
VertexModel string `protobuf:"bytes,2,opt,name=vertex_model,json=vertexModel,proto3" json:"vertex_model,omitempty"`
// contains filtered or unexported fields
}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() stringfunc (*CustomProcessorSourceInfo_ProductRecognizerArtifact) GetVertexModel
func (x *CustomProcessorSourceInfo_ProductRecognizerArtifact) GetVertexModel() stringfunc (*CustomProcessorSourceInfo_ProductRecognizerArtifact) ProtoMessage
func (*CustomProcessorSourceInfo_ProductRecognizerArtifact) ProtoMessage()func (*CustomProcessorSourceInfo_ProductRecognizerArtifact) ProtoReflect
func (x *CustomProcessorSourceInfo_ProductRecognizerArtifact) ProtoReflect() protoreflect.Messagefunc (*CustomProcessorSourceInfo_ProductRecognizerArtifact) Reset
func (x *CustomProcessorSourceInfo_ProductRecognizerArtifact) Reset()func (*CustomProcessorSourceInfo_ProductRecognizerArtifact) String
func (x *CustomProcessorSourceInfo_ProductRecognizerArtifact) String() stringCustomProcessorSourceInfo_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 int32Source 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.EnumDescriptorfunc (CustomProcessorSourceInfo_SourceType) Enum
func (x CustomProcessorSourceInfo_SourceType) Enum() *CustomProcessorSourceInfo_SourceTypefunc (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.EnumNumberfunc (CustomProcessorSourceInfo_SourceType) String
func (x CustomProcessorSourceInfo_SourceType) String() stringfunc (CustomProcessorSourceInfo_SourceType) Type
func (CustomProcessorSourceInfo_SourceType) Type() protoreflect.EnumTypeCustomProcessorSourceInfo_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() stringfunc (*DataSchema) GetName
func (x *DataSchema) GetName() stringfunc (*DataSchema) GetSchemaDetails
func (x *DataSchema) GetSchemaDetails() *DataSchemaDetailsfunc (*DataSchema) ProtoMessage
func (*DataSchema) ProtoMessage()func (*DataSchema) ProtoReflect
func (x *DataSchema) ProtoReflect() protoreflect.Messagefunc (*DataSchema) Reset
func (x *DataSchema) Reset()func (*DataSchema) String
func (x *DataSchema) String() stringDataSchemaDetails
type DataSchemaDetails struct {
// Type of the annotation.
Type *DataSchemaDetails_DataType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.visionai.v1.DataSchemaDetails_DataType,oneof" json:"type,omitempty"`
// Config for protobuf any type.
ProtoAnyConfig *DataSchemaDetails_ProtoAnyConfig `protobuf:"bytes,6,opt,name=proto_any_config,json=protoAnyConfig,proto3" json:"proto_any_config,omitempty"`
// Config for List data type.
ListConfig *DataSchemaDetails_ListConfig `protobuf:"bytes,8,opt,name=list_config,json=listConfig,proto3" json:"list_config,omitempty"`
// Config for CustomizedStruct data type.
CustomizedStructConfig *DataSchemaDetails_CustomizedStructConfig `protobuf:"bytes,9,opt,name=customized_struct_config,json=customizedStructConfig,proto3" json:"customized_struct_config,omitempty"`
// The granularity associated with this DataSchema.
Granularity *DataSchemaDetails_Granularity `protobuf:"varint,5,opt,name=granularity,proto3,enum=google.cloud.visionai.v1.DataSchemaDetails_Granularity,oneof" json:"granularity,omitempty"`
// The search strategy to be applied on the `key` above.
SearchStrategy *DataSchemaDetails_SearchStrategy `protobuf:"bytes,7,opt,name=search_strategy,json=searchStrategy,proto3" json:"search_strategy,omitempty"`
// contains filtered or unexported fields
}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_CustomizedStructConfigfunc (*DataSchemaDetails) GetGranularity
func (x *DataSchemaDetails) GetGranularity() DataSchemaDetails_Granularityfunc (*DataSchemaDetails) GetListConfig
func (x *DataSchemaDetails) GetListConfig() *DataSchemaDetails_ListConfigfunc (*DataSchemaDetails) GetProtoAnyConfig
func (x *DataSchemaDetails) GetProtoAnyConfig() *DataSchemaDetails_ProtoAnyConfigfunc (*DataSchemaDetails) GetSearchStrategy
func (x *DataSchemaDetails) GetSearchStrategy() *DataSchemaDetails_SearchStrategyfunc (*DataSchemaDetails) GetType
func (x *DataSchemaDetails) GetType() DataSchemaDetails_DataTypefunc (*DataSchemaDetails) ProtoMessage
func (*DataSchemaDetails) ProtoMessage()func (*DataSchemaDetails) ProtoReflect
func (x *DataSchemaDetails) ProtoReflect() protoreflect.Messagefunc (*DataSchemaDetails) Reset
func (x *DataSchemaDetails) Reset()func (*DataSchemaDetails) String
func (x *DataSchemaDetails) String() stringDataSchemaDetails_CustomizedStructConfig
type DataSchemaDetails_CustomizedStructConfig struct {
// Direct child elements data schemas.
FieldSchemas map[string]*DataSchemaDetails `protobuf:"bytes,1,rep,name=field_schemas,json=fieldSchemas,proto3" json:"field_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}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]*DataSchemaDetailsfunc (*DataSchemaDetails_CustomizedStructConfig) ProtoMessage
func (*DataSchemaDetails_CustomizedStructConfig) ProtoMessage()func (*DataSchemaDetails_CustomizedStructConfig) ProtoReflect
func (x *DataSchemaDetails_CustomizedStructConfig) ProtoReflect() protoreflect.Messagefunc (*DataSchemaDetails_CustomizedStructConfig) Reset
func (x *DataSchemaDetails_CustomizedStructConfig) Reset()func (*DataSchemaDetails_CustomizedStructConfig) String
func (x *DataSchemaDetails_CustomizedStructConfig) String() stringDataSchemaDetails_DataType
type DataSchemaDetails_DataType int32Data 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.EnumDescriptorfunc (DataSchemaDetails_DataType) Enum
func (x DataSchemaDetails_DataType) Enum() *DataSchemaDetails_DataTypefunc (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.EnumNumberfunc (DataSchemaDetails_DataType) String
func (x DataSchemaDetails_DataType) String() stringfunc (DataSchemaDetails_DataType) Type
func (DataSchemaDetails_DataType) Type() protoreflect.EnumTypeDataSchemaDetails_Granularity
type DataSchemaDetails_Granularity int32The 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.EnumDescriptorfunc (DataSchemaDetails_Granularity) Enum
func (x DataSchemaDetails_Granularity) Enum() *DataSchemaDetails_Granularityfunc (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.EnumNumberfunc (DataSchemaDetails_Granularity) String
func (x DataSchemaDetails_Granularity) String() stringfunc (DataSchemaDetails_Granularity) Type
func (DataSchemaDetails_Granularity) Type() protoreflect.EnumTypeDataSchemaDetails_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() *DataSchemaDetailsfunc (*DataSchemaDetails_ListConfig) ProtoMessage
func (*DataSchemaDetails_ListConfig) ProtoMessage()func (*DataSchemaDetails_ListConfig) ProtoReflect
func (x *DataSchemaDetails_ListConfig) ProtoReflect() protoreflect.Messagefunc (*DataSchemaDetails_ListConfig) Reset
func (x *DataSchemaDetails_ListConfig) Reset()func (*DataSchemaDetails_ListConfig) String
func (x *DataSchemaDetails_ListConfig) String() stringDataSchemaDetails_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() stringfunc (*DataSchemaDetails_ProtoAnyConfig) ProtoMessage
func (*DataSchemaDetails_ProtoAnyConfig) ProtoMessage()func (*DataSchemaDetails_ProtoAnyConfig) ProtoReflect
func (x *DataSchemaDetails_ProtoAnyConfig) ProtoReflect() protoreflect.Messagefunc (*DataSchemaDetails_ProtoAnyConfig) Reset
func (x *DataSchemaDetails_ProtoAnyConfig) Reset()func (*DataSchemaDetails_ProtoAnyConfig) String
func (x *DataSchemaDetails_ProtoAnyConfig) String() stringDataSchemaDetails_SearchStrategy
type DataSchemaDetails_SearchStrategy struct {
// The type of search strategy to be applied on the `key` above.
// The allowed `search_strategy_type` is different for different data types,
// which is documented in the DataSchemaDetails.DataType. Specifying
// unsupported `search_strategy_type` for data types will result in
// INVALID_ARGUMENT error.
SearchStrategyType *DataSchemaDetails_SearchStrategy_SearchStrategyType `protobuf:"varint,1,opt,name=search_strategy_type,json=searchStrategyType,proto3,enum=google.cloud.visionai.v1.DataSchemaDetails_SearchStrategy_SearchStrategyType,oneof" json:"search_strategy_type,omitempty"`
// Optional. Configs the path to the confidence score, and the threshold.
// Only if the score is greater than the threshold, current field will be
// built into the index. Only applies to leaf nodes using EXACT_SEARCH or
// SMART_SEARCH.
ConfidenceScoreIndexConfig *DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig `protobuf:"bytes,2,opt,name=confidence_score_index_config,json=confidenceScoreIndexConfig,proto3" json:"confidence_score_index_config,omitempty"`
// contains filtered or unexported fields
}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_ConfidenceScoreIndexConfigfunc (*DataSchemaDetails_SearchStrategy) GetSearchStrategyType
func (x *DataSchemaDetails_SearchStrategy) GetSearchStrategyType() DataSchemaDetails_SearchStrategy_SearchStrategyTypefunc (*DataSchemaDetails_SearchStrategy) ProtoMessage
func (*DataSchemaDetails_SearchStrategy) ProtoMessage()func (*DataSchemaDetails_SearchStrategy) ProtoReflect
func (x *DataSchemaDetails_SearchStrategy) ProtoReflect() protoreflect.Messagefunc (*DataSchemaDetails_SearchStrategy) Reset
func (x *DataSchemaDetails_SearchStrategy) Reset()func (*DataSchemaDetails_SearchStrategy) String
func (x *DataSchemaDetails_SearchStrategy) String() stringDataSchemaDetails_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() stringfunc (*DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) GetThreshold
func (x *DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) GetThreshold() float32func (*DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) ProtoMessage
func (*DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) ProtoMessage()func (*DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) ProtoReflect
func (x *DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) ProtoReflect() protoreflect.Messagefunc (*DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) Reset
func (x *DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) Reset()func (*DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) String
func (x *DataSchemaDetails_SearchStrategy_ConfidenceScoreIndexConfig) String() stringDataSchemaDetails_SearchStrategy_SearchStrategyType
type DataSchemaDetails_SearchStrategy_SearchStrategyType int32The 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.EnumDescriptorfunc (DataSchemaDetails_SearchStrategy_SearchStrategyType) Enum
func (x DataSchemaDetails_SearchStrategy_SearchStrategyType) Enum() *DataSchemaDetails_SearchStrategy_SearchStrategyTypefunc (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.EnumNumberfunc (DataSchemaDetails_SearchStrategy_SearchStrategyType) String
func (x DataSchemaDetails_SearchStrategy_SearchStrategyType) String() stringfunc (DataSchemaDetails_SearchStrategy_SearchStrategyType) Type
DataType
type DataType int32All 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.EnumDescriptorfunc (DataType) Enum
func (DataType) EnumDescriptor
Deprecated: Use DataType.Descriptor instead.
func (DataType) Number
func (x DataType) Number() protoreflect.EnumNumberfunc (DataType) String
func (DataType) Type
func (DataType) Type() protoreflect.EnumTypeDateTimeRange
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.DateTimefunc (*DateTimeRange) GetStart
func (x *DateTimeRange) GetStart() *datetime.DateTimefunc (*DateTimeRange) ProtoMessage
func (*DateTimeRange) ProtoMessage()func (*DateTimeRange) ProtoReflect
func (x *DateTimeRange) ProtoReflect() protoreflect.Messagefunc (*DateTimeRange) Reset
func (x *DateTimeRange) Reset()func (*DateTimeRange) String
func (x *DateTimeRange) String() stringDateTimeRangeArray
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() []*DateTimeRangefunc (*DateTimeRangeArray) ProtoMessage
func (*DateTimeRangeArray) ProtoMessage()func (*DateTimeRangeArray) ProtoReflect
func (x *DateTimeRangeArray) ProtoReflect() protoreflect.Messagefunc (*DateTimeRangeArray) Reset
func (x *DateTimeRangeArray) Reset()func (*DateTimeRangeArray) String
func (x *DateTimeRangeArray) String() stringDedicatedResources
type DedicatedResources struct {
// Required. Immutable. The specification of a single machine used by the
// prediction.
MachineSpec *MachineSpec `protobuf:"bytes,1,opt,name=machine_spec,json=machineSpec,proto3" json:"machine_spec,omitempty"`
// Required. Immutable. The minimum number of machine replicas this
// DeployedModel will be always deployed on. This value must be greater than
// or equal to 1.
//
// If traffic against the DeployedModel increases, it may dynamically be
// deployed onto more replicas, and as traffic decreases, some of these extra
// replicas may be freed.
MinReplicaCount int32 `protobuf:"varint,2,opt,name=min_replica_count,json=minReplicaCount,proto3" json:"min_replica_count,omitempty"`
// Immutable. The maximum number of replicas this DeployedModel may be
// deployed on when the traffic against it increases. If the requested value
// is too large, the deployment will error, but if deployment succeeds then
// the ability to scale the model to that many replicas is guaranteed (barring
// service outages). If traffic against the DeployedModel increases beyond
// what its replicas at maximum may handle, a portion of the traffic will be
// dropped. If this value is not provided, will use
// [min_replica_count][google.cloud.visionai.v1.DedicatedResources.min_replica_count]
// as the default value.
//
// The value of this field impacts the charge against Vertex CPU and GPU
// quotas. Specifically, you will be charged for max_replica_count *
// number of cores in the selected machine type) and (max_replica_count *
// number of GPUs per replica in the selected machine type).
MaxReplicaCount int32 `protobuf:"varint,3,opt,name=max_replica_count,json=maxReplicaCount,proto3" json:"max_replica_count,omitempty"`
// Immutable. The metric specifications that overrides a resource
// utilization metric (CPU utilization, accelerator's duty cycle, and so on)
// target value (default to 60 if not set). At most one entry is allowed per
// metric.
//
// If
// [machine_spec.accelerator_count][google.cloud.visionai.v1.MachineSpec.accelerator_count]
// is above 0, the autoscaling will be based on both CPU utilization and
// accelerator's duty cycle metrics and scale up when either metrics exceeds
// its target value while scale down if both metrics are under their target
// value. The default target value is 60 for both metrics.
//
// If
// [machine_spec.accelerator_count][google.cloud.visionai.v1.MachineSpec.accelerator_count]
// is 0, the autoscaling will be based on CPU utilization metric only with
// default target value 60 if not explicitly set.
//
// For example, in the case of Online Prediction, if you want to override
// target CPU utilization to 80, you should set
// [autoscaling_metric_specs.metric_name][google.cloud.visionai.v1.AutoscalingMetricSpec.metric_name]
// to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and
// [autoscaling_metric_specs.target][google.cloud.visionai.v1.AutoscalingMetricSpec.target]
// to `80`.
AutoscalingMetricSpecs []*AutoscalingMetricSpec `protobuf:"bytes,4,rep,name=autoscaling_metric_specs,json=autoscalingMetricSpecs,proto3" json:"autoscaling_metric_specs,omitempty"`
// contains filtered or unexported fields
}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() []*AutoscalingMetricSpecfunc (*DedicatedResources) GetMachineSpec
func (x *DedicatedResources) GetMachineSpec() *MachineSpecfunc (*DedicatedResources) GetMaxReplicaCount
func (x *DedicatedResources) GetMaxReplicaCount() int32func (*DedicatedResources) GetMinReplicaCount
func (x *DedicatedResources) GetMinReplicaCount() int32func (*DedicatedResources) ProtoMessage
func (*DedicatedResources) ProtoMessage()func (*DedicatedResources) ProtoReflect
func (x *DedicatedResources) ProtoReflect() protoreflect.Messagefunc (*DedicatedResources) Reset
func (x *DedicatedResources) Reset()func (*DedicatedResources) String
func (x *DedicatedResources) String() stringDeleteAnalysisRequest
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() stringfunc (*DeleteAnalysisRequest) GetRequestId
func (x *DeleteAnalysisRequest) GetRequestId() stringfunc (*DeleteAnalysisRequest) ProtoMessage
func (*DeleteAnalysisRequest) ProtoMessage()func (*DeleteAnalysisRequest) ProtoReflect
func (x *DeleteAnalysisRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteAnalysisRequest) Reset
func (x *DeleteAnalysisRequest) Reset()func (*DeleteAnalysisRequest) String
func (x *DeleteAnalysisRequest) String() stringDeleteAnnotationRequest
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() stringfunc (*DeleteAnnotationRequest) ProtoMessage
func (*DeleteAnnotationRequest) ProtoMessage()func (*DeleteAnnotationRequest) ProtoReflect
func (x *DeleteAnnotationRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteAnnotationRequest) Reset
func (x *DeleteAnnotationRequest) Reset()func (*DeleteAnnotationRequest) String
func (x *DeleteAnnotationRequest) String() stringDeleteApplicationInstancesRequest
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() []stringfunc (*DeleteApplicationInstancesRequest) GetName
func (x *DeleteApplicationInstancesRequest) GetName() stringfunc (*DeleteApplicationInstancesRequest) GetRequestId
func (x *DeleteApplicationInstancesRequest) GetRequestId() stringfunc (*DeleteApplicationInstancesRequest) ProtoMessage
func (*DeleteApplicationInstancesRequest) ProtoMessage()func (*DeleteApplicationInstancesRequest) ProtoReflect
func (x *DeleteApplicationInstancesRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteApplicationInstancesRequest) Reset
func (x *DeleteApplicationInstancesRequest) Reset()func (*DeleteApplicationInstancesRequest) String
func (x *DeleteApplicationInstancesRequest) String() stringDeleteApplicationInstancesResponse
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.Messagefunc (*DeleteApplicationInstancesResponse) Reset
func (x *DeleteApplicationInstancesResponse) Reset()func (*DeleteApplicationInstancesResponse) String
func (x *DeleteApplicationInstancesResponse) String() stringDeleteApplicationRequest
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() boolfunc (*DeleteApplicationRequest) GetName
func (x *DeleteApplicationRequest) GetName() stringfunc (*DeleteApplicationRequest) GetRequestId
func (x *DeleteApplicationRequest) GetRequestId() stringfunc (*DeleteApplicationRequest) ProtoMessage
func (*DeleteApplicationRequest) ProtoMessage()func (*DeleteApplicationRequest) ProtoReflect
func (x *DeleteApplicationRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteApplicationRequest) Reset
func (x *DeleteApplicationRequest) Reset()func (*DeleteApplicationRequest) String
func (x *DeleteApplicationRequest) String() stringDeleteAssetMetadata
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.Messagefunc (*DeleteAssetMetadata) Reset
func (x *DeleteAssetMetadata) Reset()func (*DeleteAssetMetadata) String
func (x *DeleteAssetMetadata) String() stringDeleteAssetRequest
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() stringfunc (*DeleteAssetRequest) ProtoMessage
func (*DeleteAssetRequest) ProtoMessage()func (*DeleteAssetRequest) ProtoReflect
func (x *DeleteAssetRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteAssetRequest) Reset
func (x *DeleteAssetRequest) Reset()func (*DeleteAssetRequest) String
func (x *DeleteAssetRequest) String() stringDeleteClusterRequest
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() stringfunc (*DeleteClusterRequest) GetRequestId
func (x *DeleteClusterRequest) GetRequestId() stringfunc (*DeleteClusterRequest) ProtoMessage
func (*DeleteClusterRequest) ProtoMessage()func (*DeleteClusterRequest) ProtoReflect
func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteClusterRequest) Reset
func (x *DeleteClusterRequest) Reset()func (*DeleteClusterRequest) String
func (x *DeleteClusterRequest) String() stringDeleteCollectionMetadata
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() *OperationMetadatafunc (*DeleteCollectionMetadata) ProtoMessage
func (*DeleteCollectionMetadata) ProtoMessage()func (*DeleteCollectionMetadata) ProtoReflect
func (x *DeleteCollectionMetadata) ProtoReflect() protoreflect.Messagefunc (*DeleteCollectionMetadata) Reset
func (x *DeleteCollectionMetadata) Reset()func (*DeleteCollectionMetadata) String
func (x *DeleteCollectionMetadata) String() stringDeleteCollectionRequest
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() stringfunc (*DeleteCollectionRequest) ProtoMessage
func (*DeleteCollectionRequest) ProtoMessage()func (*DeleteCollectionRequest) ProtoReflect
func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteCollectionRequest) Reset
func (x *DeleteCollectionRequest) Reset()func (*DeleteCollectionRequest) String
func (x *DeleteCollectionRequest) String() stringDeleteCorpusRequest
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() stringfunc (*DeleteCorpusRequest) ProtoMessage
func (*DeleteCorpusRequest) ProtoMessage()func (*DeleteCorpusRequest) ProtoReflect
func (x *DeleteCorpusRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteCorpusRequest) Reset
func (x *DeleteCorpusRequest) Reset()func (*DeleteCorpusRequest) String
func (x *DeleteCorpusRequest) String() stringDeleteDataSchemaRequest
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() stringfunc (*DeleteDataSchemaRequest) ProtoMessage
func (*DeleteDataSchemaRequest) ProtoMessage()func (*DeleteDataSchemaRequest) ProtoReflect
func (x *DeleteDataSchemaRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteDataSchemaRequest) Reset
func (x *DeleteDataSchemaRequest) Reset()func (*DeleteDataSchemaRequest) String
func (x *DeleteDataSchemaRequest) String() stringDeleteDraftRequest
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() stringfunc (*DeleteDraftRequest) GetRequestId
func (x *DeleteDraftRequest) GetRequestId() stringfunc (*DeleteDraftRequest) ProtoMessage
func (*DeleteDraftRequest) ProtoMessage()func (*DeleteDraftRequest) ProtoReflect
func (x *DeleteDraftRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteDraftRequest) Reset
func (x *DeleteDraftRequest) Reset()func (*DeleteDraftRequest) String
func (x *DeleteDraftRequest) String() stringDeleteEventRequest
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() stringfunc (*DeleteEventRequest) GetRequestId
func (x *DeleteEventRequest) GetRequestId() stringfunc (*DeleteEventRequest) ProtoMessage
func (*DeleteEventRequest) ProtoMessage()func (*DeleteEventRequest) ProtoReflect
func (x *DeleteEventRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteEventRequest) Reset
func (x *DeleteEventRequest) Reset()func (*DeleteEventRequest) String
func (x *DeleteEventRequest) String() stringDeleteIndexEndpointMetadata
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() *OperationMetadatafunc (*DeleteIndexEndpointMetadata) ProtoMessage
func (*DeleteIndexEndpointMetadata) ProtoMessage()func (*DeleteIndexEndpointMetadata) ProtoReflect
func (x *DeleteIndexEndpointMetadata) ProtoReflect() protoreflect.Messagefunc (*DeleteIndexEndpointMetadata) Reset
func (x *DeleteIndexEndpointMetadata) Reset()func (*DeleteIndexEndpointMetadata) String
func (x *DeleteIndexEndpointMetadata) String() stringDeleteIndexEndpointRequest
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() stringfunc (*DeleteIndexEndpointRequest) ProtoMessage
func (*DeleteIndexEndpointRequest) ProtoMessage()func (*DeleteIndexEndpointRequest) ProtoReflect
func (x *DeleteIndexEndpointRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteIndexEndpointRequest) Reset
func (x *DeleteIndexEndpointRequest) Reset()func (*DeleteIndexEndpointRequest) String
func (x *DeleteIndexEndpointRequest) String() stringDeleteIndexMetadata
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.Messagefunc (*DeleteIndexMetadata) Reset
func (x *DeleteIndexMetadata) Reset()func (*DeleteIndexMetadata) String
func (x *DeleteIndexMetadata) String() stringDeleteIndexRequest
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() stringfunc (*DeleteIndexRequest) ProtoMessage
func (*DeleteIndexRequest) ProtoMessage()func (*DeleteIndexRequest) ProtoReflect
func (x *DeleteIndexRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteIndexRequest) Reset
func (x *DeleteIndexRequest) Reset()func (*DeleteIndexRequest) String
func (x *DeleteIndexRequest) String() stringDeleteOperatorRequest
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() stringfunc (*DeleteOperatorRequest) GetRequestId
func (x *DeleteOperatorRequest) GetRequestId() stringfunc (*DeleteOperatorRequest) ProtoMessage
func (*DeleteOperatorRequest) ProtoMessage()func (*DeleteOperatorRequest) ProtoReflect
func (x *DeleteOperatorRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteOperatorRequest) Reset
func (x *DeleteOperatorRequest) Reset()func (*DeleteOperatorRequest) String
func (x *DeleteOperatorRequest) String() stringDeleteProcessRequest
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() stringfunc (*DeleteProcessRequest) GetRequestId
func (x *DeleteProcessRequest) GetRequestId() stringfunc (*DeleteProcessRequest) ProtoMessage
func (*DeleteProcessRequest) ProtoMessage()func (*DeleteProcessRequest) ProtoReflect
func (x *DeleteProcessRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteProcessRequest) Reset
func (x *DeleteProcessRequest) Reset()func (*DeleteProcessRequest) String
func (x *DeleteProcessRequest) String() stringDeleteProcessorRequest
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() stringfunc (*DeleteProcessorRequest) GetRequestId
func (x *DeleteProcessorRequest) GetRequestId() stringfunc (*DeleteProcessorRequest) ProtoMessage
func (*DeleteProcessorRequest) ProtoMessage()func (*DeleteProcessorRequest) ProtoReflect
func (x *DeleteProcessorRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteProcessorRequest) Reset
func (x *DeleteProcessorRequest) Reset()func (*DeleteProcessorRequest) String
func (x *DeleteProcessorRequest) String() stringDeleteSearchConfigRequest
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() stringfunc (*DeleteSearchConfigRequest) ProtoMessage
func (*DeleteSearchConfigRequest) ProtoMessage()func (*DeleteSearchConfigRequest) ProtoReflect
func (x *DeleteSearchConfigRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteSearchConfigRequest) Reset
func (x *DeleteSearchConfigRequest) Reset()func (*DeleteSearchConfigRequest) String
func (x *DeleteSearchConfigRequest) String() stringDeleteSearchHypernymRequest
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() stringfunc (*DeleteSearchHypernymRequest) ProtoMessage
func (*DeleteSearchHypernymRequest) ProtoMessage()func (*DeleteSearchHypernymRequest) ProtoReflect
func (x *DeleteSearchHypernymRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteSearchHypernymRequest) Reset
func (x *DeleteSearchHypernymRequest) Reset()func (*DeleteSearchHypernymRequest) String
func (x *DeleteSearchHypernymRequest) String() stringDeleteSeriesRequest
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() stringfunc (*DeleteSeriesRequest) GetRequestId
func (x *DeleteSeriesRequest) GetRequestId() stringfunc (*DeleteSeriesRequest) ProtoMessage
func (*DeleteSeriesRequest) ProtoMessage()func (*DeleteSeriesRequest) ProtoReflect
func (x *DeleteSeriesRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteSeriesRequest) Reset
func (x *DeleteSeriesRequest) Reset()func (*DeleteSeriesRequest) String
func (x *DeleteSeriesRequest) String() stringDeleteStreamRequest
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() stringfunc (*DeleteStreamRequest) GetRequestId
func (x *DeleteStreamRequest) GetRequestId() stringfunc (*DeleteStreamRequest) ProtoMessage
func (*DeleteStreamRequest) ProtoMessage()func (*DeleteStreamRequest) ProtoReflect
func (x *DeleteStreamRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteStreamRequest) Reset
func (x *DeleteStreamRequest) Reset()func (*DeleteStreamRequest) String
func (x *DeleteStreamRequest) String() stringDeployApplicationRequest
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() boolfunc (*DeployApplicationRequest) GetName
func (x *DeployApplicationRequest) GetName() stringfunc (*DeployApplicationRequest) GetRequestId
func (x *DeployApplicationRequest) GetRequestId() stringfunc (*DeployApplicationRequest) GetValidateOnly
func (x *DeployApplicationRequest) GetValidateOnly() boolfunc (*DeployApplicationRequest) ProtoMessage
func (*DeployApplicationRequest) ProtoMessage()func (*DeployApplicationRequest) ProtoReflect
func (x *DeployApplicationRequest) ProtoReflect() protoreflect.Messagefunc (*DeployApplicationRequest) Reset
func (x *DeployApplicationRequest) Reset()func (*DeployApplicationRequest) String
func (x *DeployApplicationRequest) String() stringDeployApplicationResponse
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.Messagefunc (*DeployApplicationResponse) Reset
func (x *DeployApplicationResponse) Reset()func (*DeployApplicationResponse) String
func (x *DeployApplicationResponse) String() stringDeployIndexMetadata
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() stringfunc (*DeployIndexMetadata) GetOperationMetadata
func (x *DeployIndexMetadata) GetOperationMetadata() *OperationMetadatafunc (*DeployIndexMetadata) ProtoMessage
func (*DeployIndexMetadata) ProtoMessage()func (*DeployIndexMetadata) ProtoReflect
func (x *DeployIndexMetadata) ProtoReflect() protoreflect.Messagefunc (*DeployIndexMetadata) Reset
func (x *DeployIndexMetadata) Reset()func (*DeployIndexMetadata) String
func (x *DeployIndexMetadata) String() stringDeployIndexRequest
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() *DeployedIndexfunc (*DeployIndexRequest) GetIndexEndpoint
func (x *DeployIndexRequest) GetIndexEndpoint() stringfunc (*DeployIndexRequest) ProtoMessage
func (*DeployIndexRequest) ProtoMessage()func (*DeployIndexRequest) ProtoReflect
func (x *DeployIndexRequest) ProtoReflect() protoreflect.Messagefunc (*DeployIndexRequest) Reset
func (x *DeployIndexRequest) Reset()func (*DeployIndexRequest) String
func (x *DeployIndexRequest) String() stringDeployIndexResponse
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.Messagefunc (*DeployIndexResponse) Reset
func (x *DeployIndexResponse) Reset()func (*DeployIndexResponse) String
func (x *DeployIndexResponse) String() stringDeployedIndex
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() stringfunc (*DeployedIndex) ProtoMessage
func (*DeployedIndex) ProtoMessage()func (*DeployedIndex) ProtoReflect
func (x *DeployedIndex) ProtoReflect() protoreflect.Messagefunc (*DeployedIndex) Reset
func (x *DeployedIndex) Reset()func (*DeployedIndex) String
func (x *DeployedIndex) String() stringDeployedIndexReference
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() stringfunc (*DeployedIndexReference) ProtoMessage
func (*DeployedIndexReference) ProtoMessage()func (*DeployedIndexReference) ProtoReflect
func (x *DeployedIndexReference) ProtoReflect() protoreflect.Messagefunc (*DeployedIndexReference) Reset
func (x *DeployedIndexReference) Reset()func (*DeployedIndexReference) String
func (x *DeployedIndexReference) String() stringDraft
type Draft struct {
// name of resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. [Output only] Create timestamp
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. [Output only] Create timestamp
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Labels as key value pairs
Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Required. A user friendly display name for the solution.
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// A description for this application.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// The draft application configs which haven't been updated to an application.
DraftApplicationConfigs *ApplicationConfigs `protobuf:"bytes,6,opt,name=draft_application_configs,json=draftApplicationConfigs,proto3" json:"draft_application_configs,omitempty"`
// contains filtered or unexported fields
}Message describing Draft object
func (*Draft) Descriptor
Deprecated: Use Draft.ProtoReflect.Descriptor instead.
func (*Draft) GetCreateTime
func (x *Draft) GetCreateTime() *timestamppb.Timestampfunc (*Draft) GetDescription
func (*Draft) GetDisplayName
func (*Draft) GetDraftApplicationConfigs
func (x *Draft) GetDraftApplicationConfigs() *ApplicationConfigsfunc (*Draft) GetLabels
func (*Draft) GetName
func (*Draft) GetUpdateTime
func (x *Draft) GetUpdateTime() *timestamppb.Timestampfunc (*Draft) ProtoMessage
func (*Draft) ProtoMessage()func (*Draft) ProtoReflect
func (x *Draft) ProtoReflect() protoreflect.Messagefunc (*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.Messagefunc (*EagerMode) Reset
func (x *EagerMode) Reset()func (*EagerMode) String
Event
type Event struct {
// Name of the 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"`
// Labels as key value pairs.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Annotations to allow clients to store small amounts of arbitrary data.
Annotations map[string]string `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// The clock used for joining streams.
AlignmentClock Event_Clock `protobuf:"varint,6,opt,name=alignment_clock,json=alignmentClock,proto3,enum=google.cloud.visionai.v1.Event_Clock" json:"alignment_clock,omitempty"`
// Grace period for cleaning up the event. This is the time the controller
// waits for before deleting the event. During this period, if there is any
// active channel on the event. The deletion of the event after grace_period
// will be ignored.
GracePeriod *durationpb.Duration `protobuf:"bytes,7,opt,name=grace_period,json=gracePeriod,proto3" json:"grace_period,omitempty"`
// contains filtered or unexported fields
}Message describing the Event object.
func (*Event) Descriptor
Deprecated: Use Event.ProtoReflect.Descriptor instead.
func (*Event) GetAlignmentClock
func (x *Event) GetAlignmentClock() Event_Clockfunc (*Event) GetAnnotations
func (*Event) GetCreateTime
func (x *Event) GetCreateTime() *timestamppb.Timestampfunc (*Event) GetGracePeriod
func (x *Event) GetGracePeriod() *durationpb.Durationfunc (*Event) GetLabels
func (*Event) GetName
func (*Event) GetUpdateTime
func (x *Event) GetUpdateTime() *timestamppb.Timestampfunc (*Event) ProtoMessage
func (*Event) ProtoMessage()func (*Event) ProtoReflect
func (x *Event) ProtoReflect() protoreflect.Messagefunc (*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() stringfunc (*EventUpdate) GetOffset
func (x *EventUpdate) GetOffset() int64func (*EventUpdate) GetSeries
func (x *EventUpdate) GetSeries() stringfunc (*EventUpdate) GetStream
func (x *EventUpdate) GetStream() stringfunc (*EventUpdate) GetUpdateTime
func (x *EventUpdate) GetUpdateTime() *timestamppb.Timestampfunc (*EventUpdate) ProtoMessage
func (*EventUpdate) ProtoMessage()func (*EventUpdate) ProtoReflect
func (x *EventUpdate) ProtoReflect() protoreflect.Messagefunc (*EventUpdate) Reset
func (x *EventUpdate) Reset()func (*EventUpdate) String
func (x *EventUpdate) String() stringEvent_Clock
type Event_Clock int32Clock 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.EnumDescriptorfunc (Event_Clock) Enum
func (x Event_Clock) Enum() *Event_Clockfunc (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.EnumNumberfunc (Event_Clock) String
func (x Event_Clock) String() stringfunc (Event_Clock) Type
func (Event_Clock) Type() protoreflect.EnumTypeFacetBucket
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_BucketValuefunc (*FacetBucket) GetRange
func (x *FacetBucket) GetRange() *FacetBucket_Rangefunc (*FacetBucket) GetSelected
func (x *FacetBucket) GetSelected() boolfunc (*FacetBucket) GetValue
func (x *FacetBucket) GetValue() *FacetValuefunc (*FacetBucket) ProtoMessage
func (*FacetBucket) ProtoMessage()func (*FacetBucket) ProtoReflect
func (x *FacetBucket) ProtoReflect() protoreflect.Messagefunc (*FacetBucket) Reset
func (x *FacetBucket) Reset()func (*FacetBucket) String
func (x *FacetBucket) String() stringFacetBucketType
type FacetBucketType int32Different 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.EnumDescriptorfunc (FacetBucketType) Enum
func (x FacetBucketType) Enum() *FacetBucketTypefunc (FacetBucketType) EnumDescriptor
func (FacetBucketType) EnumDescriptor() ([]byte, []int)Deprecated: Use FacetBucketType.Descriptor instead.
func (FacetBucketType) Number
func (x FacetBucketType) Number() protoreflect.EnumNumberfunc (FacetBucketType) String
func (x FacetBucketType) String() stringfunc (FacetBucketType) Type
func (FacetBucketType) Type() protoreflect.EnumTypeFacetBucket_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() *FacetValuefunc (*FacetBucket_Range) GetStart
func (x *FacetBucket_Range) GetStart() *FacetValuefunc (*FacetBucket_Range) ProtoMessage
func (*FacetBucket_Range) ProtoMessage()func (*FacetBucket_Range) ProtoReflect
func (x *FacetBucket_Range) ProtoReflect() protoreflect.Messagefunc (*FacetBucket_Range) Reset
func (x *FacetBucket_Range) Reset()func (*FacetBucket_Range) String
func (x *FacetBucket_Range) String() stringFacetBucket_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 {
// Unique id of the facet group.
FacetId string `protobuf:"bytes,1,opt,name=facet_id,json=facetId,proto3" json:"facet_id,omitempty"`
// Display name of the facet. To be used by UI for facet rendering.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Buckets associated with the facet. E.g. for "Team" facet, the bucket
// can be 49ers, patriots, etc.
Buckets []*FacetBucket `protobuf:"bytes,3,rep,name=buckets,proto3" json:"buckets,omitempty"`
// Facet bucket type.
BucketType FacetBucketType `protobuf:"varint,4,opt,name=bucket_type,json=bucketType,proto3,enum=google.cloud.visionai.v1.FacetBucketType" json:"bucket_type,omitempty"`
// If true, return query matched annotations for this facet group's selection.
// This option is only applicable for facets based on partition level
// annotations. It supports the following facet values:
// - INTEGER
// - STRING (DataSchema.SearchStrategy.EXACT_SEARCH only)
FetchMatchedAnnotations bool `protobuf:"varint,5,opt,name=fetch_matched_annotations,json=fetchMatchedAnnotations,proto3" json:"fetch_matched_annotations,omitempty"`
// contains filtered or unexported fields
}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() FacetBucketTypefunc (*FacetGroup) GetBuckets
func (x *FacetGroup) GetBuckets() []*FacetBucketfunc (*FacetGroup) GetDisplayName
func (x *FacetGroup) GetDisplayName() stringfunc (*FacetGroup) GetFacetId
func (x *FacetGroup) GetFacetId() stringfunc (*FacetGroup) GetFetchMatchedAnnotations
func (x *FacetGroup) GetFetchMatchedAnnotations() boolfunc (*FacetGroup) ProtoMessage
func (*FacetGroup) ProtoMessage()func (*FacetGroup) ProtoReflect
func (x *FacetGroup) ProtoReflect() protoreflect.Messagefunc (*FacetGroup) Reset
func (x *FacetGroup) Reset()func (*FacetGroup) String
func (x *FacetGroup) String() stringFacetProperty
type FacetProperty struct {
// Types that are assignable to RangeFacetConfig:
//
// *FacetProperty_FixedRangeBucketSpec_
// *FacetProperty_CustomRangeBucketSpec_
// *FacetProperty_DatetimeBucketSpec
RangeFacetConfig isFacetProperty_RangeFacetConfig `protobuf_oneof:"range_facet_config"`
// Name of the facets, which are the dimensions users want to use to refine
// search results. `mapped_fields` will match UserSpecifiedDataSchema keys.
//
// For example, user can add a bunch of UGAs with the same key, such as
// player:adam, player:bob, player:charles. When multiple mapped_fields are
// specified, will merge their value together as final facet value. E.g.
// home_team: a, home_team:b, away_team:a, away_team:c, when facet_field =
// [home_team, away_team], facet_value will be [a, b, c].
//
// UNLESS this is a 1:1 facet dimension (mapped_fields.size() == 1) AND the
// mapped_field equals the parent SearchConfig.name, the parent must
// also contain a SearchCriteriaProperty that maps to the same fields.
// mapped_fields must not be empty.
MappedFields []string `protobuf:"bytes,1,rep,name=mapped_fields,json=mappedFields,proto3" json:"mapped_fields,omitempty"`
// Display name of the facet. To be used by UI for facet rendering.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Maximum number of unique bucket to return for one facet. Bucket number can
// be large for high-cardinality facet such as "player". We only return top-n
// most related ones to user. If it's <= 0,="" the="" server="" will="" decide="" the="" appropriate="" result_size.="" resultsize="">int64 `protobuf:"varint,3,opt,name=result_size,json=resultSize,proto3" json:"result_size,omitempty"`
// Facet bucket type e.g. value, range.
BucketType FacetBucketType `protobuf:"varint,4,opt,name=bucket_type,json=bucketType,proto3,enum=google.cloud.visionai.v1.FacetBucketType" json:"bucket_type,omitempty"`
// contains filtered or unexported fields
}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() FacetBucketTypefunc (*FacetProperty) GetCustomRangeBucketSpec
func (x *FacetProperty) GetCustomRangeBucketSpec() *FacetProperty_CustomRangeBucketSpecfunc (*FacetProperty) GetDatetimeBucketSpec
func (x *FacetProperty) GetDatetimeBucketSpec() *FacetProperty_DateTimeBucketSpecfunc (*FacetProperty) GetDisplayName
func (x *FacetProperty) GetDisplayName() stringfunc (*FacetProperty) GetFixedRangeBucketSpec
func (x *FacetProperty) GetFixedRangeBucketSpec() *FacetProperty_FixedRangeBucketSpecfunc (*FacetProperty) GetMappedFields
func (x *FacetProperty) GetMappedFields() []stringfunc (*FacetProperty) GetRangeFacetConfig
func (m *FacetProperty) GetRangeFacetConfig() isFacetProperty_RangeFacetConfigfunc (*FacetProperty) GetResultSize
func (x *FacetProperty) GetResultSize() int64func (*FacetProperty) ProtoMessage
func (*FacetProperty) ProtoMessage()func (*FacetProperty) ProtoReflect
func (x *FacetProperty) ProtoReflect() protoreflect.Messagefunc (*FacetProperty) Reset
func (x *FacetProperty) Reset()func (*FacetProperty) String
func (x *FacetProperty) String() stringFacetProperty_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() []*FacetValuefunc (*FacetProperty_CustomRangeBucketSpec) ProtoMessage
func (*FacetProperty_CustomRangeBucketSpec) ProtoMessage()func (*FacetProperty_CustomRangeBucketSpec) ProtoReflect
func (x *FacetProperty_CustomRangeBucketSpec) ProtoReflect() protoreflect.Messagefunc (*FacetProperty_CustomRangeBucketSpec) Reset
func (x *FacetProperty_CustomRangeBucketSpec) Reset()func (*FacetProperty_CustomRangeBucketSpec) String
func (x *FacetProperty_CustomRangeBucketSpec) String() stringFacetProperty_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 of date type facet.
Granularity FacetProperty_DateTimeBucketSpec_Granularity `protobuf:"varint,1,opt,name=granularity,proto3,enum=google.cloud.visionai.v1.FacetProperty_DateTimeBucketSpec_Granularity" json:"granularity,omitempty"`
// contains filtered or unexported fields
}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_Granularityfunc (*FacetProperty_DateTimeBucketSpec) ProtoMessage
func (*FacetProperty_DateTimeBucketSpec) ProtoMessage()func (*FacetProperty_DateTimeBucketSpec) ProtoReflect
func (x *FacetProperty_DateTimeBucketSpec) ProtoReflect() protoreflect.Messagefunc (*FacetProperty_DateTimeBucketSpec) Reset
func (x *FacetProperty_DateTimeBucketSpec) Reset()func (*FacetProperty_DateTimeBucketSpec) String
func (x *FacetProperty_DateTimeBucketSpec) String() stringFacetProperty_DateTimeBucketSpec_Granularity
type FacetProperty_DateTimeBucketSpec_Granularity int32Granularity 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.EnumDescriptorfunc (FacetProperty_DateTimeBucketSpec_Granularity) Enum
func (x FacetProperty_DateTimeBucketSpec_Granularity) Enum() *FacetProperty_DateTimeBucketSpec_Granularityfunc (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.EnumNumberfunc (FacetProperty_DateTimeBucketSpec_Granularity) String
func (x FacetProperty_DateTimeBucketSpec_Granularity) String() stringfunc (FacetProperty_DateTimeBucketSpec_Granularity) Type
func (FacetProperty_DateTimeBucketSpec_Granularity) Type() protoreflect.EnumTypeFacetProperty_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() int32func (*FacetProperty_FixedRangeBucketSpec) GetBucketGranularity
func (x *FacetProperty_FixedRangeBucketSpec) GetBucketGranularity() *FacetValuefunc (*FacetProperty_FixedRangeBucketSpec) GetBucketStart
func (x *FacetProperty_FixedRangeBucketSpec) GetBucketStart() *FacetValuefunc (*FacetProperty_FixedRangeBucketSpec) ProtoMessage
func (*FacetProperty_FixedRangeBucketSpec) ProtoMessage()func (*FacetProperty_FixedRangeBucketSpec) ProtoReflect
func (x *FacetProperty_FixedRangeBucketSpec) ProtoReflect() protoreflect.Messagefunc (*FacetProperty_FixedRangeBucketSpec) Reset
func (x *FacetProperty_FixedRangeBucketSpec) Reset()func (*FacetProperty_FixedRangeBucketSpec) String
func (x *FacetProperty_FixedRangeBucketSpec) String() stringFacetProperty_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.DateTimefunc (*FacetValue) GetIntegerValue
func (x *FacetValue) GetIntegerValue() int64func (*FacetValue) GetStringValue
func (x *FacetValue) GetStringValue() stringfunc (*FacetValue) GetValue
func (m *FacetValue) GetValue() isFacetValue_Valuefunc (*FacetValue) ProtoMessage
func (*FacetValue) ProtoMessage()func (*FacetValue) ProtoReflect
func (x *FacetValue) ProtoReflect() protoreflect.Messagefunc (*FacetValue) Reset
func (x *FacetValue) Reset()func (*FacetValue) String
func (x *FacetValue) String() stringFacetValue_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() float32func (*FloatRange) GetStart
func (x *FloatRange) GetStart() float32func (*FloatRange) ProtoMessage
func (*FloatRange) ProtoMessage()func (*FloatRange) ProtoReflect
func (x *FloatRange) ProtoReflect() protoreflect.Messagefunc (*FloatRange) Reset
func (x *FloatRange) Reset()func (*FloatRange) String
func (x *FloatRange) String() stringFloatRangeArray
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() []*FloatRangefunc (*FloatRangeArray) ProtoMessage
func (*FloatRangeArray) ProtoMessage()func (*FloatRangeArray) ProtoReflect
func (x *FloatRangeArray) ProtoReflect() protoreflect.Messagefunc (*FloatRangeArray) Reset
func (x *FloatRangeArray) Reset()func (*FloatRangeArray) String
func (x *FloatRangeArray) String() stringGcsOutputConfig
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() stringfunc (*GcsOutputConfig) ProtoMessage
func (*GcsOutputConfig) ProtoMessage()func (*GcsOutputConfig) ProtoReflect
func (x *GcsOutputConfig) ProtoReflect() protoreflect.Messagefunc (*GcsOutputConfig) Reset
func (x *GcsOutputConfig) Reset()func (*GcsOutputConfig) String
func (x *GcsOutputConfig) String() stringGcsSource
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.Messagefunc (*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.Messagefunc (*GeneralObjectDetectionConfig) Reset
func (x *GeneralObjectDetectionConfig) Reset()func (*GeneralObjectDetectionConfig) String
func (x *GeneralObjectDetectionConfig) String() stringGenerateHlsUriRequest
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() boolfunc (*GenerateHlsUriRequest) GetName
func (x *GenerateHlsUriRequest) GetName() stringfunc (*GenerateHlsUriRequest) GetTemporalPartitions
func (x *GenerateHlsUriRequest) GetTemporalPartitions() []*Partition_TemporalPartitionfunc (*GenerateHlsUriRequest) ProtoMessage
func (*GenerateHlsUriRequest) ProtoMessage()func (*GenerateHlsUriRequest) ProtoReflect
func (x *GenerateHlsUriRequest) ProtoReflect() protoreflect.Messagefunc (*GenerateHlsUriRequest) Reset
func (x *GenerateHlsUriRequest) Reset()func (*GenerateHlsUriRequest) String
func (x *GenerateHlsUriRequest) String() stringGenerateHlsUriResponse
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_TemporalPartitionfunc (*GenerateHlsUriResponse) GetUri
func (x *GenerateHlsUriResponse) GetUri() stringfunc (*GenerateHlsUriResponse) ProtoMessage
func (*GenerateHlsUriResponse) ProtoMessage()func (*GenerateHlsUriResponse) ProtoReflect
func (x *GenerateHlsUriResponse) ProtoReflect() protoreflect.Messagefunc (*GenerateHlsUriResponse) Reset
func (x *GenerateHlsUriResponse) Reset()func (*GenerateHlsUriResponse) String
func (x *GenerateHlsUriResponse) String() stringGenerateRetrievalUrlRequest
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() stringfunc (*GenerateRetrievalUrlRequest) ProtoMessage
func (*GenerateRetrievalUrlRequest) ProtoMessage()func (*GenerateRetrievalUrlRequest) ProtoReflect
func (x *GenerateRetrievalUrlRequest) ProtoReflect() protoreflect.Messagefunc (*GenerateRetrievalUrlRequest) Reset
func (x *GenerateRetrievalUrlRequest) Reset()func (*GenerateRetrievalUrlRequest) String
func (x *GenerateRetrievalUrlRequest) String() stringGenerateRetrievalUrlResponse
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() stringfunc (*GenerateRetrievalUrlResponse) ProtoMessage
func (*GenerateRetrievalUrlResponse) ProtoMessage()func (*GenerateRetrievalUrlResponse) ProtoReflect
func (x *GenerateRetrievalUrlResponse) ProtoReflect() protoreflect.Messagefunc (*GenerateRetrievalUrlResponse) Reset
func (x *GenerateRetrievalUrlResponse) Reset()func (*GenerateRetrievalUrlResponse) String
func (x *GenerateRetrievalUrlResponse) String() stringGenerateStreamHlsTokenRequest
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() stringfunc (*GenerateStreamHlsTokenRequest) ProtoMessage
func (*GenerateStreamHlsTokenRequest) ProtoMessage()func (*GenerateStreamHlsTokenRequest) ProtoReflect
func (x *GenerateStreamHlsTokenRequest) ProtoReflect() protoreflect.Messagefunc (*GenerateStreamHlsTokenRequest) Reset
func (x *GenerateStreamHlsTokenRequest) Reset()func (*GenerateStreamHlsTokenRequest) String
func (x *GenerateStreamHlsTokenRequest) String() stringGenerateStreamHlsTokenResponse
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.Timestampfunc (*GenerateStreamHlsTokenResponse) GetToken
func (x *GenerateStreamHlsTokenResponse) GetToken() stringfunc (*GenerateStreamHlsTokenResponse) ProtoMessage
func (*GenerateStreamHlsTokenResponse) ProtoMessage()func (*GenerateStreamHlsTokenResponse) ProtoReflect
func (x *GenerateStreamHlsTokenResponse) ProtoReflect() protoreflect.Messagefunc (*GenerateStreamHlsTokenResponse) Reset
func (x *GenerateStreamHlsTokenResponse) Reset()func (*GenerateStreamHlsTokenResponse) String
func (x *GenerateStreamHlsTokenResponse) String() stringGeoCoordinate
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() float64func (*GeoCoordinate) GetLongitude
func (x *GeoCoordinate) GetLongitude() float64func (*GeoCoordinate) ProtoMessage
func (*GeoCoordinate) ProtoMessage()func (*GeoCoordinate) ProtoReflect
func (x *GeoCoordinate) ProtoReflect() protoreflect.Messagefunc (*GeoCoordinate) Reset
func (x *GeoCoordinate) Reset()func (*GeoCoordinate) String
func (x *GeoCoordinate) String() stringGeoLocationArray
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() []*CircleAreafunc (*GeoLocationArray) ProtoMessage
func (*GeoLocationArray) ProtoMessage()func (*GeoLocationArray) ProtoReflect
func (x *GeoLocationArray) ProtoReflect() protoreflect.Messagefunc (*GeoLocationArray) Reset
func (x *GeoLocationArray) Reset()func (*GeoLocationArray) String
func (x *GeoLocationArray) String() stringGetAnalysisRequest
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() stringfunc (*GetAnalysisRequest) ProtoMessage
func (*GetAnalysisRequest) ProtoMessage()func (*GetAnalysisRequest) ProtoReflect
func (x *GetAnalysisRequest) ProtoReflect() protoreflect.Messagefunc (*GetAnalysisRequest) Reset
func (x *GetAnalysisRequest) Reset()func (*GetAnalysisRequest) String
func (x *GetAnalysisRequest) String() stringGetAnnotationRequest
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() stringfunc (*GetAnnotationRequest) ProtoMessage
func (*GetAnnotationRequest) ProtoMessage()func (*GetAnnotationRequest) ProtoReflect
func (x *GetAnnotationRequest) ProtoReflect() protoreflect.Messagefunc (*GetAnnotationRequest) Reset
func (x *GetAnnotationRequest) Reset()func (*GetAnnotationRequest) String
func (x *GetAnnotationRequest) String() stringGetApplicationRequest
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() stringfunc (*GetApplicationRequest) ProtoMessage
func (*GetApplicationRequest) ProtoMessage()func (*GetApplicationRequest) ProtoReflect
func (x *GetApplicationRequest) ProtoReflect() protoreflect.Messagefunc (*GetApplicationRequest) Reset
func (x *GetApplicationRequest) Reset()func (*GetApplicationRequest) String
func (x *GetApplicationRequest) String() stringGetAssetRequest
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() stringfunc (*GetAssetRequest) ProtoMessage
func (*GetAssetRequest) ProtoMessage()func (*GetAssetRequest) ProtoReflect
func (x *GetAssetRequest) ProtoReflect() protoreflect.Messagefunc (*GetAssetRequest) Reset
func (x *GetAssetRequest) Reset()func (*GetAssetRequest) String
func (x *GetAssetRequest) String() stringGetClusterRequest
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() stringfunc (*GetClusterRequest) ProtoMessage
func (*GetClusterRequest) ProtoMessage()func (*GetClusterRequest) ProtoReflect
func (x *GetClusterRequest) ProtoReflect() protoreflect.Messagefunc (*GetClusterRequest) Reset
func (x *GetClusterRequest) Reset()func (*GetClusterRequest) String
func (x *GetClusterRequest) String() stringGetCollectionRequest
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() stringfunc (*GetCollectionRequest) ProtoMessage
func (*GetCollectionRequest) ProtoMessage()func (*GetCollectionRequest) ProtoReflect
func (x *GetCollectionRequest) ProtoReflect() protoreflect.Messagefunc (*GetCollectionRequest) Reset
func (x *GetCollectionRequest) Reset()func (*GetCollectionRequest) String
func (x *GetCollectionRequest) String() stringGetCorpusRequest
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() stringfunc (*GetCorpusRequest) ProtoMessage
func (*GetCorpusRequest) ProtoMessage()func (*GetCorpusRequest) ProtoReflect
func (x *GetCorpusRequest) ProtoReflect() protoreflect.Messagefunc (*GetCorpusRequest) Reset
func (x *GetCorpusRequest) Reset()func (*GetCorpusRequest) String
func (x *GetCorpusRequest) String() stringGetDataSchemaRequest
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() stringfunc (*GetDataSchemaRequest) ProtoMessage
func (*GetDataSchemaRequest) ProtoMessage()func (*GetDataSchemaRequest) ProtoReflect
func (x *GetDataSchemaRequest) ProtoReflect() protoreflect.Messagefunc (*GetDataSchemaRequest) Reset
func (x *GetDataSchemaRequest) Reset()func (*GetDataSchemaRequest) String
func (x *GetDataSchemaRequest) String() stringGetDraftRequest
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() stringfunc (*GetDraftRequest) ProtoMessage
func (*GetDraftRequest) ProtoMessage()func (*GetDraftRequest) ProtoReflect
func (x *GetDraftRequest) ProtoReflect() protoreflect.Messagefunc (*GetDraftRequest) Reset
func (x *GetDraftRequest) Reset()func (*GetDraftRequest) String
func (x *GetDraftRequest) String() stringGetEventRequest
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() stringfunc (*GetEventRequest) ProtoMessage
func (*GetEventRequest) ProtoMessage()func (*GetEventRequest) ProtoReflect
func (x *GetEventRequest) ProtoReflect() protoreflect.Messagefunc (*GetEventRequest) Reset
func (x *GetEventRequest) Reset()func (*GetEventRequest) String
func (x *GetEventRequest) String() stringGetIndexEndpointRequest
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() stringfunc (*GetIndexEndpointRequest) ProtoMessage
func (*GetIndexEndpointRequest) ProtoMessage()func (*GetIndexEndpointRequest) ProtoReflect
func (x *GetIndexEndpointRequest) ProtoReflect() protoreflect.Messagefunc (*GetIndexEndpointRequest) Reset
func (x *GetIndexEndpointRequest) Reset()func (*GetIndexEndpointRequest) String
func (x *GetIndexEndpointRequest) String() stringGetIndexRequest
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() stringfunc (*GetIndexRequest) ProtoMessage
func (*GetIndexRequest) ProtoMessage()func (*GetIndexRequest) ProtoReflect
func (x *GetIndexRequest) ProtoReflect() protoreflect.Messagefunc (*GetIndexRequest) Reset
func (x *GetIndexRequest) Reset()func (*GetIndexRequest) String
func (x *GetIndexRequest) String() stringGetInstanceRequest
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() stringfunc (*GetInstanceRequest) ProtoMessage
func (*GetInstanceRequest) ProtoMessage()func (*GetInstanceRequest) ProtoReflect
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*GetInstanceRequest) Reset
func (x *GetInstanceRequest) Reset()func (*GetInstanceRequest) String
func (x *GetInstanceRequest) String() stringGetOperatorRequest
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() stringfunc (*GetOperatorRequest) ProtoMessage
func (*GetOperatorRequest) ProtoMessage()func (*GetOperatorRequest) ProtoReflect
func (x *GetOperatorRequest) ProtoReflect() protoreflect.Messagefunc (*GetOperatorRequest) Reset
func (x *GetOperatorRequest) Reset()func (*GetOperatorRequest) String
func (x *GetOperatorRequest) String() stringGetProcessRequest
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() stringfunc (*GetProcessRequest) ProtoMessage
func (*GetProcessRequest) ProtoMessage()func (*GetProcessRequest) ProtoReflect
func (x *GetProcessRequest) ProtoReflect() protoreflect.Messagefunc (*GetProcessRequest) Reset
func (x *GetProcessRequest) Reset()func (*GetProcessRequest) String
func (x *GetProcessRequest) String() stringGetProcessorRequest
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() stringfunc (*GetProcessorRequest) ProtoMessage
func (*GetProcessorRequest) ProtoMessage()func (*GetProcessorRequest) ProtoReflect
func (x *GetProcessorRequest) ProtoReflect() protoreflect.Messagefunc (*GetProcessorRequest) Reset
func (x *GetProcessorRequest) Reset()func (*GetProcessorRequest) String
func (x *GetProcessorRequest) String() stringGetSearchConfigRequest
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() stringfunc (*GetSearchConfigRequest) ProtoMessage
func (*GetSearchConfigRequest) ProtoMessage()func (*GetSearchConfigRequest) ProtoReflect
func (x *GetSearchConfigRequest) ProtoReflect() protoreflect.Messagefunc (*GetSearchConfigRequest) Reset
func (x *GetSearchConfigRequest) Reset()func (*GetSearchConfigRequest) String
func (x *GetSearchConfigRequest) String() stringGetSearchHypernymRequest
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() stringfunc (*GetSearchHypernymRequest) ProtoMessage
func (*GetSearchHypernymRequest) ProtoMessage()func (*GetSearchHypernymRequest) ProtoReflect
func (x *GetSearchHypernymRequest) ProtoReflect() protoreflect.Messagefunc (*GetSearchHypernymRequest) Reset
func (x *GetSearchHypernymRequest) Reset()func (*GetSearchHypernymRequest) String
func (x *GetSearchHypernymRequest) String() stringGetSeriesRequest
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() stringfunc (*GetSeriesRequest) ProtoMessage
func (*GetSeriesRequest) ProtoMessage()func (*GetSeriesRequest) ProtoReflect
func (x *GetSeriesRequest) ProtoReflect() protoreflect.Messagefunc (*GetSeriesRequest) Reset
func (x *GetSeriesRequest) Reset()func (*GetSeriesRequest) String
func (x *GetSeriesRequest) String() stringGetStreamRequest
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() stringfunc (*GetStreamRequest) ProtoMessage
func (*GetStreamRequest) ProtoMessage()func (*GetStreamRequest) ProtoReflect
func (x *GetStreamRequest) ProtoReflect() protoreflect.Messagefunc (*GetStreamRequest) Reset
func (x *GetStreamRequest) Reset()func (*GetStreamRequest) String
func (x *GetStreamRequest) String() stringGetStreamThumbnailRequest
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() stringfunc (*GetStreamThumbnailRequest) GetGcsObjectName
func (x *GetStreamThumbnailRequest) GetGcsObjectName() stringfunc (*GetStreamThumbnailRequest) GetRequestId
func (x *GetStreamThumbnailRequest) GetRequestId() stringfunc (*GetStreamThumbnailRequest) GetStream
func (x *GetStreamThumbnailRequest) GetStream() stringfunc (*GetStreamThumbnailRequest) ProtoMessage
func (*GetStreamThumbnailRequest) ProtoMessage()func (*GetStreamThumbnailRequest) ProtoReflect
func (x *GetStreamThumbnailRequest) ProtoReflect() protoreflect.Messagefunc (*GetStreamThumbnailRequest) Reset
func (x *GetStreamThumbnailRequest) Reset()func (*GetStreamThumbnailRequest) String
func (x *GetStreamThumbnailRequest) String() stringGetStreamThumbnailResponse
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.Messagefunc (*GetStreamThumbnailResponse) Reset
func (x *GetStreamThumbnailResponse) Reset()func (*GetStreamThumbnailResponse) String
func (x *GetStreamThumbnailResponse) String() stringGstreamerBufferDescriptor
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() stringfunc (*GstreamerBufferDescriptor) GetDtsTime
func (x *GstreamerBufferDescriptor) GetDtsTime() *timestamppb.Timestampfunc (*GstreamerBufferDescriptor) GetDuration
func (x *GstreamerBufferDescriptor) GetDuration() *durationpb.Durationfunc (*GstreamerBufferDescriptor) GetIsKeyFrame
func (x *GstreamerBufferDescriptor) GetIsKeyFrame() boolfunc (*GstreamerBufferDescriptor) GetPtsTime
func (x *GstreamerBufferDescriptor) GetPtsTime() *timestamppb.Timestampfunc (*GstreamerBufferDescriptor) ProtoMessage
func (*GstreamerBufferDescriptor) ProtoMessage()func (*GstreamerBufferDescriptor) ProtoReflect
func (x *GstreamerBufferDescriptor) ProtoReflect() protoreflect.Messagefunc (*GstreamerBufferDescriptor) Reset
func (x *GstreamerBufferDescriptor) Reset()func (*GstreamerBufferDescriptor) String
func (x *GstreamerBufferDescriptor) String() stringHealthCheckRequest
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() stringfunc (*HealthCheckRequest) ProtoMessage
func (*HealthCheckRequest) ProtoMessage()func (*HealthCheckRequest) ProtoReflect
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Messagefunc (*HealthCheckRequest) Reset
func (x *HealthCheckRequest) Reset()func (*HealthCheckRequest) String
func (x *HealthCheckRequest) String() stringHealthCheckResponse
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() *ClusterInfofunc (*HealthCheckResponse) GetHealthy
func (x *HealthCheckResponse) GetHealthy() boolfunc (*HealthCheckResponse) GetReason
func (x *HealthCheckResponse) GetReason() stringfunc (*HealthCheckResponse) ProtoMessage
func (*HealthCheckResponse) ProtoMessage()func (*HealthCheckResponse) ProtoReflect
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Messagefunc (*HealthCheckResponse) Reset
func (x *HealthCheckResponse) Reset()func (*HealthCheckResponse) String
func (x *HealthCheckResponse) String() stringHealthCheckServiceClient
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewHealthCheckServiceClient
func NewHealthCheckServiceClient(cc grpc.ClientConnInterface) HealthCheckServiceClientHealthCheckServiceServer
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. All implementations should embed UnimplementedHealthCheckServiceServer for forward compatibility
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.ListValuefunc (*ImageObjectDetectionPredictionResult) GetConfidences
func (x *ImageObjectDetectionPredictionResult) GetConfidences() []float32func (*ImageObjectDetectionPredictionResult) GetDisplayNames
func (x *ImageObjectDetectionPredictionResult) GetDisplayNames() []stringfunc (*ImageObjectDetectionPredictionResult) GetIds
func (x *ImageObjectDetectionPredictionResult) GetIds() []int64func (*ImageObjectDetectionPredictionResult) ProtoMessage
func (*ImageObjectDetectionPredictionResult) ProtoMessage()func (*ImageObjectDetectionPredictionResult) ProtoReflect
func (x *ImageObjectDetectionPredictionResult) ProtoReflect() protoreflect.Messagefunc (*ImageObjectDetectionPredictionResult) Reset
func (x *ImageObjectDetectionPredictionResult) Reset()func (*ImageObjectDetectionPredictionResult) String
func (x *ImageObjectDetectionPredictionResult) String() stringImageQuery
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() stringfunc (*ImageQuery) GetImage
func (m *ImageQuery) GetImage() isImageQuery_Imagefunc (*ImageQuery) GetInputImage
func (x *ImageQuery) GetInputImage() []bytefunc (*ImageQuery) ProtoMessage
func (*ImageQuery) ProtoMessage()func (*ImageQuery) ProtoReflect
func (x *ImageQuery) ProtoReflect() protoreflect.Messagefunc (*ImageQuery) Reset
func (x *ImageQuery) Reset()func (*ImageQuery) String
func (x *ImageQuery) String() stringImageQuery_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() stringfunc (*ImageSegmentationPredictionResult) GetConfidenceMask
func (x *ImageSegmentationPredictionResult) GetConfidenceMask() stringfunc (*ImageSegmentationPredictionResult) ProtoMessage
func (*ImageSegmentationPredictionResult) ProtoMessage()func (*ImageSegmentationPredictionResult) ProtoReflect
func (x *ImageSegmentationPredictionResult) ProtoReflect() protoreflect.Messagefunc (*ImageSegmentationPredictionResult) Reset
func (x *ImageSegmentationPredictionResult) Reset()func (*ImageSegmentationPredictionResult) String
func (x *ImageSegmentationPredictionResult) String() stringImportAssetsMetadata
type ImportAssetsMetadata struct {
// The metadata of the operation.
Metadata *OperationMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// The importing status including partial failures, if the implementation can
// provide such information during the progress of the ImportAssets.
Status *BatchOperationStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,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() *OperationMetadatafunc (*ImportAssetsMetadata) GetStatus
func (x *ImportAssetsMetadata) GetStatus() *BatchOperationStatusfunc (*ImportAssetsMetadata) ProtoMessage
func (*ImportAssetsMetadata) ProtoMessage()func (*ImportAssetsMetadata) ProtoReflect
func (x *ImportAssetsMetadata) ProtoReflect() protoreflect.Messagefunc (*ImportAssetsMetadata) Reset
func (x *ImportAssetsMetadata) Reset()func (*ImportAssetsMetadata) String
func (x *ImportAssetsMetadata) String() stringImportAssetsRequest
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() stringfunc (*ImportAssetsRequest) GetParent
func (x *ImportAssetsRequest) GetParent() stringfunc (*ImportAssetsRequest) GetSource
func (m *ImportAssetsRequest) GetSource() isImportAssetsRequest_Sourcefunc (*ImportAssetsRequest) ProtoMessage
func (*ImportAssetsRequest) ProtoMessage()func (*ImportAssetsRequest) ProtoReflect
func (x *ImportAssetsRequest) ProtoReflect() protoreflect.Messagefunc (*ImportAssetsRequest) Reset
func (x *ImportAssetsRequest) Reset()func (*ImportAssetsRequest) String
func (x *ImportAssetsRequest) String() stringImportAssetsRequest_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.Messagefunc (*ImportAssetsResponse) Reset
func (x *ImportAssetsResponse) Reset()func (*ImportAssetsResponse) String
func (x *ImportAssetsResponse) String() stringIndex
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"`
// Output only. This boolean field is only set for projects that have Physical
// Zone Separation enabled via an Org Policy constraint. It is set to true
// when the index is a valid zone separated index and false if it isn't.
SatisfiesPzs *bool `protobuf:"varint,11,opt,name=satisfies_pzs,json=satisfiesPzs,proto3,oneof" json:"satisfies_pzs,omitempty"`
// Output only. This boolean field is only set for projects that have Physical
// Zone Isolation enabled via an Org Policy constraint. It is set to true when
// the index is a valid zone isolated index and false if it isn't.
SatisfiesPzi *bool `protobuf:"varint,12,opt,name=satisfies_pzi,json=satisfiesPzi,proto3,oneof" json:"satisfies_pzi,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_AssetFilterfunc (*Index) GetCreateTime
func (x *Index) GetCreateTime() *timestamppb.Timestampfunc (*Index) GetDeployedIndexes
func (x *Index) GetDeployedIndexes() []*DeployedIndexReferencefunc (*Index) GetDescription
func (*Index) GetDisplayName
func (*Index) GetEntireCorpus
func (*Index) GetName
func (*Index) GetSatisfiesPzi
func (*Index) GetSatisfiesPzs
func (*Index) GetState
func (x *Index) GetState() Index_Statefunc (*Index) GetUpdateTime
func (x *Index) GetUpdateTime() *timestamppb.Timestampfunc (*Index) ProtoMessage
func (*Index) ProtoMessage()func (*Index) ProtoReflect
func (x *Index) ProtoReflect() protoreflect.Messagefunc (*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.Timestampfunc (*IndexAssetMetadata) GetStatus
func (x *IndexAssetMetadata) GetStatus() *IndexingStatusfunc (*IndexAssetMetadata) GetUpdateTime
func (x *IndexAssetMetadata) GetUpdateTime() *timestamppb.Timestampfunc (*IndexAssetMetadata) ProtoMessage
func (*IndexAssetMetadata) ProtoMessage()func (*IndexAssetMetadata) ProtoReflect
func (x *IndexAssetMetadata) ProtoReflect() protoreflect.Messagefunc (*IndexAssetMetadata) Reset
func (x *IndexAssetMetadata) Reset()func (*IndexAssetMetadata) String
func (x *IndexAssetMetadata) String() stringIndexAssetRequest
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() stringfunc (*IndexAssetRequest) GetName
func (x *IndexAssetRequest) GetName() stringfunc (*IndexAssetRequest) ProtoMessage
func (*IndexAssetRequest) ProtoMessage()func (*IndexAssetRequest) ProtoReflect
func (x *IndexAssetRequest) ProtoReflect() protoreflect.Messagefunc (*IndexAssetRequest) Reset
func (x *IndexAssetRequest) Reset()func (*IndexAssetRequest) String
func (x *IndexAssetRequest) String() stringIndexAssetResponse
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.Messagefunc (*IndexAssetResponse) Reset
func (x *IndexAssetResponse) Reset()func (*IndexAssetResponse) String
func (x *IndexAssetResponse) String() stringIndexEndpoint
type IndexEndpoint struct {
// Output only. Resource name of the IndexEndpoint.
// Format:
// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Display name of the IndexEndpoint. Can be up to 32 characters
// long.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. Description of the IndexEndpoint. Can be up to 25000 characters
// long.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The Index deployed in this IndexEndpoint.
DeployedIndex *DeployedIndex `protobuf:"bytes,9,opt,name=deployed_index,json=deployedIndex,proto3" json:"deployed_index,omitempty"`
// Output only. IndexEndpoint state.
State IndexEndpoint_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.visionai.v1.IndexEndpoint_State" json:"state,omitempty"`
// Optional. The labels applied to a resource must meet the following
// requirements:
//
// - Each resource can have multiple labels, up to a maximum of 64.
// - Each label must be a key-value pair.
// - Keys have a minimum length of 1 character and a maximum length of 63
// characters and cannot be empty. Values can be empty and have a maximum
// length of 63 characters.
// - Keys and values can contain only lowercase letters, numeric characters,
// underscores, and dashes. All characters must use UTF-8 encoding, and
// international characters are allowed.
// - The key portion of a label must be unique. However, you can use the same
// key with multiple resources.
// - Keys must start with a lowercase letter or international character.
//
// See [Google Cloud
// Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
// for more details.
Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. Create timestamp.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Update timestamp.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. This boolean field is only set for projects that have Physical
// Zone Separation enabled via an Org Policy constraint. It is set to true
// when the index endpoint is a valid zone separated index endpoint and false
// if it isn't.
SatisfiesPzs *bool `protobuf:"varint,10,opt,name=satisfies_pzs,json=satisfiesPzs,proto3,oneof" json:"satisfies_pzs,omitempty"`
// Output only. This boolean field is only set for projects that have Physical
// Zone Isolation enabled via an Org Policy constraint. It is set to true when
// the index endpoint is a valid zone isolated index endpoint and false if it
// isn't.
SatisfiesPzi *bool `protobuf:"varint,11,opt,name=satisfies_pzi,json=satisfiesPzi,proto3,oneof" json:"satisfies_pzi,omitempty"`
// contains filtered or unexported fields
}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.Timestampfunc (*IndexEndpoint) GetDeployedIndex
func (x *IndexEndpoint) GetDeployedIndex() *DeployedIndexfunc (*IndexEndpoint) GetDescription
func (x *IndexEndpoint) GetDescription() stringfunc (*IndexEndpoint) GetDisplayName
func (x *IndexEndpoint) GetDisplayName() stringfunc (*IndexEndpoint) GetLabels
func (x *IndexEndpoint) GetLabels() map[string]stringfunc (*IndexEndpoint) GetName
func (x *IndexEndpoint) GetName() stringfunc (*IndexEndpoint) GetSatisfiesPzi
func (x *IndexEndpoint) GetSatisfiesPzi() boolfunc (*IndexEndpoint) GetSatisfiesPzs
func (x *IndexEndpoint) GetSatisfiesPzs() boolfunc (*IndexEndpoint) GetState
func (x *IndexEndpoint) GetState() IndexEndpoint_Statefunc (*IndexEndpoint) GetUpdateTime
func (x *IndexEndpoint) GetUpdateTime() *timestamppb.Timestampfunc (*IndexEndpoint) ProtoMessage
func (*IndexEndpoint) ProtoMessage()func (*IndexEndpoint) ProtoReflect
func (x *IndexEndpoint) ProtoReflect() protoreflect.Messagefunc (*IndexEndpoint) Reset
func (x *IndexEndpoint) Reset()func (*IndexEndpoint) String
func (x *IndexEndpoint) String() stringIndexEndpoint_State
type IndexEndpoint_State int32IndexEndpoint 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.EnumDescriptorfunc (IndexEndpoint_State) Enum
func (x IndexEndpoint_State) Enum() *IndexEndpoint_Statefunc (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.EnumNumberfunc (IndexEndpoint_State) String
func (x IndexEndpoint_State) String() stringfunc (IndexEndpoint_State) Type
func (IndexEndpoint_State) Type() protoreflect.EnumTypeIndex_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 int32Enum 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.EnumDescriptorfunc (Index_State) Enum
func (x Index_State) Enum() *Index_Statefunc (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.EnumNumberfunc (Index_State) String
func (x Index_State) String() stringfunc (Index_State) Type
func (Index_State) Type() protoreflect.EnumTypeIndexedAsset
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() stringfunc (*IndexedAsset) GetCreateTime
func (x *IndexedAsset) GetCreateTime() *timestamppb.Timestampfunc (*IndexedAsset) GetIndex
func (x *IndexedAsset) GetIndex() stringfunc (*IndexedAsset) GetUpdateTime
func (x *IndexedAsset) GetUpdateTime() *timestamppb.Timestampfunc (*IndexedAsset) ProtoMessage
func (*IndexedAsset) ProtoMessage()func (*IndexedAsset) ProtoReflect
func (x *IndexedAsset) ProtoReflect() protoreflect.Messagefunc (*IndexedAsset) Reset
func (x *IndexedAsset) Reset()func (*IndexedAsset) String
func (x *IndexedAsset) String() stringIndexingStatus
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_Statefunc (*IndexingStatus) GetStatusMessage
func (x *IndexingStatus) GetStatusMessage() stringfunc (*IndexingStatus) ProtoMessage
func (*IndexingStatus) ProtoMessage()func (*IndexingStatus) ProtoReflect
func (x *IndexingStatus) ProtoReflect() protoreflect.Messagefunc (*IndexingStatus) Reset
func (x *IndexingStatus) Reset()func (*IndexingStatus) String
func (x *IndexingStatus) String() stringIndexingStatus_State
type IndexingStatus_State int32State 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.EnumDescriptorfunc (IndexingStatus_State) Enum
func (x IndexingStatus_State) Enum() *IndexingStatus_Statefunc (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.EnumNumberfunc (IndexingStatus_State) String
func (x IndexingStatus_State) String() stringfunc (IndexingStatus_State) Type
func (IndexingStatus_State) Type() protoreflect.EnumTypeIngestAssetRequest
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_Configfunc (*IngestAssetRequest) GetStreamingRequest
func (m *IngestAssetRequest) GetStreamingRequest() isIngestAssetRequest_StreamingRequestfunc (*IngestAssetRequest) GetTimeIndexedData
func (x *IngestAssetRequest) GetTimeIndexedData() *IngestAssetRequest_TimeIndexedDatafunc (*IngestAssetRequest) ProtoMessage
func (*IngestAssetRequest) ProtoMessage()func (*IngestAssetRequest) ProtoReflect
func (x *IngestAssetRequest) ProtoReflect() protoreflect.Messagefunc (*IngestAssetRequest) Reset
func (x *IngestAssetRequest) Reset()func (*IngestAssetRequest) String
func (x *IngestAssetRequest) String() stringIngestAssetRequest_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() stringfunc (*IngestAssetRequest_Config) GetDataType
func (m *IngestAssetRequest_Config) GetDataType() isIngestAssetRequest_Config_DataTypefunc (*IngestAssetRequest_Config) GetVideoType
func (x *IngestAssetRequest_Config) GetVideoType() *IngestAssetRequest_Config_VideoTypefunc (*IngestAssetRequest_Config) ProtoMessage
func (*IngestAssetRequest_Config) ProtoMessage()func (*IngestAssetRequest_Config) ProtoReflect
func (x *IngestAssetRequest_Config) ProtoReflect() protoreflect.Messagefunc (*IngestAssetRequest_Config) Reset
func (x *IngestAssetRequest_Config) Reset()func (*IngestAssetRequest_Config) String
func (x *IngestAssetRequest_Config) String() stringIngestAssetRequest_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 {
// Container format of the video data.
ContainerFormat IngestAssetRequest_Config_VideoType_ContainerFormat `protobuf:"varint,1,opt,name=container_format,json=containerFormat,proto3,enum=google.cloud.visionai.v1.IngestAssetRequest_Config_VideoType_ContainerFormat" json:"container_format,omitempty"`
// contains filtered or unexported fields
}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_ContainerFormatfunc (*IngestAssetRequest_Config_VideoType) ProtoMessage
func (*IngestAssetRequest_Config_VideoType) ProtoMessage()func (*IngestAssetRequest_Config_VideoType) ProtoReflect
func (x *IngestAssetRequest_Config_VideoType) ProtoReflect() protoreflect.Messagefunc (*IngestAssetRequest_Config_VideoType) Reset
func (x *IngestAssetRequest_Config_VideoType) Reset()func (*IngestAssetRequest_Config_VideoType) String
func (x *IngestAssetRequest_Config_VideoType) String() stringIngestAssetRequest_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 int32Container 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.EnumDescriptorfunc (IngestAssetRequest_Config_VideoType_ContainerFormat) Enum
func (x IngestAssetRequest_Config_VideoType_ContainerFormat) Enum() *IngestAssetRequest_Config_VideoType_ContainerFormatfunc (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.EnumNumberfunc (IngestAssetRequest_Config_VideoType_ContainerFormat) String
func (x IngestAssetRequest_Config_VideoType_ContainerFormat) String() stringfunc (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() []bytefunc (*IngestAssetRequest_TimeIndexedData) GetTemporalPartition
func (x *IngestAssetRequest_TimeIndexedData) GetTemporalPartition() *Partition_TemporalPartitionfunc (*IngestAssetRequest_TimeIndexedData) ProtoMessage
func (*IngestAssetRequest_TimeIndexedData) ProtoMessage()func (*IngestAssetRequest_TimeIndexedData) ProtoReflect
func (x *IngestAssetRequest_TimeIndexedData) ProtoReflect() protoreflect.Messagefunc (*IngestAssetRequest_TimeIndexedData) Reset
func (x *IngestAssetRequest_TimeIndexedData) Reset()func (*IngestAssetRequest_TimeIndexedData) String
func (x *IngestAssetRequest_TimeIndexedData) String() stringIngestAssetRequest_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 {
// Time range of the data that has been successfully ingested.
SuccessfullyIngestedPartition *Partition_TemporalPartition `protobuf:"bytes,1,opt,name=successfully_ingested_partition,json=successfullyIngestedPartition,proto3" json:"successfully_ingested_partition,omitempty"`
// contains filtered or unexported fields
}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_TemporalPartitionfunc (*IngestAssetResponse) ProtoMessage
func (*IngestAssetResponse) ProtoMessage()func (*IngestAssetResponse) ProtoReflect
func (x *IngestAssetResponse) ProtoReflect() protoreflect.Messagefunc (*IngestAssetResponse) Reset
func (x *IngestAssetResponse) Reset()func (*IngestAssetResponse) String
func (x *IngestAssetResponse) String() stringInstance
type Instance struct {
// Output only. name of resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. [Output only] Create timestamp
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. [Output only] Update timestamp
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Labels as key value pairs
Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Required. A user friendly display name for the solution.
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// A description for this instance.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// The instance type for the current instance.
InstanceType Instance_InstanceType `protobuf:"varint,10,opt,name=instance_type,json=instanceType,proto3,enum=google.cloud.visionai.v1.Instance_InstanceType" json:"instance_type,omitempty"`
// The input resources for the current application instance.
// For example:
// input_resources:
// visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/stream-a
InputResources []*Instance_InputResource `protobuf:"bytes,6,rep,name=input_resources,json=inputResources,proto3" json:"input_resources,omitempty"`
// All the output resources associated to one application instance.
OutputResources []*Instance_OutputResource `protobuf:"bytes,7,rep,name=output_resources,json=outputResources,proto3" json:"output_resources,omitempty"`
// State of the instance.
State Instance_State `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.visionai.v1.Instance_State" json:"state,omitempty"`
// contains filtered or unexported fields
}Message describing Instance object Next ID: 12
func (*Instance) Descriptor
Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (*Instance) GetCreateTime
func (x *Instance) GetCreateTime() *timestamppb.Timestampfunc (*Instance) GetDescription
func (*Instance) GetDisplayName
func (*Instance) GetInputResources
func (x *Instance) GetInputResources() []*Instance_InputResourcefunc (*Instance) GetInstanceType
func (x *Instance) GetInstanceType() Instance_InstanceTypefunc (*Instance) GetLabels
func (*Instance) GetName
func (*Instance) GetOutputResources
func (x *Instance) GetOutputResources() []*Instance_OutputResourcefunc (*Instance) GetState
func (x *Instance) GetState() Instance_Statefunc (*Instance) GetUpdateTime
func (x *Instance) GetUpdateTime() *timestamppb.Timestampfunc (*Instance) ProtoMessage
func (*Instance) ProtoMessage()func (*Instance) ProtoReflect
func (x *Instance) ProtoReflect() protoreflect.Messagefunc (*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() *StreamWithAnnotationDeprecated: Marked as deprecated in google/cloud/visionai/v1/platform.proto.
func (*Instance_InputResource) GetAnnotations
func (x *Instance_InputResource) GetAnnotations() *ResourceAnnotationsfunc (*Instance_InputResource) GetConsumerNode
func (x *Instance_InputResource) GetConsumerNode() stringfunc (*Instance_InputResource) GetDataType
func (x *Instance_InputResource) GetDataType() DataTypefunc (*Instance_InputResource) GetInputResource
func (x *Instance_InputResource) GetInputResource() stringfunc (*Instance_InputResource) GetInputResourceBinding
func (x *Instance_InputResource) GetInputResourceBinding() stringfunc (*Instance_InputResource) GetInputResourceInformation
func (m *Instance_InputResource) GetInputResourceInformation() isInstance_InputResource_InputResourceInformationfunc (*Instance_InputResource) ProtoMessage
func (*Instance_InputResource) ProtoMessage()func (*Instance_InputResource) ProtoReflect
func (x *Instance_InputResource) ProtoReflect() protoreflect.Messagefunc (*Instance_InputResource) Reset
func (x *Instance_InputResource) Reset()func (*Instance_InputResource) String
func (x *Instance_InputResource) String() stringInstance_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 int32All 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.EnumDescriptorfunc (Instance_InstanceType) Enum
func (x Instance_InstanceType) Enum() *Instance_InstanceTypefunc (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.EnumNumberfunc (Instance_InstanceType) String
func (x Instance_InstanceType) String() stringfunc (Instance_InstanceType) Type
func (Instance_InstanceType) Type() protoreflect.EnumTypeInstance_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() boolfunc (*Instance_OutputResource) GetIsTemporary
func (x *Instance_OutputResource) GetIsTemporary() boolfunc (*Instance_OutputResource) GetOutputResource
func (x *Instance_OutputResource) GetOutputResource() stringfunc (*Instance_OutputResource) GetOutputResourceBinding
func (x *Instance_OutputResource) GetOutputResourceBinding() stringfunc (*Instance_OutputResource) GetProducerNode
func (x *Instance_OutputResource) GetProducerNode() stringfunc (*Instance_OutputResource) ProtoMessage
func (*Instance_OutputResource) ProtoMessage()func (*Instance_OutputResource) ProtoReflect
func (x *Instance_OutputResource) ProtoReflect() protoreflect.Messagefunc (*Instance_OutputResource) Reset
func (x *Instance_OutputResource) Reset()func (*Instance_OutputResource) String
func (x *Instance_OutputResource) String() stringInstance_State
type Instance_State int32State 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.EnumDescriptorfunc (Instance_State) Enum
func (x Instance_State) Enum() *Instance_Statefunc (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.EnumNumberfunc (Instance_State) String
func (x Instance_State) String() stringfunc (Instance_State) Type
func (Instance_State) Type() protoreflect.EnumTypeIntRange
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.Messagefunc (*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() []*IntRangefunc (*IntRangeArray) ProtoMessage
func (*IntRangeArray) ProtoMessage()func (*IntRangeArray) ProtoReflect
func (x *IntRangeArray) ProtoReflect() protoreflect.Messagefunc (*IntRangeArray) Reset
func (x *IntRangeArray) Reset()func (*IntRangeArray) String
func (x *IntRangeArray) String() stringLease
type Lease struct {
// The lease id.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The series name.
Series string `protobuf:"bytes,2,opt,name=series,proto3" json:"series,omitempty"`
// The owner name.
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
// The lease expire time.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// The lease type.
LeaseType LeaseType `protobuf:"varint,5,opt,name=lease_type,json=leaseType,proto3,enum=google.cloud.visionai.v1.LeaseType" json:"lease_type,omitempty"`
// contains filtered or unexported fields
}The lease message.
func (*Lease) Descriptor
Deprecated: Use Lease.ProtoReflect.Descriptor instead.
func (*Lease) GetExpireTime
func (x *Lease) GetExpireTime() *timestamppb.Timestampfunc (*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.Messagefunc (*Lease) Reset
func (x *Lease) Reset()func (*Lease) String
LeaseType
type LeaseType int32The 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.EnumDescriptorfunc (LeaseType) Enum
func (LeaseType) EnumDescriptor
Deprecated: Use LeaseType.Descriptor instead.
func (LeaseType) Number
func (x LeaseType) Number() protoreflect.EnumNumberfunc (LeaseType) String
func (LeaseType) Type
func (LeaseType) Type() protoreflect.EnumTypeListAnalysesRequest
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() stringfunc (*ListAnalysesRequest) GetOrderBy
func (x *ListAnalysesRequest) GetOrderBy() stringfunc (*ListAnalysesRequest) GetPageSize
func (x *ListAnalysesRequest) GetPageSize() int32func (*ListAnalysesRequest) GetPageToken
func (x *ListAnalysesRequest) GetPageToken() stringfunc (*ListAnalysesRequest) GetParent
func (x *ListAnalysesRequest) GetParent() stringfunc (*ListAnalysesRequest) ProtoMessage
func (*ListAnalysesRequest) ProtoMessage()func (*ListAnalysesRequest) ProtoReflect
func (x *ListAnalysesRequest) ProtoReflect() protoreflect.Messagefunc (*ListAnalysesRequest) Reset
func (x *ListAnalysesRequest) Reset()func (*ListAnalysesRequest) String
func (x *ListAnalysesRequest) String() stringListAnalysesResponse
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() []*Analysisfunc (*ListAnalysesResponse) GetNextPageToken
func (x *ListAnalysesResponse) GetNextPageToken() stringfunc (*ListAnalysesResponse) GetUnreachable
func (x *ListAnalysesResponse) GetUnreachable() []stringfunc (*ListAnalysesResponse) ProtoMessage
func (*ListAnalysesResponse) ProtoMessage()func (*ListAnalysesResponse) ProtoReflect
func (x *ListAnalysesResponse) ProtoReflect() protoreflect.Messagefunc (*ListAnalysesResponse) Reset
func (x *ListAnalysesResponse) Reset()func (*ListAnalysesResponse) String
func (x *ListAnalysesResponse) String() stringListAnnotationsRequest
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() stringfunc (*ListAnnotationsRequest) GetPageSize
func (x *ListAnnotationsRequest) GetPageSize() int32func (*ListAnnotationsRequest) GetPageToken
func (x *ListAnnotationsRequest) GetPageToken() stringfunc (*ListAnnotationsRequest) GetParent
func (x *ListAnnotationsRequest) GetParent() stringfunc (*ListAnnotationsRequest) ProtoMessage
func (*ListAnnotationsRequest) ProtoMessage()func (*ListAnnotationsRequest) ProtoReflect
func (x *ListAnnotationsRequest) ProtoReflect() protoreflect.Messagefunc (*ListAnnotationsRequest) Reset
func (x *ListAnnotationsRequest) Reset()func (*ListAnnotationsRequest) String
func (x *ListAnnotationsRequest) String() stringListAnnotationsResponse
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() []*Annotationfunc (*ListAnnotationsResponse) GetNextPageToken
func (x *ListAnnotationsResponse) GetNextPageToken() stringfunc (*ListAnnotationsResponse) ProtoMessage
func (*ListAnnotationsResponse) ProtoMessage()func (*ListAnnotationsResponse) ProtoReflect
func (x *ListAnnotationsResponse) ProtoReflect() protoreflect.Messagefunc (*ListAnnotationsResponse) Reset
func (x *ListAnnotationsResponse) Reset()func (*ListAnnotationsResponse) String
func (x *ListAnnotationsResponse) String() stringListApplicationsRequest
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() stringfunc (*ListApplicationsRequest) GetOrderBy
func (x *ListApplicationsRequest) GetOrderBy() stringfunc (*ListApplicationsRequest) GetPageSize
func (x *ListApplicationsRequest) GetPageSize() int32func (*ListApplicationsRequest) GetPageToken
func (x *ListApplicationsRequest) GetPageToken() stringfunc (*ListApplicationsRequest) GetParent
func (x *ListApplicationsRequest) GetParent() stringfunc (*ListApplicationsRequest) ProtoMessage
func (*ListApplicationsRequest) ProtoMessage()func (*ListApplicationsRequest) ProtoReflect
func (x *ListApplicationsRequest) ProtoReflect() protoreflect.Messagefunc (*ListApplicationsRequest) Reset
func (x *ListApplicationsRequest) Reset()func (*ListApplicationsRequest) String
func (x *ListApplicationsRequest) String() stringListApplicationsResponse
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() []*Applicationfunc (*ListApplicationsResponse) GetNextPageToken
func (x *ListApplicationsResponse) GetNextPageToken() stringfunc (*ListApplicationsResponse) GetUnreachable
func (x *ListApplicationsResponse) GetUnreachable() []stringfunc (*ListApplicationsResponse) ProtoMessage
func (*ListApplicationsResponse) ProtoMessage()func (*ListApplicationsResponse) ProtoReflect
func (x *ListApplicationsResponse) ProtoReflect() protoreflect.Messagefunc (*ListApplicationsResponse) Reset
func (x *ListApplicationsResponse) Reset()func (*ListApplicationsResponse) String
func (x *ListApplicationsResponse) String() stringListAssetsRequest
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() stringfunc (*ListAssetsRequest) GetPageSize
func (x *ListAssetsRequest) GetPageSize() int32func (*ListAssetsRequest) GetPageToken
func (x *ListAssetsRequest) GetPageToken() stringfunc (*ListAssetsRequest) GetParent
func (x *ListAssetsRequest) GetParent() stringfunc (*ListAssetsRequest) ProtoMessage
func (*ListAssetsRequest) ProtoMessage()func (*ListAssetsRequest) ProtoReflect
func (x *ListAssetsRequest) ProtoReflect() protoreflect.Messagefunc (*ListAssetsRequest) Reset
func (x *ListAssetsRequest) Reset()func (*ListAssetsRequest) String
func (x *ListAssetsRequest) String() stringListAssetsResponse
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() []*Assetfunc (*ListAssetsResponse) GetNextPageToken
func (x *ListAssetsResponse) GetNextPageToken() stringfunc (*ListAssetsResponse) ProtoMessage
func (*ListAssetsResponse) ProtoMessage()func (*ListAssetsResponse) ProtoReflect
func (x *ListAssetsResponse) ProtoReflect() protoreflect.Messagefunc (*ListAssetsResponse) Reset
func (x *ListAssetsResponse) Reset()func (*ListAssetsResponse) String
func (x *ListAssetsResponse) String() stringListClustersRequest
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() stringfunc (*ListClustersRequest) GetOrderBy
func (x *ListClustersRequest) GetOrderBy() stringfunc (*ListClustersRequest) GetPageSize
func (x *ListClustersRequest) GetPageSize() int32func (*ListClustersRequest) GetPageToken
func (x *ListClustersRequest) GetPageToken() stringfunc (*ListClustersRequest) GetParent
func (x *ListClustersRequest) GetParent() stringfunc (*ListClustersRequest) ProtoMessage
func (*ListClustersRequest) ProtoMessage()func (*ListClustersRequest) ProtoReflect
func (x *ListClustersRequest) ProtoReflect() protoreflect.Messagefunc (*ListClustersRequest) Reset
func (x *ListClustersRequest) Reset()func (*ListClustersRequest) String
func (x *ListClustersRequest) String() stringListClustersResponse
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() []*Clusterfunc (*ListClustersResponse) GetNextPageToken
func (x *ListClustersResponse) GetNextPageToken() stringfunc (*ListClustersResponse) GetUnreachable
func (x *ListClustersResponse) GetUnreachable() []stringfunc (*ListClustersResponse) ProtoMessage
func (*ListClustersResponse) ProtoMessage()func (*ListClustersResponse) ProtoReflect
func (x *ListClustersResponse) ProtoReflect() protoreflect.Messagefunc (*ListClustersResponse) Reset
func (x *ListClustersResponse) Reset()func (*ListClustersResponse) String
func (x *ListClustersResponse) String() stringListCollectionsRequest
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() int32func (*ListCollectionsRequest) GetPageToken
func (x *ListCollectionsRequest) GetPageToken() stringfunc (*ListCollectionsRequest) GetParent
func (x *ListCollectionsRequest) GetParent() stringfunc (*ListCollectionsRequest) ProtoMessage
func (*ListCollectionsRequest) ProtoMessage()func (*ListCollectionsRequest) ProtoReflect
func (x *ListCollectionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListCollectionsRequest) Reset
func (x *ListCollectionsRequest) Reset()func (*ListCollectionsRequest) String
func (x *ListCollectionsRequest) String() stringListCollectionsResponse
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() []*Collectionfunc (*ListCollectionsResponse) GetNextPageToken
func (x *ListCollectionsResponse) GetNextPageToken() stringfunc (*ListCollectionsResponse) ProtoMessage
func (*ListCollectionsResponse) ProtoMessage()func (*ListCollectionsResponse) ProtoReflect
func (x *ListCollectionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListCollectionsResponse) Reset
func (x *ListCollectionsResponse) Reset()func (*ListCollectionsResponse) String
func (x *ListCollectionsResponse) String() stringListCorporaRequest
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() stringfunc (*ListCorporaRequest) GetPageSize
func (x *ListCorporaRequest) GetPageSize() int32func (*ListCorporaRequest) GetPageToken
func (x *ListCorporaRequest) GetPageToken() stringfunc (*ListCorporaRequest) GetParent
func (x *ListCorporaRequest) GetParent() stringfunc (*ListCorporaRequest) ProtoMessage
func (*ListCorporaRequest) ProtoMessage()func (*ListCorporaRequest) ProtoReflect
func (x *ListCorporaRequest) ProtoReflect() protoreflect.Messagefunc (*ListCorporaRequest) Reset
func (x *ListCorporaRequest) Reset()func (*ListCorporaRequest) String
func (x *ListCorporaRequest) String() stringListCorporaResponse
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() []*Corpusfunc (*ListCorporaResponse) GetNextPageToken
func (x *ListCorporaResponse) GetNextPageToken() stringfunc (*ListCorporaResponse) ProtoMessage
func (*ListCorporaResponse) ProtoMessage()func (*ListCorporaResponse) ProtoReflect
func (x *ListCorporaResponse) ProtoReflect() protoreflect.Messagefunc (*ListCorporaResponse) Reset
func (x *ListCorporaResponse) Reset()func (*ListCorporaResponse) String
func (x *ListCorporaResponse) String() stringListDataSchemasRequest
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() int32func (*ListDataSchemasRequest) GetPageToken
func (x *ListDataSchemasRequest) GetPageToken() stringfunc (*ListDataSchemasRequest) GetParent
func (x *ListDataSchemasRequest) GetParent() stringfunc (*ListDataSchemasRequest) ProtoMessage
func (*ListDataSchemasRequest) ProtoMessage()func (*ListDataSchemasRequest) ProtoReflect
func (x *ListDataSchemasRequest) ProtoReflect() protoreflect.Messagefunc (*ListDataSchemasRequest) Reset
func (x *ListDataSchemasRequest) Reset()func (*ListDataSchemasRequest) String
func (x *ListDataSchemasRequest) String() stringListDataSchemasResponse
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() []*DataSchemafunc (*ListDataSchemasResponse) GetNextPageToken
func (x *ListDataSchemasResponse) GetNextPageToken() stringfunc (*ListDataSchemasResponse) ProtoMessage
func (*ListDataSchemasResponse) ProtoMessage()func (*ListDataSchemasResponse) ProtoReflect
func (x *ListDataSchemasResponse) ProtoReflect() protoreflect.Messagefunc (*ListDataSchemasResponse) Reset
func (x *ListDataSchemasResponse) Reset()func (*ListDataSchemasResponse) String
func (x *ListDataSchemasResponse) String() stringListDraftsRequest
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() stringfunc (*ListDraftsRequest) GetOrderBy
func (x *ListDraftsRequest) GetOrderBy() stringfunc (*ListDraftsRequest) GetPageSize
func (x *ListDraftsRequest) GetPageSize() int32func (*ListDraftsRequest) GetPageToken
func (x *ListDraftsRequest) GetPageToken() stringfunc (*ListDraftsRequest) GetParent
func (x *ListDraftsRequest) GetParent() stringfunc (*ListDraftsRequest) ProtoMessage
func (*ListDraftsRequest) ProtoMessage()func (*ListDraftsRequest) ProtoReflect
func (x *ListDraftsRequest) ProtoReflect() protoreflect.Messagefunc (*ListDraftsRequest) Reset
func (x *ListDraftsRequest) Reset()func (*ListDraftsRequest) String
func (x *ListDraftsRequest) String() stringListDraftsResponse
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() []*Draftfunc (*ListDraftsResponse) GetNextPageToken
func (x *ListDraftsResponse) GetNextPageToken() stringfunc (*ListDraftsResponse) GetUnreachable
func (x *ListDraftsResponse) GetUnreachable() []stringfunc (*ListDraftsResponse) ProtoMessage
func (*ListDraftsResponse) ProtoMessage()func (*ListDraftsResponse) ProtoReflect
func (x *ListDraftsResponse) ProtoReflect() protoreflect.Messagefunc (*ListDraftsResponse) Reset
func (x *ListDraftsResponse) Reset()func (*ListDraftsResponse) String
func (x *ListDraftsResponse) String() stringListEventsRequest
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() stringfunc (*ListEventsRequest) GetOrderBy
func (x *ListEventsRequest) GetOrderBy() stringfunc (*ListEventsRequest) GetPageSize
func (x *ListEventsRequest) GetPageSize() int32func (*ListEventsRequest) GetPageToken
func (x *ListEventsRequest) GetPageToken() stringfunc (*ListEventsRequest) GetParent
func (x *ListEventsRequest) GetParent() stringfunc (*ListEventsRequest) ProtoMessage
func (*ListEventsRequest) ProtoMessage()func (*ListEventsRequest) ProtoReflect
func (x *ListEventsRequest) ProtoReflect() protoreflect.Messagefunc (*ListEventsRequest) Reset
func (x *ListEventsRequest) Reset()func (*ListEventsRequest) String
func (x *ListEventsRequest) String() stringListEventsResponse
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() []*Eventfunc (*ListEventsResponse) GetNextPageToken
func (x *ListEventsResponse) GetNextPageToken() stringfunc (*ListEventsResponse) GetUnreachable
func (x *ListEventsResponse) GetUnreachable() []stringfunc (*ListEventsResponse) ProtoMessage
func (*ListEventsResponse) ProtoMessage()func (*ListEventsResponse) ProtoReflect
func (x *ListEventsResponse) ProtoReflect() protoreflect.Messagefunc (*ListEventsResponse) Reset
func (x *ListEventsResponse) Reset()func (*ListEventsResponse) String
func (x *ListEventsResponse) String() stringListIndexEndpointsRequest
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() stringfunc (*ListIndexEndpointsRequest) GetPageSize
func (x *ListIndexEndpointsRequest) GetPageSize() int32func (*ListIndexEndpointsRequest) GetPageToken
func (x *ListIndexEndpointsRequest) GetPageToken() stringfunc (*ListIndexEndpointsRequest) GetParent
func (x *ListIndexEndpointsRequest) GetParent() stringfunc (*ListIndexEndpointsRequest) ProtoMessage
func (*ListIndexEndpointsRequest) ProtoMessage()func (*ListIndexEndpointsRequest) ProtoReflect
func (x *ListIndexEndpointsRequest) ProtoReflect() protoreflect.Messagefunc (*ListIndexEndpointsRequest) Reset
func (x *ListIndexEndpointsRequest) Reset()func (*ListIndexEndpointsRequest) String
func (x *ListIndexEndpointsRequest) String() stringListIndexEndpointsResponse
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() []*IndexEndpointfunc (*ListIndexEndpointsResponse) GetNextPageToken
func (x *ListIndexEndpointsResponse) GetNextPageToken() stringfunc (*ListIndexEndpointsResponse) ProtoMessage
func (*ListIndexEndpointsResponse) ProtoMessage()func (*ListIndexEndpointsResponse) ProtoReflect
func (x *ListIndexEndpointsResponse) ProtoReflect() protoreflect.Messagefunc (*ListIndexEndpointsResponse) Reset
func (x *ListIndexEndpointsResponse) Reset()func (*ListIndexEndpointsResponse) String
func (x *ListIndexEndpointsResponse) String() stringListIndexesRequest
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() int32func (*ListIndexesRequest) GetPageToken
func (x *ListIndexesRequest) GetPageToken() stringfunc (*ListIndexesRequest) GetParent
func (x *ListIndexesRequest) GetParent() stringfunc (*ListIndexesRequest) ProtoMessage
func (*ListIndexesRequest) ProtoMessage()func (*ListIndexesRequest) ProtoReflect
func (x *ListIndexesRequest) ProtoReflect() protoreflect.Messagefunc (*ListIndexesRequest) Reset
func (x *ListIndexesRequest) Reset()func (*ListIndexesRequest) String
func (x *ListIndexesRequest) String() stringListIndexesResponse
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() []*Indexfunc (*ListIndexesResponse) GetNextPageToken
func (x *ListIndexesResponse) GetNextPageToken() stringfunc (*ListIndexesResponse) ProtoMessage
func (*ListIndexesResponse) ProtoMessage()func (*ListIndexesResponse) ProtoReflect
func (x *ListIndexesResponse) ProtoReflect() protoreflect.Messagefunc (*ListIndexesResponse) Reset
func (x *ListIndexesResponse) Reset()func (*ListIndexesResponse) String
func (x *ListIndexesResponse) String() stringListInstancesRequest
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() stringfunc (*ListInstancesRequest) GetOrderBy
func (x *ListInstancesRequest) GetOrderBy() stringfunc (*ListInstancesRequest) GetPageSize
func (x *ListInstancesRequest) GetPageSize() int32func (*ListInstancesRequest) GetPageToken
func (x *ListInstancesRequest) GetPageToken() stringfunc (*ListInstancesRequest) GetParent
func (x *ListInstancesRequest) GetParent() stringfunc (*ListInstancesRequest) ProtoMessage
func (*ListInstancesRequest) ProtoMessage()func (*ListInstancesRequest) ProtoReflect
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Messagefunc (*ListInstancesRequest) Reset
func (x *ListInstancesRequest) Reset()func (*ListInstancesRequest) String
func (x *ListInstancesRequest) String() stringListInstancesResponse
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() []*Instancefunc (*ListInstancesResponse) GetNextPageToken
func (x *ListInstancesResponse) GetNextPageToken() stringfunc (*ListInstancesResponse) GetUnreachable
func (x *ListInstancesResponse) GetUnreachable() []stringfunc (*ListInstancesResponse) ProtoMessage
func (*ListInstancesResponse) ProtoMessage()func (*ListInstancesResponse) ProtoReflect
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Messagefunc (*ListInstancesResponse) Reset
func (x *ListInstancesResponse) Reset()func (*ListInstancesResponse) String
func (x *ListInstancesResponse) String() stringListOperatorsRequest
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() stringfunc (*ListOperatorsRequest) GetOrderBy
func (x *ListOperatorsRequest) GetOrderBy() stringfunc (*ListOperatorsRequest) GetPageSize
func (x *ListOperatorsRequest) GetPageSize() int32func (*ListOperatorsRequest) GetPageToken
func (x *ListOperatorsRequest) GetPageToken() stringfunc (*ListOperatorsRequest) GetParent
func (x *ListOperatorsRequest) GetParent() stringfunc (*ListOperatorsRequest) ProtoMessage
func (*ListOperatorsRequest) ProtoMessage()func (*ListOperatorsRequest) ProtoReflect
func (x *ListOperatorsRequest) ProtoReflect() protoreflect.Messagefunc (*ListOperatorsRequest) Reset
func (x *ListOperatorsRequest) Reset()func (*ListOperatorsRequest) String
func (x *ListOperatorsRequest) String() stringListOperatorsResponse
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() stringfunc (*ListOperatorsResponse) GetOperators
func (x *ListOperatorsResponse) GetOperators() []*Operatorfunc (*ListOperatorsResponse) GetUnreachable
func (x *ListOperatorsResponse) GetUnreachable() []stringfunc (*ListOperatorsResponse) ProtoMessage
func (*ListOperatorsResponse) ProtoMessage()func (*ListOperatorsResponse) ProtoReflect
func (x *ListOperatorsResponse) ProtoReflect() protoreflect.Messagefunc (*ListOperatorsResponse) Reset
func (x *ListOperatorsResponse) Reset()func (*ListOperatorsResponse) String
func (x *ListOperatorsResponse) String() stringListPrebuiltProcessorsRequest
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() stringfunc (*ListPrebuiltProcessorsRequest) ProtoMessage
func (*ListPrebuiltProcessorsRequest) ProtoMessage()func (*ListPrebuiltProcessorsRequest) ProtoReflect
func (x *ListPrebuiltProcessorsRequest) ProtoReflect() protoreflect.Messagefunc (*ListPrebuiltProcessorsRequest) Reset
func (x *ListPrebuiltProcessorsRequest) Reset()func (*ListPrebuiltProcessorsRequest) String
func (x *ListPrebuiltProcessorsRequest) String() stringListPrebuiltProcessorsResponse
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() []*Processorfunc (*ListPrebuiltProcessorsResponse) ProtoMessage
func (*ListPrebuiltProcessorsResponse) ProtoMessage()func (*ListPrebuiltProcessorsResponse) ProtoReflect
func (x *ListPrebuiltProcessorsResponse) ProtoReflect() protoreflect.Messagefunc (*ListPrebuiltProcessorsResponse) Reset
func (x *ListPrebuiltProcessorsResponse) Reset()func (*ListPrebuiltProcessorsResponse) String
func (x *ListPrebuiltProcessorsResponse) String() stringListProcessesRequest
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() stringfunc (*ListProcessesRequest) GetOrderBy
func (x *ListProcessesRequest) GetOrderBy() stringfunc (*ListProcessesRequest) GetPageSize
func (x *ListProcessesRequest) GetPageSize() int32func (*ListProcessesRequest) GetPageToken
func (x *ListProcessesRequest) GetPageToken() stringfunc (*ListProcessesRequest) GetParent
func (x *ListProcessesRequest) GetParent() stringfunc (*ListProcessesRequest) ProtoMessage
func (*ListProcessesRequest) ProtoMessage()func (*ListProcessesRequest) ProtoReflect
func (x *ListProcessesRequest) ProtoReflect() protoreflect.Messagefunc (*ListProcessesRequest) Reset
func (x *ListProcessesRequest) Reset()func (*ListProcessesRequest) String
func (x *ListProcessesRequest) String() stringListProcessesResponse
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() stringfunc (*ListProcessesResponse) GetProcesses
func (x *ListProcessesResponse) GetProcesses() []*Processfunc (*ListProcessesResponse) GetUnreachable
func (x *ListProcessesResponse) GetUnreachable() []stringfunc (*ListProcessesResponse) ProtoMessage
func (*ListProcessesResponse) ProtoMessage()func (*ListProcessesResponse) ProtoReflect
func (x *ListProcessesResponse) ProtoReflect() protoreflect.Messagefunc (*ListProcessesResponse) Reset
func (x *ListProcessesResponse) Reset()func (*ListProcessesResponse) String
func (x *ListProcessesResponse) String() stringListProcessorsRequest
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() stringfunc (*ListProcessorsRequest) GetOrderBy
func (x *ListProcessorsRequest) GetOrderBy() stringfunc (*ListProcessorsRequest) GetPageSize
func (x *ListProcessorsRequest) GetPageSize() int32func (*ListProcessorsRequest) GetPageToken
func (x *ListProcessorsRequest) GetPageToken() stringfunc (*ListProcessorsRequest) GetParent
func (x *ListProcessorsRequest) GetParent() stringfunc (*ListProcessorsRequest) ProtoMessage
func (*ListProcessorsRequest) ProtoMessage()func (*ListProcessorsRequest) ProtoReflect
func (x *ListProcessorsRequest) ProtoReflect() protoreflect.Messagefunc (*ListProcessorsRequest) Reset
func (x *ListProcessorsRequest) Reset()func (*ListProcessorsRequest) String
func (x *ListProcessorsRequest) String() stringListProcessorsResponse
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() stringfunc (*ListProcessorsResponse) GetProcessors
func (x *ListProcessorsResponse) GetProcessors() []*Processorfunc (*ListProcessorsResponse) GetUnreachable
func (x *ListProcessorsResponse) GetUnreachable() []stringfunc (*ListProcessorsResponse) ProtoMessage
func (*ListProcessorsResponse) ProtoMessage()func (*ListProcessorsResponse) ProtoReflect
func (x *ListProcessorsResponse) ProtoReflect() protoreflect.Messagefunc (*ListProcessorsResponse) Reset
func (x *ListProcessorsResponse) Reset()func (*ListProcessorsResponse) String
func (x *ListProcessorsResponse) String() stringListPublicOperatorsRequest
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() stringfunc (*ListPublicOperatorsRequest) GetOrderBy
func (x *ListPublicOperatorsRequest) GetOrderBy() stringfunc (*ListPublicOperatorsRequest) GetPageSize
func (x *ListPublicOperatorsRequest) GetPageSize() int32func (*ListPublicOperatorsRequest) GetPageToken
func (x *ListPublicOperatorsRequest) GetPageToken() stringfunc (*ListPublicOperatorsRequest) GetParent
func (x *ListPublicOperatorsRequest) GetParent() stringfunc (*ListPublicOperatorsRequest) ProtoMessage
func (*ListPublicOperatorsRequest) ProtoMessage()func (*ListPublicOperatorsRequest) ProtoReflect
func (x *ListPublicOperatorsRequest) ProtoReflect() protoreflect.Messagefunc (*ListPublicOperatorsRequest) Reset
func (x *ListPublicOperatorsRequest) Reset()func (*ListPublicOperatorsRequest) String
func (x *ListPublicOperatorsRequest) String() stringListPublicOperatorsResponse
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() stringfunc (*ListPublicOperatorsResponse) GetOperators
func (x *ListPublicOperatorsResponse) GetOperators() []*Operatorfunc (*ListPublicOperatorsResponse) ProtoMessage
func (*ListPublicOperatorsResponse) ProtoMessage()func (*ListPublicOperatorsResponse) ProtoReflect
func (x *ListPublicOperatorsResponse) ProtoReflect() protoreflect.Messagefunc (*ListPublicOperatorsResponse) Reset
func (x *ListPublicOperatorsResponse) Reset()func (*ListPublicOperatorsResponse) String
func (x *ListPublicOperatorsResponse) String() stringListSearchConfigsRequest
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() int32func (*ListSearchConfigsRequest) GetPageToken
func (x *ListSearchConfigsRequest) GetPageToken() stringfunc (*ListSearchConfigsRequest) GetParent
func (x *ListSearchConfigsRequest) GetParent() stringfunc (*ListSearchConfigsRequest) ProtoMessage
func (*ListSearchConfigsRequest) ProtoMessage()func (*ListSearchConfigsRequest) ProtoReflect
func (x *ListSearchConfigsRequest) ProtoReflect() protoreflect.Messagefunc (*ListSearchConfigsRequest) Reset
func (x *ListSearchConfigsRequest) Reset()func (*ListSearchConfigsRequest) String
func (x *ListSearchConfigsRequest) String() stringListSearchConfigsResponse
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() stringfunc (*ListSearchConfigsResponse) GetSearchConfigs
func (x *ListSearchConfigsResponse) GetSearchConfigs() []*SearchConfigfunc (*ListSearchConfigsResponse) ProtoMessage
func (*ListSearchConfigsResponse) ProtoMessage()func (*ListSearchConfigsResponse) ProtoReflect
func (x *ListSearchConfigsResponse) ProtoReflect() protoreflect.Messagefunc (*ListSearchConfigsResponse) Reset
func (x *ListSearchConfigsResponse) Reset()func (*ListSearchConfigsResponse) String
func (x *ListSearchConfigsResponse) String() stringListSearchHypernymsRequest
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() int32func (*ListSearchHypernymsRequest) GetPageToken
func (x *ListSearchHypernymsRequest) GetPageToken() stringfunc (*ListSearchHypernymsRequest) GetParent
func (x *ListSearchHypernymsRequest) GetParent() stringfunc (*ListSearchHypernymsRequest) ProtoMessage
func (*ListSearchHypernymsRequest) ProtoMessage()func (*ListSearchHypernymsRequest) ProtoReflect
func (x *ListSearchHypernymsRequest) ProtoReflect() protoreflect.Messagefunc (*ListSearchHypernymsRequest) Reset
func (x *ListSearchHypernymsRequest) Reset()func (*ListSearchHypernymsRequest) String
func (x *ListSearchHypernymsRequest) String() stringListSearchHypernymsResponse
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() stringfunc (*ListSearchHypernymsResponse) GetSearchHypernyms
func (x *ListSearchHypernymsResponse) GetSearchHypernyms() []*SearchHypernymfunc (*ListSearchHypernymsResponse) ProtoMessage
func (*ListSearchHypernymsResponse) ProtoMessage()func (*ListSearchHypernymsResponse) ProtoReflect
func (x *ListSearchHypernymsResponse) ProtoReflect() protoreflect.Messagefunc (*ListSearchHypernymsResponse) Reset
func (x *ListSearchHypernymsResponse) Reset()func (*ListSearchHypernymsResponse) String
func (x *ListSearchHypernymsResponse) String() stringListSeriesRequest
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() stringfunc (*ListSeriesRequest) GetOrderBy
func (x *ListSeriesRequest) GetOrderBy() stringfunc (*ListSeriesRequest) GetPageSize
func (x *ListSeriesRequest) GetPageSize() int32func (*ListSeriesRequest) GetPageToken
func (x *ListSeriesRequest) GetPageToken() stringfunc (*ListSeriesRequest) GetParent
func (x *ListSeriesRequest) GetParent() stringfunc (*ListSeriesRequest) ProtoMessage
func (*ListSeriesRequest) ProtoMessage()func (*ListSeriesRequest) ProtoReflect
func (x *ListSeriesRequest) ProtoReflect() protoreflect.Messagefunc (*ListSeriesRequest) Reset
func (x *ListSeriesRequest) Reset()func (*ListSeriesRequest) String
func (x *ListSeriesRequest) String() stringListSeriesResponse
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() stringfunc (*ListSeriesResponse) GetSeries
func (x *ListSeriesResponse) GetSeries() []*Seriesfunc (*ListSeriesResponse) GetUnreachable
func (x *ListSeriesResponse) GetUnreachable() []stringfunc (*ListSeriesResponse) ProtoMessage
func (*ListSeriesResponse) ProtoMessage()func (*ListSeriesResponse) ProtoReflect
func (x *ListSeriesResponse) ProtoReflect() protoreflect.Messagefunc (*ListSeriesResponse) Reset
func (x *ListSeriesResponse) Reset()func (*ListSeriesResponse) String
func (x *ListSeriesResponse) String() stringListStreamsRequest
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() stringfunc (*ListStreamsRequest) GetOrderBy
func (x *ListStreamsRequest) GetOrderBy() stringfunc (*ListStreamsRequest) GetPageSize
func (x *ListStreamsRequest) GetPageSize() int32func (*ListStreamsRequest) GetPageToken
func (x *ListStreamsRequest) GetPageToken() stringfunc (*ListStreamsRequest) GetParent
func (x *ListStreamsRequest) GetParent() stringfunc (*ListStreamsRequest) ProtoMessage
func (*ListStreamsRequest) ProtoMessage()func (*ListStreamsRequest) ProtoReflect
func (x *ListStreamsRequest) ProtoReflect() protoreflect.Messagefunc (*ListStreamsRequest) Reset
func (x *ListStreamsRequest) Reset()func (*ListStreamsRequest) String
func (x *ListStreamsRequest) String() stringListStreamsResponse
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() stringfunc (*ListStreamsResponse) GetStreams
func (x *ListStreamsResponse) GetStreams() []*Streamfunc (*ListStreamsResponse) GetUnreachable
func (x *ListStreamsResponse) GetUnreachable() []stringfunc (*ListStreamsResponse) ProtoMessage
func (*ListStreamsResponse) ProtoMessage()func (*ListStreamsResponse) ProtoReflect
func (x *ListStreamsResponse) ProtoReflect() protoreflect.Messagefunc (*ListStreamsResponse) Reset
func (x *ListStreamsResponse) Reset()func (*ListStreamsResponse) String
func (x *ListStreamsResponse) String() stringLiveVideoAnalyticsClient
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewLiveVideoAnalyticsClient
func NewLiveVideoAnalyticsClient(cc grpc.ClientConnInterface) LiveVideoAnalyticsClientLiveVideoAnalyticsServer
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. All implementations should embed UnimplementedLiveVideoAnalyticsServer for forward compatibility
MachineSpec
type MachineSpec struct {
// Immutable. The type of the machine.
//
// See the [list of machine types supported for
// prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)
//
// See the [list of machine types supported for custom
// training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).
//
// For [DeployedModel][] this field is optional, and the default
// value is `n1-standard-2`. For [BatchPredictionJob][] or as part of
// [WorkerPoolSpec][] this field is required.
MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
// Immutable. The type of accelerator(s) that may be attached to the machine
// as per
// [accelerator_count][google.cloud.visionai.v1.MachineSpec.accelerator_count].
AcceleratorType AcceleratorType `protobuf:"varint,2,opt,name=accelerator_type,json=acceleratorType,proto3,enum=google.cloud.visionai.v1.AcceleratorType" json:"accelerator_type,omitempty"`
// The number of accelerators to attach to the machine.
AcceleratorCount int32 `protobuf:"varint,3,opt,name=accelerator_count,json=acceleratorCount,proto3" json:"accelerator_count,omitempty"`
// contains filtered or unexported fields
}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() int32func (*MachineSpec) GetAcceleratorType
func (x *MachineSpec) GetAcceleratorType() AcceleratorTypefunc (*MachineSpec) GetMachineType
func (x *MachineSpec) GetMachineType() stringfunc (*MachineSpec) ProtoMessage
func (*MachineSpec) ProtoMessage()func (*MachineSpec) ProtoReflect
func (x *MachineSpec) ProtoReflect() protoreflect.Messagefunc (*MachineSpec) Reset
func (x *MachineSpec) Reset()func (*MachineSpec) String
func (x *MachineSpec) String() stringMaterializeChannelRequest
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() *Channelfunc (*MaterializeChannelRequest) GetChannelId
func (x *MaterializeChannelRequest) GetChannelId() stringfunc (*MaterializeChannelRequest) GetParent
func (x *MaterializeChannelRequest) GetParent() stringfunc (*MaterializeChannelRequest) GetRequestId
func (x *MaterializeChannelRequest) GetRequestId() stringfunc (*MaterializeChannelRequest) ProtoMessage
func (*MaterializeChannelRequest) ProtoMessage()func (*MaterializeChannelRequest) ProtoReflect
func (x *MaterializeChannelRequest) ProtoReflect() protoreflect.Messagefunc (*MaterializeChannelRequest) Reset
func (x *MaterializeChannelRequest) Reset()func (*MaterializeChannelRequest) String
func (x *MaterializeChannelRequest) String() stringMediaWarehouseConfig
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() stringfunc (*MediaWarehouseConfig) GetRegion
func (x *MediaWarehouseConfig) GetRegion() stringDeprecated: Marked as deprecated in google/cloud/visionai/v1/platform.proto.
func (*MediaWarehouseConfig) GetTtl
func (x *MediaWarehouseConfig) GetTtl() *durationpb.Durationfunc (*MediaWarehouseConfig) ProtoMessage
func (*MediaWarehouseConfig) ProtoMessage()func (*MediaWarehouseConfig) ProtoReflect
func (x *MediaWarehouseConfig) ProtoReflect() protoreflect.Messagefunc (*MediaWarehouseConfig) Reset
func (x *MediaWarehouseConfig) Reset()func (*MediaWarehouseConfig) String
func (x *MediaWarehouseConfig) String() stringModelType
type ModelType int32All 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.EnumDescriptorfunc (ModelType) Enum
func (ModelType) EnumDescriptor
Deprecated: Use ModelType.Descriptor instead.
func (ModelType) Number
func (x ModelType) Number() protoreflect.EnumNumberfunc (ModelType) String
func (ModelType) Type
func (ModelType) Type() protoreflect.EnumTypeNode
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() *ProcessorConfigfunc (*Node) GetOutputAllOutputChannelsToStream
func (*Node) GetParents
func (x *Node) GetParents() []*Node_InputEdgefunc (*Node) GetProcessor
func (*Node) GetStreamOutputConfig
func (m *Node) GetStreamOutputConfig() isNode_StreamOutputConfigfunc (*Node) ProtoMessage
func (*Node) ProtoMessage()func (*Node) ProtoReflect
func (x *Node) ProtoReflect() protoreflect.Messagefunc (*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() stringfunc (*Node_InputEdge) GetParentNode
func (x *Node_InputEdge) GetParentNode() stringfunc (*Node_InputEdge) GetParentOutputChannel
func (x *Node_InputEdge) GetParentOutputChannel() stringfunc (*Node_InputEdge) ProtoMessage
func (*Node_InputEdge) ProtoMessage()func (*Node_InputEdge) ProtoReflect
func (x *Node_InputEdge) ProtoReflect() protoreflect.Messagefunc (*Node_InputEdge) Reset
func (x *Node_InputEdge) Reset()func (*Node_InputEdge) String
func (x *Node_InputEdge) String() stringNode_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() []*NormalizedVertexfunc (*NormalizedPolygon) ProtoMessage
func (*NormalizedPolygon) ProtoMessage()func (*NormalizedPolygon) ProtoReflect
func (x *NormalizedPolygon) ProtoReflect() protoreflect.Messagefunc (*NormalizedPolygon) Reset
func (x *NormalizedPolygon) Reset()func (*NormalizedPolygon) String
func (x *NormalizedPolygon) String() stringNormalizedPolyline
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() []*NormalizedVertexfunc (*NormalizedPolyline) ProtoMessage
func (*NormalizedPolyline) ProtoMessage()func (*NormalizedPolyline) ProtoReflect
func (x *NormalizedPolyline) ProtoReflect() protoreflect.Messagefunc (*NormalizedPolyline) Reset
func (x *NormalizedPolyline) Reset()func (*NormalizedPolyline) String
func (x *NormalizedPolyline) String() stringNormalizedVertex
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() float32func (*NormalizedVertex) GetY
func (x *NormalizedVertex) GetY() float32func (*NormalizedVertex) ProtoMessage
func (*NormalizedVertex) ProtoMessage()func (*NormalizedVertex) ProtoReflect
func (x *NormalizedVertex) ProtoReflect() protoreflect.Messagefunc (*NormalizedVertex) Reset
func (x *NormalizedVertex) Reset()func (*NormalizedVertex) String
func (x *NormalizedVertex) String() stringObjectDetectionPredictionResult
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.Timestampfunc (*ObjectDetectionPredictionResult) GetIdentifiedBoxes
func (x *ObjectDetectionPredictionResult) GetIdentifiedBoxes() []*ObjectDetectionPredictionResult_IdentifiedBoxfunc (*ObjectDetectionPredictionResult) ProtoMessage
func (*ObjectDetectionPredictionResult) ProtoMessage()func (*ObjectDetectionPredictionResult) ProtoReflect
func (x *ObjectDetectionPredictionResult) ProtoReflect() protoreflect.Messagefunc (*ObjectDetectionPredictionResult) Reset
func (x *ObjectDetectionPredictionResult) Reset()func (*ObjectDetectionPredictionResult) String
func (x *ObjectDetectionPredictionResult) String() stringObjectDetectionPredictionResult_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() int64func (*ObjectDetectionPredictionResult_Entity) GetLabelString
func (x *ObjectDetectionPredictionResult_Entity) GetLabelString() stringfunc (*ObjectDetectionPredictionResult_Entity) ProtoMessage
func (*ObjectDetectionPredictionResult_Entity) ProtoMessage()func (*ObjectDetectionPredictionResult_Entity) ProtoReflect
func (x *ObjectDetectionPredictionResult_Entity) ProtoReflect() protoreflect.Messagefunc (*ObjectDetectionPredictionResult_Entity) Reset
func (x *ObjectDetectionPredictionResult_Entity) Reset()func (*ObjectDetectionPredictionResult_Entity) String
func (x *ObjectDetectionPredictionResult_Entity) String() stringObjectDetectionPredictionResult_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() int64func (*ObjectDetectionPredictionResult_IdentifiedBox) GetConfidenceScore
func (x *ObjectDetectionPredictionResult_IdentifiedBox) GetConfidenceScore() float32func (*ObjectDetectionPredictionResult_IdentifiedBox) GetEntity
func (x *ObjectDetectionPredictionResult_IdentifiedBox) GetEntity() *ObjectDetectionPredictionResult_Entityfunc (*ObjectDetectionPredictionResult_IdentifiedBox) GetNormalizedBoundingBox
func (x *ObjectDetectionPredictionResult_IdentifiedBox) GetNormalizedBoundingBox() *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBoxfunc (*ObjectDetectionPredictionResult_IdentifiedBox) ProtoMessage
func (*ObjectDetectionPredictionResult_IdentifiedBox) ProtoMessage()func (*ObjectDetectionPredictionResult_IdentifiedBox) ProtoReflect
func (x *ObjectDetectionPredictionResult_IdentifiedBox) ProtoReflect() protoreflect.Messagefunc (*ObjectDetectionPredictionResult_IdentifiedBox) Reset
func (x *ObjectDetectionPredictionResult_IdentifiedBox) Reset()func (*ObjectDetectionPredictionResult_IdentifiedBox) String
func (x *ObjectDetectionPredictionResult_IdentifiedBox) String() stringObjectDetectionPredictionResult_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() float32func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetWidth
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetWidth() float32func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetXmin
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetXmin() float32func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetYmin
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetYmin() float32func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoMessage
func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoMessage()func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoReflect
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoReflect() protoreflect.Messagefunc (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) Reset
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) Reset()func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) String
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) String() stringOccupancyCountConfig
type OccupancyCountConfig struct {
// Whether to count the appearances of people, output counts have 'people' as
// the key.
EnablePeopleCounting bool `protobuf:"varint,1,opt,name=enable_people_counting,json=enablePeopleCounting,proto3" json:"enable_people_counting,omitempty"`
// Whether to count the appearances of vehicles, output counts will have
// 'vehicle' as the key.
EnableVehicleCounting bool `protobuf:"varint,2,opt,name=enable_vehicle_counting,json=enableVehicleCounting,proto3" json:"enable_vehicle_counting,omitempty"`
// Whether to track each invidual object's loitering time inside the scene or
// specific zone.
EnableDwellingTimeTracking bool `protobuf:"varint,3,opt,name=enable_dwelling_time_tracking,json=enableDwellingTimeTracking,proto3" json:"enable_dwelling_time_tracking,omitempty"`
// contains filtered or unexported fields
}Message describing OccupancyCountConfig.
func (*OccupancyCountConfig) Descriptor
func (*OccupancyCountConfig) Descriptor() ([]byte, []int)Deprecated: Use OccupancyCountConfig.ProtoReflect.Descriptor instead.
func (*OccupancyCountConfig) GetEnableDwellingTimeTracking
func (x *OccupancyCountConfig) GetEnableDwellingTimeTracking() boolfunc (*OccupancyCountConfig) GetEnablePeopleCounting
func (x *OccupancyCountConfig) GetEnablePeopleCounting() boolfunc (*OccupancyCountConfig) GetEnableVehicleCounting
func (x *OccupancyCountConfig) GetEnableVehicleCounting() boolfunc (*OccupancyCountConfig) ProtoMessage
func (*OccupancyCountConfig) ProtoMessage()func (*OccupancyCountConfig) ProtoReflect
func (x *OccupancyCountConfig) ProtoReflect() protoreflect.Messagefunc (*OccupancyCountConfig) Reset
func (x *OccupancyCountConfig) Reset()func (*OccupancyCountConfig) String
func (x *OccupancyCountConfig) String() stringOccupancyCountingPredictionResult
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.Timestampfunc (*OccupancyCountingPredictionResult) GetDwellTimeInfo
func (x *OccupancyCountingPredictionResult) GetDwellTimeInfo() []*OccupancyCountingPredictionResult_DwellTimeInfofunc (*OccupancyCountingPredictionResult) GetIdentifiedBoxes
func (x *OccupancyCountingPredictionResult) GetIdentifiedBoxes() []*OccupancyCountingPredictionResult_IdentifiedBoxfunc (*OccupancyCountingPredictionResult) GetPts
func (x *OccupancyCountingPredictionResult) GetPts() int64func (*OccupancyCountingPredictionResult) GetStats
func (x *OccupancyCountingPredictionResult) GetStats() *OccupancyCountingPredictionResult_Statsfunc (*OccupancyCountingPredictionResult) GetTrackInfo
func (x *OccupancyCountingPredictionResult) GetTrackInfo() []*OccupancyCountingPredictionResult_TrackInfofunc (*OccupancyCountingPredictionResult) ProtoMessage
func (*OccupancyCountingPredictionResult) ProtoMessage()func (*OccupancyCountingPredictionResult) ProtoReflect
func (x *OccupancyCountingPredictionResult) ProtoReflect() protoreflect.Messagefunc (*OccupancyCountingPredictionResult) Reset
func (x *OccupancyCountingPredictionResult) Reset()func (*OccupancyCountingPredictionResult) String
func (x *OccupancyCountingPredictionResult) String() stringOccupancyCountingPredictionResult_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.Timestampfunc (*OccupancyCountingPredictionResult_DwellTimeInfo) GetDwellStartTime
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) GetDwellStartTime() *timestamppb.Timestampfunc (*OccupancyCountingPredictionResult_DwellTimeInfo) GetTrackId
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) GetTrackId() stringfunc (*OccupancyCountingPredictionResult_DwellTimeInfo) GetZoneId
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) GetZoneId() stringfunc (*OccupancyCountingPredictionResult_DwellTimeInfo) ProtoMessage
func (*OccupancyCountingPredictionResult_DwellTimeInfo) ProtoMessage()func (*OccupancyCountingPredictionResult_DwellTimeInfo) ProtoReflect
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) ProtoReflect() protoreflect.Messagefunc (*OccupancyCountingPredictionResult_DwellTimeInfo) Reset
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) Reset()func (*OccupancyCountingPredictionResult_DwellTimeInfo) String
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) String() stringOccupancyCountingPredictionResult_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() int64func (*OccupancyCountingPredictionResult_Entity) GetLabelString
func (x *OccupancyCountingPredictionResult_Entity) GetLabelString() stringfunc (*OccupancyCountingPredictionResult_Entity) ProtoMessage
func (*OccupancyCountingPredictionResult_Entity) ProtoMessage()func (*OccupancyCountingPredictionResult_Entity) ProtoReflect
func (x *OccupancyCountingPredictionResult_Entity) ProtoReflect() protoreflect.Messagefunc (*OccupancyCountingPredictionResult_Entity) Reset
func (x *OccupancyCountingPredictionResult_Entity) Reset()func (*OccupancyCountingPredictionResult_Entity) String
func (x *OccupancyCountingPredictionResult_Entity) String() stringOccupancyCountingPredictionResult_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() int64func (*OccupancyCountingPredictionResult_IdentifiedBox) GetEntity
func (x *OccupancyCountingPredictionResult_IdentifiedBox) GetEntity() *OccupancyCountingPredictionResult_Entityfunc (*OccupancyCountingPredictionResult_IdentifiedBox) GetNormalizedBoundingBox
func (x *OccupancyCountingPredictionResult_IdentifiedBox) GetNormalizedBoundingBox() *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBoxfunc (*OccupancyCountingPredictionResult_IdentifiedBox) GetScore
func (x *OccupancyCountingPredictionResult_IdentifiedBox) GetScore() float32func (*OccupancyCountingPredictionResult_IdentifiedBox) GetTrackId
func (x *OccupancyCountingPredictionResult_IdentifiedBox) GetTrackId() int64func (*OccupancyCountingPredictionResult_IdentifiedBox) ProtoMessage
func (*OccupancyCountingPredictionResult_IdentifiedBox) ProtoMessage()func (*OccupancyCountingPredictionResult_IdentifiedBox) ProtoReflect
func (x *OccupancyCountingPredictionResult_IdentifiedBox) ProtoReflect() protoreflect.Messagefunc (*OccupancyCountingPredictionResult_IdentifiedBox) Reset
func (x *OccupancyCountingPredictionResult_IdentifiedBox) Reset()func (*OccupancyCountingPredictionResult_IdentifiedBox) String
func (x *OccupancyCountingPredictionResult_IdentifiedBox) String() stringOccupancyCountingPredictionResult_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() float32func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetWidth
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetWidth() float32func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetXmin
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetXmin() float32func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetYmin
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetYmin() float32func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoMessage
func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoMessage()func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoReflect
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoReflect() protoreflect.Messagefunc (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) Reset
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) Reset()func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) String
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) String() stringOccupancyCountingPredictionResult_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_ActiveZoneCountfunc (*OccupancyCountingPredictionResult_Stats) GetCrossingLineCounts
func (x *OccupancyCountingPredictionResult_Stats) GetCrossingLineCounts() []*OccupancyCountingPredictionResult_Stats_CrossingLineCountfunc (*OccupancyCountingPredictionResult_Stats) GetFullFrameCount
func (x *OccupancyCountingPredictionResult_Stats) GetFullFrameCount() []*OccupancyCountingPredictionResult_Stats_ObjectCountfunc (*OccupancyCountingPredictionResult_Stats) ProtoMessage
func (*OccupancyCountingPredictionResult_Stats) ProtoMessage()func (*OccupancyCountingPredictionResult_Stats) ProtoReflect
func (x *OccupancyCountingPredictionResult_Stats) ProtoReflect() protoreflect.Messagefunc (*OccupancyCountingPredictionResult_Stats) Reset
func (x *OccupancyCountingPredictionResult_Stats) Reset()func (*OccupancyCountingPredictionResult_Stats) String
func (x *OccupancyCountingPredictionResult_Stats) String() stringOccupancyCountingPredictionResult_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_ObjectCountfunc (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) GetStartTime
func (x *OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) GetStartTime() *timestamppb.Timestampfunc (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) ProtoMessage
func (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) ProtoMessage()func (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) ProtoReflect
func (x *OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) ProtoReflect() protoreflect.Messagefunc (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) Reset
func (x *OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) Reset()func (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) String
func (x *OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) String() stringOccupancyCountingPredictionResult_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() *StreamAnnotationfunc (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) GetCounts
func (x *OccupancyCountingPredictionResult_Stats_ActiveZoneCount) GetCounts() []*OccupancyCountingPredictionResult_Stats_ObjectCountfunc (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) ProtoMessage
func (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) ProtoMessage()func (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) ProtoReflect
func (x *OccupancyCountingPredictionResult_Stats_ActiveZoneCount) ProtoReflect() protoreflect.Messagefunc (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) Reset
func (x *OccupancyCountingPredictionResult_Stats_ActiveZoneCount) Reset()func (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) String
func (x *OccupancyCountingPredictionResult_Stats_ActiveZoneCount) String() stringOccupancyCountingPredictionResult_Stats_CrossingLineCount
type OccupancyCountingPredictionResult_Stats_CrossingLineCount struct {
// Line annotation from the user.
Annotation *StreamAnnotation `protobuf:"bytes,1,opt,name=annotation,proto3" json:"annotation,omitempty"`
// The direction that follows the right hand rule.
PositiveDirectionCounts []*OccupancyCountingPredictionResult_Stats_ObjectCount `protobuf:"bytes,2,rep,name=positive_direction_counts,json=positiveDirectionCounts,proto3" json:"positive_direction_counts,omitempty"`
// The direction that is opposite to the right hand rule.
NegativeDirectionCounts []*OccupancyCountingPredictionResult_Stats_ObjectCount `protobuf:"bytes,3,rep,name=negative_direction_counts,json=negativeDirectionCounts,proto3" json:"negative_direction_counts,omitempty"`
// The accumulated positive count.
AccumulatedPositiveDirectionCounts []*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount `protobuf:"bytes,4,rep,name=accumulated_positive_direction_counts,json=accumulatedPositiveDirectionCounts,proto3" json:"accumulated_positive_direction_counts,omitempty"`
// The accumulated negative count.
AccumulatedNegativeDirectionCounts []*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount `protobuf:"bytes,5,rep,name=accumulated_negative_direction_counts,json=accumulatedNegativeDirectionCounts,proto3" json:"accumulated_negative_direction_counts,omitempty"`
// contains filtered or unexported fields
}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_AccumulatedObjectCountfunc (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetAccumulatedPositiveDirectionCounts
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetAccumulatedPositiveDirectionCounts() []*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCountfunc (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetAnnotation
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetAnnotation() *StreamAnnotationfunc (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetNegativeDirectionCounts
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetNegativeDirectionCounts() []*OccupancyCountingPredictionResult_Stats_ObjectCountfunc (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetPositiveDirectionCounts
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetPositiveDirectionCounts() []*OccupancyCountingPredictionResult_Stats_ObjectCountfunc (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) ProtoMessage
func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) ProtoMessage()func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) ProtoReflect
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) ProtoReflect() protoreflect.Messagefunc (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) Reset
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) Reset()func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) String
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) String() stringOccupancyCountingPredictionResult_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() int32func (*OccupancyCountingPredictionResult_Stats_ObjectCount) GetEntity
func (x *OccupancyCountingPredictionResult_Stats_ObjectCount) GetEntity() *OccupancyCountingPredictionResult_Entityfunc (*OccupancyCountingPredictionResult_Stats_ObjectCount) ProtoMessage
func (*OccupancyCountingPredictionResult_Stats_ObjectCount) ProtoMessage()func (*OccupancyCountingPredictionResult_Stats_ObjectCount) ProtoReflect
func (x *OccupancyCountingPredictionResult_Stats_ObjectCount) ProtoReflect() protoreflect.Messagefunc (*OccupancyCountingPredictionResult_Stats_ObjectCount) Reset
func (x *OccupancyCountingPredictionResult_Stats_ObjectCount) Reset()func (*OccupancyCountingPredictionResult_Stats_ObjectCount) String
func (x *OccupancyCountingPredictionResult_Stats_ObjectCount) String() stringOccupancyCountingPredictionResult_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.Timestampfunc (*OccupancyCountingPredictionResult_TrackInfo) GetTrackId
func (x *OccupancyCountingPredictionResult_TrackInfo) GetTrackId() stringfunc (*OccupancyCountingPredictionResult_TrackInfo) ProtoMessage
func (*OccupancyCountingPredictionResult_TrackInfo) ProtoMessage()func (*OccupancyCountingPredictionResult_TrackInfo) ProtoReflect
func (x *OccupancyCountingPredictionResult_TrackInfo) ProtoReflect() protoreflect.Messagefunc (*OccupancyCountingPredictionResult_TrackInfo) Reset
func (x *OccupancyCountingPredictionResult_TrackInfo) Reset()func (*OccupancyCountingPredictionResult_TrackInfo) String
func (x *OccupancyCountingPredictionResult_TrackInfo) String() stringOperationMetadata
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() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() stringfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringOperator
type Operator struct {
// Name of the 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"`
// Labels as key value pairs.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// The definition of the operator.
OperatorDefinition *OperatorDefinition `protobuf:"bytes,5,opt,name=operator_definition,json=operatorDefinition,proto3" json:"operator_definition,omitempty"`
// The link to the docker image of the operator.
DockerImage string `protobuf:"bytes,6,opt,name=docker_image,json=dockerImage,proto3" json:"docker_image,omitempty"`
// contains filtered or unexported fields
}Message describing the Operator object.
func (*Operator) Descriptor
Deprecated: Use Operator.ProtoReflect.Descriptor instead.
func (*Operator) GetCreateTime
func (x *Operator) GetCreateTime() *timestamppb.Timestampfunc (*Operator) GetDockerImage
func (*Operator) GetLabels
func (*Operator) GetName
func (*Operator) GetOperatorDefinition
func (x *Operator) GetOperatorDefinition() *OperatorDefinitionfunc (*Operator) GetUpdateTime
func (x *Operator) GetUpdateTime() *timestamppb.Timestampfunc (*Operator) ProtoMessage
func (*Operator) ProtoMessage()func (*Operator) ProtoReflect
func (x *Operator) ProtoReflect() protoreflect.Messagefunc (*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_AttributeDefinitionfunc (*OperatorDefinition) GetDescription
func (x *OperatorDefinition) GetDescription() stringfunc (*OperatorDefinition) GetInputArgs
func (x *OperatorDefinition) GetInputArgs() []*OperatorDefinition_ArgumentDefinitionfunc (*OperatorDefinition) GetOperator
func (x *OperatorDefinition) GetOperator() stringfunc (*OperatorDefinition) GetOutputArgs
func (x *OperatorDefinition) GetOutputArgs() []*OperatorDefinition_ArgumentDefinitionfunc (*OperatorDefinition) GetResources
func (x *OperatorDefinition) GetResources() *ResourceSpecificationfunc (*OperatorDefinition) GetShortDescription
func (x *OperatorDefinition) GetShortDescription() stringfunc (*OperatorDefinition) ProtoMessage
func (*OperatorDefinition) ProtoMessage()func (*OperatorDefinition) ProtoReflect
func (x *OperatorDefinition) ProtoReflect() protoreflect.Messagefunc (*OperatorDefinition) Reset
func (x *OperatorDefinition) Reset()func (*OperatorDefinition) String
func (x *OperatorDefinition) String() stringOperatorDefinition_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() stringfunc (*OperatorDefinition_ArgumentDefinition) GetType
func (x *OperatorDefinition_ArgumentDefinition) GetType() stringfunc (*OperatorDefinition_ArgumentDefinition) ProtoMessage
func (*OperatorDefinition_ArgumentDefinition) ProtoMessage()func (*OperatorDefinition_ArgumentDefinition) ProtoReflect
func (x *OperatorDefinition_ArgumentDefinition) ProtoReflect() protoreflect.Messagefunc (*OperatorDefinition_ArgumentDefinition) Reset
func (x *OperatorDefinition_ArgumentDefinition) Reset()func (*OperatorDefinition_ArgumentDefinition) String
func (x *OperatorDefinition_ArgumentDefinition) String() stringOperatorDefinition_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() stringfunc (*OperatorDefinition_AttributeDefinition) GetDefaultValue
func (x *OperatorDefinition_AttributeDefinition) GetDefaultValue() *AttributeValuefunc (*OperatorDefinition_AttributeDefinition) GetType
func (x *OperatorDefinition_AttributeDefinition) GetType() stringfunc (*OperatorDefinition_AttributeDefinition) ProtoMessage
func (*OperatorDefinition_AttributeDefinition) ProtoMessage()func (*OperatorDefinition_AttributeDefinition) ProtoReflect
func (x *OperatorDefinition_AttributeDefinition) ProtoReflect() protoreflect.Messagefunc (*OperatorDefinition_AttributeDefinition) Reset
func (x *OperatorDefinition_AttributeDefinition) Reset()func (*OperatorDefinition_AttributeDefinition) String
func (x *OperatorDefinition_AttributeDefinition) String() stringOperatorQuery
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() stringfunc (*OperatorQuery) GetRegistry
func (x *OperatorQuery) GetRegistry() Registryfunc (*OperatorQuery) GetTag
func (x *OperatorQuery) GetTag() stringfunc (*OperatorQuery) ProtoMessage
func (*OperatorQuery) ProtoMessage()func (*OperatorQuery) ProtoReflect
func (x *OperatorQuery) ProtoReflect() protoreflect.Messagefunc (*OperatorQuery) Reset
func (x *OperatorQuery) Reset()func (*OperatorQuery) String
func (x *OperatorQuery) String() stringPacket
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() *PacketHeaderfunc (*Packet) GetPayload
func (*Packet) ProtoMessage
func (*Packet) ProtoMessage()func (*Packet) ProtoReflect
func (x *Packet) ProtoReflect() protoreflect.Messagefunc (*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.Timestampfunc (*PacketHeader) GetFlags
func (x *PacketHeader) GetFlags() int32func (*PacketHeader) GetMetadata
func (x *PacketHeader) GetMetadata() *structpb.Structfunc (*PacketHeader) GetSeriesMetadata
func (x *PacketHeader) GetSeriesMetadata() *SeriesMetadatafunc (*PacketHeader) GetServerMetadata
func (x *PacketHeader) GetServerMetadata() *ServerMetadatafunc (*PacketHeader) GetTraceContext
func (x *PacketHeader) GetTraceContext() stringfunc (*PacketHeader) GetType
func (x *PacketHeader) GetType() *PacketTypefunc (*PacketHeader) ProtoMessage
func (*PacketHeader) ProtoMessage()func (*PacketHeader) ProtoReflect
func (x *PacketHeader) ProtoReflect() protoreflect.Messagefunc (*PacketHeader) Reset
func (x *PacketHeader) Reset()func (*PacketHeader) String
func (x *PacketHeader) String() stringPacketType
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() stringfunc (*PacketType) GetTypeDescriptor
func (x *PacketType) GetTypeDescriptor() *PacketType_TypeDescriptorfunc (*PacketType) ProtoMessage
func (*PacketType) ProtoMessage()func (*PacketType) ProtoReflect
func (x *PacketType) ProtoReflect() protoreflect.Messagefunc (*PacketType) Reset
func (x *PacketType) Reset()func (*PacketType) String
func (x *PacketType) String() stringPacketType_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() *GstreamerBufferDescriptorfunc (*PacketType_TypeDescriptor) GetRawImageDescriptor
func (x *PacketType_TypeDescriptor) GetRawImageDescriptor() *RawImageDescriptorfunc (*PacketType_TypeDescriptor) GetType
func (x *PacketType_TypeDescriptor) GetType() stringfunc (*PacketType_TypeDescriptor) GetTypeDetails
func (m *PacketType_TypeDescriptor) GetTypeDetails() isPacketType_TypeDescriptor_TypeDetailsfunc (*PacketType_TypeDescriptor) ProtoMessage
func (*PacketType_TypeDescriptor) ProtoMessage()func (*PacketType_TypeDescriptor) ProtoReflect
func (x *PacketType_TypeDescriptor) ProtoReflect() protoreflect.Messagefunc (*PacketType_TypeDescriptor) Reset
func (x *PacketType_TypeDescriptor) Reset()func (*PacketType_TypeDescriptor) String
func (x *PacketType_TypeDescriptor) String() stringPacketType_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 {
// Partition of asset in time.
TemporalPartition *Partition_TemporalPartition `protobuf:"bytes,1,opt,name=temporal_partition,json=temporalPartition,proto3" json:"temporal_partition,omitempty"`
// Partition of asset in space.
SpatialPartition *Partition_SpatialPartition `protobuf:"bytes,2,opt,name=spatial_partition,json=spatialPartition,proto3" json:"spatial_partition,omitempty"`
// Partition of asset in time.
RelativeTemporalPartition *Partition_RelativeTemporalPartition `protobuf:"bytes,3,opt,name=relative_temporal_partition,json=relativeTemporalPartition,proto3" json:"relative_temporal_partition,omitempty"`
// contains filtered or unexported fields
}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_RelativeTemporalPartitionfunc (*Partition) GetSpatialPartition
func (x *Partition) GetSpatialPartition() *Partition_SpatialPartitionfunc (*Partition) GetTemporalPartition
func (x *Partition) GetTemporalPartition() *Partition_TemporalPartitionfunc (*Partition) ProtoMessage
func (*Partition) ProtoMessage()func (*Partition) ProtoReflect
func (x *Partition) ProtoReflect() protoreflect.Messagefunc (*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.Durationfunc (*Partition_RelativeTemporalPartition) GetStartOffset
func (x *Partition_RelativeTemporalPartition) GetStartOffset() *durationpb.Durationfunc (*Partition_RelativeTemporalPartition) ProtoMessage
func (*Partition_RelativeTemporalPartition) ProtoMessage()func (*Partition_RelativeTemporalPartition) ProtoReflect
func (x *Partition_RelativeTemporalPartition) ProtoReflect() protoreflect.Messagefunc (*Partition_RelativeTemporalPartition) Reset
func (x *Partition_RelativeTemporalPartition) Reset()func (*Partition_RelativeTemporalPartition) String
func (x *Partition_RelativeTemporalPartition) String() stringPartition_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() int64func (*Partition_SpatialPartition) GetXMin
func (x *Partition_SpatialPartition) GetXMin() int64func (*Partition_SpatialPartition) GetYMax
func (x *Partition_SpatialPartition) GetYMax() int64func (*Partition_SpatialPartition) GetYMin
func (x *Partition_SpatialPartition) GetYMin() int64func (*Partition_SpatialPartition) ProtoMessage
func (*Partition_SpatialPartition) ProtoMessage()func (*Partition_SpatialPartition) ProtoReflect
func (x *Partition_SpatialPartition) ProtoReflect() protoreflect.Messagefunc (*Partition_SpatialPartition) Reset
func (x *Partition_SpatialPartition) Reset()func (*Partition_SpatialPartition) String
func (x *Partition_SpatialPartition) String() stringPartition_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.Timestampfunc (*Partition_TemporalPartition) GetStartTime
func (x *Partition_TemporalPartition) GetStartTime() *timestamppb.Timestampfunc (*Partition_TemporalPartition) ProtoMessage
func (*Partition_TemporalPartition) ProtoMessage()func (*Partition_TemporalPartition) ProtoReflect
func (x *Partition_TemporalPartition) ProtoReflect() protoreflect.Messagefunc (*Partition_TemporalPartition) Reset
func (x *Partition_TemporalPartition) Reset()func (*Partition_TemporalPartition) String
func (x *Partition_TemporalPartition) String() stringPersonBlurConfig
type PersonBlurConfig struct {
// Person blur type.
PersonBlurType PersonBlurConfig_PersonBlurType `protobuf:"varint,1,opt,name=person_blur_type,json=personBlurType,proto3,enum=google.cloud.visionai.v1.PersonBlurConfig_PersonBlurType" json:"person_blur_type,omitempty"`
// Whether only blur faces other than the whole object in the processor.
FacesOnly bool `protobuf:"varint,2,opt,name=faces_only,json=facesOnly,proto3" json:"faces_only,omitempty"`
// contains filtered or unexported fields
}Message describing FaceBlurConfig.
func (*PersonBlurConfig) Descriptor
func (*PersonBlurConfig) Descriptor() ([]byte, []int)Deprecated: Use PersonBlurConfig.ProtoReflect.Descriptor instead.
func (*PersonBlurConfig) GetFacesOnly
func (x *PersonBlurConfig) GetFacesOnly() boolfunc (*PersonBlurConfig) GetPersonBlurType
func (x *PersonBlurConfig) GetPersonBlurType() PersonBlurConfig_PersonBlurTypefunc (*PersonBlurConfig) ProtoMessage
func (*PersonBlurConfig) ProtoMessage()func (*PersonBlurConfig) ProtoReflect
func (x *PersonBlurConfig) ProtoReflect() protoreflect.Messagefunc (*PersonBlurConfig) Reset
func (x *PersonBlurConfig) Reset()func (*PersonBlurConfig) String
func (x *PersonBlurConfig) String() stringPersonBlurConfig_PersonBlurType
type PersonBlurConfig_PersonBlurType int32Type 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.EnumDescriptorfunc (PersonBlurConfig_PersonBlurType) Enum
func (x PersonBlurConfig_PersonBlurType) Enum() *PersonBlurConfig_PersonBlurTypefunc (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.EnumNumberfunc (PersonBlurConfig_PersonBlurType) String
func (x PersonBlurConfig_PersonBlurType) String() stringfunc (PersonBlurConfig_PersonBlurType) Type
func (PersonBlurConfig_PersonBlurType) Type() protoreflect.EnumTypePersonVehicleDetectionConfig
type PersonVehicleDetectionConfig struct {
// At least one of enable_people_counting and enable_vehicle_counting fields
// must be set to true.
// Whether to count the appearances of people, output counts have 'people' as
// the key.
EnablePeopleCounting bool `protobuf:"varint,1,opt,name=enable_people_counting,json=enablePeopleCounting,proto3" json:"enable_people_counting,omitempty"`
// Whether to count the appearances of vehicles, output counts will have
// 'vehicle' as the key.
EnableVehicleCounting bool `protobuf:"varint,2,opt,name=enable_vehicle_counting,json=enableVehicleCounting,proto3" json:"enable_vehicle_counting,omitempty"`
// contains filtered or unexported fields
}Message describing PersonVehicleDetectionConfig.
func (*PersonVehicleDetectionConfig) Descriptor
func (*PersonVehicleDetectionConfig) Descriptor() ([]byte, []int)Deprecated: Use PersonVehicleDetectionConfig.ProtoReflect.Descriptor instead.
func (*PersonVehicleDetectionConfig) GetEnablePeopleCounting
func (x *PersonVehicleDetectionConfig) GetEnablePeopleCounting() boolfunc (*PersonVehicleDetectionConfig) GetEnableVehicleCounting
func (x *PersonVehicleDetectionConfig) GetEnableVehicleCounting() boolfunc (*PersonVehicleDetectionConfig) ProtoMessage
func (*PersonVehicleDetectionConfig) ProtoMessage()func (*PersonVehicleDetectionConfig) ProtoReflect
func (x *PersonVehicleDetectionConfig) ProtoReflect() protoreflect.Messagefunc (*PersonVehicleDetectionConfig) Reset
func (x *PersonVehicleDetectionConfig) Reset()func (*PersonVehicleDetectionConfig) String
func (x *PersonVehicleDetectionConfig) String() stringPersonalProtectiveEquipmentDetectionConfig
type PersonalProtectiveEquipmentDetectionConfig struct {
// Whether to enable face coverage detection.
EnableFaceCoverageDetection bool `protobuf:"varint,1,opt,name=enable_face_coverage_detection,json=enableFaceCoverageDetection,proto3" json:"enable_face_coverage_detection,omitempty"`
// Whether to enable head coverage detection.
EnableHeadCoverageDetection bool `protobuf:"varint,2,opt,name=enable_head_coverage_detection,json=enableHeadCoverageDetection,proto3" json:"enable_head_coverage_detection,omitempty"`
// Whether to enable hands coverage detection.
EnableHandsCoverageDetection bool `protobuf:"varint,3,opt,name=enable_hands_coverage_detection,json=enableHandsCoverageDetection,proto3" json:"enable_hands_coverage_detection,omitempty"`
// contains filtered or unexported fields
}Message describing PersonalProtectiveEquipmentDetectionConfig.
func (*PersonalProtectiveEquipmentDetectionConfig) Descriptor
func (*PersonalProtectiveEquipmentDetectionConfig) Descriptor() ([]byte, []int)Deprecated: Use PersonalProtectiveEquipmentDetectionConfig.ProtoReflect.Descriptor instead.
func (*PersonalProtectiveEquipmentDetectionConfig) GetEnableFaceCoverageDetection
func (x *PersonalProtectiveEquipmentDetectionConfig) GetEnableFaceCoverageDetection() boolfunc (*PersonalProtectiveEquipmentDetectionConfig) GetEnableHandsCoverageDetection
func (x *PersonalProtectiveEquipmentDetectionConfig) GetEnableHandsCoverageDetection() boolfunc (*PersonalProtectiveEquipmentDetectionConfig) GetEnableHeadCoverageDetection
func (x *PersonalProtectiveEquipmentDetectionConfig) GetEnableHeadCoverageDetection() boolfunc (*PersonalProtectiveEquipmentDetectionConfig) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionConfig) ProtoMessage()func (*PersonalProtectiveEquipmentDetectionConfig) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionConfig) ProtoReflect() protoreflect.Messagefunc (*PersonalProtectiveEquipmentDetectionConfig) Reset
func (x *PersonalProtectiveEquipmentDetectionConfig) Reset()func (*PersonalProtectiveEquipmentDetectionConfig) String
func (x *PersonalProtectiveEquipmentDetectionConfig) String() stringPersonalProtectiveEquipmentDetectionOutput
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.Timestampfunc (*PersonalProtectiveEquipmentDetectionOutput) GetDetectedPersons
func (x *PersonalProtectiveEquipmentDetectionOutput) GetDetectedPersons() []*PersonalProtectiveEquipmentDetectionOutput_DetectedPersonfunc (*PersonalProtectiveEquipmentDetectionOutput) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionOutput) ProtoMessage()func (*PersonalProtectiveEquipmentDetectionOutput) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionOutput) ProtoReflect() protoreflect.Messagefunc (*PersonalProtectiveEquipmentDetectionOutput) Reset
func (x *PersonalProtectiveEquipmentDetectionOutput) Reset()func (*PersonalProtectiveEquipmentDetectionOutput) String
func (x *PersonalProtectiveEquipmentDetectionOutput) String() stringPersonalProtectiveEquipmentDetectionOutput_DetectedPerson
type PersonalProtectiveEquipmentDetectionOutput_DetectedPerson struct {
// The id of detected person.
PersonId int64 `protobuf:"varint,1,opt,name=person_id,json=personId,proto3" json:"person_id,omitempty"`
// The info of detected person identified box.
DetectedPersonIdentifiedBox *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox `protobuf:"bytes,2,opt,name=detected_person_identified_box,json=detectedPersonIdentifiedBox,proto3" json:"detected_person_identified_box,omitempty"`
// The info of detected person associated ppe identified boxes.
DetectedPpeIdentifiedBoxes []*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox `protobuf:"bytes,3,rep,name=detected_ppe_identified_boxes,json=detectedPpeIdentifiedBoxes,proto3" json:"detected_ppe_identified_boxes,omitempty"`
// Coverage score for each body part.
// Coverage score for face.
FaceCoverageScore *float32 `protobuf:"fixed32,4,opt,name=face_coverage_score,json=faceCoverageScore,proto3,oneof" json:"face_coverage_score,omitempty"`
// Coverage score for eyes.
EyesCoverageScore *float32 `protobuf:"fixed32,5,opt,name=eyes_coverage_score,json=eyesCoverageScore,proto3,oneof" json:"eyes_coverage_score,omitempty"`
// Coverage score for head.
HeadCoverageScore *float32 `protobuf:"fixed32,6,opt,name=head_coverage_score,json=headCoverageScore,proto3,oneof" json:"head_coverage_score,omitempty"`
// Coverage score for hands.
HandsCoverageScore *float32 `protobuf:"fixed32,7,opt,name=hands_coverage_score,json=handsCoverageScore,proto3,oneof" json:"hands_coverage_score,omitempty"`
// Coverage score for body.
BodyCoverageScore *float32 `protobuf:"fixed32,8,opt,name=body_coverage_score,json=bodyCoverageScore,proto3,oneof" json:"body_coverage_score,omitempty"`
// Coverage score for feet.
FeetCoverageScore *float32 `protobuf:"fixed32,9,opt,name=feet_coverage_score,json=feetCoverageScore,proto3,oneof" json:"feet_coverage_score,omitempty"`
// contains filtered or unexported fields
}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() float32func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetDetectedPersonIdentifiedBox
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetDetectedPersonIdentifiedBox() *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBoxfunc (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetDetectedPpeIdentifiedBoxes
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetDetectedPpeIdentifiedBoxes() []*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBoxfunc (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetEyesCoverageScore
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetEyesCoverageScore() float32func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetFaceCoverageScore
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetFaceCoverageScore() float32func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetFeetCoverageScore
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetFeetCoverageScore() float32func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetHandsCoverageScore
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetHandsCoverageScore() float32func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetHeadCoverageScore
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetHeadCoverageScore() float32func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetPersonId
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetPersonId() int64func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) ProtoMessage()func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) ProtoReflect() protoreflect.Messagefunc (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) Reset
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) Reset()func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) String
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) String() stringPersonalProtectiveEquipmentDetectionOutput_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() float32func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetWidth
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetWidth() float32func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetXmin
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetXmin() float32func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetYmin
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetYmin() float32func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) ProtoMessage()func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) ProtoReflect() protoreflect.Messagefunc (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) Reset
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) Reset()func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) String
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) String() stringPersonalProtectiveEquipmentDetectionOutput_PPEEntity
type PersonalProtectiveEquipmentDetectionOutput_PPEEntity struct {
// Label id.
PpeLabelId int64 `protobuf:"varint,1,opt,name=ppe_label_id,json=ppeLabelId,proto3" json:"ppe_label_id,omitempty"`
// Human readable string of the label (Examples: helmet, glove, mask).
PpeLabelString string `protobuf:"bytes,2,opt,name=ppe_label_string,json=ppeLabelString,proto3" json:"ppe_label_string,omitempty"`
// Human readable string of the super category label (Examples: head_cover,
// hands_cover, face_cover).
PpeSupercategoryLabelString string `protobuf:"bytes,3,opt,name=ppe_supercategory_label_string,json=ppeSupercategoryLabelString,proto3" json:"ppe_supercategory_label_string,omitempty"`
// Entity id.
PpeEntityId int64 `protobuf:"varint,4,opt,name=ppe_entity_id,json=ppeEntityId,proto3" json:"ppe_entity_id,omitempty"`
// contains filtered or unexported fields
}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() int64func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeLabelId
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeLabelId() int64func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeLabelString
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeLabelString() stringfunc (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeSupercategoryLabelString
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeSupercategoryLabelString() stringfunc (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) ProtoMessage()func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) ProtoReflect() protoreflect.Messagefunc (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) Reset
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) Reset()func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) String
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) String() stringPersonalProtectiveEquipmentDetectionOutput_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() int64func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetConfidenceScore
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetConfidenceScore() float32func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetNormalizedBoundingBox
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetNormalizedBoundingBox() *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBoxfunc (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetPpeEntity
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetPpeEntity() *PersonalProtectiveEquipmentDetectionOutput_PPEEntityfunc (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) ProtoMessage()func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) ProtoReflect() protoreflect.Messagefunc (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) Reset
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) Reset()func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) String
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) String() stringPersonalProtectiveEquipmentDetectionOutput_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() int64func (*PersonalProtectiveEquipmentDetectionOutput_PersonEntity) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionOutput_PersonEntity) ProtoMessage()func (*PersonalProtectiveEquipmentDetectionOutput_PersonEntity) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonEntity) ProtoReflect() protoreflect.Messagefunc (*PersonalProtectiveEquipmentDetectionOutput_PersonEntity) Reset
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonEntity) Reset()func (*PersonalProtectiveEquipmentDetectionOutput_PersonEntity) String
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonEntity) String() stringPersonalProtectiveEquipmentDetectionOutput_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() int64func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetConfidenceScore
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetConfidenceScore() float32func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetNormalizedBoundingBox
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetNormalizedBoundingBox() *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBoxfunc (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetPersonEntity
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetPersonEntity() *PersonalProtectiveEquipmentDetectionOutput_PersonEntityfunc (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) ProtoMessage
func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) ProtoMessage()func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) ProtoReflect
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) ProtoReflect() protoreflect.Messagefunc (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) Reset
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) Reset()func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) String
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) String() stringProcess
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.Timestampfunc (*Process) GetEventId
func (*Process) GetName
func (*Process) GetRetryCount
func (*Process) GetRunMode
func (*Process) GetRunStatus
func (*Process) GetUpdateTime
func (x *Process) GetUpdateTime() *timestamppb.Timestampfunc (*Process) ProtoMessage
func (*Process) ProtoMessage()func (*Process) ProtoReflect
func (x *Process) ProtoReflect() protoreflect.Messagefunc (*Process) Reset
func (x *Process) Reset()func (*Process) String
Processor
type Processor struct {
// name of resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. [Output only] Create timestamp.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. [Output only] Update timestamp.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Labels as key value pairs.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Required. A user friendly display name for the processor.
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Illustrative sentences for describing the functionality of the processor.
Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
// Output only. Processor Type.
ProcessorType Processor_ProcessorType `protobuf:"varint,6,opt,name=processor_type,json=processorType,proto3,enum=google.cloud.visionai.v1.Processor_ProcessorType" json:"processor_type,omitempty"`
// Model Type.
ModelType ModelType `protobuf:"varint,13,opt,name=model_type,json=modelType,proto3,enum=google.cloud.visionai.v1.ModelType" json:"model_type,omitempty"`
// Source info for customer created processor.
CustomProcessorSourceInfo *CustomProcessorSourceInfo `protobuf:"bytes,7,opt,name=custom_processor_source_info,json=customProcessorSourceInfo,proto3" json:"custom_processor_source_info,omitempty"`
// Output only. State of the Processor.
State Processor_ProcessorState `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.visionai.v1.Processor_ProcessorState" json:"state,omitempty"`
// Output only. [Output only] The input / output specifications of a
// processor, each type of processor has fixed input / output specs which
// cannot be altered by customer.
ProcessorIoSpec *ProcessorIOSpec `protobuf:"bytes,11,opt,name=processor_io_spec,json=processorIoSpec,proto3" json:"processor_io_spec,omitempty"`
// Output only. The corresponding configuration can be used in the Application
// to customize the behavior of the processor.
ConfigurationTypeurl string `protobuf:"bytes,14,opt,name=configuration_typeurl,json=configurationTypeurl,proto3" json:"configuration_typeurl,omitempty"`
SupportedAnnotationTypes []StreamAnnotationType `protobuf:"varint,15,rep,packed,name=supported_annotation_types,json=supportedAnnotationTypes,proto3,enum=google.cloud.visionai.v1.StreamAnnotationType" json:"supported_annotation_types,omitempty"`
// Indicates if the processor supports post processing.
SupportsPostProcessing bool `protobuf:"varint,17,opt,name=supports_post_processing,json=supportsPostProcessing,proto3" json:"supports_post_processing,omitempty"`
// Which instance types this processor supports; if empty, this default to
// STREAMING_PREDICTION.
SupportedInstanceTypes []Instance_InstanceType `protobuf:"varint,18,rep,packed,name=supported_instance_types,json=supportedInstanceTypes,proto3,enum=google.cloud.visionai.v1.Instance_InstanceType" json:"supported_instance_types,omitempty"`
// contains filtered or unexported fields
}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.Timestampfunc (*Processor) GetCustomProcessorSourceInfo
func (x *Processor) GetCustomProcessorSourceInfo() *CustomProcessorSourceInfofunc (*Processor) GetDescription
func (*Processor) GetDisplayName
func (*Processor) GetLabels
func (*Processor) GetModelType
func (*Processor) GetName
func (*Processor) GetProcessorIoSpec
func (x *Processor) GetProcessorIoSpec() *ProcessorIOSpecfunc (*Processor) GetProcessorType
func (x *Processor) GetProcessorType() Processor_ProcessorTypefunc (*Processor) GetState
func (x *Processor) GetState() Processor_ProcessorStatefunc (*Processor) GetSupportedAnnotationTypes
func (x *Processor) GetSupportedAnnotationTypes() []StreamAnnotationTypefunc (*Processor) GetSupportedInstanceTypes
func (x *Processor) GetSupportedInstanceTypes() []Instance_InstanceTypefunc (*Processor) GetSupportsPostProcessing
func (*Processor) GetUpdateTime
func (x *Processor) GetUpdateTime() *timestamppb.Timestampfunc (*Processor) ProtoMessage
func (*Processor) ProtoMessage()func (*Processor) ProtoReflect
func (x *Processor) ProtoReflect() protoreflect.Messagefunc (*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() *AIEnabledDevicesInputConfigfunc (*ProcessorConfig) GetBigQueryConfig
func (x *ProcessorConfig) GetBigQueryConfig() *BigQueryConfigfunc (*ProcessorConfig) GetExperimentalConfig
func (x *ProcessorConfig) GetExperimentalConfig() *structpb.Structfunc (*ProcessorConfig) GetGcsOutputConfig
func (x *ProcessorConfig) GetGcsOutputConfig() *GcsOutputConfigfunc (*ProcessorConfig) GetGeneralObjectDetectionConfig
func (x *ProcessorConfig) GetGeneralObjectDetectionConfig() *GeneralObjectDetectionConfigfunc (*ProcessorConfig) GetMediaWarehouseConfig
func (x *ProcessorConfig) GetMediaWarehouseConfig() *MediaWarehouseConfigfunc (*ProcessorConfig) GetOccupancyCountConfig
func (x *ProcessorConfig) GetOccupancyCountConfig() *OccupancyCountConfigfunc (*ProcessorConfig) GetPersonBlurConfig
func (x *ProcessorConfig) GetPersonBlurConfig() *PersonBlurConfigfunc (*ProcessorConfig) GetPersonVehicleDetectionConfig
func (x *ProcessorConfig) GetPersonVehicleDetectionConfig() *PersonVehicleDetectionConfigfunc (*ProcessorConfig) GetPersonalProtectiveEquipmentDetectionConfig
func (x *ProcessorConfig) GetPersonalProtectiveEquipmentDetectionConfig() *PersonalProtectiveEquipmentDetectionConfigfunc (*ProcessorConfig) GetProcessorConfig
func (m *ProcessorConfig) GetProcessorConfig() isProcessorConfig_ProcessorConfigfunc (*ProcessorConfig) GetProductRecognizerConfig
func (x *ProcessorConfig) GetProductRecognizerConfig() *ProductRecognizerConfigfunc (*ProcessorConfig) GetTagRecognizerConfig
func (x *ProcessorConfig) GetTagRecognizerConfig() *TagRecognizerConfigfunc (*ProcessorConfig) GetUniversalInputConfig
func (x *ProcessorConfig) GetUniversalInputConfig() *UniversalInputConfigfunc (*ProcessorConfig) GetVertexAutomlVideoConfig
func (x *ProcessorConfig) GetVertexAutomlVideoConfig() *VertexAutoMLVideoConfigfunc (*ProcessorConfig) GetVertexAutomlVisionConfig
func (x *ProcessorConfig) GetVertexAutomlVisionConfig() *VertexAutoMLVisionConfigfunc (*ProcessorConfig) GetVertexCustomConfig
func (x *ProcessorConfig) GetVertexCustomConfig() *VertexCustomConfigfunc (*ProcessorConfig) GetVideoStreamInputConfig
func (x *ProcessorConfig) GetVideoStreamInputConfig() *VideoStreamInputConfigfunc (*ProcessorConfig) ProtoMessage
func (*ProcessorConfig) ProtoMessage()func (*ProcessorConfig) ProtoReflect
func (x *ProcessorConfig) ProtoReflect() protoreflect.Messagefunc (*ProcessorConfig) Reset
func (x *ProcessorConfig) Reset()func (*ProcessorConfig) String
func (x *ProcessorConfig) String() stringProcessorConfig_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 {
// Configs of personal_protective_equipment_detection_config
PersonalProtectiveEquipmentDetectionConfig *PersonalProtectiveEquipmentDetectionConfig `protobuf:"bytes,22,opt,name=personal_protective_equipment_detection_config,json=personalProtectiveEquipmentDetectionConfig,proto3,oneof"`
}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 {
// For processors with input_channel_specs, the processor must be explicitly
// connected to another processor.
GraphInputChannelSpecs []*ProcessorIOSpec_GraphInputChannelSpec `protobuf:"bytes,3,rep,name=graph_input_channel_specs,json=graphInputChannelSpecs,proto3" json:"graph_input_channel_specs,omitempty"`
// The output artifact specifications for the current processor.
GraphOutputChannelSpecs []*ProcessorIOSpec_GraphOutputChannelSpec `protobuf:"bytes,4,rep,name=graph_output_channel_specs,json=graphOutputChannelSpecs,proto3" json:"graph_output_channel_specs,omitempty"`
// The input resource that needs to be fed from the application instance.
InstanceResourceInputBindingSpecs []*ProcessorIOSpec_InstanceResourceInputBindingSpec `protobuf:"bytes,5,rep,name=instance_resource_input_binding_specs,json=instanceResourceInputBindingSpecs,proto3" json:"instance_resource_input_binding_specs,omitempty"`
// The output resource that the processor will generate per instance.
// Other than the explicitly listed output bindings here, all the processors'
// GraphOutputChannels can be binded to stream resource. The bind name then is
// the same as the GraphOutputChannel's name.
InstanceResourceOutputBindingSpecs []*ProcessorIOSpec_InstanceResourceOutputBindingSpec `protobuf:"bytes,6,rep,name=instance_resource_output_binding_specs,json=instanceResourceOutputBindingSpecs,proto3" json:"instance_resource_output_binding_specs,omitempty"`
// contains filtered or unexported fields
}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_GraphInputChannelSpecfunc (*ProcessorIOSpec) GetGraphOutputChannelSpecs
func (x *ProcessorIOSpec) GetGraphOutputChannelSpecs() []*ProcessorIOSpec_GraphOutputChannelSpecfunc (*ProcessorIOSpec) GetInstanceResourceInputBindingSpecs
func (x *ProcessorIOSpec) GetInstanceResourceInputBindingSpecs() []*ProcessorIOSpec_InstanceResourceInputBindingSpecfunc (*ProcessorIOSpec) GetInstanceResourceOutputBindingSpecs
func (x *ProcessorIOSpec) GetInstanceResourceOutputBindingSpecs() []*ProcessorIOSpec_InstanceResourceOutputBindingSpecfunc (*ProcessorIOSpec) ProtoMessage
func (*ProcessorIOSpec) ProtoMessage()func (*ProcessorIOSpec) ProtoReflect
func (x *ProcessorIOSpec) ProtoReflect() protoreflect.Messagefunc (*ProcessorIOSpec) Reset
func (x *ProcessorIOSpec) Reset()func (*ProcessorIOSpec) String
func (x *ProcessorIOSpec) String() stringProcessorIOSpec_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() []stringfunc (*ProcessorIOSpec_GraphInputChannelSpec) GetDataType
func (x *ProcessorIOSpec_GraphInputChannelSpec) GetDataType() DataTypefunc (*ProcessorIOSpec_GraphInputChannelSpec) GetMaxConnectionAllowed
func (x *ProcessorIOSpec_GraphInputChannelSpec) GetMaxConnectionAllowed() int64