Package com.google.cloud.visionai.v1
Interface InstanceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Instance,Instance.Builder
@Generated
public interface InstanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels as key value pairscom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.A description for this instance.com.google.protobuf.ByteStringA description for this instance.Required.com.google.protobuf.ByteStringRequired.getInputResources(int index) The input resources for the current application instance.intThe input resources for the current application instance.The input resources for the current application instance.getInputResourcesOrBuilder(int index) The input resources for the current application instance.List<? extends Instance.InputResourceOrBuilder>The input resources for the current application instance.The instance type for the current instance.intThe instance type for the current instance.Deprecated.intLabels as key value pairsLabels as key value pairsgetLabelsOrDefault(String key, String defaultValue) Labels as key value pairsgetLabelsOrThrow(String key) Labels as key value pairsgetName()Output only. name of resourcecom.google.protobuf.ByteStringOutput only. name of resourcegetOutputResources(int index) All the output resources associated to one application instance.intAll the output resources associated to one application instance.All the output resources associated to one application instance.getOutputResourcesOrBuilder(int index) All the output resources associated to one application instance.List<? extends Instance.OutputResourceOrBuilder>All the output resources associated to one application instance.getState()State of the instance.intState of the instance.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.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()Output only. name of resource
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. name of resource
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. [Output only] 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. [Output only] 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. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Labels as key value pairs
map<string, string> labels = 3; -
containsLabels
Labels as key value pairs
map<string, string> labels = 3; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels as key value pairs
map<string, string> labels = 3; -
getLabelsOrDefault
Labels as key value pairs
map<string, string> labels = 3; -
getLabelsOrThrow
Labels as key value pairs
map<string, string> labels = 3; -
getDisplayName
String getDisplayName()Required. A user friendly display name for the solution.
string display_name = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Required. A user friendly display name for the solution.
string display_name = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()A description for this instance.
string description = 5;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()A description for this instance.
string description = 5;- Returns:
- The bytes for description.
-
getInstanceTypeValue
int getInstanceTypeValue()The instance type for the current instance.
.google.cloud.visionai.v1.Instance.InstanceType instance_type = 10;- Returns:
- The enum numeric value on the wire for instanceType.
-
getInstanceType
Instance.InstanceType getInstanceType()The instance type for the current instance.
.google.cloud.visionai.v1.Instance.InstanceType instance_type = 10;- Returns:
- The instanceType.
-
getInputResourcesList
List<Instance.InputResource> getInputResourcesList()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
repeated .google.cloud.visionai.v1.Instance.InputResource input_resources = 6; -
getInputResources
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
repeated .google.cloud.visionai.v1.Instance.InputResource input_resources = 6; -
getInputResourcesCount
int getInputResourcesCount()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
repeated .google.cloud.visionai.v1.Instance.InputResource input_resources = 6; -
getInputResourcesOrBuilderList
List<? extends Instance.InputResourceOrBuilder> getInputResourcesOrBuilderList()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
repeated .google.cloud.visionai.v1.Instance.InputResource input_resources = 6; -
getInputResourcesOrBuilder
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
repeated .google.cloud.visionai.v1.Instance.InputResource input_resources = 6; -
getOutputResourcesList
List<Instance.OutputResource> getOutputResourcesList()All the output resources associated to one application instance.
repeated .google.cloud.visionai.v1.Instance.OutputResource output_resources = 7; -
getOutputResources
All the output resources associated to one application instance.
repeated .google.cloud.visionai.v1.Instance.OutputResource output_resources = 7; -
getOutputResourcesCount
int getOutputResourcesCount()All the output resources associated to one application instance.
repeated .google.cloud.visionai.v1.Instance.OutputResource output_resources = 7; -
getOutputResourcesOrBuilderList
List<? extends Instance.OutputResourceOrBuilder> getOutputResourcesOrBuilderList()All the output resources associated to one application instance.
repeated .google.cloud.visionai.v1.Instance.OutputResource output_resources = 7; -
getOutputResourcesOrBuilder
All the output resources associated to one application instance.
repeated .google.cloud.visionai.v1.Instance.OutputResource output_resources = 7; -
getStateValue
int getStateValue()State of the instance.
.google.cloud.visionai.v1.Instance.State state = 9;- Returns:
- The enum numeric value on the wire for state.
-
getState
Instance.State getState()State of the instance.
.google.cloud.visionai.v1.Instance.State state = 9;- Returns:
- The state.
-