Package com.google.cloud.visionai.v1
Interface ProcessOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Process,Process.Builder
@Generated
public interface ProcessOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.getAttributeOverrides(int index) Optional.com.google.protobuf.ByteStringgetAttributeOverridesBytes(int index) Optional.intOptional.Optional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.getName()The name of resource.com.google.protobuf.ByteStringThe name of resource.intOptional.Optional.intOptional.Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOptional.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The name of resource.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of resource.
string name = 1;- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAnalysis
String getAnalysis()Required. Reference to an existing Analysis resource.
string analysis = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The analysis.
-
getAnalysisBytes
com.google.protobuf.ByteString getAnalysisBytes()Required. Reference to an existing Analysis resource.
string analysis = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for analysis.
-
getAttributeOverridesList
Optional. Attribute overrides of the Analyzers. Format for each single override item: "{analyzer_name}:{attribute_key}={value}"repeated string attribute_overrides = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the attributeOverrides.
-
getAttributeOverridesCount
int getAttributeOverridesCount()Optional. Attribute overrides of the Analyzers. Format for each single override item: "{analyzer_name}:{attribute_key}={value}"repeated string attribute_overrides = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of attributeOverrides.
-
getAttributeOverrides
Optional. Attribute overrides of the Analyzers. Format for each single override item: "{analyzer_name}:{attribute_key}={value}"repeated string attribute_overrides = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The attributeOverrides at the given index.
-
getAttributeOverridesBytes
com.google.protobuf.ByteString getAttributeOverridesBytes(int index) Optional. Attribute overrides of the Analyzers. Format for each single override item: "{analyzer_name}:{attribute_key}={value}"repeated string attribute_overrides = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the attributeOverrides at the given index.
-
hasRunStatus
boolean hasRunStatus()Optional. Status of the Process.
.google.cloud.visionai.v1.RunStatus run_status = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the runStatus field is set.
-
getRunStatus
RunStatus getRunStatus()Optional. Status of the Process.
.google.cloud.visionai.v1.RunStatus run_status = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The runStatus.
-
getRunStatusOrBuilder
RunStatusOrBuilder getRunStatusOrBuilder()Optional. Status of the Process.
.google.cloud.visionai.v1.RunStatus run_status = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getRunModeValue
int getRunModeValue()Optional. Run mode of the Process.
.google.cloud.visionai.v1.RunMode run_mode = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for runMode.
-
getRunMode
RunMode getRunMode()Optional. Run mode of the Process.
.google.cloud.visionai.v1.RunMode run_mode = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The runMode.
-
getEventId
String getEventId()Optional. Event ID of the input/output streams. This is useful when you have a StreamSource/StreamSink operator in the Analysis, and you want to manually specify the Event to read from/write to.
string event_id = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The eventId.
-
getEventIdBytes
com.google.protobuf.ByteString getEventIdBytes()Optional. Event ID of the input/output streams. This is useful when you have a StreamSource/StreamSink operator in the Analysis, and you want to manually specify the Event to read from/write to.
string event_id = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for eventId.
-
getBatchId
String getBatchId()Optional. Optional: Batch ID of the Process.
string batch_id = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The batchId.
-
getBatchIdBytes
com.google.protobuf.ByteString getBatchIdBytes()Optional. Optional: Batch ID of the Process.
string batch_id = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for batchId.
-
getRetryCount
int getRetryCount()Optional. Optional: The number of retries for a process in submission mode the system should try before declaring failure. By default, no retry will be performed.
int32 retry_count = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The retryCount.
-