Enum value maps for StreamAnnotationType.
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 Cluster_State.
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 ModelType.
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", } 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, } )
Enum value maps for AcceleratorType.
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 Application_State.
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 Instance_State.
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", } 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, } )
Enum value maps for Processor_ProcessorType.
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_ProcessorState.
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 ProcessorIOSpec_DataType.
var ( ProcessorIOSpec_DataType_name = map[int32]string{ 0: "DATA_TYPE_UNSPECIFIED", 1: "VIDEO", 2: "PROTO", } ProcessorIOSpec_DataType_value = map[string]int32{ "DATA_TYPE_UNSPECIFIED": 0, "VIDEO": 1, "PROTO": 2, } )
Enum value maps for CustomProcessorSourceInfo_SourceType.
var ( CustomProcessorSourceInfo_SourceType_name = map[int32]string{ 0: "SOURCE_TYPE_UNSPECIFIED", 1: "VERTEX_AUTOML", 2: "VERTEX_CUSTOM", } CustomProcessorSourceInfo_SourceType_value = map[string]int32{ "SOURCE_TYPE_UNSPECIFIED": 0, "VERTEX_AUTOML": 1, "VERTEX_CUSTOM": 2, } )
Enum value maps for PersonBlurConfig_PersonBlurType.
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 LeaseType.
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 Event_Clock.
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 FacetBucketType.
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 DataSchemaDetails_DataType.
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", } 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, } )
Enum value maps for DataSchemaDetails_Granularity.
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_SearchStrategy_SearchStrategyType.
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 FacetProperty_DateTimeBucketSpec_Granularity.
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 IngestAssetRequest_Config_VideoType_ContainerFormat.
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, } )
var File_google_cloud_visionai_v1_annotations_proto protoreflect.FileDescriptor
var File_google_cloud_visionai_v1_common_proto protoreflect.FileDescriptor
var File_google_cloud_visionai_v1_lva_proto protoreflect.FileDescriptor
var File_google_cloud_visionai_v1_lva_resources_proto protoreflect.FileDescriptor
var File_google_cloud_visionai_v1_lva_service_proto protoreflect.FileDescriptor
var File_google_cloud_visionai_v1_platform_proto protoreflect.FileDescriptor
var File_google_cloud_visionai_v1_streaming_resources_proto protoreflect.FileDescriptor
var File_google_cloud_visionai_v1_streaming_service_proto protoreflect.FileDescriptor
var File_google_cloud_visionai_v1_streams_resources_proto protoreflect.FileDescriptor
var File_google_cloud_visionai_v1_streams_service_proto protoreflect.FileDescriptor
var File_google_cloud_visionai_v1_warehouse_proto protoreflect.FileDescriptor
func RegisterAppPlatformServer(s *grpc.Server, srv AppPlatformServer)
func RegisterLiveVideoAnalyticsServer(s *grpc.Server, srv LiveVideoAnalyticsServer)
func RegisterStreamingServiceServer(s *grpc.Server, srv StreamingServiceServer)
func RegisterStreamsServiceServer(s *grpc.Server, srv StreamsServiceServer)
func RegisterWarehouseServer(s *grpc.Server, srv WarehouseServer)
Message describing AI-enabled Devices Input Config.
type AIEnabledDevicesInputConfig struct {
// contains filtered or unexported fields
}
func (*AIEnabledDevicesInputConfig) Descriptor() ([]byte, []int)
Deprecated: Use AIEnabledDevicesInputConfig.ProtoReflect.Descriptor instead.
func (*AIEnabledDevicesInputConfig) ProtoMessage()
func (x *AIEnabledDevicesInputConfig) ProtoReflect() protoreflect.Message
func (x *AIEnabledDevicesInputConfig) Reset()
func (x *AIEnabledDevicesInputConfig) String() string
Represents a hardware accelerator type.
type AcceleratorType int32
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() protoreflect.EnumDescriptor
func (x AcceleratorType) Enum() *AcceleratorType
func (AcceleratorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AcceleratorType.Descriptor instead.
func (x AcceleratorType) Number() protoreflect.EnumNumber
func (x AcceleratorType) String() string
func (AcceleratorType) Type() protoreflect.EnumType
Request message for acquiring a lease.
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 }
func (*AcquireLeaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use AcquireLeaseRequest.ProtoReflect.Descriptor instead.
func (x *AcquireLeaseRequest) GetLeaseType() LeaseType
func (x *AcquireLeaseRequest) GetOwner() string
func (x *AcquireLeaseRequest) GetSeries() string
func (x *AcquireLeaseRequest) GetTerm() *durationpb.Duration
func (*AcquireLeaseRequest) ProtoMessage()
func (x *AcquireLeaseRequest) ProtoReflect() protoreflect.Message
func (x *AcquireLeaseRequest) Reset()
func (x *AcquireLeaseRequest) String() string
Message for adding stream input to an Application.
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 t // he 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 }
func (*AddApplicationStreamInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddApplicationStreamInputRequest.ProtoReflect.Descriptor instead.
func (x *AddApplicationStreamInputRequest) GetApplicationStreamInputs() []*ApplicationStreamInput
func (x *AddApplicationStreamInputRequest) GetName() string
func (x *AddApplicationStreamInputRequest) GetRequestId() string
func (*AddApplicationStreamInputRequest) ProtoMessage()
func (x *AddApplicationStreamInputRequest) ProtoReflect() protoreflect.Message
func (x *AddApplicationStreamInputRequest) Reset()
func (x *AddApplicationStreamInputRequest) String() string
Message for AddApplicationStreamInput Response.
type AddApplicationStreamInputResponse struct {
// contains filtered or unexported fields
}
func (*AddApplicationStreamInputResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddApplicationStreamInputResponse.ProtoReflect.Descriptor instead.
func (*AddApplicationStreamInputResponse) ProtoMessage()
func (x *AddApplicationStreamInputResponse) ProtoReflect() protoreflect.Message
func (x *AddApplicationStreamInputResponse) Reset()
func (x *AddApplicationStreamInputResponse) String() string
Message describing the Analysis object.
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"` // contains filtered or unexported fields }
func (*Analysis) Descriptor() ([]byte, []int)
Deprecated: Use Analysis.ProtoReflect.Descriptor instead.
func (x *Analysis) GetAnalysisDefinition() *AnalysisDefinition
func (x *Analysis) GetCreateTime() *timestamppb.Timestamp
func (x *Analysis) GetInputStreamsMapping() map[string]string
func (x *Analysis) GetLabels() map[string]string
func (x *Analysis) GetName() string
func (x *Analysis) GetOutputStreamsMapping() map[string]string
func (x *Analysis) GetUpdateTime() *timestamppb.Timestamp
func (*Analysis) ProtoMessage()
func (x *Analysis) ProtoReflect() protoreflect.Message
func (x *Analysis) Reset()
func (x *Analysis) String() string
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).
type AnalysisDefinition struct { // Analyzer definitions. Analyzers []*AnalyzerDefinition `protobuf:"bytes,1,rep,name=analyzers,proto3" json:"analyzers,omitempty"` // contains filtered or unexported fields }
func (*AnalysisDefinition) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisDefinition.ProtoReflect.Descriptor instead.
func (x *AnalysisDefinition) GetAnalyzers() []*AnalyzerDefinition
func (*AnalysisDefinition) ProtoMessage()
func (x *AnalysisDefinition) ProtoReflect() protoreflect.Message
func (x *AnalysisDefinition) Reset()
func (x *AnalysisDefinition) String() string
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.
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"` // contains filtered or unexported fields }
func (*AnalyzerDefinition) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzerDefinition.ProtoReflect.Descriptor instead.
func (x *AnalyzerDefinition) GetAnalyzer() string
func (x *AnalyzerDefinition) GetAttrs() map[string]*AttributeValue
func (x *AnalyzerDefinition) GetDebugOptions() *AnalyzerDefinition_DebugOptions
func (x *AnalyzerDefinition) GetInputs() []*AnalyzerDefinition_StreamInput
func (x *AnalyzerDefinition) GetOperator() string
func (*AnalyzerDefinition) ProtoMessage()
func (x *AnalyzerDefinition) ProtoReflect() protoreflect.Message
func (x *AnalyzerDefinition) Reset()
func (x *AnalyzerDefinition) String() string
Options available for debugging purposes only.
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 }
func (*AnalyzerDefinition_DebugOptions) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzerDefinition_DebugOptions.ProtoReflect.Descriptor instead.
func (x *AnalyzerDefinition_DebugOptions) GetEnvironmentVariables() map[string]string
func (*AnalyzerDefinition_DebugOptions) ProtoMessage()
func (x *AnalyzerDefinition_DebugOptions) ProtoReflect() protoreflect.Message
func (x *AnalyzerDefinition_DebugOptions) Reset()
func (x *AnalyzerDefinition_DebugOptions) String() string
The inputs to this analyzer.
We accept input name references of the following form: <analyzer-name>:<output-argument-name>
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"]
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 }
func (*AnalyzerDefinition_StreamInput) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzerDefinition_StreamInput.ProtoReflect.Descriptor instead.
func (x *AnalyzerDefinition_StreamInput) GetInput() string
func (*AnalyzerDefinition_StreamInput) ProtoMessage()
func (x *AnalyzerDefinition_StreamInput) ProtoReflect() protoreflect.Message
func (x *AnalyzerDefinition_StreamInput) Reset()
func (x *AnalyzerDefinition_StreamInput) String() string
An annotation is a resource in asset. It represents a key-value mapping of content in asset.
type Annotation struct { // Resource name of the annotation. // Form: // `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 }
func (*Annotation) Descriptor() ([]byte, []int)
Deprecated: Use Annotation.ProtoReflect.Descriptor instead.
func (x *Annotation) GetName() string
func (x *Annotation) GetUserSpecifiedAnnotation() *UserSpecifiedAnnotation
func (*Annotation) ProtoMessage()
func (x *Annotation) ProtoReflect() protoreflect.Message
func (x *Annotation) Reset()
func (x *Annotation) String() string
Stores the criteria-annotation matching results for each search result item.
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 }
func (*AnnotationMatchingResult) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationMatchingResult.ProtoReflect.Descriptor instead.
func (x *AnnotationMatchingResult) GetCriteria() *Criteria
func (x *AnnotationMatchingResult) GetMatchedAnnotations() []*Annotation
func (x *AnnotationMatchingResult) GetStatus() *status.Status
func (*AnnotationMatchingResult) ProtoMessage()
func (x *AnnotationMatchingResult) ProtoReflect() protoreflect.Message
func (x *AnnotationMatchingResult) Reset()
func (x *AnnotationMatchingResult) String() string
Value of annotation, including all types available in data schema.
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 Value isAnnotationValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*AnnotationValue) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationValue.ProtoReflect.Descriptor instead.
func (x *AnnotationValue) GetBoolValue() bool
func (x *AnnotationValue) GetCustomizedStructDataValue() *structpb.Struct
func (x *AnnotationValue) GetDatetimeValue() string
func (x *AnnotationValue) GetFloatValue() float32
func (x *AnnotationValue) GetGeoCoordinate() *GeoCoordinate
func (x *AnnotationValue) GetIntValue() int64
func (x *AnnotationValue) GetProtoAnyValue() *anypb.Any
func (x *AnnotationValue) GetStrValue() string
func (m *AnnotationValue) GetValue() isAnnotationValue_Value
func (*AnnotationValue) ProtoMessage()
func (x *AnnotationValue) ProtoReflect() protoreflect.Message
func (x *AnnotationValue) Reset()
func (x *AnnotationValue) String() string
type AnnotationValue_BoolValue struct { // Value of boolean type annotation. BoolValue bool `protobuf:"varint,9,opt,name=bool_value,json=boolValue,proto3,oneof"` }
type AnnotationValue_CustomizedStructDataValue struct { // Value of customized struct annotation. CustomizedStructDataValue *structpb.Struct `protobuf:"bytes,10,opt,name=customized_struct_data_value,json=customizedStructDataValue,proto3,oneof"` }
type AnnotationValue_DatetimeValue struct { // Value of date time type annotation. DatetimeValue string `protobuf:"bytes,5,opt,name=datetime_value,json=datetimeValue,proto3,oneof"` }
type AnnotationValue_FloatValue struct { // Value of float type annotation. FloatValue float32 `protobuf:"fixed32,2,opt,name=float_value,json=floatValue,proto3,oneof"` }
type AnnotationValue_GeoCoordinate struct { // Value of geo coordinate type annotation. GeoCoordinate *GeoCoordinate `protobuf:"bytes,7,opt,name=geo_coordinate,json=geoCoordinate,proto3,oneof"` }
type AnnotationValue_IntValue struct { // Value of int type annotation. IntValue int64 `protobuf:"varint,1,opt,name=int_value,json=intValue,proto3,oneof"` }
type AnnotationValue_ProtoAnyValue struct { // Value of any proto value. ProtoAnyValue *anypb.Any `protobuf:"bytes,8,opt,name=proto_any_value,json=protoAnyValue,proto3,oneof"` }
type AnnotationValue_StrValue struct { // Value of string type annotation. StrValue string `protobuf:"bytes,3,opt,name=str_value,json=strValue,proto3,oneof"` }
AppPlatformClient is the client API for AppPlatform service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
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) (*longrunning.Operation, error) // Updates the parameters of a single Application. UpdateApplication(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deletes a single Application. DeleteApplication(ctx context.Context, in *DeleteApplicationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deploys a single Application. DeployApplication(ctx context.Context, in *DeployApplicationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Undeploys a single Application. UndeployApplication(ctx context.Context, in *UndeployApplicationRequest, opts ...grpc.CallOption) (*longrunning.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) (*longrunning.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) (*longrunning.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) (*longrunning.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) (*longrunning.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) (*longrunning.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) (*longrunning.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) (*longrunning.Operation, error) // Updates the parameters of a single Draft. UpdateDraft(ctx context.Context, in *UpdateDraftRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deletes a single Draft. DeleteDraft(ctx context.Context, in *DeleteDraftRequest, opts ...grpc.CallOption) (*longrunning.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) (*longrunning.Operation, error) // Updates the parameters of a single Processor. UpdateProcessor(ctx context.Context, in *UpdateProcessorRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deletes a single Processor. DeleteProcessor(ctx context.Context, in *DeleteProcessorRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) }
func NewAppPlatformClient(cc grpc.ClientConnInterface) AppPlatformClient
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.
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 }
func (*AppPlatformCloudFunctionRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppPlatformCloudFunctionRequest.ProtoReflect.Descriptor instead.
func (x *AppPlatformCloudFunctionRequest) GetAnnotations() []*AppPlatformCloudFunctionRequest_StructedInputAnnotation
func (x *AppPlatformCloudFunctionRequest) GetAppPlatformMetadata() *AppPlatformMetadata
func (*AppPlatformCloudFunctionRequest) ProtoMessage()
func (x *AppPlatformCloudFunctionRequest) ProtoReflect() protoreflect.Message
func (x *AppPlatformCloudFunctionRequest) Reset()
func (x *AppPlatformCloudFunctionRequest) String() string
A general annotation message that uses struct format to represent different concrete annotation protobufs.
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 }
func (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use AppPlatformCloudFunctionRequest_StructedInputAnnotation.ProtoReflect.Descriptor instead.
func (x *AppPlatformCloudFunctionRequest_StructedInputAnnotation) GetAnnotation() *structpb.Struct
func (x *AppPlatformCloudFunctionRequest_StructedInputAnnotation) GetIngestionTimeMicros() int64
func (*AppPlatformCloudFunctionRequest_StructedInputAnnotation) ProtoMessage()
func (x *AppPlatformCloudFunctionRequest_StructedInputAnnotation) ProtoReflect() protoreflect.Message
func (x *AppPlatformCloudFunctionRequest_StructedInputAnnotation) Reset()
func (x *AppPlatformCloudFunctionRequest_StructedInputAnnotation) String() string
Message of the response from customer's Cloud Function to AppPlatform.
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 }
func (*AppPlatformCloudFunctionResponse) Descriptor() ([]byte, []int)
Deprecated: Use AppPlatformCloudFunctionResponse.ProtoReflect.Descriptor instead.
func (x *AppPlatformCloudFunctionResponse) GetAnnotationPassthrough() bool
func (x *AppPlatformCloudFunctionResponse) GetAnnotations() []*AppPlatformCloudFunctionResponse_StructedOutputAnnotation
func (x *AppPlatformCloudFunctionResponse) GetEvents() []*AppPlatformEventBody
func (*AppPlatformCloudFunctionResponse) ProtoMessage()
func (x *AppPlatformCloudFunctionResponse) ProtoReflect() protoreflect.Message
func (x *AppPlatformCloudFunctionResponse) Reset()
func (x *AppPlatformCloudFunctionResponse) String() string
A general annotation message that uses struct format to represent different concrete annotation protobufs.
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 }
func (*AppPlatformCloudFunctionResponse_StructedOutputAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use AppPlatformCloudFunctionResponse_StructedOutputAnnotation.ProtoReflect.Descriptor instead.
func (x *AppPlatformCloudFunctionResponse_StructedOutputAnnotation) GetAnnotation() *structpb.Struct
func (*AppPlatformCloudFunctionResponse_StructedOutputAnnotation) ProtoMessage()
func (x *AppPlatformCloudFunctionResponse_StructedOutputAnnotation) ProtoReflect() protoreflect.Message
func (x *AppPlatformCloudFunctionResponse_StructedOutputAnnotation) Reset()
func (x *AppPlatformCloudFunctionResponse_StructedOutputAnnotation) String() string
Message of content of appPlatform event
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 }
func (*AppPlatformEventBody) Descriptor() ([]byte, []int)
Deprecated: Use AppPlatformEventBody.ProtoReflect.Descriptor instead.
func (x *AppPlatformEventBody) GetEventId() string
func (x *AppPlatformEventBody) GetEventMessage() string
func (x *AppPlatformEventBody) GetPayload() *structpb.Struct
func (*AppPlatformEventBody) ProtoMessage()
func (x *AppPlatformEventBody) ProtoReflect() protoreflect.Message
func (x *AppPlatformEventBody) Reset()
func (x *AppPlatformEventBody) String() string
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.
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 }
func (*AppPlatformMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AppPlatformMetadata.ProtoReflect.Descriptor instead.
func (x *AppPlatformMetadata) GetApplication() string
func (x *AppPlatformMetadata) GetInstanceId() string
func (x *AppPlatformMetadata) GetNode() string
func (x *AppPlatformMetadata) GetProcessor() string
func (*AppPlatformMetadata) ProtoMessage()
func (x *AppPlatformMetadata) ProtoReflect() protoreflect.Message
func (x *AppPlatformMetadata) Reset()
func (x *AppPlatformMetadata) String() string
AppPlatformServer is the server API for AppPlatform service.
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) (*longrunning.Operation, error) // Updates the parameters of a single Application. UpdateApplication(context.Context, *UpdateApplicationRequest) (*longrunning.Operation, error) // Deletes a single Application. DeleteApplication(context.Context, *DeleteApplicationRequest) (*longrunning.Operation, error) // Deploys a single Application. DeployApplication(context.Context, *DeployApplicationRequest) (*longrunning.Operation, error) // Undeploys a single Application. UndeployApplication(context.Context, *UndeployApplicationRequest) (*longrunning.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) (*longrunning.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) (*longrunning.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) (*longrunning.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) (*longrunning.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) (*longrunning.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) (*longrunning.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) (*longrunning.Operation, error) // Updates the parameters of a single Draft. UpdateDraft(context.Context, *UpdateDraftRequest) (*longrunning.Operation, error) // Deletes a single Draft. DeleteDraft(context.Context, *DeleteDraftRequest) (*longrunning.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) (*longrunning.Operation, error) // Updates the parameters of a single Processor. UpdateProcessor(context.Context, *UpdateProcessorRequest) (*longrunning.Operation, error) // Deletes a single Processor. DeleteProcessor(context.Context, *DeleteProcessorRequest) (*longrunning.Operation, error) }
Message describing Application object
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"` // contains filtered or unexported fields }
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (x *Application) GetApplicationConfigs() *ApplicationConfigs
func (x *Application) GetCreateTime() *timestamppb.Timestamp
func (x *Application) GetDescription() string
func (x *Application) GetDisplayName() string
func (x *Application) GetLabels() map[string]string
func (x *Application) GetName() string
func (x *Application) GetRuntimeInfo() *Application_ApplicationRuntimeInfo
func (x *Application) GetState() Application_State
func (x *Application) GetUpdateTime() *timestamppb.Timestamp
func (*Application) ProtoMessage()
func (x *Application) ProtoReflect() protoreflect.Message
func (x *Application) Reset()
func (x *Application) String() string
Message storing the graph of the application.
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 }
func (*ApplicationConfigs) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationConfigs.ProtoReflect.Descriptor instead.
func (x *ApplicationConfigs) GetEventDeliveryConfig() *ApplicationConfigs_EventDeliveryConfig
func (x *ApplicationConfigs) GetNodes() []*Node
func (*ApplicationConfigs) ProtoMessage()
func (x *ApplicationConfigs) ProtoReflect() protoreflect.Message
func (x *ApplicationConfigs) Reset()
func (x *ApplicationConfigs) String() string
message storing the config for event delivery
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 <event_id, app_platform_metadata>. MinimalDeliveryInterval *durationpb.Duration `protobuf:"bytes,2,opt,name=minimal_delivery_interval,json=minimalDeliveryInterval,proto3" json:"minimal_delivery_interval,omitempty"` // contains filtered or unexported fields }
func (*ApplicationConfigs_EventDeliveryConfig) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationConfigs_EventDeliveryConfig.ProtoReflect.Descriptor instead.
func (x *ApplicationConfigs_EventDeliveryConfig) GetChannel() string
func (x *ApplicationConfigs_EventDeliveryConfig) GetMinimalDeliveryInterval() *durationpb.Duration
func (*ApplicationConfigs_EventDeliveryConfig) ProtoMessage()
func (x *ApplicationConfigs_EventDeliveryConfig) ProtoReflect() protoreflect.Message
func (x *ApplicationConfigs_EventDeliveryConfig) Reset()
func (x *ApplicationConfigs_EventDeliveryConfig) String() string
Message for creating a Instance.
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 }
func (*ApplicationInstance) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationInstance.ProtoReflect.Descriptor instead.
func (x *ApplicationInstance) GetInstance() *Instance
func (x *ApplicationInstance) GetInstanceId() string
func (*ApplicationInstance) ProtoMessage()
func (x *ApplicationInstance) ProtoReflect() protoreflect.Message
func (x *ApplicationInstance) Reset()
func (x *ApplicationInstance) String() string
Message describing annotations specific to application node. This message is a duplication of StreamWithAnnotation.NodeAnnotation.
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 }
func (*ApplicationNodeAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationNodeAnnotation.ProtoReflect.Descriptor instead.
func (x *ApplicationNodeAnnotation) GetAnnotations() []*StreamAnnotation
func (x *ApplicationNodeAnnotation) GetNode() string
func (*ApplicationNodeAnnotation) ProtoMessage()
func (x *ApplicationNodeAnnotation) ProtoReflect() protoreflect.Message
func (x *ApplicationNodeAnnotation) Reset()
func (x *ApplicationNodeAnnotation) String() string
Message about a single stream input config.
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 }
func (*ApplicationStreamInput) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationStreamInput.ProtoReflect.Descriptor instead.
func (x *ApplicationStreamInput) GetStreamWithAnnotation() *StreamWithAnnotation
func (*ApplicationStreamInput) ProtoMessage()
func (x *ApplicationStreamInput) ProtoReflect() protoreflect.Message
func (x *ApplicationStreamInput) Reset()
func (x *ApplicationStreamInput) String() string
Message storing the runtime information of the application.
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 }
func (*Application_ApplicationRuntimeInfo) Descriptor() ([]byte, []int)
Deprecated: Use Application_ApplicationRuntimeInfo.ProtoReflect.Descriptor instead.
func (x *Application_ApplicationRuntimeInfo) GetDeployTime() *timestamppb.Timestamp
func (x *Application_ApplicationRuntimeInfo) GetGlobalOutputResources() []*Application_ApplicationRuntimeInfo_GlobalOutputResource
func (x *Application_ApplicationRuntimeInfo) GetMonitoringConfig() *Application_ApplicationRuntimeInfo_MonitoringConfig
func (*Application_ApplicationRuntimeInfo) ProtoMessage()
func (x *Application_ApplicationRuntimeInfo) ProtoReflect() protoreflect.Message
func (x *Application_ApplicationRuntimeInfo) Reset()
func (x *Application_ApplicationRuntimeInfo) String() string
Message about output resources from application.
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 }
func (*Application_ApplicationRuntimeInfo_GlobalOutputResource) Descriptor() ([]byte, []int)
Deprecated: Use Application_ApplicationRuntimeInfo_GlobalOutputResource.ProtoReflect.Descriptor instead.
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) GetKey() string
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) GetOutputResource() string
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) GetProducerNode() string
func (*Application_ApplicationRuntimeInfo_GlobalOutputResource) ProtoMessage()
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) ProtoReflect() protoreflect.Message
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) Reset()
func (x *Application_ApplicationRuntimeInfo_GlobalOutputResource) String() string
Monitoring-related configuration for an application.
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 }
func (*Application_ApplicationRuntimeInfo_MonitoringConfig) Descriptor() ([]byte, []int)
Deprecated: Use Application_ApplicationRuntimeInfo_MonitoringConfig.ProtoReflect.Descriptor instead.
func (x *Application_ApplicationRuntimeInfo_MonitoringConfig) GetEnabled() bool
func (*Application_ApplicationRuntimeInfo_MonitoringConfig) ProtoMessage()
func (x *Application_ApplicationRuntimeInfo_MonitoringConfig) ProtoReflect() protoreflect.Message
func (x *Application_ApplicationRuntimeInfo_MonitoringConfig) Reset()
func (x *Application_ApplicationRuntimeInfo_MonitoringConfig) String() string
State of the Application
type Application_State int32
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() protoreflect.EnumDescriptor
func (x Application_State) Enum() *Application_State
func (Application_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Application_State.Descriptor instead.
func (x Application_State) Number() protoreflect.EnumNumber
func (x Application_State) String() string
func (Application_State) Type() protoreflect.EnumType
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.
type Asset struct { // Resource name of the asset. // Form: // `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"` // contains filtered or unexported fields }
func (*Asset) Descriptor() ([]byte, []int)
Deprecated: Use Asset.ProtoReflect.Descriptor instead.
func (x *Asset) GetName() string
func (x *Asset) GetTtl() *durationpb.Duration
func (*Asset) ProtoMessage()
func (x *Asset) ProtoReflect() protoreflect.Message
func (x *Asset) Reset()
func (x *Asset) String() string
Represents an actual value of an operator attribute.
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 }
func (*AttributeValue) Descriptor() ([]byte, []int)
Deprecated: Use AttributeValue.ProtoReflect.Descriptor instead.
func (x *AttributeValue) GetB() bool
func (x *AttributeValue) GetF() float32
func (x *AttributeValue) GetI() int64
func (x *AttributeValue) GetS() []byte
func (m *AttributeValue) GetValue() isAttributeValue_Value
func (*AttributeValue) ProtoMessage()
func (x *AttributeValue) ProtoReflect() protoreflect.Message
func (x *AttributeValue) Reset()
func (x *AttributeValue) String() string
type AttributeValue_B struct { // bool. B bool `protobuf:"varint,3,opt,name=b,proto3,oneof"` }
type AttributeValue_F struct { // float. F float32 `protobuf:"fixed32,2,opt,name=f,proto3,oneof"` }
type AttributeValue_I struct { // int. I int64 `protobuf:"varint,1,opt,name=i,proto3,oneof"` }
type AttributeValue_S struct { // string. S []byte `protobuf:"bytes,4,opt,name=s,proto3,oneof"` }
The metric specification that defines the target resource utilization (CPU utilization, accelerator's duty cycle, and so on) for calculating the desired replica count.
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 }
func (*AutoscalingMetricSpec) Descriptor() ([]byte, []int)
Deprecated: Use AutoscalingMetricSpec.ProtoReflect.Descriptor instead.
func (x *AutoscalingMetricSpec) GetMetricName() string
func (x *AutoscalingMetricSpec) GetTarget() int32
func (*AutoscalingMetricSpec) ProtoMessage()
func (x *AutoscalingMetricSpec) ProtoReflect() protoreflect.Message
func (x *AutoscalingMetricSpec) Reset()
func (x *AutoscalingMetricSpec) String() string
Message of configurations for BigQuery processor.
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 }
func (*BigQueryConfig) Descriptor() ([]byte, []int)
Deprecated: Use BigQueryConfig.ProtoReflect.Descriptor instead.
func (x *BigQueryConfig) GetCloudFunctionMapping() map[string]string
func (x *BigQueryConfig) GetCreateDefaultTableIfNotExists() bool
func (x *BigQueryConfig) GetTable() string
func (*BigQueryConfig) ProtoMessage()
func (x *BigQueryConfig) ProtoReflect() protoreflect.Message
func (x *BigQueryConfig) Reset()
func (x *BigQueryConfig) String() string
type BoolValue struct { Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*BoolValue) Descriptor() ([]byte, []int)
Deprecated: Use BoolValue.ProtoReflect.Descriptor instead.
func (x *BoolValue) GetValue() bool
func (*BoolValue) ProtoMessage()
func (x *BoolValue) ProtoReflect() protoreflect.Message
func (x *BoolValue) Reset()
func (x *BoolValue) String() string
Message describing the Channel object.
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 }
func (*Channel) Descriptor() ([]byte, []int)
Deprecated: Use Channel.ProtoReflect.Descriptor instead.
func (x *Channel) GetAnnotations() map[string]string
func (x *Channel) GetCreateTime() *timestamppb.Timestamp
func (x *Channel) GetEvent() string
func (x *Channel) GetLabels() map[string]string
func (x *Channel) GetName() string
func (x *Channel) GetStream() string
func (x *Channel) GetUpdateTime() *timestamppb.Timestamp
func (*Channel) ProtoMessage()
func (x *Channel) ProtoReflect() protoreflect.Message
func (x *Channel) Reset()
func (x *Channel) String() string
Representation of a circle area.
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 }
func (*CircleArea) Descriptor() ([]byte, []int)
Deprecated: Use CircleArea.ProtoReflect.Descriptor instead.
func (x *CircleArea) GetLatitude() float64
func (x *CircleArea) GetLongitude() float64
func (x *CircleArea) GetRadiusMeter() float64
func (*CircleArea) ProtoMessage()
func (x *CircleArea) ProtoReflect() protoreflect.Message
func (x *CircleArea) Reset()
func (x *CircleArea) String() string
Prediction output format for Image and Text Classification.
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 }
func (*ClassificationPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use ClassificationPredictionResult.ProtoReflect.Descriptor instead.
func (x *ClassificationPredictionResult) GetConfidences() []float32
func (x *ClassificationPredictionResult) GetDisplayNames() []string
func (x *ClassificationPredictionResult) GetIds() []int64
func (*ClassificationPredictionResult) ProtoMessage()
func (x *ClassificationPredictionResult) ProtoReflect() protoreflect.Message
func (x *ClassificationPredictionResult) Reset()
func (x *ClassificationPredictionResult) String() string
Request message for ClipAsset API.
type ClipAssetRequest struct { // Required. The resource name of the asset to request clips for. // Form: // '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 }
func (*ClipAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClipAssetRequest.ProtoReflect.Descriptor instead.
func (x *ClipAssetRequest) GetName() string
func (x *ClipAssetRequest) GetTemporalPartition() *Partition_TemporalPartition
func (*ClipAssetRequest) ProtoMessage()
func (x *ClipAssetRequest) ProtoReflect() protoreflect.Message
func (x *ClipAssetRequest) Reset()
func (x *ClipAssetRequest) String() string
Response message for ClipAsset API.
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 }
func (*ClipAssetResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClipAssetResponse.ProtoReflect.Descriptor instead.
func (x *ClipAssetResponse) GetTimeIndexedUris() []*ClipAssetResponse_TimeIndexedUri
func (*ClipAssetResponse) ProtoMessage()
func (x *ClipAssetResponse) ProtoReflect() protoreflect.Message
func (x *ClipAssetResponse) Reset()
func (x *ClipAssetResponse) String() string
Signed uri with corresponding time range.
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 }
func (*ClipAssetResponse_TimeIndexedUri) Descriptor() ([]byte, []int)
Deprecated: Use ClipAssetResponse_TimeIndexedUri.ProtoReflect.Descriptor instead.
func (x *ClipAssetResponse_TimeIndexedUri) GetTemporalPartition() *Partition_TemporalPartition
func (x *ClipAssetResponse_TimeIndexedUri) GetUri() string
func (*ClipAssetResponse_TimeIndexedUri) ProtoMessage()
func (x *ClipAssetResponse_TimeIndexedUri) ProtoReflect() protoreflect.Message
func (x *ClipAssetResponse_TimeIndexedUri) Reset()
func (x *ClipAssetResponse_TimeIndexedUri) String() string
Message describing the Cluster object.
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 }
func (*Cluster) Descriptor() ([]byte, []int)
Deprecated: Use Cluster.ProtoReflect.Descriptor instead.
func (x *Cluster) GetAnnotations() map[string]string
func (x *Cluster) GetCreateTime() *timestamppb.Timestamp
func (x *Cluster) GetDataplaneServiceEndpoint() string
func (x *Cluster) GetLabels() map[string]string
func (x *Cluster) GetName() string
func (x *Cluster) GetPscTarget() string
func (x *Cluster) GetState() Cluster_State
func (x *Cluster) GetUpdateTime() *timestamppb.Timestamp
func (*Cluster) ProtoMessage()
func (x *Cluster) ProtoReflect() protoreflect.Message
func (x *Cluster) Reset()
func (x *Cluster) String() string
The current state of the cluster.
type Cluster_State int32
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() protoreflect.EnumDescriptor
func (x Cluster_State) Enum() *Cluster_State
func (Cluster_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_State.Descriptor instead.
func (x Cluster_State) Number() protoreflect.EnumNumber
func (x Cluster_State) String() string
func (Cluster_State) Type() protoreflect.EnumType
The message for explicitly committing the read progress.
This may only be used when `ReceivePacketsControlledMode` is set in the initial setup request.
type CommitRequest struct { // The offset to commit. Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*CommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead.
func (x *CommitRequest) GetOffset() int64
func (*CommitRequest) ProtoMessage()
func (x *CommitRequest) ProtoReflect() protoreflect.Message
func (x *CommitRequest) Reset()
func (x *CommitRequest) String() string
The options for receiver under the controlled mode.
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 }
func (*ControlledMode) Descriptor() ([]byte, []int)
Deprecated: Use ControlledMode.ProtoReflect.Descriptor instead.
func (x *ControlledMode) GetFallbackStartingOffset() string
func (x *ControlledMode) GetStartingLogicalOffset() string
func (m *ControlledMode) GetStartingOffset() isControlledMode_StartingOffset
func (*ControlledMode) ProtoMessage()
func (x *ControlledMode) ProtoReflect() protoreflect.Message
func (x *ControlledMode) Reset()
func (x *ControlledMode) String() string
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 is a set of video contents for management. Within a corpus, videos share the same data schema. Search is also restricted within a single corpus.
type Corpus struct { // Resource name of the corpus. // Form: // `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"` // Required. The default TTL value for all assets under the corpus without a asset level // user-defined TTL with a maximum of 10 years. This is required for all // corpora. DefaultTtl *durationpb.Duration `protobuf:"bytes,5,opt,name=default_ttl,json=defaultTtl,proto3" json:"default_ttl,omitempty"` // contains filtered or unexported fields }
func (*Corpus) Descriptor() ([]byte, []int)
Deprecated: Use Corpus.ProtoReflect.Descriptor instead.
func (x *Corpus) GetDefaultTtl() *durationpb.Duration
func (x *Corpus) GetDescription() string
func (x *Corpus) GetDisplayName() string
func (x *Corpus) GetName() string
func (*Corpus) ProtoMessage()
func (x *Corpus) ProtoReflect() protoreflect.Message
func (x *Corpus) Reset()
func (x *Corpus) String() string
Message for creating an Analysis.
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 }
func (*CreateAnalysisRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAnalysisRequest.ProtoReflect.Descriptor instead.
func (x *CreateAnalysisRequest) GetAnalysis() *Analysis
func (x *CreateAnalysisRequest) GetAnalysisId() string
func (x *CreateAnalysisRequest) GetParent() string
func (x *CreateAnalysisRequest) GetRequestId() string
func (*CreateAnalysisRequest) ProtoMessage()
func (x *CreateAnalysisRequest) ProtoReflect() protoreflect.Message
func (x *CreateAnalysisRequest) Reset()
func (x *CreateAnalysisRequest) String() string
Request message for CreateAnnotation.
type CreateAnnotationRequest struct { // Required. The parent resource where this annotation will be created. // Format: projects/*/locations/*/corpora/*/assets/* 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 }
func (*CreateAnnotationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAnnotationRequest.ProtoReflect.Descriptor instead.
func (x *CreateAnnotationRequest) GetAnnotation() *Annotation
func (x *CreateAnnotationRequest) GetAnnotationId() string
func (x *CreateAnnotationRequest) GetParent() string
func (*CreateAnnotationRequest) ProtoMessage()
func (x *CreateAnnotationRequest) ProtoReflect() protoreflect.Message
func (x *CreateAnnotationRequest) Reset()
func (x *CreateAnnotationRequest) String() string
Message for adding stream input to an Application.
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 t // he 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 }
func (*CreateApplicationInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateApplicationInstancesRequest.ProtoReflect.Descriptor instead.
func (x *CreateApplicationInstancesRequest) GetApplicationInstances() []*ApplicationInstance
func (x *CreateApplicationInstancesRequest) GetName() string
func (x *CreateApplicationInstancesRequest) GetRequestId() string
func (*CreateApplicationInstancesRequest) ProtoMessage()
func (x *CreateApplicationInstancesRequest) ProtoReflect() protoreflect.Message
func (x *CreateApplicationInstancesRequest) Reset()
func (x *CreateApplicationInstancesRequest) String() string
Message for CreateApplicationInstance Response.
type CreateApplicationInstancesResponse struct {
// contains filtered or unexported fields
}
func (*CreateApplicationInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateApplicationInstancesResponse.ProtoReflect.Descriptor instead.
func (*CreateApplicationInstancesResponse) ProtoMessage()
func (x *CreateApplicationInstancesResponse) ProtoReflect() protoreflect.Message
func (x *CreateApplicationInstancesResponse) Reset()
func (x *CreateApplicationInstancesResponse) String() string
Message for creating a Application.
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 t // he 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 }
func (*CreateApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateApplicationRequest.ProtoReflect.Descriptor instead.
func (x *CreateApplicationRequest) GetApplication() *Application
func (x *CreateApplicationRequest) GetApplicationId() string
func (x *CreateApplicationRequest) GetParent() string
func (x *CreateApplicationRequest) GetRequestId() string
func (*CreateApplicationRequest) ProtoMessage()
func (x *CreateApplicationRequest) ProtoReflect() protoreflect.Message
func (x *CreateApplicationRequest) Reset()
func (x *CreateApplicationRequest) String() string
Request message for CreateAssetRequest.
type CreateAssetRequest struct { // Required. The parent resource where this asset will be created. // Format: projects/*/locations/*/corpora/* 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 }
func (*CreateAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAssetRequest.ProtoReflect.Descriptor instead.
func (x *CreateAssetRequest) GetAsset() *Asset
func (x *CreateAssetRequest) GetAssetId() string
func (x *CreateAssetRequest) GetParent() string
func (*CreateAssetRequest) ProtoMessage()
func (x *CreateAssetRequest) ProtoReflect() protoreflect.Message
func (x *CreateAssetRequest) Reset()
func (x *CreateAssetRequest) String() string
Message for creating a Cluster.
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 }
func (*CreateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.
func (x *CreateClusterRequest) GetCluster() *Cluster
func (x *CreateClusterRequest) GetClusterId() string
func (x *CreateClusterRequest) GetParent() string
func (x *CreateClusterRequest) GetRequestId() string
func (*CreateClusterRequest) ProtoMessage()
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
func (x *CreateClusterRequest) Reset()
func (x *CreateClusterRequest) String() string
Metadata for CreateCorpus API.
type CreateCorpusMetadata struct {
// contains filtered or unexported fields
}
func (*CreateCorpusMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateCorpusMetadata.ProtoReflect.Descriptor instead.
func (*CreateCorpusMetadata) ProtoMessage()
func (x *CreateCorpusMetadata) ProtoReflect() protoreflect.Message
func (x *CreateCorpusMetadata) Reset()
func (x *CreateCorpusMetadata) String() string
Request message of CreateCorpus API.
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 }
func (*CreateCorpusRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCorpusRequest.ProtoReflect.Descriptor instead.
func (x *CreateCorpusRequest) GetCorpus() *Corpus
func (x *CreateCorpusRequest) GetParent() string
func (*CreateCorpusRequest) ProtoMessage()
func (x *CreateCorpusRequest) ProtoReflect() protoreflect.Message
func (x *CreateCorpusRequest) Reset()
func (x *CreateCorpusRequest) String() string
Request message for CreateDataSchema.
type CreateDataSchemaRequest struct { // Required. The parent resource where this data schema will be created. // Format: projects/*/locations/*/corpora/* 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 }
func (*CreateDataSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDataSchemaRequest.ProtoReflect.Descriptor instead.
func (x *CreateDataSchemaRequest) GetDataSchema() *DataSchema
func (x *CreateDataSchemaRequest) GetParent() string
func (*CreateDataSchemaRequest) ProtoMessage()
func (x *CreateDataSchemaRequest) ProtoReflect() protoreflect.Message
func (x *CreateDataSchemaRequest) Reset()
func (x *CreateDataSchemaRequest) String() string
Message for creating a Draft.
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 t // he 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 }
func (*CreateDraftRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDraftRequest.ProtoReflect.Descriptor instead.
func (x *CreateDraftRequest) GetDraft() *Draft
func (x *CreateDraftRequest) GetDraftId() string
func (x *CreateDraftRequest) GetParent() string
func (x *CreateDraftRequest) GetRequestId() string
func (*CreateDraftRequest) ProtoMessage()
func (x *CreateDraftRequest) ProtoReflect() protoreflect.Message
func (x *CreateDraftRequest) Reset()
func (x *CreateDraftRequest) String() string
Message for creating a Event.
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 }
func (*CreateEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEventRequest.ProtoReflect.Descriptor instead.
func (x *CreateEventRequest) GetEvent() *Event
func (x *CreateEventRequest) GetEventId() string
func (x *CreateEventRequest) GetParent() string
func (x *CreateEventRequest) GetRequestId() string
func (*CreateEventRequest) ProtoMessage()
func (x *CreateEventRequest) ProtoReflect() protoreflect.Message
func (x *CreateEventRequest) Reset()
func (x *CreateEventRequest) String() string
Message for creating a Processor.
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 t // he 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 }
func (*CreateProcessorRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProcessorRequest.ProtoReflect.Descriptor instead.
func (x *CreateProcessorRequest) GetParent() string
func (x *CreateProcessorRequest) GetProcessor() *Processor
func (x *CreateProcessorRequest) GetProcessorId() string
func (x *CreateProcessorRequest) GetRequestId() string
func (*CreateProcessorRequest) ProtoMessage()
func (x *CreateProcessorRequest) ProtoReflect() protoreflect.Message
func (x *CreateProcessorRequest) Reset()
func (x *CreateProcessorRequest) String() string
Request message for CreateSearchConfig.
type CreateSearchConfigRequest struct { // Required. The parent resource where this search configuration will be created. // Format: projects/*/locations/*/corpora/* 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 }
func (*CreateSearchConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSearchConfigRequest.ProtoReflect.Descriptor instead.
func (x *CreateSearchConfigRequest) GetParent() string
func (x *CreateSearchConfigRequest) GetSearchConfig() *SearchConfig
func (x *CreateSearchConfigRequest) GetSearchConfigId() string
func (*CreateSearchConfigRequest) ProtoMessage()
func (x *CreateSearchConfigRequest) ProtoReflect() protoreflect.Message
func (x *CreateSearchConfigRequest) Reset()
func (x *CreateSearchConfigRequest) String() string
Message for creating a Series.
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 }
func (*CreateSeriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSeriesRequest.ProtoReflect.Descriptor instead.
func (x *CreateSeriesRequest) GetParent() string
func (x *CreateSeriesRequest) GetRequestId() string
func (x *CreateSeriesRequest) GetSeries() *Series
func (x *CreateSeriesRequest) GetSeriesId() string
func (*CreateSeriesRequest) ProtoMessage()
func (x *CreateSeriesRequest) ProtoReflect() protoreflect.Message
func (x *CreateSeriesRequest) Reset()
func (x *CreateSeriesRequest) String() string
Message for creating a Stream.
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 }
func (*CreateStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateStreamRequest.ProtoReflect.Descriptor instead.
func (x *CreateStreamRequest) GetParent() string
func (x *CreateStreamRequest) GetRequestId() string
func (x *CreateStreamRequest) GetStream() *Stream
func (x *CreateStreamRequest) GetStreamId() string
func (*CreateStreamRequest) ProtoMessage()
func (x *CreateStreamRequest) ProtoReflect() protoreflect.Message
func (x *CreateStreamRequest) Reset()
func (x *CreateStreamRequest) String() string
Filter criteria applied to current search results.
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 partition level annotations and 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 }
func (*Criteria) Descriptor() ([]byte, []int)
Deprecated: Use Criteria.ProtoReflect.Descriptor instead.
func (x *Criteria) GetBoolValue() *BoolValue
func (x *Criteria) GetDateTimeRangeArray() *DateTimeRangeArray
func (x *Criteria) GetFetchMatchedAnnotations() bool
func (x *Criteria) GetField() string
func (x *Criteria) GetFloatRangeArray() *FloatRangeArray
func (x *Criteria) GetGeoLocationArray() *GeoLocationArray
func (x *Criteria) GetIntRangeArray() *IntRangeArray
func (x *Criteria) GetTextArray() *StringArray
func (m *Criteria) GetValue() isCriteria_Value
func (*Criteria) ProtoMessage()
func (x *Criteria) ProtoReflect() protoreflect.Message
func (x *Criteria) Reset()
func (x *Criteria) String() string
type Criteria_BoolValue struct { // A Boolean value. BoolValue *BoolValue `protobuf:"bytes,7,opt,name=bool_value,json=boolValue,proto3,oneof"` }
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"` }
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"` }
type Criteria_GeoLocationArray struct { // Geo Location array. GeoLocationArray *GeoLocationArray `protobuf:"bytes,6,opt,name=geo_location_array,json=geoLocationArray,proto3,oneof"` }
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"` }
type Criteria_TextArray struct { // The text values associated with the field. TextArray *StringArray `protobuf:"bytes,2,opt,name=text_array,json=textArray,proto3,oneof"` }
Describes the source info for a custom processor.
type CustomProcessorSourceInfo struct { // The path where App Platform loads the artifacts for the custom processor. // // Types that are assignable to ArtifactPath: // // *CustomProcessorSourceInfo_VertexModel 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 }
func (*CustomProcessorSourceInfo) Descriptor() ([]byte, []int)
Deprecated: Use CustomProcessorSourceInfo.ProtoReflect.Descriptor instead.
func (x *CustomProcessorSourceInfo) GetAdditionalInfo() map[string]string
func (m *CustomProcessorSourceInfo) GetArtifactPath() isCustomProcessorSourceInfo_ArtifactPath
func (x *CustomProcessorSourceInfo) GetModelSchema() *CustomProcessorSourceInfo_ModelSchema
func (x *CustomProcessorSourceInfo) GetSourceType() CustomProcessorSourceInfo_SourceType
func (x *CustomProcessorSourceInfo) GetVertexModel() string
func (*CustomProcessorSourceInfo) ProtoMessage()
func (x *CustomProcessorSourceInfo) ProtoReflect() protoreflect.Message
func (x *CustomProcessorSourceInfo) Reset()
func (x *CustomProcessorSourceInfo) String() string
The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
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 }
func (*CustomProcessorSourceInfo_ModelSchema) Descriptor() ([]byte, []int)
Deprecated: Use CustomProcessorSourceInfo_ModelSchema.ProtoReflect.Descriptor instead.
func (x *CustomProcessorSourceInfo_ModelSchema) GetInstancesSchema() *GcsSource
func (x *CustomProcessorSourceInfo_ModelSchema) GetParametersSchema() *GcsSource
func (x *CustomProcessorSourceInfo_ModelSchema) GetPredictionsSchema() *GcsSource
func (*CustomProcessorSourceInfo_ModelSchema) ProtoMessage()
func (x *CustomProcessorSourceInfo_ModelSchema) ProtoReflect() protoreflect.Message
func (x *CustomProcessorSourceInfo_ModelSchema) Reset()
func (x *CustomProcessorSourceInfo_ModelSchema) String() string
Source type of the imported custom processor.
type CustomProcessorSourceInfo_SourceType int32
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 )
func (CustomProcessorSourceInfo_SourceType) Descriptor() protoreflect.EnumDescriptor
func (x CustomProcessorSourceInfo_SourceType) Enum() *CustomProcessorSourceInfo_SourceType
func (CustomProcessorSourceInfo_SourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CustomProcessorSourceInfo_SourceType.Descriptor instead.
func (x CustomProcessorSourceInfo_SourceType) Number() protoreflect.EnumNumber
func (x CustomProcessorSourceInfo_SourceType) String() string
func (CustomProcessorSourceInfo_SourceType) Type() protoreflect.EnumType
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"` }
Data schema indicates how the user specified annotation is interpreted in the system.
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 }
func (*DataSchema) Descriptor() ([]byte, []int)
Deprecated: Use DataSchema.ProtoReflect.Descriptor instead.
func (x *DataSchema) GetKey() string
func (x *DataSchema) GetName() string
func (x *DataSchema) GetSchemaDetails() *DataSchemaDetails
func (*DataSchema) ProtoMessage()
func (x *DataSchema) ProtoReflect() protoreflect.Message
func (x *DataSchema) Reset()
func (x *DataSchema) String() string
Data schema details indicates the data type and the data struct corresponding to the key of user specified annotation.
type DataSchemaDetails struct { // Type of the annotation. Type DataSchemaDetails_DataType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.visionai.v1.DataSchemaDetails_DataType" 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"` // The granularity associated with this DataSchema. Granularity DataSchemaDetails_Granularity `protobuf:"varint,5,opt,name=granularity,proto3,enum=google.cloud.visionai.v1.DataSchemaDetails_Granularity" 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 }
func (*DataSchemaDetails) Descriptor() ([]byte, []int)
Deprecated: Use DataSchemaDetails.ProtoReflect.Descriptor instead.
func (x *DataSchemaDetails) GetGranularity() DataSchemaDetails_Granularity
func (x *DataSchemaDetails) GetProtoAnyConfig() *DataSchemaDetails_ProtoAnyConfig
func (x *DataSchemaDetails) GetSearchStrategy() *DataSchemaDetails_SearchStrategy
func (x *DataSchemaDetails) GetType() DataSchemaDetails_DataType
func (*DataSchemaDetails) ProtoMessage()
func (x *DataSchemaDetails) ProtoReflect() protoreflect.Message
func (x *DataSchemaDetails) Reset()
func (x *DataSchemaDetails) String() string
Data type of the annotation.
type DataSchemaDetails_DataType int32
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 )
func (DataSchemaDetails_DataType) Descriptor() protoreflect.EnumDescriptor
func (x DataSchemaDetails_DataType) Enum() *DataSchemaDetails_DataType
func (DataSchemaDetails_DataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataSchemaDetails_DataType.Descriptor instead.
func (x DataSchemaDetails_DataType) Number() protoreflect.EnumNumber
func (x DataSchemaDetails_DataType) String() string
func (DataSchemaDetails_DataType) Type() protoreflect.EnumType
The granularity of annotations under this DataSchema.
type DataSchemaDetails_Granularity int32
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() protoreflect.EnumDescriptor
func (x DataSchemaDetails_Granularity) Enum() *DataSchemaDetails_Granularity
func (DataSchemaDetails_Granularity) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataSchemaDetails_Granularity.Descriptor instead.
func (x DataSchemaDetails_Granularity) Number() protoreflect.EnumNumber
func (x DataSchemaDetails_Granularity) String() string
func (DataSchemaDetails_Granularity) Type() protoreflect.EnumType
The configuration for `PROTO_ANY` data type.
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 }
func (*DataSchemaDetails_ProtoAnyConfig) Descriptor() ([]byte, []int)
Deprecated: Use DataSchemaDetails_ProtoAnyConfig.ProtoReflect.Descriptor instead.
func (x *DataSchemaDetails_ProtoAnyConfig) GetTypeUri() string
func (*DataSchemaDetails_ProtoAnyConfig) ProtoMessage()
func (x *DataSchemaDetails_ProtoAnyConfig) ProtoReflect() protoreflect.Message
func (x *DataSchemaDetails_ProtoAnyConfig) Reset()
func (x *DataSchemaDetails_ProtoAnyConfig) String() string
The search strategy for annotations value of the `key`.
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" json:"search_strategy_type,omitempty"` // contains filtered or unexported fields }
func (*DataSchemaDetails_SearchStrategy) Descriptor() ([]byte, []int)
Deprecated: Use DataSchemaDetails_SearchStrategy.ProtoReflect.Descriptor instead.
func (x *DataSchemaDetails_SearchStrategy) GetSearchStrategyType() DataSchemaDetails_SearchStrategy_SearchStrategyType
func (*DataSchemaDetails_SearchStrategy) ProtoMessage()
func (x *DataSchemaDetails_SearchStrategy) ProtoReflect() protoreflect.Message
func (x *DataSchemaDetails_SearchStrategy) Reset()
func (x *DataSchemaDetails_SearchStrategy) String() string
The types of search strategies to be applied on the annotation key.
type DataSchemaDetails_SearchStrategy_SearchStrategyType int32
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() protoreflect.EnumDescriptor
func (x DataSchemaDetails_SearchStrategy_SearchStrategyType) Enum() *DataSchemaDetails_SearchStrategy_SearchStrategyType
func (DataSchemaDetails_SearchStrategy_SearchStrategyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataSchemaDetails_SearchStrategy_SearchStrategyType.Descriptor instead.
func (x DataSchemaDetails_SearchStrategy_SearchStrategyType) Number() protoreflect.EnumNumber
func (x DataSchemaDetails_SearchStrategy_SearchStrategyType) String() string
func (DataSchemaDetails_SearchStrategy_SearchStrategyType) Type() protoreflect.EnumType
Datetime range type.
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 }
func (*DateTimeRange) Descriptor() ([]byte, []int)
Deprecated: Use DateTimeRange.ProtoReflect.Descriptor instead.
func (x *DateTimeRange) GetEnd() *datetime.DateTime
func (x *DateTimeRange) GetStart() *datetime.DateTime
func (*DateTimeRange) ProtoMessage()
func (x *DateTimeRange) ProtoReflect() protoreflect.Message
func (x *DateTimeRange) Reset()
func (x *DateTimeRange) String() string
A list of datetime range values.
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 }
func (*DateTimeRangeArray) Descriptor() ([]byte, []int)
Deprecated: Use DateTimeRangeArray.ProtoReflect.Descriptor instead.
func (x *DateTimeRangeArray) GetDateTimeRanges() []*DateTimeRange
func (*DateTimeRangeArray) ProtoMessage()
func (x *DateTimeRangeArray) ProtoReflect() protoreflect.Message
func (x *DateTimeRangeArray) Reset()
func (x *DateTimeRangeArray) String() string
A description of resources that are dedicated to a DeployedModel, and that need a higher degree of manual configuration.
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 }
func (*DedicatedResources) Descriptor() ([]byte, []int)
Deprecated: Use DedicatedResources.ProtoReflect.Descriptor instead.
func (x *DedicatedResources) GetAutoscalingMetricSpecs() []*AutoscalingMetricSpec
func (x *DedicatedResources) GetMachineSpec() *MachineSpec
func (x *DedicatedResources) GetMaxReplicaCount() int32
func (x *DedicatedResources) GetMinReplicaCount() int32
func (*DedicatedResources) ProtoMessage()
func (x *DedicatedResources) ProtoReflect() protoreflect.Message
func (x *DedicatedResources) Reset()
func (x *DedicatedResources) String() string
Message for deleting an Analysis.
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 }
func (*DeleteAnalysisRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAnalysisRequest.ProtoReflect.Descriptor instead.
func (x *DeleteAnalysisRequest) GetName() string
func (x *DeleteAnalysisRequest) GetRequestId() string
func (*DeleteAnalysisRequest) ProtoMessage()
func (x *DeleteAnalysisRequest) ProtoReflect() protoreflect.Message
func (x *DeleteAnalysisRequest) Reset()
func (x *DeleteAnalysisRequest) String() string
Request message for DeleteAnnotation API.
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 }
func (*DeleteAnnotationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAnnotationRequest.ProtoReflect.Descriptor instead.
func (x *DeleteAnnotationRequest) GetName() string
func (*DeleteAnnotationRequest) ProtoMessage()
func (x *DeleteAnnotationRequest) ProtoReflect() protoreflect.Message
func (x *DeleteAnnotationRequest) Reset()
func (x *DeleteAnnotationRequest) String() string
Message for removing stream input from an Application.
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 t // he 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 }
func (*DeleteApplicationInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteApplicationInstancesRequest.ProtoReflect.Descriptor instead.
func (x *DeleteApplicationInstancesRequest) GetInstanceIds() []string
func (x *DeleteApplicationInstancesRequest) GetName() string
func (x *DeleteApplicationInstancesRequest) GetRequestId() string
func (*DeleteApplicationInstancesRequest) ProtoMessage()
func (x *DeleteApplicationInstancesRequest) ProtoReflect() protoreflect.Message
func (x *DeleteApplicationInstancesRequest) Reset()
func (x *DeleteApplicationInstancesRequest) String() string
Message for DeleteApplicationInstance Response.
type DeleteApplicationInstancesResponse struct {
// contains filtered or unexported fields
}
func (*DeleteApplicationInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteApplicationInstancesResponse.ProtoReflect.Descriptor instead.
func (*DeleteApplicationInstancesResponse) ProtoMessage()
func (x *DeleteApplicationInstancesResponse) ProtoReflect() protoreflect.Message
func (x *DeleteApplicationInstancesResponse) Reset()
func (x *DeleteApplicationInstancesResponse) String() string
Message for deleting an Application.
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 t // he 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 }
func (*DeleteApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteApplicationRequest.ProtoReflect.Descriptor instead.
func (x *DeleteApplicationRequest) GetForce() bool
func (x *DeleteApplicationRequest) GetName() string
func (x *DeleteApplicationRequest) GetRequestId() string
func (*DeleteApplicationRequest) ProtoMessage()
func (x *DeleteApplicationRequest) ProtoReflect() protoreflect.Message
func (x *DeleteApplicationRequest) Reset()
func (x *DeleteApplicationRequest) String() string
The metadata for DeleteAsset API that embeds in [metadata][google.longrunning.Operation.metadata] field.
type DeleteAssetMetadata struct {
// contains filtered or unexported fields
}
func (*DeleteAssetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAssetMetadata.ProtoReflect.Descriptor instead.
func (*DeleteAssetMetadata) ProtoMessage()
func (x *DeleteAssetMetadata) ProtoReflect() protoreflect.Message
func (x *DeleteAssetMetadata) Reset()
func (x *DeleteAssetMetadata) String() string
Request message for DeleteAsset.
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 }
func (*DeleteAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAssetRequest.ProtoReflect.Descriptor instead.
func (x *DeleteAssetRequest) GetName() string
func (*DeleteAssetRequest) ProtoMessage()
func (x *DeleteAssetRequest) ProtoReflect() protoreflect.Message
func (x *DeleteAssetRequest) Reset()
func (x *DeleteAssetRequest) String() string
Message for deleting a Cluster.
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 }
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.
func (x *DeleteClusterRequest) GetName() string
func (x *DeleteClusterRequest) GetRequestId() string
func (*DeleteClusterRequest) ProtoMessage()
func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
func (x *DeleteClusterRequest) Reset()
func (x *DeleteClusterRequest) String() string
Request message for DeleteCorpus.
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 }
func (*DeleteCorpusRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCorpusRequest.ProtoReflect.Descriptor instead.
func (x *DeleteCorpusRequest) GetName() string
func (*DeleteCorpusRequest) ProtoMessage()
func (x *DeleteCorpusRequest) ProtoReflect() protoreflect.Message
func (x *DeleteCorpusRequest) Reset()
func (x *DeleteCorpusRequest) String() string
Request message for DeleteDataSchema.
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 }
func (*DeleteDataSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDataSchemaRequest.ProtoReflect.Descriptor instead.
func (x *DeleteDataSchemaRequest) GetName() string
func (*DeleteDataSchemaRequest) ProtoMessage()
func (x *DeleteDataSchemaRequest) ProtoReflect() protoreflect.Message
func (x *DeleteDataSchemaRequest) Reset()
func (x *DeleteDataSchemaRequest) String() string
Message for deleting an Draft.
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 t // he 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 }
func (*DeleteDraftRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDraftRequest.ProtoReflect.Descriptor instead.
func (x *DeleteDraftRequest) GetName() string
func (x *DeleteDraftRequest) GetRequestId() string
func (*DeleteDraftRequest) ProtoMessage()
func (x *DeleteDraftRequest) ProtoReflect() protoreflect.Message
func (x *DeleteDraftRequest) Reset()
func (x *DeleteDraftRequest) String() string
Message for deleting a Event.
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 }
func (*DeleteEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEventRequest.ProtoReflect.Descriptor instead.
func (x *DeleteEventRequest) GetName() string
func (x *DeleteEventRequest) GetRequestId() string
func (*DeleteEventRequest) ProtoMessage()
func (x *DeleteEventRequest) ProtoReflect() protoreflect.Message
func (x *DeleteEventRequest) Reset()
func (x *DeleteEventRequest) String() string
Message for deleting a Processor.
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 t // he 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 }
func (*DeleteProcessorRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProcessorRequest.ProtoReflect.Descriptor instead.
func (x *DeleteProcessorRequest) GetName() string
func (x *DeleteProcessorRequest) GetRequestId() string
func (*DeleteProcessorRequest) ProtoMessage()
func (x *DeleteProcessorRequest) ProtoReflect() protoreflect.Message
func (x *DeleteProcessorRequest) Reset()
func (x *DeleteProcessorRequest) String() string
Request message for DeleteSearchConfig.
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 }
func (*DeleteSearchConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSearchConfigRequest.ProtoReflect.Descriptor instead.
func (x *DeleteSearchConfigRequest) GetName() string
func (*DeleteSearchConfigRequest) ProtoMessage()
func (x *DeleteSearchConfigRequest) ProtoReflect() protoreflect.Message
func (x *DeleteSearchConfigRequest) Reset()
func (x *DeleteSearchConfigRequest) String() string
Message for deleting a Series.
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 }
func (*DeleteSeriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSeriesRequest.ProtoReflect.Descriptor instead.
func (x *DeleteSeriesRequest) GetName() string
func (x *DeleteSeriesRequest) GetRequestId() string
func (*DeleteSeriesRequest) ProtoMessage()
func (x *DeleteSeriesRequest) ProtoReflect() protoreflect.Message
func (x *DeleteSeriesRequest) Reset()
func (x *DeleteSeriesRequest) String() string
Message for deleting a Stream.
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 }
func (*DeleteStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStreamRequest.ProtoReflect.Descriptor instead.
func (x *DeleteStreamRequest) GetName() string
func (x *DeleteStreamRequest) GetRequestId() string
func (*DeleteStreamRequest) ProtoMessage()
func (x *DeleteStreamRequest) ProtoReflect() protoreflect.Message
func (x *DeleteStreamRequest) Reset()
func (x *DeleteStreamRequest) String() string
Message for deploying an Application.
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 t // he 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 }
func (*DeployApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployApplicationRequest.ProtoReflect.Descriptor instead.
func (x *DeployApplicationRequest) GetEnableMonitoring() bool
func (x *DeployApplicationRequest) GetName() string
func (x *DeployApplicationRequest) GetRequestId() string
func (x *DeployApplicationRequest) GetValidateOnly() bool
func (*DeployApplicationRequest) ProtoMessage()
func (x *DeployApplicationRequest) ProtoReflect() protoreflect.Message
func (x *DeployApplicationRequest) Reset()
func (x *DeployApplicationRequest) String() string
RPC Request Messages. Message for DeployApplication Response.
type DeployApplicationResponse struct {
// contains filtered or unexported fields
}
func (*DeployApplicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployApplicationResponse.ProtoReflect.Descriptor instead.
func (*DeployApplicationResponse) ProtoMessage()
func (x *DeployApplicationResponse) ProtoReflect() protoreflect.Message
func (x *DeployApplicationResponse) Reset()
func (x *DeployApplicationResponse) String() string
Message describing Draft object
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 }
func (*Draft) Descriptor() ([]byte, []int)
Deprecated: Use Draft.ProtoReflect.Descriptor instead.
func (x *Draft) GetCreateTime() *timestamppb.Timestamp
func (x *Draft) GetDescription() string
func (x *Draft) GetDisplayName() string
func (x *Draft) GetDraftApplicationConfigs() *ApplicationConfigs
func (x *Draft) GetLabels() map[string]string
func (x *Draft) GetName() string
func (x *Draft) GetUpdateTime() *timestamppb.Timestamp
func (*Draft) ProtoMessage()
func (x *Draft) ProtoReflect() protoreflect.Message
func (x *Draft) Reset()
func (x *Draft) String() string
The options for receiver under the eager mode.
type EagerMode struct {
// contains filtered or unexported fields
}
func (*EagerMode) Descriptor() ([]byte, []int)
Deprecated: Use EagerMode.ProtoReflect.Descriptor instead.
func (*EagerMode) ProtoMessage()
func (x *EagerMode) ProtoReflect() protoreflect.Message
func (x *EagerMode) Reset()
func (x *EagerMode) String() string
Message describing the Event object.
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 }
func (*Event) Descriptor() ([]byte, []int)
Deprecated: Use Event.ProtoReflect.Descriptor instead.
func (x *Event) GetAlignmentClock() Event_Clock
func (x *Event) GetAnnotations() map[string]string
func (x *Event) GetCreateTime() *timestamppb.Timestamp
func (x *Event) GetGracePeriod() *durationpb.Duration
func (x *Event) GetLabels() map[string]string
func (x *Event) GetName() string
func (x *Event) GetUpdateTime() *timestamppb.Timestamp
func (*Event) ProtoMessage()
func (x *Event) ProtoReflect() protoreflect.Message
func (x *Event) Reset()
func (x *Event) String() string
The event update message.
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 }
func (*EventUpdate) Descriptor() ([]byte, []int)
Deprecated: Use EventUpdate.ProtoReflect.Descriptor instead.
func (x *EventUpdate) GetEvent() string
func (x *EventUpdate) GetOffset() int64
func (x *EventUpdate) GetSeries() string
func (x *EventUpdate) GetStream() string
func (x *EventUpdate) GetUpdateTime() *timestamppb.Timestamp
func (*EventUpdate) ProtoMessage()
func (x *EventUpdate) ProtoReflect() protoreflect.Message
func (x *EventUpdate) Reset()
func (x *EventUpdate) String() string
Clock that will be used for joining streams.
type Event_Clock int32
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() protoreflect.EnumDescriptor
func (x Event_Clock) Enum() *Event_Clock
func (Event_Clock) EnumDescriptor() ([]byte, []int)
Deprecated: Use Event_Clock.Descriptor instead.
func (x Event_Clock) Number() protoreflect.EnumNumber
func (x Event_Clock) String() string
func (Event_Clock) Type() protoreflect.EnumType
Holds the facet value, selections state, and metadata.
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 }
func (*FacetBucket) Descriptor() ([]byte, []int)
Deprecated: Use FacetBucket.ProtoReflect.Descriptor instead.
func (m *FacetBucket) GetBucketValue() isFacetBucket_BucketValue
func (x *FacetBucket) GetRange() *FacetBucket_Range
func (x *FacetBucket) GetSelected() bool
func (x *FacetBucket) GetValue() *FacetValue
func (*FacetBucket) ProtoMessage()
func (x *FacetBucket) ProtoReflect() protoreflect.Message
func (x *FacetBucket) Reset()
func (x *FacetBucket) String() string
Different types for a facet bucket.
type FacetBucketType int32
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() protoreflect.EnumDescriptor
func (x FacetBucketType) Enum() *FacetBucketType
func (FacetBucketType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FacetBucketType.Descriptor instead.
func (x FacetBucketType) Number() protoreflect.EnumNumber
func (x FacetBucketType) String() string
func (FacetBucketType) Type() protoreflect.EnumType
The range of values [start, end) for which faceting is applied.
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 }
func (*FacetBucket_Range) Descriptor() ([]byte, []int)
Deprecated: Use FacetBucket_Range.ProtoReflect.Descriptor instead.
func (x *FacetBucket_Range) GetEnd() *FacetValue
func (x *FacetBucket_Range) GetStart() *FacetValue
func (*FacetBucket_Range) ProtoMessage()
func (x *FacetBucket_Range) ProtoReflect() protoreflect.Message
func (x *FacetBucket_Range) Reset()
func (x *FacetBucket_Range) String() string
type FacetBucket_Range_ struct { // Range value. Range *FacetBucket_Range `protobuf:"bytes,4,opt,name=range,proto3,oneof"` }
type FacetBucket_Value struct { // Singular value. Value *FacetValue `protobuf:"bytes,2,opt,name=value,proto3,oneof"` }
A group of facet buckets to be passed back and forth between backend & frontend.
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 }
func (*FacetGroup) Descriptor() ([]byte, []int)
Deprecated: Use FacetGroup.ProtoReflect.Descriptor instead.
func (x *FacetGroup) GetBucketType() FacetBucketType
func (x *FacetGroup) GetBuckets() []*FacetBucket
func (x *FacetGroup) GetDisplayName() string
func (x *FacetGroup) GetFacetId() string
func (x *FacetGroup) GetFetchMatchedAnnotations() bool
func (*FacetGroup) ProtoMessage()
func (x *FacetGroup) ProtoReflect() protoreflect.Message
func (x *FacetGroup) Reset()
func (x *FacetGroup) String() string
Central configuration for a facet.
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 }
func (*FacetProperty) Descriptor() ([]byte, []int)
Deprecated: Use FacetProperty.ProtoReflect.Descriptor instead.
func (x *FacetProperty) GetBucketType() FacetBucketType
func (x *FacetProperty) GetCustomRangeBucketSpec() *FacetProperty_CustomRangeBucketSpec
func (x *FacetProperty) GetDatetimeBucketSpec() *FacetProperty_DateTimeBucketSpec
func (x *FacetProperty) GetDisplayName() string
func (x *FacetProperty) GetFixedRangeBucketSpec() *FacetProperty_FixedRangeBucketSpec
func (x *FacetProperty) GetMappedFields() []string
func (m *FacetProperty) GetRangeFacetConfig() isFacetProperty_RangeFacetConfig
func (x *FacetProperty) GetResultSize() int64
func (*FacetProperty) ProtoMessage()
func (x *FacetProperty) ProtoReflect() protoreflect.Message
func (x *FacetProperty) Reset()
func (x *FacetProperty) String() string
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:
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 }
func (*FacetProperty_CustomRangeBucketSpec) Descriptor() ([]byte, []int)
Deprecated: Use FacetProperty_CustomRangeBucketSpec.ProtoReflect.Descriptor instead.
func (x *FacetProperty_CustomRangeBucketSpec) GetEndpoints() []*FacetValue
func (*FacetProperty_CustomRangeBucketSpec) ProtoMessage()
func (x *FacetProperty_CustomRangeBucketSpec) ProtoReflect() protoreflect.Message
func (x *FacetProperty_CustomRangeBucketSpec) Reset()
func (x *FacetProperty_CustomRangeBucketSpec) String() string
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"` }
If bucket type is DATE, specify how date values are bucketized.
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 }
func (*FacetProperty_DateTimeBucketSpec) Descriptor() ([]byte, []int)
Deprecated: Use FacetProperty_DateTimeBucketSpec.ProtoReflect.Descriptor instead.
func (x *FacetProperty_DateTimeBucketSpec) GetGranularity() FacetProperty_DateTimeBucketSpec_Granularity
func (*FacetProperty_DateTimeBucketSpec) ProtoMessage()
func (x *FacetProperty_DateTimeBucketSpec) ProtoReflect() protoreflect.Message
func (x *FacetProperty_DateTimeBucketSpec) Reset()
func (x *FacetProperty_DateTimeBucketSpec) String() string
Granularity enum for the datetime bucket.
type FacetProperty_DateTimeBucketSpec_Granularity int32
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() protoreflect.EnumDescriptor
func (x FacetProperty_DateTimeBucketSpec_Granularity) Enum() *FacetProperty_DateTimeBucketSpec_Granularity
func (FacetProperty_DateTimeBucketSpec_Granularity) EnumDescriptor() ([]byte, []int)
Deprecated: Use FacetProperty_DateTimeBucketSpec_Granularity.Descriptor instead.
func (x FacetProperty_DateTimeBucketSpec_Granularity) Number() protoreflect.EnumNumber
func (x FacetProperty_DateTimeBucketSpec_Granularity) String() string
func (FacetProperty_DateTimeBucketSpec_Granularity) Type() protoreflect.EnumType
type FacetProperty_DatetimeBucketSpec struct { // Datetime range facet bucket config. DatetimeBucketSpec *FacetProperty_DateTimeBucketSpec `protobuf:"bytes,7,opt,name=datetime_bucket_spec,json=datetimeBucketSpec,proto3,oneof"` }
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.
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 }
func (*FacetProperty_FixedRangeBucketSpec) Descriptor() ([]byte, []int)
Deprecated: Use FacetProperty_FixedRangeBucketSpec.ProtoReflect.Descriptor instead.
func (x *FacetProperty_FixedRangeBucketSpec) GetBucketCount() int32
func (x *FacetProperty_FixedRangeBucketSpec) GetBucketGranularity() *FacetValue
func (x *FacetProperty_FixedRangeBucketSpec) GetBucketStart() *FacetValue
func (*FacetProperty_FixedRangeBucketSpec) ProtoMessage()
func (x *FacetProperty_FixedRangeBucketSpec) ProtoReflect() protoreflect.Message
func (x *FacetProperty_FixedRangeBucketSpec) Reset()
func (x *FacetProperty_FixedRangeBucketSpec) String() string
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"` }
Definition of a single value with generic type.
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 }
func (*FacetValue) Descriptor() ([]byte, []int)
Deprecated: Use FacetValue.ProtoReflect.Descriptor instead.
func (x *FacetValue) GetDatetimeValue() *datetime.DateTime
func (x *FacetValue) GetIntegerValue() int64
func (x *FacetValue) GetStringValue() string
func (m *FacetValue) GetValue() isFacetValue_Value
func (*FacetValue) ProtoMessage()
func (x *FacetValue) ProtoReflect() protoreflect.Message
func (x *FacetValue) Reset()
func (x *FacetValue) String() string
type FacetValue_DatetimeValue struct { // Datetime type value. DatetimeValue *datetime.DateTime `protobuf:"bytes,3,opt,name=datetime_value,json=datetimeValue,proto3,oneof"` }
type FacetValue_IntegerValue struct { // Integer type value. IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"` }
type FacetValue_StringValue struct { // String type value. StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"` }
Float range type.
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 }
func (*FloatRange) Descriptor() ([]byte, []int)
Deprecated: Use FloatRange.ProtoReflect.Descriptor instead.
func (x *FloatRange) GetEnd() float32
func (x *FloatRange) GetStart() float32
func (*FloatRange) ProtoMessage()
func (x *FloatRange) ProtoReflect() protoreflect.Message
func (x *FloatRange) Reset()
func (x *FloatRange) String() string
A list of float range values.
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 }
func (*FloatRangeArray) Descriptor() ([]byte, []int)
Deprecated: Use FloatRangeArray.ProtoReflect.Descriptor instead.
func (x *FloatRangeArray) GetFloatRanges() []*FloatRange
func (*FloatRangeArray) ProtoMessage()
func (x *FloatRangeArray) ProtoReflect() protoreflect.Message
func (x *FloatRangeArray) Reset()
func (x *FloatRangeArray) String() string
The Google Cloud Storage location for the input content.
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 }
func (*GcsSource) Descriptor() ([]byte, []int)
Deprecated: Use GcsSource.ProtoReflect.Descriptor instead.
func (x *GcsSource) GetUris() []string
func (*GcsSource) ProtoMessage()
func (x *GcsSource) ProtoReflect() protoreflect.Message
func (x *GcsSource) Reset()
func (x *GcsSource) String() string
Message of configurations for General Object Detection processor.
type GeneralObjectDetectionConfig struct {
// contains filtered or unexported fields
}
func (*GeneralObjectDetectionConfig) Descriptor() ([]byte, []int)
Deprecated: Use GeneralObjectDetectionConfig.ProtoReflect.Descriptor instead.
func (*GeneralObjectDetectionConfig) ProtoMessage()
func (x *GeneralObjectDetectionConfig) ProtoReflect() protoreflect.Message
func (x *GeneralObjectDetectionConfig) Reset()
func (x *GeneralObjectDetectionConfig) String() string
Request message for GenerateHlsUri API.
type GenerateHlsUriRequest struct { // Required. The resource name of the asset to request clips for. // Form: // '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. TemporalPartitions []*Partition_TemporalPartition `protobuf:"bytes,2,rep,name=temporal_partitions,json=temporalPartitions,proto3" json:"temporal_partitions,omitempty"` // contains filtered or unexported fields }
func (*GenerateHlsUriRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateHlsUriRequest.ProtoReflect.Descriptor instead.
func (x *GenerateHlsUriRequest) GetName() string
func (x *GenerateHlsUriRequest) GetTemporalPartitions() []*Partition_TemporalPartition
func (*GenerateHlsUriRequest) ProtoMessage()
func (x *GenerateHlsUriRequest) ProtoReflect() protoreflect.Message
func (x *GenerateHlsUriRequest) Reset()
func (x *GenerateHlsUriRequest) String() string
Response message for GenerateHlsUri API.
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 }
func (*GenerateHlsUriResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateHlsUriResponse.ProtoReflect.Descriptor instead.
func (x *GenerateHlsUriResponse) GetTemporalPartitions() []*Partition_TemporalPartition
func (x *GenerateHlsUriResponse) GetUri() string
func (*GenerateHlsUriResponse) ProtoMessage()
func (x *GenerateHlsUriResponse) ProtoReflect() protoreflect.Message
func (x *GenerateHlsUriResponse) Reset()
func (x *GenerateHlsUriResponse) String() string
Request message for getting the auth token to access the stream HLS contents.
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 }
func (*GenerateStreamHlsTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateStreamHlsTokenRequest.ProtoReflect.Descriptor instead.
func (x *GenerateStreamHlsTokenRequest) GetStream() string
func (*GenerateStreamHlsTokenRequest) ProtoMessage()
func (x *GenerateStreamHlsTokenRequest) ProtoReflect() protoreflect.Message
func (x *GenerateStreamHlsTokenRequest) Reset()
func (x *GenerateStreamHlsTokenRequest) String() string
Response message for GenerateStreamHlsToken.
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 }
func (*GenerateStreamHlsTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateStreamHlsTokenResponse.ProtoReflect.Descriptor instead.
func (x *GenerateStreamHlsTokenResponse) GetExpirationTime() *timestamppb.Timestamp
func (x *GenerateStreamHlsTokenResponse) GetToken() string
func (*GenerateStreamHlsTokenResponse) ProtoMessage()
func (x *GenerateStreamHlsTokenResponse) ProtoReflect() protoreflect.Message
func (x *GenerateStreamHlsTokenResponse) Reset()
func (x *GenerateStreamHlsTokenResponse) String() string
Location Coordinate Representation
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 }
func (*GeoCoordinate) Descriptor() ([]byte, []int)
Deprecated: Use GeoCoordinate.ProtoReflect.Descriptor instead.
func (x *GeoCoordinate) GetLatitude() float64
func (x *GeoCoordinate) GetLongitude() float64
func (*GeoCoordinate) ProtoMessage()
func (x *GeoCoordinate) ProtoReflect() protoreflect.Message
func (x *GeoCoordinate) Reset()
func (x *GeoCoordinate) String() string
A list of locations.
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 }
func (*GeoLocationArray) Descriptor() ([]byte, []int)
Deprecated: Use GeoLocationArray.ProtoReflect.Descriptor instead.
func (x *GeoLocationArray) GetCircleAreas() []*CircleArea
func (*GeoLocationArray) ProtoMessage()
func (x *GeoLocationArray) ProtoReflect() protoreflect.Message
func (x *GeoLocationArray) Reset()
func (x *GeoLocationArray) String() string
Message for getting an Analysis.
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 }
func (*GetAnalysisRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAnalysisRequest.ProtoReflect.Descriptor instead.
func (x *GetAnalysisRequest) GetName() string
func (*GetAnalysisRequest) ProtoMessage()
func (x *GetAnalysisRequest) ProtoReflect() protoreflect.Message
func (x *GetAnalysisRequest) Reset()
func (x *GetAnalysisRequest) String() string
Request message for GetAnnotation API.
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 }
func (*GetAnnotationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAnnotationRequest.ProtoReflect.Descriptor instead.
func (x *GetAnnotationRequest) GetName() string
func (*GetAnnotationRequest) ProtoMessage()
func (x *GetAnnotationRequest) ProtoReflect() protoreflect.Message
func (x *GetAnnotationRequest) Reset()
func (x *GetAnnotationRequest) String() string
Message for getting a Application.
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 }
func (*GetApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetApplicationRequest.ProtoReflect.Descriptor instead.
func (x *GetApplicationRequest) GetName() string
func (*GetApplicationRequest) ProtoMessage()
func (x *GetApplicationRequest) ProtoReflect() protoreflect.Message
func (x *GetApplicationRequest) Reset()
func (x *GetApplicationRequest) String() string
Request message for GetAsset.
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 }
func (*GetAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAssetRequest.ProtoReflect.Descriptor instead.
func (x *GetAssetRequest) GetName() string
func (*GetAssetRequest) ProtoMessage()
func (x *GetAssetRequest) ProtoReflect() protoreflect.Message
func (x *GetAssetRequest) Reset()
func (x *GetAssetRequest) String() string
Message for getting a Cluster.
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 }
func (*GetClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.
func (x *GetClusterRequest) GetName() string
func (*GetClusterRequest) ProtoMessage()
func (x *GetClusterRequest) ProtoReflect() protoreflect.Message
func (x *GetClusterRequest) Reset()
func (x *GetClusterRequest) String() string
Request message for GetCorpus.
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 }
func (*GetCorpusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCorpusRequest.ProtoReflect.Descriptor instead.
func (x *GetCorpusRequest) GetName() string
func (*GetCorpusRequest) ProtoMessage()
func (x *GetCorpusRequest) ProtoReflect() protoreflect.Message
func (x *GetCorpusRequest) Reset()
func (x *GetCorpusRequest) String() string
Request message for GetDataSchema.
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 }
func (*GetDataSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDataSchemaRequest.ProtoReflect.Descriptor instead.
func (x *GetDataSchemaRequest) GetName() string
func (*GetDataSchemaRequest) ProtoMessage()
func (x *GetDataSchemaRequest) ProtoReflect() protoreflect.Message
func (x *GetDataSchemaRequest) Reset()
func (x *GetDataSchemaRequest) String() string
Message for getting a Draft.
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 }
func (*GetDraftRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDraftRequest.ProtoReflect.Descriptor instead.
func (x *GetDraftRequest) GetName() string
func (*GetDraftRequest) ProtoMessage()
func (x *GetDraftRequest) ProtoReflect() protoreflect.Message
func (x *GetDraftRequest) Reset()
func (x *GetDraftRequest) String() string
Message for getting a Event.
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 }
func (*GetEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEventRequest.ProtoReflect.Descriptor instead.
func (x *GetEventRequest) GetName() string
func (*GetEventRequest) ProtoMessage()
func (x *GetEventRequest) ProtoReflect() protoreflect.Message
func (x *GetEventRequest) Reset()
func (x *GetEventRequest) String() string
Message for getting a Instance.
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 }
func (*GetInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.
func (x *GetInstanceRequest) GetName() string
func (*GetInstanceRequest) ProtoMessage()
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message
func (x *GetInstanceRequest) Reset()
func (x *GetInstanceRequest) String() string
Message for getting a Processor.
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 }
func (*GetProcessorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProcessorRequest.ProtoReflect.Descriptor instead.
func (x *GetProcessorRequest) GetName() string
func (*GetProcessorRequest) ProtoMessage()
func (x *GetProcessorRequest) ProtoReflect() protoreflect.Message
func (x *GetProcessorRequest) Reset()
func (x *GetProcessorRequest) String() string
Request message for GetSearchConfig.
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 }
func (*GetSearchConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSearchConfigRequest.ProtoReflect.Descriptor instead.
func (x *GetSearchConfigRequest) GetName() string
func (*GetSearchConfigRequest) ProtoMessage()
func (x *GetSearchConfigRequest) ProtoReflect() protoreflect.Message
func (x *GetSearchConfigRequest) Reset()
func (x *GetSearchConfigRequest) String() string
Message for getting a Series.
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 }
func (*GetSeriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSeriesRequest.ProtoReflect.Descriptor instead.
func (x *GetSeriesRequest) GetName() string
func (*GetSeriesRequest) ProtoMessage()
func (x *GetSeriesRequest) ProtoReflect() protoreflect.Message
func (x *GetSeriesRequest) Reset()
func (x *GetSeriesRequest) String() string
Message for getting a Stream.
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 }
func (*GetStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStreamRequest.ProtoReflect.Descriptor instead.
func (x *GetStreamRequest) GetName() string
func (*GetStreamRequest) ProtoMessage()
func (x *GetStreamRequest) ProtoReflect() protoreflect.Message
func (x *GetStreamRequest) Reset()
func (x *GetStreamRequest) String() string
Message for getting the thumbnail of a Stream.
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 }
func (*GetStreamThumbnailRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStreamThumbnailRequest.ProtoReflect.Descriptor instead.
func (x *GetStreamThumbnailRequest) GetEvent() string
func (x *GetStreamThumbnailRequest) GetGcsObjectName() string
func (x *GetStreamThumbnailRequest) GetRequestId() string
func (x *GetStreamThumbnailRequest) GetStream() string
func (*GetStreamThumbnailRequest) ProtoMessage()
func (x *GetStreamThumbnailRequest) ProtoReflect() protoreflect.Message
func (x *GetStreamThumbnailRequest) Reset()
func (x *GetStreamThumbnailRequest) String() string
Message for the response of GetStreamThumbnail. The empty response message indicates the thumbnail image has been uploaded to GCS successfully.
type GetStreamThumbnailResponse struct {
// contains filtered or unexported fields
}
func (*GetStreamThumbnailResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStreamThumbnailResponse.ProtoReflect.Descriptor instead.
func (*GetStreamThumbnailResponse) ProtoMessage()
func (x *GetStreamThumbnailResponse) ProtoReflect() protoreflect.Message
func (x *GetStreamThumbnailResponse) Reset()
func (x *GetStreamThumbnailResponse) String() string
The descriptor for a gstreamer buffer payload.
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 }
func (*GstreamerBufferDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use GstreamerBufferDescriptor.ProtoReflect.Descriptor instead.
func (x *GstreamerBufferDescriptor) GetCapsString() string
func (x *GstreamerBufferDescriptor) GetDtsTime() *timestamppb.Timestamp
func (x *GstreamerBufferDescriptor) GetDuration() *durationpb.Duration
func (x *GstreamerBufferDescriptor) GetIsKeyFrame() bool
func (x *GstreamerBufferDescriptor) GetPtsTime() *timestamppb.Timestamp
func (*GstreamerBufferDescriptor) ProtoMessage()
func (x *GstreamerBufferDescriptor) ProtoReflect() protoreflect.Message
func (x *GstreamerBufferDescriptor) Reset()
func (x *GstreamerBufferDescriptor) String() string
Prediction output format for Image Object Detection.
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 }
func (*ImageObjectDetectionPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use ImageObjectDetectionPredictionResult.ProtoReflect.Descriptor instead.
func (x *ImageObjectDetectionPredictionResult) GetBboxes() []*structpb.ListValue
func (x *ImageObjectDetectionPredictionResult) GetConfidences() []float32
func (x *ImageObjectDetectionPredictionResult) GetDisplayNames() []string
func (x *ImageObjectDetectionPredictionResult) GetIds() []int64
func (*ImageObjectDetectionPredictionResult) ProtoMessage()
func (x *ImageObjectDetectionPredictionResult) ProtoReflect() protoreflect.Message
func (x *ImageObjectDetectionPredictionResult) Reset()
func (x *ImageObjectDetectionPredictionResult) String() string
Prediction output format for Image Segmentation.
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 }
func (*ImageSegmentationPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use ImageSegmentationPredictionResult.ProtoReflect.Descriptor instead.
func (x *ImageSegmentationPredictionResult) GetCategoryMask() string
func (x *ImageSegmentationPredictionResult) GetConfidenceMask() string
func (*ImageSegmentationPredictionResult) ProtoMessage()
func (x *ImageSegmentationPredictionResult) ProtoReflect() protoreflect.Message
func (x *ImageSegmentationPredictionResult) Reset()
func (x *ImageSegmentationPredictionResult) String() string
Request message for IngestAsset API.
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 }
func (*IngestAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use IngestAssetRequest.ProtoReflect.Descriptor instead.
func (x *IngestAssetRequest) GetConfig() *IngestAssetRequest_Config
func (m *IngestAssetRequest) GetStreamingRequest() isIngestAssetRequest_StreamingRequest
func (x *IngestAssetRequest) GetTimeIndexedData() *IngestAssetRequest_TimeIndexedData
func (*IngestAssetRequest) ProtoMessage()
func (x *IngestAssetRequest) ProtoReflect() protoreflect.Message
func (x *IngestAssetRequest) Reset()
func (x *IngestAssetRequest) String() string
Configuration for the data.
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 }
func (*IngestAssetRequest_Config) Descriptor() ([]byte, []int)
Deprecated: Use IngestAssetRequest_Config.ProtoReflect.Descriptor instead.
func (x *IngestAssetRequest_Config) GetAsset() string
func (m *IngestAssetRequest_Config) GetDataType() isIngestAssetRequest_Config_DataType
func (x *IngestAssetRequest_Config) GetVideoType() *IngestAssetRequest_Config_VideoType
func (*IngestAssetRequest_Config) ProtoMessage()
func (x *IngestAssetRequest_Config) ProtoReflect() protoreflect.Message
func (x *IngestAssetRequest_Config) Reset()
func (x *IngestAssetRequest_Config) String() string
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"` }
Type information for video data.
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 }
func (*IngestAssetRequest_Config_VideoType) Descriptor() ([]byte, []int)
Deprecated: Use IngestAssetRequest_Config_VideoType.ProtoReflect.Descriptor instead.
func (x *IngestAssetRequest_Config_VideoType) GetContainerFormat() IngestAssetRequest_Config_VideoType_ContainerFormat
func (*IngestAssetRequest_Config_VideoType) ProtoMessage()
func (x *IngestAssetRequest_Config_VideoType) ProtoReflect() protoreflect.Message
func (x *IngestAssetRequest_Config_VideoType) Reset()
func (x *IngestAssetRequest_Config_VideoType) String() string
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"` }
Container format of the video.
type IngestAssetRequest_Config_VideoType_ContainerFormat int32
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() protoreflect.EnumDescriptor
func (x IngestAssetRequest_Config_VideoType_ContainerFormat) Enum() *IngestAssetRequest_Config_VideoType_ContainerFormat
func (IngestAssetRequest_Config_VideoType_ContainerFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use IngestAssetRequest_Config_VideoType_ContainerFormat.Descriptor instead.
func (x IngestAssetRequest_Config_VideoType_ContainerFormat) Number() protoreflect.EnumNumber
func (x IngestAssetRequest_Config_VideoType_ContainerFormat) String() string
func (IngestAssetRequest_Config_VideoType_ContainerFormat) Type() protoreflect.EnumType
Contains the data and the corresponding time range this data is for.
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 }
func (*IngestAssetRequest_TimeIndexedData) Descriptor() ([]byte, []int)
Deprecated: Use IngestAssetRequest_TimeIndexedData.ProtoReflect.Descriptor instead.
func (x *IngestAssetRequest_TimeIndexedData) GetData() []byte
func (x *IngestAssetRequest_TimeIndexedData) GetTemporalPartition() *Partition_TemporalPartition
func (*IngestAssetRequest_TimeIndexedData) ProtoMessage()
func (x *IngestAssetRequest_TimeIndexedData) ProtoReflect() protoreflect.Message
func (x *IngestAssetRequest_TimeIndexedData) Reset()
func (x *IngestAssetRequest_TimeIndexedData) String() string
type IngestAssetRequest_TimeIndexedData_ struct { // Data to be ingested. TimeIndexedData *IngestAssetRequest_TimeIndexedData `protobuf:"bytes,2,opt,name=time_indexed_data,json=timeIndexedData,proto3,oneof"` }
Response message for IngestAsset API.
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 }
func (*IngestAssetResponse) Descriptor() ([]byte, []int)
Deprecated: Use IngestAssetResponse.ProtoReflect.Descriptor instead.
func (x *IngestAssetResponse) GetSuccessfullyIngestedPartition() *Partition_TemporalPartition
func (*IngestAssetResponse) ProtoMessage()
func (x *IngestAssetResponse) ProtoReflect() protoreflect.Message
func (x *IngestAssetResponse) Reset()
func (x *IngestAssetResponse) String() string
Message describing Instance object
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 application. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,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 }
func (*Instance) Descriptor() ([]byte, []int)
Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (x *Instance) GetCreateTime() *timestamppb.Timestamp
func (x *Instance) GetDescription() string
func (x *Instance) GetDisplayName() string
func (x *Instance) GetInputResources() []*Instance_InputResource
func (x *Instance) GetLabels() map[string]string
func (x *Instance) GetName() string
func (x *Instance) GetOutputResources() []*Instance_OutputResource
func (x *Instance) GetState() Instance_State
func (x *Instance) GetUpdateTime() *timestamppb.Timestamp
func (*Instance) ProtoMessage()
func (x *Instance) ProtoReflect() protoreflect.Message
func (x *Instance) Reset()
func (x *Instance) String() string
Message of input resource used in one application instance.
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"` // 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 }
func (*Instance_InputResource) Descriptor() ([]byte, []int)
Deprecated: Use Instance_InputResource.ProtoReflect.Descriptor instead.
func (x *Instance_InputResource) GetAnnotatedStream() *StreamWithAnnotation
Deprecated: Do not use.
func (x *Instance_InputResource) GetAnnotations() *ResourceAnnotations
func (x *Instance_InputResource) GetConsumerNode() string
func (x *Instance_InputResource) GetInputResource() string
func (x *Instance_InputResource) GetInputResourceBinding() string
func (m *Instance_InputResource) GetInputResourceInformation() isInstance_InputResource_InputResourceInformation
func (*Instance_InputResource) ProtoMessage()
func (x *Instance_InputResource) ProtoReflect() protoreflect.Message
func (x *Instance_InputResource) Reset()
func (x *Instance_InputResource) String() string
type Instance_InputResource_AnnotatedStream struct { // If the input resource is VisionAI Stream, the associated annotations // can be specified using annotated_stream instead. // // Deprecated: Do not use. AnnotatedStream *StreamWithAnnotation `protobuf:"bytes,4,opt,name=annotated_stream,json=annotatedStream,proto3,oneof"` }
type Instance_InputResource_InputResource struct { // The direct input resource name. InputResource string `protobuf:"bytes,1,opt,name=input_resource,json=inputResource,proto3,oneof"` }
Message of output resource used in one application instance.
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 }
func (*Instance_OutputResource) Descriptor() ([]byte, []int)
Deprecated: Use Instance_OutputResource.ProtoReflect.Descriptor instead.
func (x *Instance_OutputResource) GetAutogen() bool
func (x *Instance_OutputResource) GetIsTemporary() bool
func (x *Instance_OutputResource) GetOutputResource() string
func (x *Instance_OutputResource) GetOutputResourceBinding() string
func (x *Instance_OutputResource) GetProducerNode() string
func (*Instance_OutputResource) ProtoMessage()
func (x *Instance_OutputResource) ProtoReflect() protoreflect.Message
func (x *Instance_OutputResource) Reset()
func (x *Instance_OutputResource) String() string
State of the Instance
type Instance_State int32
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 )
func (Instance_State) Descriptor() protoreflect.EnumDescriptor
func (x Instance_State) Enum() *Instance_State
func (Instance_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_State.Descriptor instead.
func (x Instance_State) Number() protoreflect.EnumNumber
func (x Instance_State) String() string
func (Instance_State) Type() protoreflect.EnumType
Integer range type.
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 }
func (*IntRange) Descriptor() ([]byte, []int)
Deprecated: Use IntRange.ProtoReflect.Descriptor instead.
func (x *IntRange) GetEnd() int64
func (x *IntRange) GetStart() int64
func (*IntRange) ProtoMessage()
func (x *IntRange) ProtoReflect() protoreflect.Message
func (x *IntRange) Reset()
func (x *IntRange) String() string
A list of integer range values.
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 }
func (*IntRangeArray) Descriptor() ([]byte, []int)
Deprecated: Use IntRangeArray.ProtoReflect.Descriptor instead.
func (x *IntRangeArray) GetIntRanges() []*IntRange
func (*IntRangeArray) ProtoMessage()
func (x *IntRangeArray) ProtoReflect() protoreflect.Message
func (x *IntRangeArray) Reset()
func (x *IntRangeArray) String() string
The lease message.
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 }
func (*Lease) Descriptor() ([]byte, []int)
Deprecated: Use Lease.ProtoReflect.Descriptor instead.
func (x *Lease) GetExpireTime() *timestamppb.Timestamp
func (x *Lease) GetId() string
func (x *Lease) GetLeaseType() LeaseType
func (x *Lease) GetOwner() string
func (x *Lease) GetSeries() string
func (*Lease) ProtoMessage()
func (x *Lease) ProtoReflect() protoreflect.Message
func (x *Lease) Reset()
func (x *Lease) String() string
The lease type.
type LeaseType int32
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() protoreflect.EnumDescriptor
func (x LeaseType) Enum() *LeaseType
func (LeaseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LeaseType.Descriptor instead.
func (x LeaseType) Number() protoreflect.EnumNumber
func (x LeaseType) String() string
func (LeaseType) Type() protoreflect.EnumType
Message for requesting list of Analyses
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 }
func (*ListAnalysesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAnalysesRequest.ProtoReflect.Descriptor instead.
func (x *ListAnalysesRequest) GetFilter() string
func (x *ListAnalysesRequest) GetOrderBy() string
func (x *ListAnalysesRequest) GetPageSize() int32
func (x *ListAnalysesRequest) GetPageToken() string
func (x *ListAnalysesRequest) GetParent() string
func (*ListAnalysesRequest) ProtoMessage()
func (x *ListAnalysesRequest) ProtoReflect() protoreflect.Message
func (x *ListAnalysesRequest) Reset()
func (x *ListAnalysesRequest) String() string
Message for response to listing Analyses
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 }
func (*ListAnalysesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAnalysesResponse.ProtoReflect.Descriptor instead.
func (x *ListAnalysesResponse) GetAnalyses() []*Analysis
func (x *ListAnalysesResponse) GetNextPageToken() string
func (x *ListAnalysesResponse) GetUnreachable() []string
func (*ListAnalysesResponse) ProtoMessage()
func (x *ListAnalysesResponse) ProtoReflect() protoreflect.Message
func (x *ListAnalysesResponse) Reset()
func (x *ListAnalysesResponse) String() string
Request message for GetAnnotation API.
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: // `partition.temporal_partition.start_time`, // `partition.temporal_partition.end_time`, and `key`. // 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 }
func (*ListAnnotationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAnnotationsRequest.ProtoReflect.Descriptor instead.
func (x *ListAnnotationsRequest) GetFilter() string
func (x *ListAnnotationsRequest) GetPageSize() int32
func (x *ListAnnotationsRequest) GetPageToken() string
func (x *ListAnnotationsRequest) GetParent() string
func (*ListAnnotationsRequest) ProtoMessage()
func (x *ListAnnotationsRequest) ProtoReflect() protoreflect.Message
func (x *ListAnnotationsRequest) Reset()
func (x *ListAnnotationsRequest) String() string
Request message for ListAnnotations API.
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 }
func (*ListAnnotationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAnnotationsResponse.ProtoReflect.Descriptor instead.
func (x *ListAnnotationsResponse) GetAnnotations() []*Annotation
func (x *ListAnnotationsResponse) GetNextPageToken() string
func (*ListAnnotationsResponse) ProtoMessage()
func (x *ListAnnotationsResponse) ProtoReflect() protoreflect.Message
func (x *ListAnnotationsResponse) Reset()
func (x *ListAnnotationsResponse) String() string
Message for requesting list of Applications.
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 }
func (*ListApplicationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListApplicationsRequest.ProtoReflect.Descriptor instead.
func (x *ListApplicationsRequest) GetFilter() string
func (x *ListApplicationsRequest) GetOrderBy() string
func (x *ListApplicationsRequest) GetPageSize() int32
func (x *ListApplicationsRequest) GetPageToken() string
func (x *ListApplicationsRequest) GetParent() string
func (*ListApplicationsRequest) ProtoMessage()
func (x *ListApplicationsRequest) ProtoReflect() protoreflect.Message
func (x *ListApplicationsRequest) Reset()
func (x *ListApplicationsRequest) String() string
Message for response to listing Applications.
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 }
func (*ListApplicationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListApplicationsResponse.ProtoReflect.Descriptor instead.
func (x *ListApplicationsResponse) GetApplications() []*Application
func (x *ListApplicationsResponse) GetNextPageToken() string
func (x *ListApplicationsResponse) GetUnreachable() []string
func (*ListApplicationsResponse) ProtoMessage()
func (x *ListApplicationsResponse) ProtoReflect() protoreflect.Message
func (x *ListApplicationsResponse) Reset()
func (x *ListApplicationsResponse) String() string
Request message for ListAssets.
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"` // contains filtered or unexported fields }
func (*ListAssetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAssetsRequest.ProtoReflect.Descriptor instead.
func (x *ListAssetsRequest) GetPageSize() int32
func (x *ListAssetsRequest) GetPageToken() string
func (x *ListAssetsRequest) GetParent() string
func (*ListAssetsRequest) ProtoMessage()
func (x *ListAssetsRequest) ProtoReflect() protoreflect.Message
func (x *ListAssetsRequest) Reset()
func (x *ListAssetsRequest) String() string
Response message for ListAssets.
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 }
func (*ListAssetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAssetsResponse.ProtoReflect.Descriptor instead.
func (x *ListAssetsResponse) GetAssets() []*Asset
func (x *ListAssetsResponse) GetNextPageToken() string
func (*ListAssetsResponse) ProtoMessage()
func (x *ListAssetsResponse) ProtoReflect() protoreflect.Message
func (x *ListAssetsResponse) Reset()
func (x *ListAssetsResponse) String() string
Message for requesting list of Clusters.
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 }
func (*ListClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.
func (x *ListClustersRequest) GetFilter() string
func (x *ListClustersRequest) GetOrderBy() string
func (x *ListClustersRequest) GetPageSize() int32
func (x *ListClustersRequest) GetPageToken() string
func (x *ListClustersRequest) GetParent() string
func (*ListClustersRequest) ProtoMessage()
func (x *ListClustersRequest) ProtoReflect() protoreflect.Message
func (x *ListClustersRequest) Reset()
func (x *ListClustersRequest) String() string
Message for response to listing Clusters.
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 }
func (*ListClustersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.
func (x *ListClustersResponse) GetClusters() []*Cluster
func (x *ListClustersResponse) GetNextPageToken() string
func (x *ListClustersResponse) GetUnreachable() []string
func (*ListClustersResponse) ProtoMessage()
func (x *ListClustersResponse) ProtoReflect() protoreflect.Message
func (x *ListClustersResponse) Reset()
func (x *ListClustersResponse) String() string
Request message for ListCorpora.
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 [ListCorpora.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"` // contains filtered or unexported fields }
func (*ListCorporaRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCorporaRequest.ProtoReflect.Descriptor instead.
func (x *ListCorporaRequest) GetPageSize() int32
func (x *ListCorporaRequest) GetPageToken() string
func (x *ListCorporaRequest) GetParent() string
func (*ListCorporaRequest) ProtoMessage()
func (x *ListCorporaRequest) ProtoReflect() protoreflect.Message
func (x *ListCorporaRequest) Reset()
func (x *ListCorporaRequest) String() string
Response message for ListCorpora.
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 }
func (*ListCorporaResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCorporaResponse.ProtoReflect.Descriptor instead.
func (x *ListCorporaResponse) GetCorpora() []*Corpus
func (x *ListCorporaResponse) GetNextPageToken() string
func (*ListCorporaResponse) ProtoMessage()
func (x *ListCorporaResponse) ProtoReflect() protoreflect.Message
func (x *ListCorporaResponse) Reset()
func (x *ListCorporaResponse) String() string
Request message for ListDataSchemas.
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 }
func (*ListDataSchemasRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSchemasRequest.ProtoReflect.Descriptor instead.
func (x *ListDataSchemasRequest) GetPageSize() int32
func (x *ListDataSchemasRequest) GetPageToken() string
func (x *ListDataSchemasRequest) GetParent() string
func (*ListDataSchemasRequest) ProtoMessage()
func (x *ListDataSchemasRequest) ProtoReflect() protoreflect.Message
func (x *ListDataSchemasRequest) Reset()
func (x *ListDataSchemasRequest) String() string
Response message for ListDataSchemas.
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 }
func (*ListDataSchemasResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSchemasResponse.ProtoReflect.Descriptor instead.
func (x *ListDataSchemasResponse) GetDataSchemas() []*DataSchema
func (x *ListDataSchemasResponse) GetNextPageToken() string
func (*ListDataSchemasResponse) ProtoMessage()
func (x *ListDataSchemasResponse) ProtoReflect() protoreflect.Message
func (x *ListDataSchemasResponse) Reset()
func (x *ListDataSchemasResponse) String() string
Message for requesting list of Drafts.
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 }
func (*ListDraftsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDraftsRequest.ProtoReflect.Descriptor instead.
func (x *ListDraftsRequest) GetFilter() string
func (x *ListDraftsRequest) GetOrderBy() string
func (x *ListDraftsRequest) GetPageSize() int32
func (x *ListDraftsRequest) GetPageToken() string
func (x *ListDraftsRequest) GetParent() string
func (*ListDraftsRequest) ProtoMessage()
func (x *ListDraftsRequest) ProtoReflect() protoreflect.Message
func (x *ListDraftsRequest) Reset()
func (x *ListDraftsRequest) String() string
Message for response to listing Drafts.
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 }
func (*ListDraftsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDraftsResponse.ProtoReflect.Descriptor instead.
func (x *ListDraftsResponse) GetDrafts() []*Draft
func (x *ListDraftsResponse) GetNextPageToken() string
func (x *ListDraftsResponse) GetUnreachable() []string
func (*ListDraftsResponse) ProtoMessage()
func (x *ListDraftsResponse) ProtoReflect() protoreflect.Message
func (x *ListDraftsResponse) Reset()
func (x *ListDraftsResponse) String() string
Message for requesting list of Events.
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 }
func (*ListEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.
func (x *ListEventsRequest) GetFilter() string
func (x *ListEventsRequest) GetOrderBy() string
func (x *ListEventsRequest) GetPageSize() int32
func (x *ListEventsRequest) GetPageToken() string
func (x *ListEventsRequest) GetParent() string
func (*ListEventsRequest) ProtoMessage()
func (x *ListEventsRequest) ProtoReflect() protoreflect.Message
func (x *ListEventsRequest) Reset()
func (x *ListEventsRequest) String() string
Message for response to listing Events.
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 }
func (*ListEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.
func (x *ListEventsResponse) GetEvents() []*Event
func (x *ListEventsResponse) GetNextPageToken() string
func (x *ListEventsResponse) GetUnreachable() []string
func (*ListEventsResponse) ProtoMessage()
func (x *ListEventsResponse) ProtoReflect() protoreflect.Message
func (x *ListEventsResponse) Reset()
func (x *ListEventsResponse) String() string
Message for requesting list of Instances.
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 }
func (*ListInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.
func (x *ListInstancesRequest) GetFilter() string
func (x *ListInstancesRequest) GetOrderBy() string
func (x *ListInstancesRequest) GetPageSize() int32
func (x *ListInstancesRequest) GetPageToken() string
func (x *ListInstancesRequest) GetParent() string
func (*ListInstancesRequest) ProtoMessage()
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message
func (x *ListInstancesRequest) Reset()
func (x *ListInstancesRequest) String() string
Message for response to listing Instances.
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 }
func (*ListInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.
func (x *ListInstancesResponse) GetInstances() []*Instance
func (x *ListInstancesResponse) GetNextPageToken() string
func (x *ListInstancesResponse) GetUnreachable() []string
func (*ListInstancesResponse) ProtoMessage()
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message
func (x *ListInstancesResponse) Reset()
func (x *ListInstancesResponse) String() string
Request Message for listing Prebuilt Processors.
type ListPrebuiltProcessorsRequest struct { // Required. Parent path. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
func (*ListPrebuiltProcessorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPrebuiltProcessorsRequest.ProtoReflect.Descriptor instead.
func (x *ListPrebuiltProcessorsRequest) GetParent() string
func (*ListPrebuiltProcessorsRequest) ProtoMessage()
func (x *ListPrebuiltProcessorsRequest) ProtoReflect() protoreflect.Message
func (x *ListPrebuiltProcessorsRequest) Reset()
func (x *ListPrebuiltProcessorsRequest) String() string
Response Message for listing Prebuilt Processors.
type ListPrebuiltProcessorsResponse struct { // The list of Processor. Processors []*Processor `protobuf:"bytes,1,rep,name=processors,proto3" json:"processors,omitempty"` // contains filtered or unexported fields }
func (*ListPrebuiltProcessorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPrebuiltProcessorsResponse.ProtoReflect.Descriptor instead.
func (x *ListPrebuiltProcessorsResponse) GetProcessors() []*Processor
func (*ListPrebuiltProcessorsResponse) ProtoMessage()
func (x *ListPrebuiltProcessorsResponse) ProtoReflect() protoreflect.Message
func (x *ListPrebuiltProcessorsResponse) Reset()
func (x *ListPrebuiltProcessorsResponse) String() string
Message for requesting list of Processors.
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 }
func (*ListProcessorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProcessorsRequest.ProtoReflect.Descriptor instead.
func (x *ListProcessorsRequest) GetFilter() string
func (x *ListProcessorsRequest) GetOrderBy() string
func (x *ListProcessorsRequest) GetPageSize() int32
func (x *ListProcessorsRequest) GetPageToken() string
func (x *ListProcessorsRequest) GetParent() string
func (*ListProcessorsRequest) ProtoMessage()
func (x *ListProcessorsRequest) ProtoReflect() protoreflect.Message
func (x *ListProcessorsRequest) Reset()
func (x *ListProcessorsRequest) String() string
Message for response to listing Processors.
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 }
func (*ListProcessorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProcessorsResponse.ProtoReflect.Descriptor instead.
func (x *ListProcessorsResponse) GetNextPageToken() string
func (x *ListProcessorsResponse) GetProcessors() []*Processor
func (x *ListProcessorsResponse) GetUnreachable() []string
func (*ListProcessorsResponse) ProtoMessage()
func (x *ListProcessorsResponse) ProtoReflect() protoreflect.Message
func (x *ListProcessorsResponse) Reset()
func (x *ListProcessorsResponse) String() string
Request message for ListSearchConfigs.
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 }
func (*ListSearchConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSearchConfigsRequest.ProtoReflect.Descriptor instead.
func (x *ListSearchConfigsRequest) GetPageSize() int32
func (x *ListSearchConfigsRequest) GetPageToken() string
func (x *ListSearchConfigsRequest) GetParent() string
func (*ListSearchConfigsRequest) ProtoMessage()
func (x *ListSearchConfigsRequest) ProtoReflect() protoreflect.Message
func (x *ListSearchConfigsRequest) Reset()
func (x *ListSearchConfigsRequest) String() string
Response message for ListSearchConfigs.
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 }
func (*ListSearchConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSearchConfigsResponse.ProtoReflect.Descriptor instead.
func (x *ListSearchConfigsResponse) GetNextPageToken() string
func (x *ListSearchConfigsResponse) GetSearchConfigs() []*SearchConfig
func (*ListSearchConfigsResponse) ProtoMessage()
func (x *ListSearchConfigsResponse) ProtoReflect() protoreflect.Message
func (x *ListSearchConfigsResponse) Reset()
func (x *ListSearchConfigsResponse) String() string
Message for requesting list of Series.
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 }
func (*ListSeriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSeriesRequest.ProtoReflect.Descriptor instead.
func (x *ListSeriesRequest) GetFilter() string
func (x *ListSeriesRequest) GetOrderBy() string
func (x *ListSeriesRequest) GetPageSize() int32
func (x *ListSeriesRequest) GetPageToken() string
func (x *ListSeriesRequest) GetParent() string
func (*ListSeriesRequest) ProtoMessage()
func (x *ListSeriesRequest) ProtoReflect() protoreflect.Message
func (x *ListSeriesRequest) Reset()
func (x *ListSeriesRequest) String() string
Message for response to listing Series.
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 }
func (*ListSeriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSeriesResponse.ProtoReflect.Descriptor instead.
func (x *ListSeriesResponse) GetNextPageToken() string
func (x *ListSeriesResponse) GetSeries() []*Series
func (x *ListSeriesResponse) GetUnreachable() []string
func (*ListSeriesResponse) ProtoMessage()
func (x *ListSeriesResponse) ProtoReflect() protoreflect.Message
func (x *ListSeriesResponse) Reset()
func (x *ListSeriesResponse) String() string
Message for requesting list of Streams.
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 }
func (*ListStreamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListStreamsRequest.ProtoReflect.Descriptor instead.
func (x *ListStreamsRequest) GetFilter() string
func (x *ListStreamsRequest) GetOrderBy() string
func (x *ListStreamsRequest) GetPageSize() int32
func (x *ListStreamsRequest) GetPageToken() string
func (x *ListStreamsRequest) GetParent() string
func (*ListStreamsRequest) ProtoMessage()
func (x *ListStreamsRequest) ProtoReflect() protoreflect.Message
func (x *ListStreamsRequest) Reset()
func (x *ListStreamsRequest) String() string
Message for response to listing Streams.
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 }
func (*ListStreamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListStreamsResponse.ProtoReflect.Descriptor instead.
func (x *ListStreamsResponse) GetNextPageToken() string
func (x *ListStreamsResponse) GetStreams() []*Stream
func (x *ListStreamsResponse) GetUnreachable() []string
func (*ListStreamsResponse) ProtoMessage()
func (x *ListStreamsResponse) ProtoReflect() protoreflect.Message
func (x *ListStreamsResponse) Reset()
func (x *ListStreamsResponse) String() string
LiveVideoAnalyticsClient is the client API for LiveVideoAnalytics service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type LiveVideoAnalyticsClient interface { // 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) (*longrunning.Operation, error) // Updates the parameters of a single Analysis. UpdateAnalysis(ctx context.Context, in *UpdateAnalysisRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deletes a single Analysis. DeleteAnalysis(ctx context.Context, in *DeleteAnalysisRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) }
func NewLiveVideoAnalyticsClient(cc grpc.ClientConnInterface) LiveVideoAnalyticsClient
LiveVideoAnalyticsServer is the server API for LiveVideoAnalytics service.
type LiveVideoAnalyticsServer interface { // 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) (*longrunning.Operation, error) // Updates the parameters of a single Analysis. UpdateAnalysis(context.Context, *UpdateAnalysisRequest) (*longrunning.Operation, error) // Deletes a single Analysis. DeleteAnalysis(context.Context, *DeleteAnalysisRequest) (*longrunning.Operation, error) }
Specification of a single machine.
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 }
func (*MachineSpec) Descriptor() ([]byte, []int)
Deprecated: Use MachineSpec.ProtoReflect.Descriptor instead.
func (x *MachineSpec) GetAcceleratorCount() int32
func (x *MachineSpec) GetAcceleratorType() AcceleratorType
func (x *MachineSpec) GetMachineType() string
func (*MachineSpec) ProtoMessage()
func (x *MachineSpec) ProtoReflect() protoreflect.Message
func (x *MachineSpec) Reset()
func (x *MachineSpec) String() string
Message for materializing a channel.
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 }
func (*MaterializeChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use MaterializeChannelRequest.ProtoReflect.Descriptor instead.
func (x *MaterializeChannelRequest) GetChannel() *Channel
func (x *MaterializeChannelRequest) GetChannelId() string
func (x *MaterializeChannelRequest) GetParent() string
func (x *MaterializeChannelRequest) GetRequestId() string
func (*MaterializeChannelRequest) ProtoMessage()
func (x *MaterializeChannelRequest) ProtoReflect() protoreflect.Message
func (x *MaterializeChannelRequest) Reset()
func (x *MaterializeChannelRequest) String() string
Message describing MediaWarehouseConfig.
type MediaWarehouseConfig struct { // Resource name of the Media Warehouse corpus. // Format: // projects/${project_id}/locations/${location_id}/corpora/${corpus_id} Corpus string `protobuf:"bytes,1,opt,name=corpus,proto3" json:"corpus,omitempty"` // Deprecated. // // Deprecated: Do not use. 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 }
func (*MediaWarehouseConfig) Descriptor() ([]byte, []int)
Deprecated: Use MediaWarehouseConfig.ProtoReflect.Descriptor instead.
func (x *MediaWarehouseConfig) GetCorpus() string
func (x *MediaWarehouseConfig) GetRegion() string
Deprecated: Do not use.
func (x *MediaWarehouseConfig) GetTtl() *durationpb.Duration
func (*MediaWarehouseConfig) ProtoMessage()
func (x *MediaWarehouseConfig) ProtoReflect() protoreflect.Message
func (x *MediaWarehouseConfig) Reset()
func (x *MediaWarehouseConfig) String() string
All the supported model types in Vision AI App Platform.
type ModelType int32
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 )
func (ModelType) Descriptor() protoreflect.EnumDescriptor
func (x ModelType) Enum() *ModelType
func (ModelType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ModelType.Descriptor instead.
func (x ModelType) Number() protoreflect.EnumNumber
func (x ModelType) String() string
func (ModelType) Type() protoreflect.EnumType
Message describing node object.
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 }
func (*Node) Descriptor() ([]byte, []int)
Deprecated: Use Node.ProtoReflect.Descriptor instead.
func (x *Node) GetDisplayName() string
func (x *Node) GetName() string
func (x *Node) GetNodeConfig() *ProcessorConfig
func (x *Node) GetOutputAllOutputChannelsToStream() bool
func (x *Node) GetParents() []*Node_InputEdge
func (x *Node) GetProcessor() string
func (m *Node) GetStreamOutputConfig() isNode_StreamOutputConfig
func (*Node) ProtoMessage()
func (x *Node) ProtoReflect() protoreflect.Message
func (x *Node) Reset()
func (x *Node) String() string
Message describing one edge pointing into a node.
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 }
func (*Node_InputEdge) Descriptor() ([]byte, []int)
Deprecated: Use Node_InputEdge.ProtoReflect.Descriptor instead.
func (x *Node_InputEdge) GetConnectedInputChannel() string
func (x *Node_InputEdge) GetParentNode() string
func (x *Node_InputEdge) GetParentOutputChannel() string
func (*Node_InputEdge) ProtoMessage()
func (x *Node_InputEdge) ProtoReflect() protoreflect.Message
func (x *Node_InputEdge) Reset()
func (x *Node_InputEdge) String() string
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"` }
Normalized Polygon.
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 }
func (*NormalizedPolygon) Descriptor() ([]byte, []int)
Deprecated: Use NormalizedPolygon.ProtoReflect.Descriptor instead.
func (x *NormalizedPolygon) GetNormalizedVertices() []*NormalizedVertex
func (*NormalizedPolygon) ProtoMessage()
func (x *NormalizedPolygon) ProtoReflect() protoreflect.Message
func (x *NormalizedPolygon) Reset()
func (x *NormalizedPolygon) String() string
Normalized Pplyline, which represents a curve consisting of connected straight-line segments.
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 }
func (*NormalizedPolyline) Descriptor() ([]byte, []int)
Deprecated: Use NormalizedPolyline.ProtoReflect.Descriptor instead.
func (x *NormalizedPolyline) GetNormalizedVertices() []*NormalizedVertex
func (*NormalizedPolyline) ProtoMessage()
func (x *NormalizedPolyline) ProtoReflect() protoreflect.Message
func (x *NormalizedPolyline) Reset()
func (x *NormalizedPolyline) String() string
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.
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 }
func (*NormalizedVertex) Descriptor() ([]byte, []int)
Deprecated: Use NormalizedVertex.ProtoReflect.Descriptor instead.
func (x *NormalizedVertex) GetX() float32
func (x *NormalizedVertex) GetY() float32
func (*NormalizedVertex) ProtoMessage()
func (x *NormalizedVertex) ProtoReflect() protoreflect.Message
func (x *NormalizedVertex) Reset()
func (x *NormalizedVertex) String() string
Prediction output format for Generic Object Detection.
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 }
func (*ObjectDetectionPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use ObjectDetectionPredictionResult.ProtoReflect.Descriptor instead.
func (x *ObjectDetectionPredictionResult) GetCurrentTime() *timestamppb.Timestamp
func (x *ObjectDetectionPredictionResult) GetIdentifiedBoxes() []*ObjectDetectionPredictionResult_IdentifiedBox
func (*ObjectDetectionPredictionResult) ProtoMessage()
func (x *ObjectDetectionPredictionResult) ProtoReflect() protoreflect.Message
func (x *ObjectDetectionPredictionResult) Reset()
func (x *ObjectDetectionPredictionResult) String() string
The entity info for annotations from object detection prediction result.
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 }
func (*ObjectDetectionPredictionResult_Entity) Descriptor() ([]byte, []int)
Deprecated: Use ObjectDetectionPredictionResult_Entity.ProtoReflect.Descriptor instead.
func (x *ObjectDetectionPredictionResult_Entity) GetLabelId() int64
func (x *ObjectDetectionPredictionResult_Entity) GetLabelString() string
func (*ObjectDetectionPredictionResult_Entity) ProtoMessage()
func (x *ObjectDetectionPredictionResult_Entity) ProtoReflect() protoreflect.Message
func (x *ObjectDetectionPredictionResult_Entity) Reset()
func (x *ObjectDetectionPredictionResult_Entity) String() string
Identified box contains location and the entity of the object.
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 }
func (*ObjectDetectionPredictionResult_IdentifiedBox) Descriptor() ([]byte, []int)
Deprecated: Use ObjectDetectionPredictionResult_IdentifiedBox.ProtoReflect.Descriptor instead.
func (x *ObjectDetectionPredictionResult_IdentifiedBox) GetBoxId() int64
func (x *ObjectDetectionPredictionResult_IdentifiedBox) GetConfidenceScore() float32
func (x *ObjectDetectionPredictionResult_IdentifiedBox) GetEntity() *ObjectDetectionPredictionResult_Entity
func (x *ObjectDetectionPredictionResult_IdentifiedBox) GetNormalizedBoundingBox() *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox
func (*ObjectDetectionPredictionResult_IdentifiedBox) ProtoMessage()
func (x *ObjectDetectionPredictionResult_IdentifiedBox) ProtoReflect() protoreflect.Message
func (x *ObjectDetectionPredictionResult_IdentifiedBox) Reset()
func (x *ObjectDetectionPredictionResult_IdentifiedBox) String() string
Bounding Box in the normalized coordinates.
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 }
func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) Descriptor() ([]byte, []int)
Deprecated: Use ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox.ProtoReflect.Descriptor instead.
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetHeight() float32
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetWidth() float32
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetXmin() float32
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetYmin() float32
func (*ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoMessage()
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoReflect() protoreflect.Message
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) Reset()
func (x *ObjectDetectionPredictionResult_IdentifiedBox_NormalizedBoundingBox) String() string
Message describing OccupancyCountConfig.
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 }
func (*OccupancyCountConfig) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountConfig.ProtoReflect.Descriptor instead.
func (x *OccupancyCountConfig) GetEnableDwellingTimeTracking() bool
func (x *OccupancyCountConfig) GetEnablePeopleCounting() bool
func (x *OccupancyCountConfig) GetEnableVehicleCounting() bool
func (*OccupancyCountConfig) ProtoMessage()
func (x *OccupancyCountConfig) ProtoReflect() protoreflect.Message
func (x *OccupancyCountConfig) Reset()
func (x *OccupancyCountConfig) String() string
The prediction result proto for occupancy counting.
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"` // contains filtered or unexported fields }
func (*OccupancyCountingPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult.ProtoReflect.Descriptor instead.
func (x *OccupancyCountingPredictionResult) GetCurrentTime() *timestamppb.Timestamp
func (x *OccupancyCountingPredictionResult) GetDwellTimeInfo() []*OccupancyCountingPredictionResult_DwellTimeInfo
func (x *OccupancyCountingPredictionResult) GetIdentifiedBoxes() []*OccupancyCountingPredictionResult_IdentifiedBox
func (x *OccupancyCountingPredictionResult) GetStats() *OccupancyCountingPredictionResult_Stats
func (x *OccupancyCountingPredictionResult) GetTrackInfo() []*OccupancyCountingPredictionResult_TrackInfo
func (*OccupancyCountingPredictionResult) ProtoMessage()
func (x *OccupancyCountingPredictionResult) ProtoReflect() protoreflect.Message
func (x *OccupancyCountingPredictionResult) Reset()
func (x *OccupancyCountingPredictionResult) String() string
The dwell time info for annotations from occupancy counting operator.
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 }
func (*OccupancyCountingPredictionResult_DwellTimeInfo) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_DwellTimeInfo.ProtoReflect.Descriptor instead.
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) GetDwellEndTime() *timestamppb.Timestamp
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) GetDwellStartTime() *timestamppb.Timestamp
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) GetTrackId() string
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) GetZoneId() string
func (*OccupancyCountingPredictionResult_DwellTimeInfo) ProtoMessage()
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) ProtoReflect() protoreflect.Message
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) Reset()
func (x *OccupancyCountingPredictionResult_DwellTimeInfo) String() string
The entity info for annotations from occupancy counting operator.
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 }
func (*OccupancyCountingPredictionResult_Entity) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_Entity.ProtoReflect.Descriptor instead.
func (x *OccupancyCountingPredictionResult_Entity) GetLabelId() int64
func (x *OccupancyCountingPredictionResult_Entity) GetLabelString() string
func (*OccupancyCountingPredictionResult_Entity) ProtoMessage()
func (x *OccupancyCountingPredictionResult_Entity) ProtoReflect() protoreflect.Message
func (x *OccupancyCountingPredictionResult_Entity) Reset()
func (x *OccupancyCountingPredictionResult_Entity) String() string
Identified box contains location and the entity of the object.
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 }
func (*OccupancyCountingPredictionResult_IdentifiedBox) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_IdentifiedBox.ProtoReflect.Descriptor instead.
func (x *OccupancyCountingPredictionResult_IdentifiedBox) GetBoxId() int64
func (x *OccupancyCountingPredictionResult_IdentifiedBox) GetEntity() *OccupancyCountingPredictionResult_Entity
func (x *OccupancyCountingPredictionResult_IdentifiedBox) GetNormalizedBoundingBox() *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox
func (x *OccupancyCountingPredictionResult_IdentifiedBox) GetScore() float32
func (x *OccupancyCountingPredictionResult_IdentifiedBox) GetTrackId() int64
func (*OccupancyCountingPredictionResult_IdentifiedBox) ProtoMessage()
func (x *OccupancyCountingPredictionResult_IdentifiedBox) ProtoReflect() protoreflect.Message
func (x *OccupancyCountingPredictionResult_IdentifiedBox) Reset()
func (x *OccupancyCountingPredictionResult_IdentifiedBox) String() string
Bounding Box in the normalized coordinates.
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 }
func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox.ProtoReflect.Descriptor instead.
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetHeight() float32
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetWidth() float32
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetXmin() float32
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) GetYmin() float32
func (*OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoMessage()
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) ProtoReflect() protoreflect.Message
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) Reset()
func (x *OccupancyCountingPredictionResult_IdentifiedBox_NormalizedBoundingBox) String() string
The statistics info for annotations from occupancy counting operator.
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 }
func (*OccupancyCountingPredictionResult_Stats) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_Stats.ProtoReflect.Descriptor instead.
func (x *OccupancyCountingPredictionResult_Stats) GetActiveZoneCounts() []*OccupancyCountingPredictionResult_Stats_ActiveZoneCount
func (x *OccupancyCountingPredictionResult_Stats) GetCrossingLineCounts() []*OccupancyCountingPredictionResult_Stats_CrossingLineCount
func (x *OccupancyCountingPredictionResult_Stats) GetFullFrameCount() []*OccupancyCountingPredictionResult_Stats_ObjectCount
func (*OccupancyCountingPredictionResult_Stats) ProtoMessage()
func (x *OccupancyCountingPredictionResult_Stats) ProtoReflect() protoreflect.Message
func (x *OccupancyCountingPredictionResult_Stats) Reset()
func (x *OccupancyCountingPredictionResult_Stats) String() string
The object info and accumulated count for annotations from occupancy counting operator.
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 }
func (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount.ProtoReflect.Descriptor instead.
func (x *OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) GetObjectCount() *OccupancyCountingPredictionResult_Stats_ObjectCount
func (x *OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) GetStartTime() *timestamppb.Timestamp
func (*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) ProtoMessage()
func (x *OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) ProtoReflect() protoreflect.Message
func (x *OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) Reset()
func (x *OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount) String() string
Message for the active zone count.
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 }
func (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_Stats_ActiveZoneCount.ProtoReflect.Descriptor instead.
func (x *OccupancyCountingPredictionResult_Stats_ActiveZoneCount) GetAnnotation() *StreamAnnotation
func (x *OccupancyCountingPredictionResult_Stats_ActiveZoneCount) GetCounts() []*OccupancyCountingPredictionResult_Stats_ObjectCount
func (*OccupancyCountingPredictionResult_Stats_ActiveZoneCount) ProtoMessage()
func (x *OccupancyCountingPredictionResult_Stats_ActiveZoneCount) ProtoReflect() protoreflect.Message
func (x *OccupancyCountingPredictionResult_Stats_ActiveZoneCount) Reset()
func (x *OccupancyCountingPredictionResult_Stats_ActiveZoneCount) String() string
Message for Crossing line count.
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 }
func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_Stats_CrossingLineCount.ProtoReflect.Descriptor instead.
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetAccumulatedNegativeDirectionCounts() []*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetAccumulatedPositiveDirectionCounts() []*OccupancyCountingPredictionResult_Stats_AccumulatedObjectCount
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetAnnotation() *StreamAnnotation
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetNegativeDirectionCounts() []*OccupancyCountingPredictionResult_Stats_ObjectCount
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) GetPositiveDirectionCounts() []*OccupancyCountingPredictionResult_Stats_ObjectCount
func (*OccupancyCountingPredictionResult_Stats_CrossingLineCount) ProtoMessage()
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) ProtoReflect() protoreflect.Message
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) Reset()
func (x *OccupancyCountingPredictionResult_Stats_CrossingLineCount) String() string
The object info and instant count for annotations from occupancy counting operator.
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 }
func (*OccupancyCountingPredictionResult_Stats_ObjectCount) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_Stats_ObjectCount.ProtoReflect.Descriptor instead.
func (x *OccupancyCountingPredictionResult_Stats_ObjectCount) GetCount() int32
func (x *OccupancyCountingPredictionResult_Stats_ObjectCount) GetEntity() *OccupancyCountingPredictionResult_Entity
func (*OccupancyCountingPredictionResult_Stats_ObjectCount) ProtoMessage()
func (x *OccupancyCountingPredictionResult_Stats_ObjectCount) ProtoReflect() protoreflect.Message
func (x *OccupancyCountingPredictionResult_Stats_ObjectCount) Reset()
func (x *OccupancyCountingPredictionResult_Stats_ObjectCount) String() string
The track info for annotations from occupancy counting operator.
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 }
func (*OccupancyCountingPredictionResult_TrackInfo) Descriptor() ([]byte, []int)
Deprecated: Use OccupancyCountingPredictionResult_TrackInfo.ProtoReflect.Descriptor instead.
func (x *OccupancyCountingPredictionResult_TrackInfo) GetStartTime() *timestamppb.Timestamp
func (x *OccupancyCountingPredictionResult_TrackInfo) GetTrackId() string
func (*OccupancyCountingPredictionResult_TrackInfo) ProtoMessage()
func (x *OccupancyCountingPredictionResult_TrackInfo) ProtoReflect() protoreflect.Message
func (x *OccupancyCountingPredictionResult_TrackInfo) Reset()
func (x *OccupancyCountingPredictionResult_TrackInfo) String() string
Represents the metadata of the long-running operation.
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 }
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (x *OperationMetadata) GetApiVersion() string
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (x *OperationMetadata) GetRequestedCancellation() bool
func (x *OperationMetadata) GetStatusMessage() string
func (x *OperationMetadata) GetTarget() string
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage()
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (x *OperationMetadata) Reset()
func (x *OperationMetadata) String() string
The quanta of datum that the series accepts.
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 }
func (*Packet) Descriptor() ([]byte, []int)
Deprecated: Use Packet.ProtoReflect.Descriptor instead.
func (x *Packet) GetHeader() *PacketHeader
func (x *Packet) GetPayload() []byte
func (*Packet) ProtoMessage()
func (x *Packet) ProtoReflect() protoreflect.Message
func (x *Packet) Reset()
func (x *Packet) String() string
The message that represents packet header.
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 }
func (*PacketHeader) Descriptor() ([]byte, []int)
Deprecated: Use PacketHeader.ProtoReflect.Descriptor instead.
func (x *PacketHeader) GetCaptureTime() *timestamppb.Timestamp
func (x *PacketHeader) GetFlags() int32
func (x *PacketHeader) GetMetadata() *structpb.Struct
func (x *PacketHeader) GetSeriesMetadata() *SeriesMetadata
func (x *PacketHeader) GetServerMetadata() *ServerMetadata
func (x *PacketHeader) GetTraceContext() string
func (x *PacketHeader) GetType() *PacketType
func (*PacketHeader) ProtoMessage()
func (x *PacketHeader) ProtoReflect() protoreflect.Message
func (x *PacketHeader) Reset()
func (x *PacketHeader) String() string
The message that represents the data type of a packet.
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 }
func (*PacketType) Descriptor() ([]byte, []int)
Deprecated: Use PacketType.ProtoReflect.Descriptor instead.
func (x *PacketType) GetTypeClass() string
func (x *PacketType) GetTypeDescriptor() *PacketType_TypeDescriptor
func (*PacketType) ProtoMessage()
func (x *PacketType) ProtoReflect() protoreflect.Message
func (x *PacketType) Reset()
func (x *PacketType) String() string
The message that fully specifies the type of the packet.
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 }
func (*PacketType_TypeDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use PacketType_TypeDescriptor.ProtoReflect.Descriptor instead.
func (x *PacketType_TypeDescriptor) GetGstreamerBufferDescriptor() *GstreamerBufferDescriptor
func (x *PacketType_TypeDescriptor) GetRawImageDescriptor() *RawImageDescriptor
func (x *PacketType_TypeDescriptor) GetType() string
func (m *PacketType_TypeDescriptor) GetTypeDetails() isPacketType_TypeDescriptor_TypeDetails
func (*PacketType_TypeDescriptor) ProtoMessage()
func (x *PacketType_TypeDescriptor) ProtoReflect() protoreflect.Message
func (x *PacketType_TypeDescriptor) Reset()
func (x *PacketType_TypeDescriptor) String() string
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"` }
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 to specify the partition in time and space for sub-asset level annotation.
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"` // contains filtered or unexported fields }
func (*Partition) Descriptor() ([]byte, []int)
Deprecated: Use Partition.ProtoReflect.Descriptor instead.
func (x *Partition) GetSpatialPartition() *Partition_SpatialPartition
func (x *Partition) GetTemporalPartition() *Partition_TemporalPartition
func (*Partition) ProtoMessage()
func (x *Partition) ProtoReflect() protoreflect.Message
func (x *Partition) Reset()
func (x *Partition) String() string
Partition of asset in space.
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 }
func (*Partition_SpatialPartition) Descriptor() ([]byte, []int)
Deprecated: Use Partition_SpatialPartition.ProtoReflect.Descriptor instead.
func (x *Partition_SpatialPartition) GetXMax() int64
func (x *Partition_SpatialPartition) GetXMin() int64
func (x *Partition_SpatialPartition) GetYMax() int64
func (x *Partition_SpatialPartition) GetYMin() int64
func (*Partition_SpatialPartition) ProtoMessage()
func (x *Partition_SpatialPartition) ProtoReflect() protoreflect.Message
func (x *Partition_SpatialPartition) Reset()
func (x *Partition_SpatialPartition) String() string
Partition of asset in UTC Epoch time.
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 }
func (*Partition_TemporalPartition) Descriptor() ([]byte, []int)
Deprecated: Use Partition_TemporalPartition.ProtoReflect.Descriptor instead.
func (x *Partition_TemporalPartition) GetEndTime() *timestamppb.Timestamp
func (x *Partition_TemporalPartition) GetStartTime() *timestamppb.Timestamp
func (*Partition_TemporalPartition) ProtoMessage()
func (x *Partition_TemporalPartition) ProtoReflect() protoreflect.Message
func (x *Partition_TemporalPartition) Reset()
func (x *Partition_TemporalPartition) String() string
Message describing FaceBlurConfig.
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 }
func (*PersonBlurConfig) Descriptor() ([]byte, []int)
Deprecated: Use PersonBlurConfig.ProtoReflect.Descriptor instead.
func (x *PersonBlurConfig) GetFacesOnly() bool
func (x *PersonBlurConfig) GetPersonBlurType() PersonBlurConfig_PersonBlurType
func (*PersonBlurConfig) ProtoMessage()
func (x *PersonBlurConfig) ProtoReflect() protoreflect.Message
func (x *PersonBlurConfig) Reset()
func (x *PersonBlurConfig) String() string
Type of Person Blur
type PersonBlurConfig_PersonBlurType int32
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() protoreflect.EnumDescriptor
func (x PersonBlurConfig_PersonBlurType) Enum() *PersonBlurConfig_PersonBlurType
func (PersonBlurConfig_PersonBlurType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PersonBlurConfig_PersonBlurType.Descriptor instead.
func (x PersonBlurConfig_PersonBlurType) Number() protoreflect.EnumNumber
func (x PersonBlurConfig_PersonBlurType) String() string
func (PersonBlurConfig_PersonBlurType) Type() protoreflect.EnumType
Message describing PersonVehicleDetectionConfig.
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 }
func (*PersonVehicleDetectionConfig) Descriptor() ([]byte, []int)
Deprecated: Use PersonVehicleDetectionConfig.ProtoReflect.Descriptor instead.
func (x *PersonVehicleDetectionConfig) GetEnablePeopleCounting() bool
func (x *PersonVehicleDetectionConfig) GetEnableVehicleCounting() bool
func (*PersonVehicleDetectionConfig) ProtoMessage()
func (x *PersonVehicleDetectionConfig) ProtoReflect() protoreflect.Message
func (x *PersonVehicleDetectionConfig) Reset()
func (x *PersonVehicleDetectionConfig) String() string
Message describing PersonalProtectiveEquipmentDetectionConfig.
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 }
func (*PersonalProtectiveEquipmentDetectionConfig) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionConfig.ProtoReflect.Descriptor instead.
func (x *PersonalProtectiveEquipmentDetectionConfig) GetEnableFaceCoverageDetection() bool
func (x *PersonalProtectiveEquipmentDetectionConfig) GetEnableHandsCoverageDetection() bool
func (x *PersonalProtectiveEquipmentDetectionConfig) GetEnableHeadCoverageDetection() bool
func (*PersonalProtectiveEquipmentDetectionConfig) ProtoMessage()
func (x *PersonalProtectiveEquipmentDetectionConfig) ProtoReflect() protoreflect.Message
func (x *PersonalProtectiveEquipmentDetectionConfig) Reset()
func (x *PersonalProtectiveEquipmentDetectionConfig) String() string
Output format for Personal Protective Equipment Detection Operator.
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 }
func (*PersonalProtectiveEquipmentDetectionOutput) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionOutput.ProtoReflect.Descriptor instead.
func (x *PersonalProtectiveEquipmentDetectionOutput) GetCurrentTime() *timestamppb.Timestamp
func (x *PersonalProtectiveEquipmentDetectionOutput) GetDetectedPersons() []*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson
func (*PersonalProtectiveEquipmentDetectionOutput) ProtoMessage()
func (x *PersonalProtectiveEquipmentDetectionOutput) ProtoReflect() protoreflect.Message
func (x *PersonalProtectiveEquipmentDetectionOutput) Reset()
func (x *PersonalProtectiveEquipmentDetectionOutput) String() string
Detected Person contains the detected person and their associated ppes and their protecting information.
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 }
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionOutput_DetectedPerson.ProtoReflect.Descriptor instead.
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetBodyCoverageScore() float32
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetDetectedPersonIdentifiedBox() *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetDetectedPpeIdentifiedBoxes() []*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetEyesCoverageScore() float32
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetFaceCoverageScore() float32
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetFeetCoverageScore() float32
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetHandsCoverageScore() float32
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetHeadCoverageScore() float32
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) GetPersonId() int64
func (*PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) ProtoMessage()
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) ProtoReflect() protoreflect.Message
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) Reset()
func (x *PersonalProtectiveEquipmentDetectionOutput_DetectedPerson) String() string
Bounding Box in the normalized coordinates.
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 }
func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox.ProtoReflect.Descriptor instead.
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetHeight() float32
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetWidth() float32
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetXmin() float32
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) GetYmin() float32
func (*PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) ProtoMessage()
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) ProtoReflect() protoreflect.Message
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) Reset()
func (x *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox) String() string
The entity info for annotations from PPE detection prediction result.
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 }
func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionOutput_PPEEntity.ProtoReflect.Descriptor instead.
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeEntityId() int64
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeLabelId() int64
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeLabelString() string
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) GetPpeSupercategoryLabelString() string
func (*PersonalProtectiveEquipmentDetectionOutput_PPEEntity) ProtoMessage()
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) ProtoReflect() protoreflect.Message
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) Reset()
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEEntity) String() string
PPEIdentified box contains the location and the entity info of the PPE.
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 }
func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox.ProtoReflect.Descriptor instead.
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetBoxId() int64
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetConfidenceScore() float32
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetNormalizedBoundingBox() *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) GetPpeEntity() *PersonalProtectiveEquipmentDetectionOutput_PPEEntity
func (*PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) ProtoMessage()
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) ProtoReflect() protoreflect.Message
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) Reset()
func (x *PersonalProtectiveEquipmentDetectionOutput_PPEIdentifiedBox) String() string
The entity info for annotations from person detection prediction result.
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 }
func (*PersonalProtectiveEquipmentDetectionOutput_PersonEntity) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionOutput_PersonEntity.ProtoReflect.Descriptor instead.
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonEntity) GetPersonEntityId() int64
func (*PersonalProtectiveEquipmentDetectionOutput_PersonEntity) ProtoMessage()
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonEntity) ProtoReflect() protoreflect.Message
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonEntity) Reset()
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonEntity) String() string
PersonIdentified box contains the location and the entity info of the person.
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 }
func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) Descriptor() ([]byte, []int)
Deprecated: Use PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox.ProtoReflect.Descriptor instead.
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetBoxId() int64
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetConfidenceScore() float32
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetNormalizedBoundingBox() *PersonalProtectiveEquipmentDetectionOutput_NormalizedBoundingBox
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) GetPersonEntity() *PersonalProtectiveEquipmentDetectionOutput_PersonEntity
func (*PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) ProtoMessage()
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) ProtoReflect() protoreflect.Message
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) Reset()
func (x *PersonalProtectiveEquipmentDetectionOutput_PersonIdentifiedBox) String() string
Message describing Processor object. Next ID: 18
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"` // contains filtered or unexported fields }
func (*Processor) Descriptor() ([]byte, []int)
Deprecated: Use Processor.ProtoReflect.Descriptor instead.
func (x *Processor) GetConfigurationTypeurl() string
func (x *Processor) GetCreateTime() *timestamppb.Timestamp
func (x *Processor) GetCustomProcessorSourceInfo() *CustomProcessorSourceInfo
func (x *Processor) GetDescription() string
func (x *Processor) GetDisplayName() string
func (x *Processor) GetLabels() map[string]string
func (x *Processor) GetModelType() ModelType
func (x *Processor) GetName() string
func (x *Processor) GetProcessorIoSpec() *ProcessorIOSpec
func (x *Processor) GetProcessorType() Processor_ProcessorType
func (x *Processor) GetState() Processor_ProcessorState
func (x *Processor) GetSupportedAnnotationTypes() []StreamAnnotationType
func (x *Processor) GetSupportsPostProcessing() bool
func (x *Processor) GetUpdateTime() *timestamppb.Timestamp
func (*Processor) ProtoMessage()
func (x *Processor) ProtoReflect() protoreflect.Message
func (x *Processor) Reset()
func (x *Processor) String() string
Next ID: 24
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_PersonalProtectiveEquipmentDetectionConfig ProcessorConfig isProcessorConfig_ProcessorConfig `protobuf_oneof:"processor_config"` // contains filtered or unexported fields }
func (*ProcessorConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProcessorConfig.ProtoReflect.Descriptor instead.
func (x *ProcessorConfig) GetAiEnabledDevicesInputConfig() *AIEnabledDevicesInputConfig
func (x *ProcessorConfig) GetBigQueryConfig() *BigQueryConfig
func (x *ProcessorConfig) GetGeneralObjectDetectionConfig() *GeneralObjectDetectionConfig
func (x *ProcessorConfig) GetMediaWarehouseConfig() *MediaWarehouseConfig
func (x *ProcessorConfig) GetOccupancyCountConfig() *OccupancyCountConfig
func (x *ProcessorConfig) GetPersonBlurConfig() *PersonBlurConfig
func (x *ProcessorConfig) GetPersonVehicleDetectionConfig() *PersonVehicleDetectionConfig
func (x *ProcessorConfig) GetPersonalProtectiveEquipmentDetectionConfig() *PersonalProtectiveEquipmentDetectionConfig
func (m *ProcessorConfig) GetProcessorConfig() isProcessorConfig_ProcessorConfig
func (x *ProcessorConfig) GetVertexAutomlVideoConfig() *VertexAutoMLVideoConfig
func (x *ProcessorConfig) GetVertexAutomlVisionConfig() *VertexAutoMLVisionConfig
func (x *ProcessorConfig) GetVertexCustomConfig() *VertexCustomConfig
func (x *ProcessorConfig) GetVideoStreamInputConfig() *VideoStreamInputConfig
func (*ProcessorConfig) ProtoMessage()
func (x *ProcessorConfig) ProtoReflect() protoreflect.Message
func (x *ProcessorConfig) Reset()
func (x *ProcessorConfig) String() string
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"` }
type ProcessorConfig_BigQueryConfig struct { // Configs of BigQuery processor. BigQueryConfig *BigQueryConfig `protobuf:"bytes,19,opt,name=big_query_config,json=bigQueryConfig,proto3,oneof"` }
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"` }
type ProcessorConfig_MediaWarehouseConfig struct { // Configs of media warehouse processor. MediaWarehouseConfig *MediaWarehouseConfig `protobuf:"bytes,10,opt,name=media_warehouse_config,json=mediaWarehouseConfig,proto3,oneof"` }
type ProcessorConfig_OccupancyCountConfig struct { // Configs of occupancy count processor. OccupancyCountConfig *OccupancyCountConfig `protobuf:"bytes,12,opt,name=occupancy_count_config,json=occupancyCountConfig,proto3,oneof"` }
type ProcessorConfig_PersonBlurConfig struct { // Configs of person blur processor. PersonBlurConfig *PersonBlurConfig `protobuf:"bytes,11,opt,name=person_blur_config,json=personBlurConfig,proto3,oneof"` }
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"` }
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"` }
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"` }
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"` }
type ProcessorConfig_VertexCustomConfig struct { // Configs of Vertex Custom processor. VertexCustomConfig *VertexCustomConfig `protobuf:"bytes,17,opt,name=vertex_custom_config,json=vertexCustomConfig,proto3,oneof"` }
type ProcessorConfig_VideoStreamInputConfig struct { // Configs of stream input processor. VideoStreamInputConfig *VideoStreamInputConfig `protobuf:"bytes,9,opt,name=video_stream_input_config,json=videoStreamInputConfig,proto3,oneof"` }
Message describing the input / output specifications of a processor.
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 }
func (*ProcessorIOSpec) Descriptor() ([]byte, []int)
Deprecated: Use ProcessorIOSpec.ProtoReflect.Descriptor instead.
func (x *ProcessorIOSpec) GetGraphInputChannelSpecs() []*ProcessorIOSpec_GraphInputChannelSpec
func (x *ProcessorIOSpec) GetGraphOutputChannelSpecs() []*ProcessorIOSpec_GraphOutputChannelSpec
func (x *ProcessorIOSpec) GetInstanceResourceInputBindingSpecs() []*ProcessorIOSpec_InstanceResourceInputBindingSpec
func (x *ProcessorIOSpec) GetInstanceResourceOutputBindingSpecs() []*ProcessorIOSpec_InstanceResourceOutputBindingSpec
func (*ProcessorIOSpec) ProtoMessage()
func (x *ProcessorIOSpec) ProtoReflect() protoreflect.Message
func (x *ProcessorIOSpec) Reset()
func (x *ProcessorIOSpec) String() string
High level data types supported by the processor.
type ProcessorIOSpec_DataType int32
const ( // The default value of DataType. ProcessorIOSpec_DATA_TYPE_UNSPECIFIED ProcessorIOSpec_DataType = 0 // Video data type like H264. ProcessorIOSpec_VIDEO ProcessorIOSpec_DataType = 1 // Protobuf data type, usually used for general data blob. ProcessorIOSpec_PROTO ProcessorIOSpec_DataType = 2 )
func (ProcessorIOSpec_DataType) Descriptor() protoreflect.EnumDescriptor
func (x ProcessorIOSpec_DataType) Enum() *ProcessorIOSpec_DataType
func (ProcessorIOSpec_DataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProcessorIOSpec_DataType.Descriptor instead.
func (x ProcessorIOSpec_DataType) Number() protoreflect.EnumNumber
func (x ProcessorIOSpec_DataType) String() string
func (ProcessorIOSpec_DataType) Type() protoreflect.EnumType
Message for input channel specification.
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 ProcessorIOSpec_DataType `protobuf:"varint,2,opt,name=data_type,json=dataType,proto3,enum=google.cloud.visionai.v1.ProcessorIOSpec_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 }
func (*ProcessorIOSpec_GraphInputChannelSpec) Descriptor() ([]byte, []int)
Deprecated: Use ProcessorIOSpec_GraphInputChannelSpec.ProtoReflect.Descriptor instead.
func (x *ProcessorIOSpec_GraphInputChannelSpec) GetAcceptedDataTypeUris() []string
func (x *ProcessorIOSpec_GraphInputChannelSpec) GetDataType() ProcessorIOSpec_DataType
func (x *ProcessorIOSpec_GraphInputChannelSpec) GetMaxConnectionAllowed() int64
func (x *ProcessorIOSpec_GraphInputChannelSpec) GetName() string
func (x *ProcessorIOSpec_GraphInputChannelSpec) GetRequired() bool
func (*ProcessorIOSpec_GraphInputChannelSpec) ProtoMessage()
func (x *ProcessorIOSpec_GraphInputChannelSpec) ProtoReflect() protoreflect.Message
func (x *ProcessorIOSpec_GraphInputChannelSpec) Reset()
func (x *ProcessorIOSpec_GraphInputChannelSpec) String() string
Message for output channel specification.
type ProcessorIOSpec_GraphOutputChannelSpec struct { // The name of the current output channel. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The data type of the current output channel. DataType ProcessorIOSpec_DataType `protobuf:"varint,2,opt,name=data_type,json=dataType,proto3,enum=google.cloud.visionai.v1.ProcessorIOSpec_DataType" json:"data_type,omitempty"` DataTypeUri string `protobuf:"bytes,3,opt,name=data_type_uri,json=dataTypeUri,proto3" json:"data_type_uri,omitempty"` // contains filtered or unexported fields }
func (*ProcessorIOSpec_GraphOutputChannelSpec) Descriptor() ([]byte, []int)
Deprecated: Use ProcessorIOSpec_GraphOutputChannelSpec.ProtoReflect.Descriptor instead.
func (x *ProcessorIOSpec_GraphOutputChannelSpec) GetDataType() ProcessorIOSpec_DataType
func (x *ProcessorIOSpec_GraphOutputChannelSpec) GetDataTypeUri() string
func (x *ProcessorIOSpec_GraphOutputChannelSpec) GetName() string
func (*ProcessorIOSpec_GraphOutputChannelSpec) ProtoMessage()
func (x *ProcessorIOSpec_GraphOutputChannelSpec) ProtoReflect() protoreflect.Message
func (x *ProcessorIOSpec_GraphOutputChannelSpec) Reset()
func (x *ProcessorIOSpec_GraphOutputChannelSpec) String() string
Message for instance resource channel specification. External resources are virtual nodes which are not expressed in the application graph. Each processor expresses its out-graph spec, so customer is able to override the external source or destinations to the
type ProcessorIOSpec_InstanceResourceInputBindingSpec struct { // Types that are assignable to ResourceType: // // *ProcessorIOSpec_InstanceResourceInputBindingSpec_ConfigTypeUri // *ProcessorIOSpec_InstanceResourceInputBindingSpec_ResourceTypeUri ResourceType isProcessorIOSpec_InstanceResourceInputBindingSpec_ResourceType `protobuf_oneof:"resource_type"` // Name of the input binding, unique within the processor. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ProcessorIOSpec_InstanceResourceInputBindingSpec) Descriptor() ([]byte, []int)
Deprecated: Use ProcessorIOSpec_InstanceResourceInputBindingSpec.ProtoReflect.Descriptor instead.
func (x *ProcessorIOSpec_InstanceResourceInputBindingSpec) GetConfigTypeUri() string
func (x *ProcessorIOSpec_InstanceResourceInputBindingSpec) GetName() string
func (m *ProcessorIOSpec_InstanceResourceInputBindingSpec) GetResourceType() isProcessorIOSpec_InstanceResourceInputBindingSpec_ResourceType
func (x *ProcessorIOSpec_InstanceResourceInputBindingSpec) GetResourceTypeUri() string
func (*ProcessorIOSpec_InstanceResourceInputBindingSpec) ProtoMessage()
func (x *ProcessorIOSpec_InstanceResourceInputBindingSpec) ProtoReflect() protoreflect.Message
func (x *ProcessorIOSpec_InstanceResourceInputBindingSpec) Reset()
func (x *ProcessorIOSpec_InstanceResourceInputBindingSpec) String() string
type ProcessorIOSpec_InstanceResourceInputBindingSpec_ConfigTypeUri struct { // The configuration proto that includes the Googleapis resources. I.e. // type.googleapis.com/google.cloud.vision.v1.StreamWithAnnotation ConfigTypeUri string `protobuf:"bytes,2,opt,name=config_type_uri,json=configTypeUri,proto3,oneof"` }
type ProcessorIOSpec_InstanceResourceInputBindingSpec_ResourceTypeUri struct { // The direct type url of Googleapis resource. i.e. // type.googleapis.com/google.cloud.vision.v1.Asset ResourceTypeUri string `protobuf:"bytes,3,opt,name=resource_type_uri,json=resourceTypeUri,proto3,oneof"` }
type ProcessorIOSpec_InstanceResourceOutputBindingSpec struct { // Name of the output binding, unique within the processor. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The resource type uri of the acceptable output resource. ResourceTypeUri string `protobuf:"bytes,2,opt,name=resource_type_uri,json=resourceTypeUri,proto3" json:"resource_type_uri,omitempty"` // Whether the output resource needs to be explicitly set in the instance. // If it is false, the processor will automatically generate it if required. Explicit bool `protobuf:"varint,3,opt,name=explicit,proto3" json:"explicit,omitempty"` // contains filtered or unexported fields }
func (*ProcessorIOSpec_InstanceResourceOutputBindingSpec) Descriptor() ([]byte, []int)
Deprecated: Use ProcessorIOSpec_InstanceResourceOutputBindingSpec.ProtoReflect.Descriptor instead.
func (x *ProcessorIOSpec_InstanceResourceOutputBindingSpec) GetExplicit() bool
func (x *ProcessorIOSpec_InstanceResourceOutputBindingSpec) GetName() string
func (x *ProcessorIOSpec_InstanceResourceOutputBindingSpec) GetResourceTypeUri() string
func (*ProcessorIOSpec_InstanceResourceOutputBindingSpec) ProtoMessage()
func (x *ProcessorIOSpec_InstanceResourceOutputBindingSpec) ProtoReflect() protoreflect.Message
func (x *ProcessorIOSpec_InstanceResourceOutputBindingSpec) Reset()
func (x *ProcessorIOSpec_InstanceResourceOutputBindingSpec) String() string
type Processor_ProcessorState int32
const ( // Unspecified Processor state. Processor_PROCESSOR_STATE_UNSPECIFIED Processor_ProcessorState = 0 // Processor is being created (not ready for use). Processor_CREATING Processor_ProcessorState = 1 // Processor is and ready for use. Processor_ACTIVE Processor_ProcessorState = 2 // Processor is being deleted (not ready for use). Processor_DELETING Processor_ProcessorState = 3 // Processor deleted or creation failed . Processor_FAILED Processor_ProcessorState = 4 )
func (Processor_ProcessorState) Descriptor() protoreflect.EnumDescriptor
func (x Processor_ProcessorState) Enum() *Processor_ProcessorState
func (Processor_ProcessorState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Processor_ProcessorState.Descriptor instead.
func (x Processor_ProcessorState) Number() protoreflect.EnumNumber
func (x Processor_ProcessorState) String() string
func (Processor_ProcessorState) Type() protoreflect.EnumType
Type
type Processor_ProcessorType int32
const ( // Processor Type UNSPECIFIED. Processor_PROCESSOR_TYPE_UNSPECIFIED Processor_ProcessorType = 0 // Processor Type PRETRAINED. // Pretrained processor is developed by Vision AI App Platform with // state-of-the-art vision data processing functionality, like occupancy // counting or person blur. Pretrained processor is usually publicly // available. Processor_PRETRAINED Processor_ProcessorType = 1 // Processor Type CUSTOM. // Custom processors are specialized processors which are either uploaded by // customers or imported from other GCP platform (for example Vertex AI). // Custom processor is only visible to the creator. Processor_CUSTOM Processor_ProcessorType = 2 // Processor Type CONNECTOR. // Connector processors are special processors which perform I/O for the // application, they do not processing the data but either deliver the data // to other processors or receive data from other processors. Processor_CONNECTOR Processor_ProcessorType = 3 )
func (Processor_ProcessorType) Descriptor() protoreflect.EnumDescriptor
func (x Processor_ProcessorType) Enum() *Processor_ProcessorType
func (Processor_ProcessorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Processor_ProcessorType.Descriptor instead.
func (x Processor_ProcessorType) Number() protoreflect.EnumNumber
func (x Processor_ProcessorType) String() string
func (Processor_ProcessorType) Type() protoreflect.EnumType
The descriptor for a raw image.
type RawImageDescriptor struct { // Raw image format. Its possible values are: "srgb". Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"` // The height of the image. Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // The width of the image. Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` // contains filtered or unexported fields }
func (*RawImageDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use RawImageDescriptor.ProtoReflect.Descriptor instead.
func (x *RawImageDescriptor) GetFormat() string
func (x *RawImageDescriptor) GetHeight() int32
func (x *RawImageDescriptor) GetWidth() int32
func (*RawImageDescriptor) ProtoMessage()
func (x *RawImageDescriptor) ProtoReflect() protoreflect.Message
func (x *RawImageDescriptor) Reset()
func (x *RawImageDescriptor) String() string
Control message for a ReceiveEventsResponse.
type ReceiveEventsControlResponse struct { // Possible control messages. // // Types that are assignable to Control: // // *ReceiveEventsControlResponse_Heartbeat // *ReceiveEventsControlResponse_WritesDoneRequest Control isReceiveEventsControlResponse_Control `protobuf_oneof:"control"` // contains filtered or unexported fields }
func (*ReceiveEventsControlResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveEventsControlResponse.ProtoReflect.Descriptor instead.
func (m *ReceiveEventsControlResponse) GetControl() isReceiveEventsControlResponse_Control
func (x *ReceiveEventsControlResponse) GetHeartbeat() bool
func (x *ReceiveEventsControlResponse) GetWritesDoneRequest() bool
func (*ReceiveEventsControlResponse) ProtoMessage()
func (x *ReceiveEventsControlResponse) ProtoReflect() protoreflect.Message
func (x *ReceiveEventsControlResponse) Reset()
func (x *ReceiveEventsControlResponse) String() string
type ReceiveEventsControlResponse_Heartbeat struct { // A server heartbeat. Heartbeat bool `protobuf:"varint,1,opt,name=heartbeat,proto3,oneof"` }
type ReceiveEventsControlResponse_WritesDoneRequest struct { // A request to the receiver to complete any final writes followed by a // `WritesDone`; e.g. issue any final `CommitRequest`s. // // May be ignored if `WritesDone` has already been issued at any point // prior to receiving this message. // // If `WritesDone` does not get issued, then the server will forcefully // cancel the connection, and the receiver will likely receive an // uninformative after `Read` returns `false` and `Finish` is called. WritesDoneRequest bool `protobuf:"varint,2,opt,name=writes_done_request,json=writesDoneRequest,proto3,oneof"` }
Request message for ReceiveEvents.
type ReceiveEventsRequest struct { // Types that are assignable to Request: // // *ReceiveEventsRequest_SetupRequest_ // *ReceiveEventsRequest_CommitRequest Request isReceiveEventsRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
func (*ReceiveEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveEventsRequest.ProtoReflect.Descriptor instead.
func (x *ReceiveEventsRequest) GetCommitRequest() *CommitRequest
func (m *ReceiveEventsRequest) GetRequest() isReceiveEventsRequest_Request
func (x *ReceiveEventsRequest) GetSetupRequest() *ReceiveEventsRequest_SetupRequest
func (*ReceiveEventsRequest) ProtoMessage()
func (x *ReceiveEventsRequest) ProtoReflect() protoreflect.Message
func (x *ReceiveEventsRequest) Reset()
func (x *ReceiveEventsRequest) String() string
type ReceiveEventsRequest_CommitRequest struct { // This request checkpoints the consumer's read progress. CommitRequest *CommitRequest `protobuf:"bytes,2,opt,name=commit_request,json=commitRequest,proto3,oneof"` }
SetupRequest is the first message sent to the service to setup the RPC connection.
type ReceiveEventsRequest_SetupRequest struct { // The cluster name. Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` // The stream name. The service will return the events for the given stream. Stream string `protobuf:"bytes,2,opt,name=stream,proto3" json:"stream,omitempty"` // A name for the receiver to self-identify. // // This is used to keep track of a receiver's read progress. Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"` // Controller mode configuration for receiving events from the server. ControlledMode *ControlledMode `protobuf:"bytes,4,opt,name=controlled_mode,json=controlledMode,proto3" json:"controlled_mode,omitempty"` // The maximum duration of server silence before the client determines the // server unreachable. // // The client must either receive an `Event` update or a heart beat message // before this duration expires; otherwise, the client will automatically // cancel the current connection and retry. HeartbeatInterval *durationpb.Duration `protobuf:"bytes,5,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"` // The grace period after which a `writes_done_request` is issued, that a // `WritesDone` is expected from the client. // // The server is free to cancel the RPC should this expire. // // A system default will be chosen if unset. WritesDoneGracePeriod *durationpb.Duration `protobuf:"bytes,6,opt,name=writes_done_grace_period,json=writesDoneGracePeriod,proto3" json:"writes_done_grace_period,omitempty"` // contains filtered or unexported fields }
func (*ReceiveEventsRequest_SetupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveEventsRequest_SetupRequest.ProtoReflect.Descriptor instead.
func (x *ReceiveEventsRequest_SetupRequest) GetCluster() string
func (x *ReceiveEventsRequest_SetupRequest) GetControlledMode() *ControlledMode
func (x *ReceiveEventsRequest_SetupRequest) GetHeartbeatInterval() *durationpb.Duration
func (x *ReceiveEventsRequest_SetupRequest) GetReceiver() string
func (x *ReceiveEventsRequest_SetupRequest) GetStream() string
func (x *ReceiveEventsRequest_SetupRequest) GetWritesDoneGracePeriod() *durationpb.Duration
func (*ReceiveEventsRequest_SetupRequest) ProtoMessage()
func (x *ReceiveEventsRequest_SetupRequest) ProtoReflect() protoreflect.Message
func (x *ReceiveEventsRequest_SetupRequest) Reset()
func (x *ReceiveEventsRequest_SetupRequest) String() string
type ReceiveEventsRequest_SetupRequest_ struct { // The setup request to setup the RPC connection. SetupRequest *ReceiveEventsRequest_SetupRequest `protobuf:"bytes,1,opt,name=setup_request,json=setupRequest,proto3,oneof"` }
Response message for the ReceiveEvents.
type ReceiveEventsResponse struct { // Possible response types. // // Types that are assignable to Response: // // *ReceiveEventsResponse_EventUpdate // *ReceiveEventsResponse_Control Response isReceiveEventsResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ReceiveEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveEventsResponse.ProtoReflect.Descriptor instead.
func (x *ReceiveEventsResponse) GetControl() *ReceiveEventsControlResponse
func (x *ReceiveEventsResponse) GetEventUpdate() *EventUpdate
func (m *ReceiveEventsResponse) GetResponse() isReceiveEventsResponse_Response
func (*ReceiveEventsResponse) ProtoMessage()
func (x *ReceiveEventsResponse) ProtoReflect() protoreflect.Message
func (x *ReceiveEventsResponse) Reset()
func (x *ReceiveEventsResponse) String() string
type ReceiveEventsResponse_Control struct { // A control message from the server. Control *ReceiveEventsControlResponse `protobuf:"bytes,2,opt,name=control,proto3,oneof"` }
type ReceiveEventsResponse_EventUpdate struct { // The event update message. EventUpdate *EventUpdate `protobuf:"bytes,1,opt,name=event_update,json=eventUpdate,proto3,oneof"` }
Control message for a ReceivePacketsResponse.
type ReceivePacketsControlResponse struct { // Possible control messages. // // Types that are assignable to Control: // // *ReceivePacketsControlResponse_Heartbeat // *ReceivePacketsControlResponse_WritesDoneRequest Control isReceivePacketsControlResponse_Control `protobuf_oneof:"control"` // contains filtered or unexported fields }
func (*ReceivePacketsControlResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceivePacketsControlResponse.ProtoReflect.Descriptor instead.
func (m *ReceivePacketsControlResponse) GetControl() isReceivePacketsControlResponse_Control
func (x *ReceivePacketsControlResponse) GetHeartbeat() bool
func (x *ReceivePacketsControlResponse) GetWritesDoneRequest() bool
func (*ReceivePacketsControlResponse) ProtoMessage()
func (x *ReceivePacketsControlResponse) ProtoReflect() protoreflect.Message
func (x *ReceivePacketsControlResponse) Reset()
func (x *ReceivePacketsControlResponse) String() string
type ReceivePacketsControlResponse_Heartbeat struct { // A server heartbeat. Heartbeat bool `protobuf:"varint,1,opt,name=heartbeat,proto3,oneof"` }
type ReceivePacketsControlResponse_WritesDoneRequest struct { // A request to the receiver to complete any final writes followed by a // `WritesDone`; e.g. issue any final `CommitRequest`s. // // May be ignored if `WritesDone` has already been issued at any point // prior to receiving this message. // // If `WritesDone` does not get issued, then the server will forcefully // cancel the connection, and the receiver will likely receive an // uninformative after `Read` returns `false` and `Finish` is called. WritesDoneRequest bool `protobuf:"varint,2,opt,name=writes_done_request,json=writesDoneRequest,proto3,oneof"` }
Request message for receiving packets.
type ReceivePacketsRequest struct { // Possible request types from the client. // // Types that are assignable to Request: // // *ReceivePacketsRequest_SetupRequest_ // *ReceivePacketsRequest_CommitRequest Request isReceivePacketsRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
func (*ReceivePacketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReceivePacketsRequest.ProtoReflect.Descriptor instead.
func (x *ReceivePacketsRequest) GetCommitRequest() *CommitRequest
func (m *ReceivePacketsRequest) GetRequest() isReceivePacketsRequest_Request
func (x *ReceivePacketsRequest) GetSetupRequest() *ReceivePacketsRequest_SetupRequest
func (*ReceivePacketsRequest) ProtoMessage()
func (x *ReceivePacketsRequest) ProtoReflect() protoreflect.Message
func (x *ReceivePacketsRequest) Reset()
func (x *ReceivePacketsRequest) String() string
type ReceivePacketsRequest_CommitRequest struct { // This request checkpoints the consumer's read progress. CommitRequest *CommitRequest `protobuf:"bytes,7,opt,name=commit_request,json=commitRequest,proto3,oneof"` }
The message specifying the initial settings for the ReceivePackets session.
type ReceivePacketsRequest_SetupRequest struct { // The mode in which the consumer reads messages. // // Types that are assignable to ConsumerMode: // // *ReceivePacketsRequest_SetupRequest_EagerReceiveMode // *ReceivePacketsRequest_SetupRequest_ControlledReceiveMode ConsumerMode isReceivePacketsRequest_SetupRequest_ConsumerMode `protobuf_oneof:"consumer_mode"` // The configurations that specify where packets are retrieved. Metadata *RequestMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // A name for the receiver to self-identify. // // This is used to keep track of a receiver's read progress. Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` // The maximum duration of server silence before the client determines the // server unreachable. // // The client must either receive a `Packet` or a heart beat message before // this duration expires; otherwise, the client will automatically cancel // the current connection and retry. HeartbeatInterval *durationpb.Duration `protobuf:"bytes,5,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"` // The grace period after which a `writes_done_request` is issued, that a // `WritesDone` is expected from the client. // // The server is free to cancel the RPC should this expire. // // A system default will be chosen if unset. WritesDoneGracePeriod *durationpb.Duration `protobuf:"bytes,6,opt,name=writes_done_grace_period,json=writesDoneGracePeriod,proto3" json:"writes_done_grace_period,omitempty"` // contains filtered or unexported fields }
func (*ReceivePacketsRequest_SetupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReceivePacketsRequest_SetupRequest.ProtoReflect.Descriptor instead.
func (m *ReceivePacketsRequest_SetupRequest) GetConsumerMode() isReceivePacketsRequest_SetupRequest_ConsumerMode
func (x *ReceivePacketsRequest_SetupRequest) GetControlledReceiveMode() *ControlledMode
func (x *ReceivePacketsRequest_SetupRequest) GetEagerReceiveMode() *EagerMode
func (x *ReceivePacketsRequest_SetupRequest) GetHeartbeatInterval() *durationpb.Duration
func (x *ReceivePacketsRequest_SetupRequest) GetMetadata() *RequestMetadata
func (x *ReceivePacketsRequest_SetupRequest) GetReceiver() string
func (x *ReceivePacketsRequest_SetupRequest) GetWritesDoneGracePeriod() *durationpb.Duration
func (*ReceivePacketsRequest_SetupRequest) ProtoMessage()
func (x *ReceivePacketsRequest_SetupRequest) ProtoReflect() protoreflect.Message
func (x *ReceivePacketsRequest_SetupRequest) Reset()
func (x *ReceivePacketsRequest_SetupRequest) String() string
type ReceivePacketsRequest_SetupRequest_ struct { // The request to setup the initial state of session. // // The client must send and only send this as the first message. SetupRequest *ReceivePacketsRequest_SetupRequest `protobuf:"bytes,6,opt,name=setup_request,json=setupRequest,proto3,oneof"` }
type ReceivePacketsRequest_SetupRequest_ControlledReceiveMode struct { // Options for configuring controlled mode. ControlledReceiveMode *ControlledMode `protobuf:"bytes,4,opt,name=controlled_receive_mode,json=controlledReceiveMode,proto3,oneof"` }
type ReceivePacketsRequest_SetupRequest_EagerReceiveMode struct { // Options for configuring eager mode. EagerReceiveMode *EagerMode `protobuf:"bytes,3,opt,name=eager_receive_mode,json=eagerReceiveMode,proto3,oneof"` }
Response message from ReceivePackets.
type ReceivePacketsResponse struct { // Possible response types. // // Types that are assignable to Response: // // *ReceivePacketsResponse_Packet // *ReceivePacketsResponse_Control Response isReceivePacketsResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ReceivePacketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceivePacketsResponse.ProtoReflect.Descriptor instead.
func (x *ReceivePacketsResponse) GetControl() *ReceivePacketsControlResponse
func (x *ReceivePacketsResponse) GetPacket() *Packet
func (m *ReceivePacketsResponse) GetResponse() isReceivePacketsResponse_Response
func (*ReceivePacketsResponse) ProtoMessage()
func (x *ReceivePacketsResponse) ProtoReflect() protoreflect.Message
func (x *ReceivePacketsResponse) Reset()
func (x *ReceivePacketsResponse) String() string
type ReceivePacketsResponse_Control struct { // A control message from the server. Control *ReceivePacketsControlResponse `protobuf:"bytes,3,opt,name=control,proto3,oneof"` }
type ReceivePacketsResponse_Packet struct { // A genuine data payload originating from the sender. Packet *Packet `protobuf:"bytes,1,opt,name=packet,proto3,oneof"` }
Request message for releasing lease.
type ReleaseLeaseRequest struct { // Lease id. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Series name. Series string `protobuf:"bytes,2,opt,name=series,proto3" json:"series,omitempty"` // Lease owner. Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
func (*ReleaseLeaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseLeaseRequest.ProtoReflect.Descriptor instead.
func (x *ReleaseLeaseRequest) GetId() string
func (x *ReleaseLeaseRequest) GetOwner() string
func (x *ReleaseLeaseRequest) GetSeries() string
func (*ReleaseLeaseRequest) ProtoMessage()
func (x *ReleaseLeaseRequest) ProtoReflect() protoreflect.Message
func (x *ReleaseLeaseRequest) Reset()
func (x *ReleaseLeaseRequest) String() string
Response message for release lease.
type ReleaseLeaseResponse struct {
// contains filtered or unexported fields
}
func (*ReleaseLeaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseLeaseResponse.ProtoReflect.Descriptor instead.
func (*ReleaseLeaseResponse) ProtoMessage()
func (x *ReleaseLeaseResponse) ProtoReflect() protoreflect.Message
func (x *ReleaseLeaseResponse) Reset()
func (x *ReleaseLeaseResponse) String() string
Message for removing stream input from an Application.
type RemoveApplicationStreamInputRequest struct { // Required. the name of the application to retrieve. // Format: // "projects/{project}/locations/{location}/applications/{application}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The target stream to remove. TargetStreamInputs []*RemoveApplicationStreamInputRequest_TargetStreamInput `protobuf:"bytes,2,rep,name=target_stream_inputs,json=targetStreamInputs,proto3" json:"target_stream_inputs,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore // the request if it has already been completed. The server will guarantee // that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and t // he 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 }
func (*RemoveApplicationStreamInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveApplicationStreamInputRequest.ProtoReflect.Descriptor instead.
func (x *RemoveApplicationStreamInputRequest) GetName() string
func (x *RemoveApplicationStreamInputRequest) GetRequestId() string
func (x *RemoveApplicationStreamInputRequest) GetTargetStreamInputs() []*RemoveApplicationStreamInputRequest_TargetStreamInput
func (*RemoveApplicationStreamInputRequest) ProtoMessage()
func (x *RemoveApplicationStreamInputRequest) ProtoReflect() protoreflect.Message
func (x *RemoveApplicationStreamInputRequest) Reset()
func (x *RemoveApplicationStreamInputRequest) String() string
Message about target streamInput to remove.
type RemoveApplicationStreamInputRequest_TargetStreamInput struct { Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"` // contains filtered or unexported fields }
func (*RemoveApplicationStreamInputRequest_TargetStreamInput) Descriptor() ([]byte, []int)
Deprecated: Use RemoveApplicationStreamInputRequest_TargetStreamInput.ProtoReflect.Descriptor instead.
func (x *RemoveApplicationStreamInputRequest_TargetStreamInput) GetStream() string
func (*RemoveApplicationStreamInputRequest_TargetStreamInput) ProtoMessage()
func (x *RemoveApplicationStreamInputRequest_TargetStreamInput) ProtoReflect() protoreflect.Message
func (x *RemoveApplicationStreamInputRequest_TargetStreamInput) Reset()
func (x *RemoveApplicationStreamInputRequest_TargetStreamInput) String() string
Message for RemoveApplicationStreamInput Response.
type RemoveApplicationStreamInputResponse struct {
// contains filtered or unexported fields
}
func (*RemoveApplicationStreamInputResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveApplicationStreamInputResponse.ProtoReflect.Descriptor instead.
func (*RemoveApplicationStreamInputResponse) ProtoMessage()
func (x *RemoveApplicationStreamInputResponse) ProtoReflect() protoreflect.Message
func (x *RemoveApplicationStreamInputResponse) Reset()
func (x *RemoveApplicationStreamInputResponse) String() string
Request message for renewing a lease.
type RenewLeaseRequest struct { // Lease id. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Series name. Series string `protobuf:"bytes,2,opt,name=series,proto3" json:"series,omitempty"` // Lease owner. Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` // Lease term. Term *durationpb.Duration `protobuf:"bytes,4,opt,name=term,proto3" json:"term,omitempty"` // contains filtered or unexported fields }
func (*RenewLeaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenewLeaseRequest.ProtoReflect.Descriptor instead.
func (x *RenewLeaseRequest) GetId() string
func (x *RenewLeaseRequest) GetOwner() string
func (x *RenewLeaseRequest) GetSeries() string
func (x *RenewLeaseRequest) GetTerm() *durationpb.Duration
func (*RenewLeaseRequest) ProtoMessage()
func (x *RenewLeaseRequest) ProtoReflect() protoreflect.Message
func (x *RenewLeaseRequest) Reset()
func (x *RenewLeaseRequest) String() string
RequestMetadata is the metadata message for the request.
type RequestMetadata struct { // Stream name. Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"` // Evevt name. Event string `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` // Series name. Series string `protobuf:"bytes,3,opt,name=series,proto3" json:"series,omitempty"` // Lease id. LeaseId string `protobuf:"bytes,4,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"` // Owner name. Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` // Lease term specifies how long the client wants the session to be maintained // by the server after the client leaves. If the lease term is not set, the // server will release the session immediately and the client cannot reconnect // to the same session later. LeaseTerm *durationpb.Duration `protobuf:"bytes,6,opt,name=lease_term,json=leaseTerm,proto3" json:"lease_term,omitempty"` // contains filtered or unexported fields }
func (*RequestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RequestMetadata.ProtoReflect.Descriptor instead.
func (x *RequestMetadata) GetEvent() string
func (x *RequestMetadata) GetLeaseId() string
func (x *RequestMetadata) GetLeaseTerm() *durationpb.Duration
func (x *RequestMetadata) GetOwner() string
func (x *RequestMetadata) GetSeries() string
func (x *RequestMetadata) GetStream() string
func (*RequestMetadata) ProtoMessage()
func (x *RequestMetadata) ProtoReflect() protoreflect.Message
func (x *RequestMetadata) Reset()
func (x *RequestMetadata) String() string
Message describing general annotation for resources.
type ResourceAnnotations struct { // Annotations that will be applied to the whole application. ApplicationAnnotations []*StreamAnnotation `protobuf:"bytes,1,rep,name=application_annotations,json=applicationAnnotations,proto3" json:"application_annotations,omitempty"` // Annotations that will be applied to the specific node of the application. // If the same type of the annotations is applied to both application and // node, the node annotation will be added in addition to the global // application one. // For example, if there is one active zone annotation for the whole // application and one active zone annotation for the Occupancy Analytic // processor, then the Occupancy Analytic processor will have two active zones // defined. NodeAnnotations []*ApplicationNodeAnnotation `protobuf:"bytes,2,rep,name=node_annotations,json=nodeAnnotations,proto3" json:"node_annotations,omitempty"` // contains filtered or unexported fields }
func (*ResourceAnnotations) Descriptor() ([]byte, []int)
Deprecated: Use ResourceAnnotations.ProtoReflect.Descriptor instead.
func (x *ResourceAnnotations) GetApplicationAnnotations() []*StreamAnnotation
func (x *ResourceAnnotations) GetNodeAnnotations() []*ApplicationNodeAnnotation
func (*ResourceAnnotations) ProtoMessage()
func (x *ResourceAnnotations) ProtoReflect() protoreflect.Message
func (x *ResourceAnnotations) Reset()
func (x *ResourceAnnotations) String() string
Request message for SearchAssets.
type SearchAssetsRequest struct { // Required. The parent corpus to search. // Form: `projects/{project_id}/locations/{location_id}/corpora/{corpus_id}' Corpus string `protobuf:"bytes,1,opt,name=corpus,proto3" json:"corpus,omitempty"` // The number of results to be returned in this page. If it's 0, the server // will decide the appropriate page_size. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The continuation token to fetch the next page. If empty, it means it is // fetching the first page. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Time ranges that matching video content must fall within. If no ranges are // provided, there will be no time restriction. This field is treated just // like the criteria below, but defined separately for convenience as it is // used frequently. Note that if the end_time is in the future, it will be // clamped to the time the request was received. ContentTimeRanges *DateTimeRangeArray `protobuf:"bytes,5,opt,name=content_time_ranges,json=contentTimeRanges,proto3" json:"content_time_ranges,omitempty"` // Criteria applied to search results. Criteria []*Criteria `protobuf:"bytes,4,rep,name=criteria,proto3" json:"criteria,omitempty"` // Stores most recent facet selection state. Only facet groups with user's // selection will be presented here. Selection state is either selected or // unselected. Only selected facet buckets will be used as search criteria. FacetSelections []*FacetGroup `protobuf:"bytes,6,rep,name=facet_selections,json=facetSelections,proto3" json:"facet_selections,omitempty"` // A list of annotation keys to specify the annotations to be retrieved and // returned with each search result. // Annotation granularity must be GRANULARITY_ASSET_LEVEL and its search // strategy must not be NO_SEARCH. ResultAnnotationKeys []string `protobuf:"bytes,8,rep,name=result_annotation_keys,json=resultAnnotationKeys,proto3" json:"result_annotation_keys,omitempty"` // contains filtered or unexported fields }
func (*SearchAssetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchAssetsRequest.ProtoReflect.Descriptor instead.
func (x *SearchAssetsRequest) GetContentTimeRanges() *DateTimeRangeArray
func (x *SearchAssetsRequest) GetCorpus() string
func (x *SearchAssetsRequest) GetCriteria() []*Criteria
func (x *SearchAssetsRequest) GetFacetSelections() []*FacetGroup
func (x *SearchAssetsRequest) GetPageSize() int32
func (x *SearchAssetsRequest) GetPageToken() string
func (x *SearchAssetsRequest) GetResultAnnotationKeys() []string
func (*SearchAssetsRequest) ProtoMessage()
func (x *SearchAssetsRequest) ProtoReflect() protoreflect.Message
func (x *SearchAssetsRequest) Reset()
func (x *SearchAssetsRequest) String() string
Response message for SearchAssets.
type SearchAssetsResponse struct { // Returned search results. SearchResultItems []*SearchResultItem `protobuf:"bytes,1,rep,name=search_result_items,json=searchResultItems,proto3" json:"search_result_items,omitempty"` // The next-page continuation token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // Facet search results of a given query, which contains user's // already-selected facet values and updated facet search results. FacetResults []*FacetGroup `protobuf:"bytes,3,rep,name=facet_results,json=facetResults,proto3" json:"facet_results,omitempty"` // contains filtered or unexported fields }
func (*SearchAssetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchAssetsResponse.ProtoReflect.Descriptor instead.
func (x *SearchAssetsResponse) GetFacetResults() []*FacetGroup
func (x *SearchAssetsResponse) GetNextPageToken() string
func (x *SearchAssetsResponse) GetSearchResultItems() []*SearchResultItem
func (*SearchAssetsResponse) ProtoMessage()
func (x *SearchAssetsResponse) ProtoReflect() protoreflect.Message
func (x *SearchAssetsResponse) Reset()
func (x *SearchAssetsResponse) String() string
SearchConfig stores different properties that will affect search behaviors and search results.
type SearchConfig struct { // Resource name of the search configuration. // For CustomSearchCriteria, search_config would be the search // operator name. For Facets, search_config would be the facet // dimension name. // Form: // `projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Establishes a FacetDimension and associated specifications. FacetProperty *FacetProperty `protobuf:"bytes,2,opt,name=facet_property,json=facetProperty,proto3" json:"facet_property,omitempty"` // Creates a mapping between a custom SearchCriteria and one or more UGA keys. SearchCriteriaProperty *SearchCriteriaProperty `protobuf:"bytes,3,opt,name=search_criteria_property,json=searchCriteriaProperty,proto3" json:"search_criteria_property,omitempty"` // contains filtered or unexported fields }
func (*SearchConfig) Descriptor() ([]byte, []int)
Deprecated: Use SearchConfig.ProtoReflect.Descriptor instead.
func (x *SearchConfig) GetFacetProperty() *FacetProperty
func (x *SearchConfig) GetName() string
func (x *SearchConfig) GetSearchCriteriaProperty() *SearchCriteriaProperty
func (*SearchConfig) ProtoMessage()
func (x *SearchConfig) ProtoReflect() protoreflect.Message
func (x *SearchConfig) Reset()
func (x *SearchConfig) String() string
Central configuration for custom search criteria.
type SearchCriteriaProperty struct { // Each mapped_field corresponds to a UGA key. To understand how this property // works, take the following example. In the SearchConfig table, the // user adds this entry: // // search_config { // name: "person" // search_criteria_property { // mapped_fields: "player" // mapped_fields: "coach" // } // } // // Now, when a user issues a query like: // // criteria { // field: "person" // text_array { // txt_values: "Tom Brady" // txt_values: "Bill Belichick" // } // } // // MWH search will return search documents where (player=Tom Brady || // coach=Tom Brady || player=Bill Belichick || coach=Bill Belichick). MappedFields []string `protobuf:"bytes,1,rep,name=mapped_fields,json=mappedFields,proto3" json:"mapped_fields,omitempty"` // contains filtered or unexported fields }
func (*SearchCriteriaProperty) Descriptor() ([]byte, []int)
Deprecated: Use SearchCriteriaProperty.ProtoReflect.Descriptor instead.
func (x *SearchCriteriaProperty) GetMappedFields() []string
func (*SearchCriteriaProperty) ProtoMessage()
func (x *SearchCriteriaProperty) ProtoReflect() protoreflect.Message
func (x *SearchCriteriaProperty) Reset()
func (x *SearchCriteriaProperty) String() string
Search result contains asset name and corresponding time ranges.
type SearchResultItem struct { // The resource name of the asset. // Form: // 'projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}' Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` // The matched asset segments. // Deprecated: please use singular `segment` field. // // Deprecated: Do not use. Segments []*Partition_TemporalPartition `protobuf:"bytes,2,rep,name=segments,proto3" json:"segments,omitempty"` // The matched asset segment. Segment *Partition_TemporalPartition `protobuf:"bytes,5,opt,name=segment,proto3" json:"segment,omitempty"` // Search result annotations specified by result_annotation_keys in search // request. RequestedAnnotations []*Annotation `protobuf:"bytes,3,rep,name=requested_annotations,json=requestedAnnotations,proto3" json:"requested_annotations,omitempty"` // Criteria or facet-selection based annotation matching results associated to // this search result item. Only contains results for criteria or // facet_selections with fetch_matched_annotations=true. AnnotationMatchingResults []*AnnotationMatchingResult `protobuf:"bytes,4,rep,name=annotation_matching_results,json=annotationMatchingResults,proto3" json:"annotation_matching_results,omitempty"` // contains filtered or unexported fields }
func (*SearchResultItem) Descriptor() ([]byte, []int)
Deprecated: Use SearchResultItem.ProtoReflect.Descriptor instead.
func (x *SearchResultItem) GetAnnotationMatchingResults() []*AnnotationMatchingResult
func (x *SearchResultItem) GetAsset() string
func (x *SearchResultItem) GetRequestedAnnotations() []*Annotation
func (x *SearchResultItem) GetSegment() *Partition_TemporalPartition
func (x *SearchResultItem) GetSegments() []*Partition_TemporalPartition
Deprecated: Do not use.
func (*SearchResultItem) ProtoMessage()
func (x *SearchResultItem) ProtoReflect() protoreflect.Message
func (x *SearchResultItem) Reset()
func (x *SearchResultItem) String() string
Request message for sending packets.
type SendPacketsRequest struct { // Types that are assignable to Request: // // *SendPacketsRequest_Packet // *SendPacketsRequest_Metadata Request isSendPacketsRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
func (*SendPacketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendPacketsRequest.ProtoReflect.Descriptor instead.
func (x *SendPacketsRequest) GetMetadata() *RequestMetadata
func (x *SendPacketsRequest) GetPacket() *Packet
func (m *SendPacketsRequest) GetRequest() isSendPacketsRequest_Request
func (*SendPacketsRequest) ProtoMessage()
func (x *SendPacketsRequest) ProtoReflect() protoreflect.Message
func (x *SendPacketsRequest) Reset()
func (x *SendPacketsRequest) String() string
type SendPacketsRequest_Metadata struct { // The first message of the streaming rpc including the request metadata. Metadata *RequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3,oneof"` }
type SendPacketsRequest_Packet struct { // Packets sent over the streaming rpc. Packet *Packet `protobuf:"bytes,1,opt,name=packet,proto3,oneof"` }
Response message for sending packets.
type SendPacketsResponse struct {
// contains filtered or unexported fields
}
func (*SendPacketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendPacketsResponse.ProtoReflect.Descriptor instead.
func (*SendPacketsResponse) ProtoMessage()
func (x *SendPacketsResponse) ProtoReflect() protoreflect.Message
func (x *SendPacketsResponse) Reset()
func (x *SendPacketsResponse) String() string
Message describing the Series object.
type Series 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 }
func (*Series) Descriptor() ([]byte, []int)
Deprecated: Use Series.ProtoReflect.Descriptor instead.
func (x *Series) GetAnnotations() map[string]string
func (x *Series) GetCreateTime() *timestamppb.Timestamp
func (x *Series) GetEvent() string
func (x *Series) GetLabels() map[string]string
func (x *Series) GetName() string
func (x *Series) GetStream() string
func (x *Series) GetUpdateTime() *timestamppb.Timestamp
func (*Series) ProtoMessage()
func (x *Series) ProtoReflect() protoreflect.Message
func (x *Series) Reset()
func (x *Series) String() string
The message that represents series metadata.
type SeriesMetadata struct { // Series name. It's in the format of // "projects/{project}/locations/{location}/clusters/{cluster}/series/{stream}". Series string `protobuf:"bytes,1,opt,name=series,proto3" json:"series,omitempty"` // contains filtered or unexported fields }
func (*SeriesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SeriesMetadata.ProtoReflect.Descriptor instead.
func (x *SeriesMetadata) GetSeries() string
func (*SeriesMetadata) ProtoMessage()
func (x *SeriesMetadata) ProtoReflect() protoreflect.Message
func (x *SeriesMetadata) Reset()
func (x *SeriesMetadata) String() string
The message that represents server metadata.
type ServerMetadata struct { // The offset position for the packet in its stream. Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` // The timestamp at which the stream server receives this packet. This is // based on the local clock of on the server side. It is guaranteed to be // monotonically increasing for the packets within each session; however // this timestamp is not comparable across packets sent to the same stream // different sessions. Session here refers to one individual gRPC streaming // request to the stream server. IngestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ingest_time,json=ingestTime,proto3" json:"ingest_time,omitempty"` // contains filtered or unexported fields }
func (*ServerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ServerMetadata.ProtoReflect.Descriptor instead.
func (x *ServerMetadata) GetIngestTime() *timestamppb.Timestamp
func (x *ServerMetadata) GetOffset() int64
func (*ServerMetadata) ProtoMessage()
func (x *ServerMetadata) ProtoReflect() protoreflect.Message
func (x *ServerMetadata) Reset()
func (x *ServerMetadata) String() string
Message describing the Stream object. The Stream and the Event resources are many to many; i.e., each Stream resource can associate to many Event resources and each Event resource can associate to many Stream resources.
type Stream 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 display name for the stream resource. DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Whether to enable the HLS playback service on this stream. EnableHlsPlayback bool `protobuf:"varint,7,opt,name=enable_hls_playback,json=enableHlsPlayback,proto3" json:"enable_hls_playback,omitempty"` // The name of the media warehouse asset for long term storage of stream data. // Format: projects/${p_id}/locations/${l_id}/corpora/${c_id}/assets/${a_id} // Remain empty if the media warehouse storage is not needed for the stream. MediaWarehouseAsset string `protobuf:"bytes,8,opt,name=media_warehouse_asset,json=mediaWarehouseAsset,proto3" json:"media_warehouse_asset,omitempty"` // contains filtered or unexported fields }
func (*Stream) Descriptor() ([]byte, []int)
Deprecated: Use Stream.ProtoReflect.Descriptor instead.
func (x *Stream) GetAnnotations() map[string]string
func (x *Stream) GetCreateTime() *timestamppb.Timestamp
func (x *Stream) GetDisplayName() string
func (x *Stream) GetEnableHlsPlayback() bool
func (x *Stream) GetLabels() map[string]string
func (x *Stream) GetMediaWarehouseAsset() string
func (x *Stream) GetName() string
func (x *Stream) GetUpdateTime() *timestamppb.Timestamp
func (*Stream) ProtoMessage()
func (x *Stream) ProtoReflect() protoreflect.Message
func (x *Stream) Reset()
func (x *Stream) String() string
message about annotations about Vision AI stream resource.
type StreamAnnotation struct { // Types that are assignable to AnnotationPayload: // // *StreamAnnotation_ActiveZone // *StreamAnnotation_CrossingLine AnnotationPayload isStreamAnnotation_AnnotationPayload `protobuf_oneof:"annotation_payload"` // ID of the annotation. It must be unique when used in the certain context. // For example, all the annotations to one input streams of a Vision AI // application. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // User-friendly name for the annotation. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The Vision AI stream resource name. SourceStream string `protobuf:"bytes,3,opt,name=source_stream,json=sourceStream,proto3" json:"source_stream,omitempty"` // The actual type of Annotation. Type StreamAnnotationType `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.visionai.v1.StreamAnnotationType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*StreamAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use StreamAnnotation.ProtoReflect.Descriptor instead.
func (x *StreamAnnotation) GetActiveZone() *NormalizedPolygon
func (m *StreamAnnotation) GetAnnotationPayload() isStreamAnnotation_AnnotationPayload
func (x *StreamAnnotation) GetCrossingLine() *NormalizedPolyline
func (x *StreamAnnotation) GetDisplayName() string
func (x *StreamAnnotation) GetId() string
func (x *StreamAnnotation) GetSourceStream() string
func (x *StreamAnnotation) GetType() StreamAnnotationType
func (*StreamAnnotation) ProtoMessage()
func (x *StreamAnnotation) ProtoReflect() protoreflect.Message
func (x *StreamAnnotation) Reset()
func (x *StreamAnnotation) String() string
Enum describing all possible types of a stream annotation.
type StreamAnnotationType int32
const ( // Type UNSPECIFIED. StreamAnnotationType_STREAM_ANNOTATION_TYPE_UNSPECIFIED StreamAnnotationType = 0 // active_zone annotation defines a polygon on top of the content from an // image/video based stream, following processing will only focus on the // content inside the active zone. StreamAnnotationType_STREAM_ANNOTATION_TYPE_ACTIVE_ZONE StreamAnnotationType = 1 // crossing_line annotation defines a polyline on top of the content from an // image/video based Vision AI stream, events happening across the line will // be captured. For example, the counts of people who goes acroos the line // in Occupancy Analytic Processor. StreamAnnotationType_STREAM_ANNOTATION_TYPE_CROSSING_LINE StreamAnnotationType = 2 )
func (StreamAnnotationType) Descriptor() protoreflect.EnumDescriptor
func (x StreamAnnotationType) Enum() *StreamAnnotationType
func (StreamAnnotationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use StreamAnnotationType.Descriptor instead.
func (x StreamAnnotationType) Number() protoreflect.EnumNumber
func (x StreamAnnotationType) String() string
func (StreamAnnotationType) Type() protoreflect.EnumType
type StreamAnnotation_ActiveZone struct { // Annotation for type ACTIVE_ZONE ActiveZone *NormalizedPolygon `protobuf:"bytes,5,opt,name=active_zone,json=activeZone,proto3,oneof"` }
type StreamAnnotation_CrossingLine struct { // Annotation for type CROSSING_LINE CrossingLine *NormalizedPolyline `protobuf:"bytes,6,opt,name=crossing_line,json=crossingLine,proto3,oneof"` }
A wrapper of repeated StreamAnnotation.
type StreamAnnotations struct { // Multiple annotations. StreamAnnotations []*StreamAnnotation `protobuf:"bytes,1,rep,name=stream_annotations,json=streamAnnotations,proto3" json:"stream_annotations,omitempty"` // contains filtered or unexported fields }
func (*StreamAnnotations) Descriptor() ([]byte, []int)
Deprecated: Use StreamAnnotations.ProtoReflect.Descriptor instead.
func (x *StreamAnnotations) GetStreamAnnotations() []*StreamAnnotation
func (*StreamAnnotations) ProtoMessage()
func (x *StreamAnnotations) ProtoReflect() protoreflect.Message
func (x *StreamAnnotations) Reset()
func (x *StreamAnnotations) String() string
Message describing Vision AI stream with application specific annotations. All the StreamAnnotation object inside this message MUST have unique id.
type StreamWithAnnotation struct { // Vision AI Stream resource name. Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"` // Annotations that will be applied to the whole application. ApplicationAnnotations []*StreamAnnotation `protobuf:"bytes,2,rep,name=application_annotations,json=applicationAnnotations,proto3" json:"application_annotations,omitempty"` // Annotations that will be applied to the specific node of the application. // If the same type of the annotations is applied to both application and // node, the node annotation will be added in addition to the global // application one. // For example, if there is one active zone annotation for the whole // application and one active zone annotation for the Occupancy Analytic // processor, then the Occupancy Analytic processor will have two active zones // defined. NodeAnnotations []*StreamWithAnnotation_NodeAnnotation `protobuf:"bytes,3,rep,name=node_annotations,json=nodeAnnotations,proto3" json:"node_annotations,omitempty"` // contains filtered or unexported fields }
func (*StreamWithAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use StreamWithAnnotation.ProtoReflect.Descriptor instead.
func (x *StreamWithAnnotation) GetApplicationAnnotations() []*StreamAnnotation
func (x *StreamWithAnnotation) GetNodeAnnotations() []*StreamWithAnnotation_NodeAnnotation
func (x *StreamWithAnnotation) GetStream() string
func (*StreamWithAnnotation) ProtoMessage()
func (x *StreamWithAnnotation) ProtoReflect() protoreflect.Message
func (x *StreamWithAnnotation) Reset()
func (x *StreamWithAnnotation) String() string
Message describing annotations specific to application node.
type StreamWithAnnotation_NodeAnnotation struct { // The node name of the application graph. Node string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // The node specific stream annotations. Annotations []*StreamAnnotation `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*StreamWithAnnotation_NodeAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use StreamWithAnnotation_NodeAnnotation.ProtoReflect.Descriptor instead.
func (x *StreamWithAnnotation_NodeAnnotation) GetAnnotations() []*StreamAnnotation
func (x *StreamWithAnnotation_NodeAnnotation) GetNode() string
func (*StreamWithAnnotation_NodeAnnotation) ProtoMessage()
func (x *StreamWithAnnotation_NodeAnnotation) ProtoReflect() protoreflect.Message
func (x *StreamWithAnnotation_NodeAnnotation) Reset()
func (x *StreamWithAnnotation_NodeAnnotation) String() string
StreamingServiceClient is the client API for StreamingService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type StreamingServiceClient interface { // Send packets to the series. SendPackets(ctx context.Context, opts ...grpc.CallOption) (StreamingService_SendPacketsClient, error) // Receive packets from the series. ReceivePackets(ctx context.Context, opts ...grpc.CallOption) (StreamingService_ReceivePacketsClient, error) // Receive events given the stream name. ReceiveEvents(ctx context.Context, opts ...grpc.CallOption) (StreamingService_ReceiveEventsClient, error) // AcquireLease acquires a lease. AcquireLease(ctx context.Context, in *AcquireLeaseRequest, opts ...grpc.CallOption) (*Lease, error) // RenewLease renews a lease. RenewLease(ctx context.Context, in *RenewLeaseRequest, opts ...grpc.CallOption) (*Lease, error) // RleaseLease releases a lease. ReleaseLease(ctx context.Context, in *ReleaseLeaseRequest, opts ...grpc.CallOption) (*ReleaseLeaseResponse, error) }
func NewStreamingServiceClient(cc grpc.ClientConnInterface) StreamingServiceClient
StreamingServiceServer is the server API for StreamingService service.
type StreamingServiceServer interface { // Send packets to the series. SendPackets(StreamingService_SendPacketsServer) error // Receive packets from the series. ReceivePackets(StreamingService_ReceivePacketsServer) error // Receive events given the stream name. ReceiveEvents(StreamingService_ReceiveEventsServer) error // AcquireLease acquires a lease. AcquireLease(context.Context, *AcquireLeaseRequest) (*Lease, error) // RenewLease renews a lease. RenewLease(context.Context, *RenewLeaseRequest) (*Lease, error) // RleaseLease releases a lease. ReleaseLease(context.Context, *ReleaseLeaseRequest) (*ReleaseLeaseResponse, error) }
type StreamingService_ReceiveEventsClient interface { Send(*ReceiveEventsRequest) error Recv() (*ReceiveEventsResponse, error) grpc.ClientStream }
type StreamingService_ReceiveEventsServer interface { Send(*ReceiveEventsResponse) error Recv() (*ReceiveEventsRequest, error) grpc.ServerStream }
type StreamingService_ReceivePacketsClient interface { Send(*ReceivePacketsRequest) error Recv() (*ReceivePacketsResponse, error) grpc.ClientStream }
type StreamingService_ReceivePacketsServer interface { Send(*ReceivePacketsResponse) error Recv() (*ReceivePacketsRequest, error) grpc.ServerStream }
type StreamingService_SendPacketsClient interface { Send(*SendPacketsRequest) error Recv() (*SendPacketsResponse, error) grpc.ClientStream }
type StreamingService_SendPacketsServer interface { Send(*SendPacketsResponse) error Recv() (*SendPacketsRequest, error) grpc.ServerStream }
StreamsServiceClient is the client API for StreamsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type StreamsServiceClient interface { // Lists Clusters in a given project and location. ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) // Gets details of a single Cluster. GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) // Creates a new Cluster in a given project and location. CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Updates the parameters of a single Cluster. UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deletes a single Cluster. DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Lists Streams in a given project and location. ListStreams(ctx context.Context, in *ListStreamsRequest, opts ...grpc.CallOption) (*ListStreamsResponse, error) // Gets details of a single Stream. GetStream(ctx context.Context, in *GetStreamRequest, opts ...grpc.CallOption) (*Stream, error) // Creates a new Stream in a given project and location. CreateStream(ctx context.Context, in *CreateStreamRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Updates the parameters of a single Stream. UpdateStream(ctx context.Context, in *UpdateStreamRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deletes a single Stream. DeleteStream(ctx context.Context, in *DeleteStreamRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Gets the thumbnail (image snapshot) of a single Stream. GetStreamThumbnail(ctx context.Context, in *GetStreamThumbnailRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Generate the JWT auth token required to get the stream HLS contents. GenerateStreamHlsToken(ctx context.Context, in *GenerateStreamHlsTokenRequest, opts ...grpc.CallOption) (*GenerateStreamHlsTokenResponse, error) // Lists Events in a given project and location. ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error) // Gets details of a single Event. GetEvent(ctx context.Context, in *GetEventRequest, opts ...grpc.CallOption) (*Event, error) // Creates a new Event in a given project and location. CreateEvent(ctx context.Context, in *CreateEventRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Updates the parameters of a single Event. UpdateEvent(ctx context.Context, in *UpdateEventRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deletes a single Event. DeleteEvent(ctx context.Context, in *DeleteEventRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Lists Series in a given project and location. ListSeries(ctx context.Context, in *ListSeriesRequest, opts ...grpc.CallOption) (*ListSeriesResponse, error) // Gets details of a single Series. GetSeries(ctx context.Context, in *GetSeriesRequest, opts ...grpc.CallOption) (*Series, error) // Creates a new Series in a given project and location. CreateSeries(ctx context.Context, in *CreateSeriesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Updates the parameters of a single Event. UpdateSeries(ctx context.Context, in *UpdateSeriesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deletes a single Series. DeleteSeries(ctx context.Context, in *DeleteSeriesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Materialize a channel. MaterializeChannel(ctx context.Context, in *MaterializeChannelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) }
func NewStreamsServiceClient(cc grpc.ClientConnInterface) StreamsServiceClient
StreamsServiceServer is the server API for StreamsService service.
type StreamsServiceServer interface { // Lists Clusters in a given project and location. ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) // Gets details of a single Cluster. GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) // Creates a new Cluster in a given project and location. CreateCluster(context.Context, *CreateClusterRequest) (*longrunning.Operation, error) // Updates the parameters of a single Cluster. UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunning.Operation, error) // Deletes a single Cluster. DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunning.Operation, error) // Lists Streams in a given project and location. ListStreams(context.Context, *ListStreamsRequest) (*ListStreamsResponse, error) // Gets details of a single Stream. GetStream(context.Context, *GetStreamRequest) (*Stream, error) // Creates a new Stream in a given project and location. CreateStream(context.Context, *CreateStreamRequest) (*longrunning.Operation, error) // Updates the parameters of a single Stream. UpdateStream(context.Context, *UpdateStreamRequest) (*longrunning.Operation, error) // Deletes a single Stream. DeleteStream(context.Context, *DeleteStreamRequest) (*longrunning.Operation, error) // Gets the thumbnail (image snapshot) of a single Stream. GetStreamThumbnail(context.Context, *GetStreamThumbnailRequest) (*longrunning.Operation, error) // Generate the JWT auth token required to get the stream HLS contents. GenerateStreamHlsToken(context.Context, *GenerateStreamHlsTokenRequest) (*GenerateStreamHlsTokenResponse, error) // Lists Events in a given project and location. ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error) // Gets details of a single Event. GetEvent(context.Context, *GetEventRequest) (*Event, error) // Creates a new Event in a given project and location. CreateEvent(context.Context, *CreateEventRequest) (*longrunning.Operation, error) // Updates the parameters of a single Event. UpdateEvent(context.Context, *UpdateEventRequest) (*longrunning.Operation, error) // Deletes a single Event. DeleteEvent(context.Context, *DeleteEventRequest) (*longrunning.Operation, error) // Lists Series in a given project and location. ListSeries(context.Context, *ListSeriesRequest) (*ListSeriesResponse, error) // Gets details of a single Series. GetSeries(context.Context, *GetSeriesRequest) (*Series, error) // Creates a new Series in a given project and location. CreateSeries(context.Context, *CreateSeriesRequest) (*longrunning.Operation, error) // Updates the parameters of a single Event. UpdateSeries(context.Context, *UpdateSeriesRequest) (*longrunning.Operation, error) // Deletes a single Series. DeleteSeries(context.Context, *DeleteSeriesRequest) (*longrunning.Operation, error) // Materialize a channel. MaterializeChannel(context.Context, *MaterializeChannelRequest) (*longrunning.Operation, error) }
A list of string-type values.
type StringArray struct { // String type values. TxtValues []string `protobuf:"bytes,1,rep,name=txt_values,json=txtValues,proto3" json:"txt_values,omitempty"` // contains filtered or unexported fields }
func (*StringArray) Descriptor() ([]byte, []int)
Deprecated: Use StringArray.ProtoReflect.Descriptor instead.
func (x *StringArray) GetTxtValues() []string
func (*StringArray) ProtoMessage()
func (x *StringArray) ProtoReflect() protoreflect.Message
func (x *StringArray) Reset()
func (x *StringArray) String() string
Message for undeploying an Application.
type UndeployApplicationRequest struct { // Required. the name of the application to retrieve. // Format: // "projects/{project}/locations/{location}/applications/{application}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore // the request if it has already been completed. The server will guarantee // that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and t // he 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 }
func (*UndeployApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UndeployApplicationRequest.ProtoReflect.Descriptor instead.
func (x *UndeployApplicationRequest) GetName() string
func (x *UndeployApplicationRequest) GetRequestId() string
func (*UndeployApplicationRequest) ProtoMessage()
func (x *UndeployApplicationRequest) ProtoReflect() protoreflect.Message
func (x *UndeployApplicationRequest) Reset()
func (x *UndeployApplicationRequest) String() string
Message for UndeployApplication Response.
type UndeployApplicationResponse struct {
// contains filtered or unexported fields
}
func (*UndeployApplicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use UndeployApplicationResponse.ProtoReflect.Descriptor instead.
func (*UndeployApplicationResponse) ProtoMessage()
func (x *UndeployApplicationResponse) ProtoReflect() protoreflect.Message
func (x *UndeployApplicationResponse) Reset()
func (x *UndeployApplicationResponse) String() string
UnimplementedAppPlatformServer can be embedded to have forward compatible implementations.
type UnimplementedAppPlatformServer struct { }
func (*UnimplementedAppPlatformServer) AddApplicationStreamInput(context.Context, *AddApplicationStreamInputRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) CreateApplication(context.Context, *CreateApplicationRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) CreateApplicationInstances(context.Context, *CreateApplicationInstancesRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) CreateDraft(context.Context, *CreateDraftRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) CreateProcessor(context.Context, *CreateProcessorRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) DeleteApplication(context.Context, *DeleteApplicationRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) DeleteApplicationInstances(context.Context, *DeleteApplicationInstancesRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) DeleteDraft(context.Context, *DeleteDraftRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) DeleteProcessor(context.Context, *DeleteProcessorRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) DeployApplication(context.Context, *DeployApplicationRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) GetApplication(context.Context, *GetApplicationRequest) (*Application, error)
func (*UnimplementedAppPlatformServer) GetDraft(context.Context, *GetDraftRequest) (*Draft, error)
func (*UnimplementedAppPlatformServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
func (*UnimplementedAppPlatformServer) GetProcessor(context.Context, *GetProcessorRequest) (*Processor, error)
func (*UnimplementedAppPlatformServer) ListApplications(context.Context, *ListApplicationsRequest) (*ListApplicationsResponse, error)
func (*UnimplementedAppPlatformServer) ListDrafts(context.Context, *ListDraftsRequest) (*ListDraftsResponse, error)
func (*UnimplementedAppPlatformServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
func (*UnimplementedAppPlatformServer) ListPrebuiltProcessors(context.Context, *ListPrebuiltProcessorsRequest) (*ListPrebuiltProcessorsResponse, error)
func (*UnimplementedAppPlatformServer) ListProcessors(context.Context, *ListProcessorsRequest) (*ListProcessorsResponse, error)
func (*UnimplementedAppPlatformServer) RemoveApplicationStreamInput(context.Context, *RemoveApplicationStreamInputRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) UndeployApplication(context.Context, *UndeployApplicationRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) UpdateApplication(context.Context, *UpdateApplicationRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) UpdateApplicationInstances(context.Context, *UpdateApplicationInstancesRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) UpdateApplicationStreamInput(context.Context, *UpdateApplicationStreamInputRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) UpdateDraft(context.Context, *UpdateDraftRequest) (*longrunning.Operation, error)
func (*UnimplementedAppPlatformServer) UpdateProcessor(context.Context, *UpdateProcessorRequest) (*longrunning.Operation, error)
UnimplementedLiveVideoAnalyticsServer can be embedded to have forward compatible implementations.
type UnimplementedLiveVideoAnalyticsServer struct { }
func (*UnimplementedLiveVideoAnalyticsServer) CreateAnalysis(context.Context, *CreateAnalysisRequest) (*longrunning.Operation, error)
func (*UnimplementedLiveVideoAnalyticsServer) DeleteAnalysis(context.Context, *DeleteAnalysisRequest) (*longrunning.Operation, error)
func (*UnimplementedLiveVideoAnalyticsServer) GetAnalysis(context.Context, *GetAnalysisRequest) (*Analysis, error)
func (*UnimplementedLiveVideoAnalyticsServer) ListAnalyses(context.Context, *ListAnalysesRequest) (*ListAnalysesResponse, error)
func (*UnimplementedLiveVideoAnalyticsServer) UpdateAnalysis(context.Context, *UpdateAnalysisRequest) (*longrunning.Operation, error)
UnimplementedStreamingServiceServer can be embedded to have forward compatible implementations.
type UnimplementedStreamingServiceServer struct { }
func (*UnimplementedStreamingServiceServer) AcquireLease(context.Context, *AcquireLeaseRequest) (*Lease, error)
func (*UnimplementedStreamingServiceServer) ReceiveEvents(StreamingService_ReceiveEventsServer) error
func (*UnimplementedStreamingServiceServer) ReceivePackets(StreamingService_ReceivePacketsServer) error
func (*UnimplementedStreamingServiceServer) ReleaseLease(context.Context, *ReleaseLeaseRequest) (*ReleaseLeaseResponse, error)
func (*UnimplementedStreamingServiceServer) RenewLease(context.Context, *RenewLeaseRequest) (*Lease, error)
func (*UnimplementedStreamingServiceServer) SendPackets(StreamingService_SendPacketsServer) error
UnimplementedStreamsServiceServer can be embedded to have forward compatible implementations.
type UnimplementedStreamsServiceServer struct { }
func (*UnimplementedStreamsServiceServer) CreateCluster(context.Context, *CreateClusterRequest) (*longrunning.Operation, error)
func (*UnimplementedStreamsServiceServer) CreateEvent(context.Context, *CreateEventRequest) (*longrunning.Operation, error)
func (*UnimplementedStreamsServiceServer) CreateSeries(context.Context, *CreateSeriesRequest) (*longrunning.Operation, error)
func (*UnimplementedStreamsServiceServer) CreateStream(context.Context, *CreateStreamRequest) (*longrunning.Operation, error)
func (*UnimplementedStreamsServiceServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunning.Operation, error)
func (*UnimplementedStreamsServiceServer) DeleteEvent(context.Context, *DeleteEventRequest) (*longrunning.Operation, error)
func (*UnimplementedStreamsServiceServer) DeleteSeries(context.Context, *DeleteSeriesRequest) (*longrunning.Operation, error)
func (*UnimplementedStreamsServiceServer) DeleteStream(context.Context, *DeleteStreamRequest) (*longrunning.Operation, error)
func (*UnimplementedStreamsServiceServer) GenerateStreamHlsToken(context.Context, *GenerateStreamHlsTokenRequest) (*GenerateStreamHlsTokenResponse, error)
func (*UnimplementedStreamsServiceServer) GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
func (*UnimplementedStreamsServiceServer) GetEvent(context.Context, *GetEventRequest) (*Event, error)
func (*UnimplementedStreamsServiceServer) GetSeries(context.Context, *GetSeriesRequest) (*Series, error)
func (*UnimplementedStreamsServiceServer) GetStream(context.Context, *GetStreamRequest) (*Stream, error)
func (*UnimplementedStreamsServiceServer) GetStreamThumbnail(context.Context, *GetStreamThumbnailRequest) (*longrunning.Operation, error)
func (*UnimplementedStreamsServiceServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
func (*UnimplementedStreamsServiceServer) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
func (*UnimplementedStreamsServiceServer) ListSeries(context.Context, *ListSeriesRequest) (*ListSeriesResponse, error)
func (*UnimplementedStreamsServiceServer) ListStreams(context.Context, *ListStreamsRequest) (*ListStreamsResponse, error)
func (*UnimplementedStreamsServiceServer) MaterializeChannel(context.Context, *MaterializeChannelRequest) (*longrunning.Operation, error)
func (*UnimplementedStreamsServiceServer) UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunning.Operation, error)
func (*UnimplementedStreamsServiceServer) UpdateEvent(context.Context, *UpdateEventRequest) (*longrunning.Operation, error)
func (*UnimplementedStreamsServiceServer) UpdateSeries(context.Context, *UpdateSeriesRequest) (*longrunning.Operation, error)
func (*UnimplementedStreamsServiceServer) UpdateStream(context.Context, *UpdateStreamRequest) (*longrunning.Operation, error)
UnimplementedWarehouseServer can be embedded to have forward compatible implementations.
type UnimplementedWarehouseServer struct { }
func (*UnimplementedWarehouseServer) ClipAsset(context.Context, *ClipAssetRequest) (*ClipAssetResponse, error)
func (*UnimplementedWarehouseServer) CreateAnnotation(context.Context, *CreateAnnotationRequest) (*Annotation, error)
func (*UnimplementedWarehouseServer) CreateAsset(context.Context, *CreateAssetRequest) (*Asset, error)
func (*UnimplementedWarehouseServer) CreateCorpus(context.Context, *CreateCorpusRequest) (*longrunning.Operation, error)
func (*UnimplementedWarehouseServer) CreateDataSchema(context.Context, *CreateDataSchemaRequest) (*DataSchema, error)
func (*UnimplementedWarehouseServer) CreateSearchConfig(context.Context, *CreateSearchConfigRequest) (*SearchConfig, error)
func (*UnimplementedWarehouseServer) DeleteAnnotation(context.Context, *DeleteAnnotationRequest) (*emptypb.Empty, error)
func (*UnimplementedWarehouseServer) DeleteAsset(context.Context, *DeleteAssetRequest) (*longrunning.Operation, error)
func (*UnimplementedWarehouseServer) DeleteCorpus(context.Context, *DeleteCorpusRequest) (*emptypb.Empty, error)
func (*UnimplementedWarehouseServer) DeleteDataSchema(context.Context, *DeleteDataSchemaRequest) (*emptypb.Empty, error)
func (*UnimplementedWarehouseServer) DeleteSearchConfig(context.Context, *DeleteSearchConfigRequest) (*emptypb.Empty, error)
func (*UnimplementedWarehouseServer) GenerateHlsUri(context.Context, *GenerateHlsUriRequest) (*GenerateHlsUriResponse, error)
func (*UnimplementedWarehouseServer) GetAnnotation(context.Context, *GetAnnotationRequest) (*Annotation, error)
func (*UnimplementedWarehouseServer) GetAsset(context.Context, *GetAssetRequest) (*Asset, error)
func (*UnimplementedWarehouseServer) GetCorpus(context.Context, *GetCorpusRequest) (*Corpus, error)
func (*UnimplementedWarehouseServer) GetDataSchema(context.Context, *GetDataSchemaRequest) (*DataSchema, error)
func (*UnimplementedWarehouseServer) GetSearchConfig(context.Context, *GetSearchConfigRequest) (*SearchConfig, error)
func (*UnimplementedWarehouseServer) IngestAsset(Warehouse_IngestAssetServer) error
func (*UnimplementedWarehouseServer) ListAnnotations(context.Context, *ListAnnotationsRequest) (*ListAnnotationsResponse, error)
func (*UnimplementedWarehouseServer) ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error)
func (*UnimplementedWarehouseServer) ListCorpora(context.Context, *ListCorporaRequest) (*ListCorporaResponse, error)
func (*UnimplementedWarehouseServer) ListDataSchemas(context.Context, *ListDataSchemasRequest) (*ListDataSchemasResponse, error)
func (*UnimplementedWarehouseServer) ListSearchConfigs(context.Context, *ListSearchConfigsRequest) (*ListSearchConfigsResponse, error)
func (*UnimplementedWarehouseServer) SearchAssets(context.Context, *SearchAssetsRequest) (*SearchAssetsResponse, error)
func (*UnimplementedWarehouseServer) UpdateAnnotation(context.Context, *UpdateAnnotationRequest) (*Annotation, error)
func (*UnimplementedWarehouseServer) UpdateAsset(context.Context, *UpdateAssetRequest) (*Asset, error)
func (*UnimplementedWarehouseServer) UpdateCorpus(context.Context, *UpdateCorpusRequest) (*Corpus, error)
func (*UnimplementedWarehouseServer) UpdateDataSchema(context.Context, *UpdateDataSchemaRequest) (*DataSchema, error)
func (*UnimplementedWarehouseServer) UpdateSearchConfig(context.Context, *UpdateSearchConfigRequest) (*SearchConfig, error)
Message for updating an Analysis.
type UpdateAnalysisRequest struct { // Required. Field mask is used to specify the fields to be overwritten in the // Analysis resource by the update. // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The resource being updated. Analysis *Analysis `protobuf:"bytes,2,opt,name=analysis,proto3" json:"analysis,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore // the request if it has already been completed. The server will guarantee // that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, // the server can check if original operation with the same request ID was // received, and if so, will ignore the second request. This prevents clients // from accidentally creating duplicate commitments. // // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateAnalysisRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAnalysisRequest.ProtoReflect.Descriptor instead.
func (x *UpdateAnalysisRequest) GetAnalysis() *Analysis
func (x *UpdateAnalysisRequest) GetRequestId() string
func (x *UpdateAnalysisRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAnalysisRequest) ProtoMessage()
func (x *UpdateAnalysisRequest) ProtoReflect() protoreflect.Message
func (x *UpdateAnalysisRequest) Reset()
func (x *UpdateAnalysisRequest) String() string
Request message for UpdateAnnotation API.
type UpdateAnnotationRequest struct { // Required. The annotation to update. // The annotation's `name` field is used to identify the annotation to be // updated. Format: // projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation} Annotation *Annotation `protobuf:"bytes,1,opt,name=annotation,proto3" json:"annotation,omitempty"` // The list of fields to be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateAnnotationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAnnotationRequest.ProtoReflect.Descriptor instead.
func (x *UpdateAnnotationRequest) GetAnnotation() *Annotation
func (x *UpdateAnnotationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAnnotationRequest) ProtoMessage()
func (x *UpdateAnnotationRequest) ProtoReflect() protoreflect.Message
func (x *UpdateAnnotationRequest) Reset()
func (x *UpdateAnnotationRequest) String() string
Message for updating an ApplicationInstance.
type UpdateApplicationInstancesRequest struct { // Required. the name of the application to retrieve. // Format: // "projects/{project}/locations/{location}/applications/{application}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ApplicationInstances []*UpdateApplicationInstancesRequest_UpdateApplicationInstance `protobuf:"bytes,2,rep,name=application_instances,json=applicationInstances,proto3" json:"application_instances,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore // the request if it has already been completed. The server will guarantee // that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and t // he request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. // // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // If true, Update Request will create one resource if the target resource // doesn't exist, this time, the field_mask will be ignored. AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
func (*UpdateApplicationInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApplicationInstancesRequest.ProtoReflect.Descriptor instead.
func (x *UpdateApplicationInstancesRequest) GetAllowMissing() bool
func (x *UpdateApplicationInstancesRequest) GetApplicationInstances() []*UpdateApplicationInstancesRequest_UpdateApplicationInstance
func (x *UpdateApplicationInstancesRequest) GetName() string
func (x *UpdateApplicationInstancesRequest) GetRequestId() string
func (*UpdateApplicationInstancesRequest) ProtoMessage()
func (x *UpdateApplicationInstancesRequest) ProtoReflect() protoreflect.Message
func (x *UpdateApplicationInstancesRequest) Reset()
func (x *UpdateApplicationInstancesRequest) String() string
type UpdateApplicationInstancesRequest_UpdateApplicationInstance struct { // Optional. Field mask is used to specify the fields to be overwritten in the // Draft resource by the update. // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If // the user does not provide a mask then all fields will be overwritten. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The resource being updated. Instance *Instance `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"` // Required. The id of the instance. InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateApplicationInstancesRequest_UpdateApplicationInstance) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApplicationInstancesRequest_UpdateApplicationInstance.ProtoReflect.Descriptor instead.
func (x *UpdateApplicationInstancesRequest_UpdateApplicationInstance) GetInstance() *Instance
func (x *UpdateApplicationInstancesRequest_UpdateApplicationInstance) GetInstanceId() string
func (x *UpdateApplicationInstancesRequest_UpdateApplicationInstance) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateApplicationInstancesRequest_UpdateApplicationInstance) ProtoMessage()
func (x *UpdateApplicationInstancesRequest_UpdateApplicationInstance) ProtoReflect() protoreflect.Message
func (x *UpdateApplicationInstancesRequest_UpdateApplicationInstance) Reset()
func (x *UpdateApplicationInstancesRequest_UpdateApplicationInstance) String() string
Message for UpdateApplicationInstances Response.
type UpdateApplicationInstancesResponse struct {
// contains filtered or unexported fields
}
func (*UpdateApplicationInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApplicationInstancesResponse.ProtoReflect.Descriptor instead.
func (*UpdateApplicationInstancesResponse) ProtoMessage()
func (x *UpdateApplicationInstancesResponse) ProtoReflect() protoreflect.Message
func (x *UpdateApplicationInstancesResponse) Reset()
func (x *UpdateApplicationInstancesResponse) String() string
Message for updating an Application.
type UpdateApplicationRequest struct { // Optional. Field mask is used to specify the fields to be overwritten in the // Application resource by the update. // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The resource being updated. Application *Application `protobuf:"bytes,2,opt,name=application,proto3" json:"application,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore // the request if it has already been completed. The server will guarantee // that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and t // he 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 }
func (*UpdateApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApplicationRequest.ProtoReflect.Descriptor instead.
func (x *UpdateApplicationRequest) GetApplication() *Application
func (x *UpdateApplicationRequest) GetRequestId() string
func (x *UpdateApplicationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateApplicationRequest) ProtoMessage()
func (x *UpdateApplicationRequest) ProtoReflect() protoreflect.Message
func (x *UpdateApplicationRequest) Reset()
func (x *UpdateApplicationRequest) String() string
Message for updating stream input to an Application.
type UpdateApplicationStreamInputRequest 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 update, 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 t // he request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. // // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // If true, UpdateApplicationStreamInput will insert stream input to // application even if the target stream is not included in the application. AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
func (*UpdateApplicationStreamInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApplicationStreamInputRequest.ProtoReflect.Descriptor instead.
func (x *UpdateApplicationStreamInputRequest) GetAllowMissing() bool
func (x *UpdateApplicationStreamInputRequest) GetApplicationStreamInputs() []*ApplicationStreamInput
func (x *UpdateApplicationStreamInputRequest) GetName() string
func (x *UpdateApplicationStreamInputRequest) GetRequestId() string
func (*UpdateApplicationStreamInputRequest) ProtoMessage()
func (x *UpdateApplicationStreamInputRequest) ProtoReflect() protoreflect.Message
func (x *UpdateApplicationStreamInputRequest) Reset()
func (x *UpdateApplicationStreamInputRequest) String() string
Message for AddApplicationStreamInput Response.
type UpdateApplicationStreamInputResponse struct {
// contains filtered or unexported fields
}
func (*UpdateApplicationStreamInputResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApplicationStreamInputResponse.ProtoReflect.Descriptor instead.
func (*UpdateApplicationStreamInputResponse) ProtoMessage()
func (x *UpdateApplicationStreamInputResponse) ProtoReflect() protoreflect.Message
func (x *UpdateApplicationStreamInputResponse) Reset()
func (x *UpdateApplicationStreamInputResponse) String() string
Response message for UpdateAsset.
type UpdateAssetRequest struct { // Required. The asset to update. // // The asset's `name` field is used to identify the asset to be updated. // Format: // projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset} Asset *Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` // The list of fields to be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAssetRequest.ProtoReflect.Descriptor instead.
func (x *UpdateAssetRequest) GetAsset() *Asset
func (x *UpdateAssetRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAssetRequest) ProtoMessage()
func (x *UpdateAssetRequest) ProtoReflect() protoreflect.Message
func (x *UpdateAssetRequest) Reset()
func (x *UpdateAssetRequest) String() string
Message for updating a Cluster.
type UpdateClusterRequest struct { // Required. Field mask is used to specify the fields to be overwritten in the // Cluster resource by the update. // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The resource being updated Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore // the request if it has already been completed. The server will guarantee // that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, // the server can check if original operation with the same request ID was // received, and if so, will ignore the second request. This prevents clients // from accidentally creating duplicate commitments. // // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.
func (x *UpdateClusterRequest) GetCluster() *Cluster
func (x *UpdateClusterRequest) GetRequestId() string
func (x *UpdateClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateClusterRequest) ProtoMessage()
func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message
func (x *UpdateClusterRequest) Reset()
func (x *UpdateClusterRequest) String() string
Request message for UpdateCorpus.
type UpdateCorpusRequest struct { // Required. The corpus which replaces the resource on the server. Corpus *Corpus `protobuf:"bytes,1,opt,name=corpus,proto3" json:"corpus,omitempty"` // The list of fields to be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateCorpusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCorpusRequest.ProtoReflect.Descriptor instead.
func (x *UpdateCorpusRequest) GetCorpus() *Corpus
func (x *UpdateCorpusRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateCorpusRequest) ProtoMessage()
func (x *UpdateCorpusRequest) ProtoReflect() protoreflect.Message
func (x *UpdateCorpusRequest) Reset()
func (x *UpdateCorpusRequest) String() string
Request message for UpdateDataSchema.
type UpdateDataSchemaRequest struct { // Required. The data schema's `name` field is used to identify the data schema to be // updated. Format: // projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema} DataSchema *DataSchema `protobuf:"bytes,1,opt,name=data_schema,json=dataSchema,proto3" json:"data_schema,omitempty"` // The list of fields to be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateDataSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDataSchemaRequest.ProtoReflect.Descriptor instead.
func (x *UpdateDataSchemaRequest) GetDataSchema() *DataSchema
func (x *UpdateDataSchemaRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDataSchemaRequest) ProtoMessage()
func (x *UpdateDataSchemaRequest) ProtoReflect() protoreflect.Message
func (x *UpdateDataSchemaRequest) Reset()
func (x *UpdateDataSchemaRequest) String() string
Message for updating an Draft.
type UpdateDraftRequest struct { // Optional. Field mask is used to specify the fields to be overwritten in the // Draft resource by the update. // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The resource being updated. Draft *Draft `protobuf:"bytes,2,opt,name=draft,proto3" json:"draft,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore // the request if it has already been completed. The server will guarantee // that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and t // he request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. // // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // If true, UpdateDraftRequest will create one resource if the target resource // doesn't exist, this time, the field_mask will be ignored. AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
func (*UpdateDraftRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDraftRequest.ProtoReflect.Descriptor instead.
func (x *UpdateDraftRequest) GetAllowMissing() bool
func (x *UpdateDraftRequest) GetDraft() *Draft
func (x *UpdateDraftRequest) GetRequestId() string
func (x *UpdateDraftRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDraftRequest) ProtoMessage()
func (x *UpdateDraftRequest) ProtoReflect() protoreflect.Message
func (x *UpdateDraftRequest) Reset()
func (x *UpdateDraftRequest) String() string
Message for updating a Event.
type UpdateEventRequest struct { // Required. Field mask is used to specify the fields to be overwritten in the // Event resource by the update. // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The resource being updated. Event *Event `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore // the request if it has already been completed. The server will guarantee // that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, // the server can check if original operation with the same request ID was // received, and if so, will ignore the second request. This prevents clients // from accidentally creating duplicate commitments. // // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEventRequest.ProtoReflect.Descriptor instead.
func (x *UpdateEventRequest) GetEvent() *Event
func (x *UpdateEventRequest) GetRequestId() string
func (x *UpdateEventRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateEventRequest) ProtoMessage()
func (x *UpdateEventRequest) ProtoReflect() protoreflect.Message
func (x *UpdateEventRequest) Reset()
func (x *UpdateEventRequest) String() string
Message for updating a Processor.
type UpdateProcessorRequest struct { // Optional. Field mask is used to specify the fields to be overwritten in the // Processor resource by the update. // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The resource being updated. Processor *Processor `protobuf:"bytes,2,opt,name=processor,proto3" json:"processor,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore // the request if it has already been completed. The server will guarantee // that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and t // he 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 }
func (*UpdateProcessorRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProcessorRequest.ProtoReflect.Descriptor instead.
func (x *UpdateProcessorRequest) GetProcessor() *Processor
func (x *UpdateProcessorRequest) GetRequestId() string
func (x *UpdateProcessorRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateProcessorRequest) ProtoMessage()
func (x *UpdateProcessorRequest) ProtoReflect() protoreflect.Message
func (x *UpdateProcessorRequest) Reset()
func (x *UpdateProcessorRequest) String() string
Request message for UpdateSearchConfig.
type UpdateSearchConfigRequest struct { // Required. The search configuration to update. // // The search configuration's `name` field is used to identify the resource to // be updated. Format: // projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config} SearchConfig *SearchConfig `protobuf:"bytes,1,opt,name=search_config,json=searchConfig,proto3" json:"search_config,omitempty"` // The list of fields to be updated. If left unset, all field paths will be // updated/overwritten. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateSearchConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSearchConfigRequest.ProtoReflect.Descriptor instead.
func (x *UpdateSearchConfigRequest) GetSearchConfig() *SearchConfig
func (x *UpdateSearchConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSearchConfigRequest) ProtoMessage()
func (x *UpdateSearchConfigRequest) ProtoReflect() protoreflect.Message
func (x *UpdateSearchConfigRequest) Reset()
func (x *UpdateSearchConfigRequest) String() string
Message for updating a Series.
type UpdateSeriesRequest struct { // Required. Field mask is used to specify the fields to be overwritten in the Series // resource by the update. The fields specified in the update_mask are // relative to the resource, not the full request. A field will be overwritten // if it is in the mask. If the user does not provide a mask then all fields // will be overwritten. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The resource being updated Series *Series `protobuf:"bytes,2,opt,name=series,proto3" json:"series,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore // the request if it has already been completed. The server will guarantee // that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, // the server can check if original operation with the same request ID was // received, and if so, will ignore the second request. This prevents clients // from accidentally creating duplicate commitments. // // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateSeriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSeriesRequest.ProtoReflect.Descriptor instead.
func (x *UpdateSeriesRequest) GetRequestId() string
func (x *UpdateSeriesRequest) GetSeries() *Series
func (x *UpdateSeriesRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSeriesRequest) ProtoMessage()
func (x *UpdateSeriesRequest) ProtoReflect() protoreflect.Message
func (x *UpdateSeriesRequest) Reset()
func (x *UpdateSeriesRequest) String() string
Message for updating a Stream.
type UpdateStreamRequest struct { // Required. Field mask is used to specify the fields to be overwritten in the // Stream resource by the update. // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The resource being updated. Stream *Stream `protobuf:"bytes,2,opt,name=stream,proto3" json:"stream,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore // the request if it has already been completed. The server will guarantee // that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, // the server can check if original operation with the same request ID was // received, and if so, will ignore the second request. This prevents clients // from accidentally creating duplicate commitments. // // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStreamRequest.ProtoReflect.Descriptor instead.
func (x *UpdateStreamRequest) GetRequestId() string
func (x *UpdateStreamRequest) GetStream() *Stream
func (x *UpdateStreamRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateStreamRequest) ProtoMessage()
func (x *UpdateStreamRequest) ProtoReflect() protoreflect.Message
func (x *UpdateStreamRequest) Reset()
func (x *UpdateStreamRequest) String() string
Annotation provided by users.
type UserSpecifiedAnnotation struct { // Required. Key of the annotation. The key must be set with type by CreateDataSchema. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Value of the annotation. The value must be able to convert // to the type according to the data schema. Value *AnnotationValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Partition information in time and space for the sub-asset level annotation. Partition *Partition `protobuf:"bytes,3,opt,name=partition,proto3" json:"partition,omitempty"` // contains filtered or unexported fields }
func (*UserSpecifiedAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use UserSpecifiedAnnotation.ProtoReflect.Descriptor instead.
func (x *UserSpecifiedAnnotation) GetKey() string
func (x *UserSpecifiedAnnotation) GetPartition() *Partition
func (x *UserSpecifiedAnnotation) GetValue() *AnnotationValue
func (*UserSpecifiedAnnotation) ProtoMessage()
func (x *UserSpecifiedAnnotation) ProtoReflect() protoreflect.Message
func (x *UserSpecifiedAnnotation) Reset()
func (x *UserSpecifiedAnnotation) String() string
Message describing VertexAutoMLVideoConfig.
type VertexAutoMLVideoConfig struct { // Only entities with higher score than the threshold will be returned. // Value 0.0 means returns all the detected entities. ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` // Labels specified in this field won't be returned. BlockedLabels []string `protobuf:"bytes,2,rep,name=blocked_labels,json=blockedLabels,proto3" json:"blocked_labels,omitempty"` // At most this many predictions will be returned per output frame. // Value 0 means to return all the detected entities. MaxPredictions int32 `protobuf:"varint,3,opt,name=max_predictions,json=maxPredictions,proto3" json:"max_predictions,omitempty"` // Only Bounding Box whose size is larger than this limit will be returned. // Object Tracking only. // Value 0.0 means to return all the detected entities. BoundingBoxSizeLimit float32 `protobuf:"fixed32,4,opt,name=bounding_box_size_limit,json=boundingBoxSizeLimit,proto3" json:"bounding_box_size_limit,omitempty"` // contains filtered or unexported fields }
func (*VertexAutoMLVideoConfig) Descriptor() ([]byte, []int)
Deprecated: Use VertexAutoMLVideoConfig.ProtoReflect.Descriptor instead.
func (x *VertexAutoMLVideoConfig) GetBlockedLabels() []string
func (x *VertexAutoMLVideoConfig) GetBoundingBoxSizeLimit() float32
func (x *VertexAutoMLVideoConfig) GetConfidenceThreshold() float32
func (x *VertexAutoMLVideoConfig) GetMaxPredictions() int32
func (*VertexAutoMLVideoConfig) ProtoMessage()
func (x *VertexAutoMLVideoConfig) ProtoReflect() protoreflect.Message
func (x *VertexAutoMLVideoConfig) Reset()
func (x *VertexAutoMLVideoConfig) String() string
Message of configurations of Vertex AutoML Vision Processors.
type VertexAutoMLVisionConfig struct { // Only entities with higher score than the threshold will be returned. // Value 0.0 means to return all the detected entities. ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` // At most this many predictions will be returned per output frame. // Value 0 means to return all the detected entities. MaxPredictions int32 `protobuf:"varint,2,opt,name=max_predictions,json=maxPredictions,proto3" json:"max_predictions,omitempty"` // contains filtered or unexported fields }
func (*VertexAutoMLVisionConfig) Descriptor() ([]byte, []int)
Deprecated: Use VertexAutoMLVisionConfig.ProtoReflect.Descriptor instead.
func (x *VertexAutoMLVisionConfig) GetConfidenceThreshold() float32
func (x *VertexAutoMLVisionConfig) GetMaxPredictions() int32
func (*VertexAutoMLVisionConfig) ProtoMessage()
func (x *VertexAutoMLVisionConfig) ProtoReflect() protoreflect.Message
func (x *VertexAutoMLVisionConfig) Reset()
func (x *VertexAutoMLVisionConfig) String() string
Message describing VertexCustomConfig.
type VertexCustomConfig struct { // The max prediction frame per second. This attribute sets how fast the // operator sends prediction requests to Vertex AI endpoint. Default value is // 0, which means there is no max prediction fps limit. The operator sends // prediction requests at input fps. MaxPredictionFps int32 `protobuf:"varint,1,opt,name=max_prediction_fps,json=maxPredictionFps,proto3" json:"max_prediction_fps,omitempty"` // A description of resources that are dedicated to the DeployedModel, and // that need a higher degree of manual configuration. DedicatedResources *DedicatedResources `protobuf:"bytes,2,opt,name=dedicated_resources,json=dedicatedResources,proto3" json:"dedicated_resources,omitempty"` // If not empty, the prediction result will be sent to the specified cloud // function for post processing. // * The cloud function will receive AppPlatformCloudFunctionRequest where // the annotations field will be the json format of proto PredictResponse. // * The cloud function should return AppPlatformCloudFunctionResponse with // PredictResponse stored in the annotations field. // * To drop the prediction output, simply clear the payload field in the // returned AppPlatformCloudFunctionResponse. PostProcessingCloudFunction string `protobuf:"bytes,3,opt,name=post_processing_cloud_function,json=postProcessingCloudFunction,proto3" json:"post_processing_cloud_function,omitempty"` // If true, the prediction request received by custom model will also contain // metadata with the following schema: // // 'appPlatformMetadata': { // 'ingestionTime': DOUBLE; (UNIX timestamp) // 'application': STRING; // 'instanceId': STRING; // 'node': STRING; // 'processor': STRING; // } AttachApplicationMetadata bool `protobuf:"varint,4,opt,name=attach_application_metadata,json=attachApplicationMetadata,proto3" json:"attach_application_metadata,omitempty"` // contains filtered or unexported fields }
func (*VertexCustomConfig) Descriptor() ([]byte, []int)
Deprecated: Use VertexCustomConfig.ProtoReflect.Descriptor instead.
func (x *VertexCustomConfig) GetAttachApplicationMetadata() bool
func (x *VertexCustomConfig) GetDedicatedResources() *DedicatedResources
func (x *VertexCustomConfig) GetMaxPredictionFps() int32
func (x *VertexCustomConfig) GetPostProcessingCloudFunction() string
func (*VertexCustomConfig) ProtoMessage()
func (x *VertexCustomConfig) ProtoReflect() protoreflect.Message
func (x *VertexCustomConfig) Reset()
func (x *VertexCustomConfig) String() string
Prediction output format for Video Action Recognition.
type VideoActionRecognitionPredictionResult struct { // The beginning, inclusive, of the video's time segment in which the // actions have been identified. SegmentStartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=segment_start_time,json=segmentStartTime,proto3" json:"segment_start_time,omitempty"` // The end, inclusive, of the video's time segment in which the actions have // been identified. Particularly, if the end is the same as the start, it // means the identification happens on a specific video frame. SegmentEndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=segment_end_time,json=segmentEndTime,proto3" json:"segment_end_time,omitempty"` // All of the actions identified in the time range. Actions []*VideoActionRecognitionPredictionResult_IdentifiedAction `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
func (*VideoActionRecognitionPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use VideoActionRecognitionPredictionResult.ProtoReflect.Descriptor instead.
func (x *VideoActionRecognitionPredictionResult) GetActions() []*VideoActionRecognitionPredictionResult_IdentifiedAction
func (x *VideoActionRecognitionPredictionResult) GetSegmentEndTime() *timestamppb.Timestamp
func (x *VideoActionRecognitionPredictionResult) GetSegmentStartTime() *timestamppb.Timestamp
func (*VideoActionRecognitionPredictionResult) ProtoMessage()
func (x *VideoActionRecognitionPredictionResult) ProtoReflect() protoreflect.Message
func (x *VideoActionRecognitionPredictionResult) Reset()
func (x *VideoActionRecognitionPredictionResult) String() string
Each IdentifiedAction is one particular identification of an action specified with the AnnotationSpec id, display_name and the associated confidence score.
type VideoActionRecognitionPredictionResult_IdentifiedAction struct { // The resource ID of the AnnotationSpec that had been identified. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The display name of the AnnotationSpec that had been identified. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The Model's confidence in correction of this identification, higher // value means higher confidence. Confidence float32 `protobuf:"fixed32,3,opt,name=confidence,proto3" json:"confidence,omitempty"` // contains filtered or unexported fields }
func (*VideoActionRecognitionPredictionResult_IdentifiedAction) Descriptor() ([]byte, []int)
Deprecated: Use VideoActionRecognitionPredictionResult_IdentifiedAction.ProtoReflect.Descriptor instead.
func (x *VideoActionRecognitionPredictionResult_IdentifiedAction) GetConfidence() float32
func (x *VideoActionRecognitionPredictionResult_IdentifiedAction) GetDisplayName() string
func (x *VideoActionRecognitionPredictionResult_IdentifiedAction) GetId() string
func (*VideoActionRecognitionPredictionResult_IdentifiedAction) ProtoMessage()
func (x *VideoActionRecognitionPredictionResult_IdentifiedAction) ProtoReflect() protoreflect.Message
func (x *VideoActionRecognitionPredictionResult_IdentifiedAction) Reset()
func (x *VideoActionRecognitionPredictionResult_IdentifiedAction) String() string
Prediction output format for Video Classification.
type VideoClassificationPredictionResult struct { // The beginning, inclusive, of the video's time segment in which the // classifications have been identified. SegmentStartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=segment_start_time,json=segmentStartTime,proto3" json:"segment_start_time,omitempty"` // The end, inclusive, of the video's time segment in which the // classifications have been identified. Particularly, if the end is the same // as the start, it means the identification happens on a specific video // frame. SegmentEndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=segment_end_time,json=segmentEndTime,proto3" json:"segment_end_time,omitempty"` // All of the classifications identified in the time range. Classifications []*VideoClassificationPredictionResult_IdentifiedClassification `protobuf:"bytes,3,rep,name=classifications,proto3" json:"classifications,omitempty"` // contains filtered or unexported fields }
func (*VideoClassificationPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use VideoClassificationPredictionResult.ProtoReflect.Descriptor instead.
func (x *VideoClassificationPredictionResult) GetClassifications() []*VideoClassificationPredictionResult_IdentifiedClassification
func (x *VideoClassificationPredictionResult) GetSegmentEndTime() *timestamppb.Timestamp
func (x *VideoClassificationPredictionResult) GetSegmentStartTime() *timestamppb.Timestamp
func (*VideoClassificationPredictionResult) ProtoMessage()
func (x *VideoClassificationPredictionResult) ProtoReflect() protoreflect.Message
func (x *VideoClassificationPredictionResult) Reset()
func (x *VideoClassificationPredictionResult) String() string
Each IdentifiedClassification is one particular identification of an classification specified with the AnnotationSpec id and display_name, and the associated confidence score.
type VideoClassificationPredictionResult_IdentifiedClassification struct { // The resource ID of the AnnotationSpec that had been identified. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The display name of the AnnotationSpec that had been identified. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The Model's confidence in correction of this identification, higher // value means higher confidence. Confidence float32 `protobuf:"fixed32,3,opt,name=confidence,proto3" json:"confidence,omitempty"` // contains filtered or unexported fields }
func (*VideoClassificationPredictionResult_IdentifiedClassification) Descriptor() ([]byte, []int)
Deprecated: Use VideoClassificationPredictionResult_IdentifiedClassification.ProtoReflect.Descriptor instead.
func (x *VideoClassificationPredictionResult_IdentifiedClassification) GetConfidence() float32
func (x *VideoClassificationPredictionResult_IdentifiedClassification) GetDisplayName() string
func (x *VideoClassificationPredictionResult_IdentifiedClassification) GetId() string
func (*VideoClassificationPredictionResult_IdentifiedClassification) ProtoMessage()
func (x *VideoClassificationPredictionResult_IdentifiedClassification) ProtoReflect() protoreflect.Message
func (x *VideoClassificationPredictionResult_IdentifiedClassification) Reset()
func (x *VideoClassificationPredictionResult_IdentifiedClassification) String() string
Prediction output format for Video Object Tracking.
type VideoObjectTrackingPredictionResult struct { // The beginning, inclusive, of the video's time segment in which the // current identifications happens. SegmentStartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=segment_start_time,json=segmentStartTime,proto3" json:"segment_start_time,omitempty"` // The end, inclusive, of the video's time segment in which the current // identifications happen. Particularly, if the end is the same as the start, // it means the identifications happen on a specific video frame. SegmentEndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=segment_end_time,json=segmentEndTime,proto3" json:"segment_end_time,omitempty"` // All of the objects detected in the specified time range. Objects []*VideoObjectTrackingPredictionResult_DetectedObject `protobuf:"bytes,3,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
func (*VideoObjectTrackingPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use VideoObjectTrackingPredictionResult.ProtoReflect.Descriptor instead.
func (x *VideoObjectTrackingPredictionResult) GetObjects() []*VideoObjectTrackingPredictionResult_DetectedObject
func (x *VideoObjectTrackingPredictionResult) GetSegmentEndTime() *timestamppb.Timestamp
func (x *VideoObjectTrackingPredictionResult) GetSegmentStartTime() *timestamppb.Timestamp
func (*VideoObjectTrackingPredictionResult) ProtoMessage()
func (x *VideoObjectTrackingPredictionResult) ProtoReflect() protoreflect.Message
func (x *VideoObjectTrackingPredictionResult) Reset()
func (x *VideoObjectTrackingPredictionResult) String() string
Boundingbox for detected object. I.e. the rectangle over the video frame pinpointing the found AnnotationSpec. The coordinates are relative to the frame size, and the point 0,0 is in the top left of the frame.
type VideoObjectTrackingPredictionResult_BoundingBox struct { // The leftmost coordinate of the bounding box. XMin float32 `protobuf:"fixed32,1,opt,name=x_min,json=xMin,proto3" json:"x_min,omitempty"` // The rightmost coordinate of the bounding box. XMax float32 `protobuf:"fixed32,2,opt,name=x_max,json=xMax,proto3" json:"x_max,omitempty"` // The topmost coordinate of the bounding box. YMin float32 `protobuf:"fixed32,3,opt,name=y_min,json=yMin,proto3" json:"y_min,omitempty"` // The bottommost coordinate of the bounding box. YMax float32 `protobuf:"fixed32,4,opt,name=y_max,json=yMax,proto3" json:"y_max,omitempty"` // contains filtered or unexported fields }
func (*VideoObjectTrackingPredictionResult_BoundingBox) Descriptor() ([]byte, []int)
Deprecated: Use VideoObjectTrackingPredictionResult_BoundingBox.ProtoReflect.Descriptor instead.
func (x *VideoObjectTrackingPredictionResult_BoundingBox) GetXMax() float32
func (x *VideoObjectTrackingPredictionResult_BoundingBox) GetXMin() float32
func (x *VideoObjectTrackingPredictionResult_BoundingBox) GetYMax() float32
func (x *VideoObjectTrackingPredictionResult_BoundingBox) GetYMin() float32
func (*VideoObjectTrackingPredictionResult_BoundingBox) ProtoMessage()
func (x *VideoObjectTrackingPredictionResult_BoundingBox) ProtoReflect() protoreflect.Message
func (x *VideoObjectTrackingPredictionResult_BoundingBox) Reset()
func (x *VideoObjectTrackingPredictionResult_BoundingBox) String() string
Each DetectedObject is one particular identification of an object specified with the AnnotationSpec id and display_name, the bounding box, the associated confidence score and the corresponding track_id.
type VideoObjectTrackingPredictionResult_DetectedObject struct { // The resource ID of the AnnotationSpec that had been identified. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The display name of the AnnotationSpec that had been identified. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Boundingbox. BoundingBox *VideoObjectTrackingPredictionResult_BoundingBox `protobuf:"bytes,3,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` // The Model's confidence in correction of this identification, higher // value means higher confidence. Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` // The same object may be identified on muitiple frames which are typical // adjacent. The set of frames where a particular object has been detected // form a track. This track_id can be used to trace down all frames for an // detected object. TrackId int64 `protobuf:"varint,5,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` // contains filtered or unexported fields }
func (*VideoObjectTrackingPredictionResult_DetectedObject) Descriptor() ([]byte, []int)
Deprecated: Use VideoObjectTrackingPredictionResult_DetectedObject.ProtoReflect.Descriptor instead.
func (x *VideoObjectTrackingPredictionResult_DetectedObject) GetBoundingBox() *VideoObjectTrackingPredictionResult_BoundingBox
func (x *VideoObjectTrackingPredictionResult_DetectedObject) GetConfidence() float32
func (x *VideoObjectTrackingPredictionResult_DetectedObject) GetDisplayName() string
func (x *VideoObjectTrackingPredictionResult_DetectedObject) GetId() string
func (x *VideoObjectTrackingPredictionResult_DetectedObject) GetTrackId() int64
func (*VideoObjectTrackingPredictionResult_DetectedObject) ProtoMessage()
func (x *VideoObjectTrackingPredictionResult_DetectedObject) ProtoReflect() protoreflect.Message
func (x *VideoObjectTrackingPredictionResult_DetectedObject) Reset()
func (x *VideoObjectTrackingPredictionResult_DetectedObject) String() string
Message describing Video Stream Input Config. This message should only be used as a placeholder for builtin:stream-input processor, actual stream binding should be specified using corresponding API.
type VideoStreamInputConfig struct { // Deprecated: Do not use. Streams []string `protobuf:"bytes,1,rep,name=streams,proto3" json:"streams,omitempty"` // Deprecated: Do not use. StreamsWithAnnotation []*StreamWithAnnotation `protobuf:"bytes,2,rep,name=streams_with_annotation,json=streamsWithAnnotation,proto3" json:"streams_with_annotation,omitempty"` // contains filtered or unexported fields }
func (*VideoStreamInputConfig) Descriptor() ([]byte, []int)
Deprecated: Use VideoStreamInputConfig.ProtoReflect.Descriptor instead.
func (x *VideoStreamInputConfig) GetStreams() []string
Deprecated: Do not use.
func (x *VideoStreamInputConfig) GetStreamsWithAnnotation() []*StreamWithAnnotation
Deprecated: Do not use.
func (*VideoStreamInputConfig) ProtoMessage()
func (x *VideoStreamInputConfig) ProtoReflect() protoreflect.Message
func (x *VideoStreamInputConfig) Reset()
func (x *VideoStreamInputConfig) String() string
WarehouseClient is the client API for Warehouse service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type WarehouseClient interface { // Creates an asset inside corpus. CreateAsset(ctx context.Context, in *CreateAssetRequest, opts ...grpc.CallOption) (*Asset, error) // Updates an asset inside corpus. UpdateAsset(ctx context.Context, in *UpdateAssetRequest, opts ...grpc.CallOption) (*Asset, error) // Reads an asset inside corpus. GetAsset(ctx context.Context, in *GetAssetRequest, opts ...grpc.CallOption) (*Asset, error) // Lists an list of assets inside corpus. ListAssets(ctx context.Context, in *ListAssetsRequest, opts ...grpc.CallOption) (*ListAssetsResponse, error) // Deletes asset inside corpus. DeleteAsset(ctx context.Context, in *DeleteAssetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Creates a corpus inside a project. CreateCorpus(ctx context.Context, in *CreateCorpusRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Gets corpus details inside a project. GetCorpus(ctx context.Context, in *GetCorpusRequest, opts ...grpc.CallOption) (*Corpus, error) // Updates a corpus in a project. UpdateCorpus(ctx context.Context, in *UpdateCorpusRequest, opts ...grpc.CallOption) (*Corpus, error) // Lists all corpora in a project. ListCorpora(ctx context.Context, in *ListCorporaRequest, opts ...grpc.CallOption) (*ListCorporaResponse, error) // Deletes a corpus only if its empty. // Returns empty response. DeleteCorpus(ctx context.Context, in *DeleteCorpusRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Creates data schema inside corpus. CreateDataSchema(ctx context.Context, in *CreateDataSchemaRequest, opts ...grpc.CallOption) (*DataSchema, error) // Updates data schema inside corpus. UpdateDataSchema(ctx context.Context, in *UpdateDataSchemaRequest, opts ...grpc.CallOption) (*DataSchema, error) // Gets data schema inside corpus. GetDataSchema(ctx context.Context, in *GetDataSchemaRequest, opts ...grpc.CallOption) (*DataSchema, error) // Deletes data schema inside corpus. DeleteDataSchema(ctx context.Context, in *DeleteDataSchemaRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Lists a list of data schemas inside corpus. ListDataSchemas(ctx context.Context, in *ListDataSchemasRequest, opts ...grpc.CallOption) (*ListDataSchemasResponse, error) // Creates annotation inside asset. CreateAnnotation(ctx context.Context, in *CreateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) // Reads annotation inside asset. GetAnnotation(ctx context.Context, in *GetAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) // Lists a list of annotations inside asset. ListAnnotations(ctx context.Context, in *ListAnnotationsRequest, opts ...grpc.CallOption) (*ListAnnotationsResponse, error) // Updates annotation inside asset. UpdateAnnotation(ctx context.Context, in *UpdateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) // Deletes annotation inside asset. DeleteAnnotation(ctx context.Context, in *DeleteAnnotationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Ingests data for the asset. It is not allowed to ingest a data chunk which // is already expired according to TTL. // This method is only available via the gRPC API (not HTTP since // bi-directional streaming is not supported via HTTP). IngestAsset(ctx context.Context, opts ...grpc.CallOption) (Warehouse_IngestAssetClient, error) // Generates clips for downloading. The api takes in a time range, and // generates a clip of the first content available after start_time and // before end_time, which may overflow beyond these bounds. // Returned clips are truncated if the total size of the clips are larger // than 100MB. ClipAsset(ctx context.Context, in *ClipAssetRequest, opts ...grpc.CallOption) (*ClipAssetResponse, error) // Generates a uri for an HLS manifest. The api takes in a collection of time // ranges, and generates a URI for an HLS manifest that covers all the // requested time ranges. GenerateHlsUri(ctx context.Context, in *GenerateHlsUriRequest, opts ...grpc.CallOption) (*GenerateHlsUriResponse, error) // Creates a search configuration inside a corpus. // // Please follow the rules below to create a valid CreateSearchConfigRequest. // --- General Rules --- // 1. Request.search_config_id must not be associated with an existing // SearchConfig. // 2. Request must contain at least one non-empty search_criteria_property or // facet_property. // 3. mapped_fields must not be empty, and must map to existing UGA keys. // 4. All mapped_fields must be of the same type. // 5. All mapped_fields must share the same granularity. // 6. All mapped_fields must share the same semantic SearchConfig match // options. // // For property-specific rules, please reference the comments for // FacetProperty and SearchCriteriaProperty. CreateSearchConfig(ctx context.Context, in *CreateSearchConfigRequest, opts ...grpc.CallOption) (*SearchConfig, error) // Updates a search configuration inside a corpus. // // Please follow the rules below to create a valid UpdateSearchConfigRequest. // --- General Rules --- // 1. Request.search_configuration.name must already exist. // 2. Request must contain at least one non-empty search_criteria_property or // facet_property. // 3. mapped_fields must not be empty, and must map to existing UGA keys. // 4. All mapped_fields must be of the same type. // 5. All mapped_fields must share the same granularity. // 6. All mapped_fields must share the same semantic SearchConfig match // options. // // For property-specific rules, please reference the comments for // FacetProperty and SearchCriteriaProperty. UpdateSearchConfig(ctx context.Context, in *UpdateSearchConfigRequest, opts ...grpc.CallOption) (*SearchConfig, error) // Gets a search configuration inside a corpus. GetSearchConfig(ctx context.Context, in *GetSearchConfigRequest, opts ...grpc.CallOption) (*SearchConfig, error) // Deletes a search configuration inside a corpus. // // For a DeleteSearchConfigRequest to be valid, // Request.search_configuration.name must already exist. DeleteSearchConfig(ctx context.Context, in *DeleteSearchConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Lists all search configurations inside a corpus. ListSearchConfigs(ctx context.Context, in *ListSearchConfigsRequest, opts ...grpc.CallOption) (*ListSearchConfigsResponse, error) // Search media asset. SearchAssets(ctx context.Context, in *SearchAssetsRequest, opts ...grpc.CallOption) (*SearchAssetsResponse, error) }
func NewWarehouseClient(cc grpc.ClientConnInterface) WarehouseClient
WarehouseServer is the server API for Warehouse service.
type WarehouseServer interface { // Creates an asset inside corpus. CreateAsset(context.Context, *CreateAssetRequest) (*Asset, error) // Updates an asset inside corpus. UpdateAsset(context.Context, *UpdateAssetRequest) (*Asset, error) // Reads an asset inside corpus. GetAsset(context.Context, *GetAssetRequest) (*Asset, error) // Lists an list of assets inside corpus. ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error) // Deletes asset inside corpus. DeleteAsset(context.Context, *DeleteAssetRequest) (*longrunning.Operation, error) // Creates a corpus inside a project. CreateCorpus(context.Context, *CreateCorpusRequest) (*longrunning.Operation, error) // Gets corpus details inside a project. GetCorpus(context.Context, *GetCorpusRequest) (*Corpus, error) // Updates a corpus in a project. UpdateCorpus(context.Context, *UpdateCorpusRequest) (*Corpus, error) // Lists all corpora in a project. ListCorpora(context.Context, *ListCorporaRequest) (*ListCorporaResponse, error) // Deletes a corpus only if its empty. // Returns empty response. DeleteCorpus(context.Context, *DeleteCorpusRequest) (*emptypb.Empty, error) // Creates data schema inside corpus. CreateDataSchema(context.Context, *CreateDataSchemaRequest) (*DataSchema, error) // Updates data schema inside corpus. UpdateDataSchema(context.Context, *UpdateDataSchemaRequest) (*DataSchema, error) // Gets data schema inside corpus. GetDataSchema(context.Context, *GetDataSchemaRequest) (*DataSchema, error) // Deletes data schema inside corpus. DeleteDataSchema(context.Context, *DeleteDataSchemaRequest) (*emptypb.Empty, error) // Lists a list of data schemas inside corpus. ListDataSchemas(context.Context, *ListDataSchemasRequest) (*ListDataSchemasResponse, error) // Creates annotation inside asset. CreateAnnotation(context.Context, *CreateAnnotationRequest) (*Annotation, error) // Reads annotation inside asset. GetAnnotation(context.Context, *GetAnnotationRequest) (*Annotation, error) // Lists a list of annotations inside asset. ListAnnotations(context.Context, *ListAnnotationsRequest) (*ListAnnotationsResponse, error) // Updates annotation inside asset. UpdateAnnotation(context.Context, *UpdateAnnotationRequest) (*Annotation, error) // Deletes annotation inside asset. DeleteAnnotation(context.Context, *DeleteAnnotationRequest) (*emptypb.Empty, error) // Ingests data for the asset. It is not allowed to ingest a data chunk which // is already expired according to TTL. // This method is only available via the gRPC API (not HTTP since // bi-directional streaming is not supported via HTTP). IngestAsset(Warehouse_IngestAssetServer) error // Generates clips for downloading. The api takes in a time range, and // generates a clip of the first content available after start_time and // before end_time, which may overflow beyond these bounds. // Returned clips are truncated if the total size of the clips are larger // than 100MB. ClipAsset(context.Context, *ClipAssetRequest) (*ClipAssetResponse, error) // Generates a uri for an HLS manifest. The api takes in a collection of time // ranges, and generates a URI for an HLS manifest that covers all the // requested time ranges. GenerateHlsUri(context.Context, *GenerateHlsUriRequest) (*GenerateHlsUriResponse, error) // Creates a search configuration inside a corpus. // // Please follow the rules below to create a valid CreateSearchConfigRequest. // --- General Rules --- // 1. Request.search_config_id must not be associated with an existing // SearchConfig. // 2. Request must contain at least one non-empty search_criteria_property or // facet_property. // 3. mapped_fields must not be empty, and must map to existing UGA keys. // 4. All mapped_fields must be of the same type. // 5. All mapped_fields must share the same granularity. // 6. All mapped_fields must share the same semantic SearchConfig match // options. // // For property-specific rules, please reference the comments for // FacetProperty and SearchCriteriaProperty. CreateSearchConfig(context.Context, *CreateSearchConfigRequest) (*SearchConfig, error) // Updates a search configuration inside a corpus. // // Please follow the rules below to create a valid UpdateSearchConfigRequest. // --- General Rules --- // 1. Request.search_configuration.name must already exist. // 2. Request must contain at least one non-empty search_criteria_property or // facet_property. // 3. mapped_fields must not be empty, and must map to existing UGA keys. // 4. All mapped_fields must be of the same type. // 5. All mapped_fields must share the same granularity. // 6. All mapped_fields must share the same semantic SearchConfig match // options. // // For property-specific rules, please reference the comments for // FacetProperty and SearchCriteriaProperty. UpdateSearchConfig(context.Context, *UpdateSearchConfigRequest) (*SearchConfig, error) // Gets a search configuration inside a corpus. GetSearchConfig(context.Context, *GetSearchConfigRequest) (*SearchConfig, error) // Deletes a search configuration inside a corpus. // // For a DeleteSearchConfigRequest to be valid, // Request.search_configuration.name must already exist. DeleteSearchConfig(context.Context, *DeleteSearchConfigRequest) (*emptypb.Empty, error) // Lists all search configurations inside a corpus. ListSearchConfigs(context.Context, *ListSearchConfigsRequest) (*ListSearchConfigsResponse, error) // Search media asset. SearchAssets(context.Context, *SearchAssetsRequest) (*SearchAssetsResponse, error) }
type Warehouse_IngestAssetClient interface { Send(*IngestAssetRequest) error Recv() (*IngestAssetResponse, error) grpc.ClientStream }
type Warehouse_IngestAssetServer interface { Send(*IngestAssetResponse) error Recv() (*IngestAssetRequest, error) grpc.ServerStream }