Package com.google.cloud.visionai.v1
Class Operator.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Operator.Builder>
com.google.cloud.visionai.v1.Operator.Builder
- All Implemented Interfaces:
OperatorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Operator
public static final class Operator.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Operator.Builder>
implements OperatorOrBuilder
Message describing the Operator object.Protobuf type
google.cloud.visionai.v1.Operator-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.The link to the docker image of the operator.Name of the resource.The definition of the operator.Output only.booleancontainsLabels(String key) Labels as key value pairs.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe link to the docker image of the operator.com.google.protobuf.ByteStringThe link to the docker image of the operator.Deprecated.intLabels as key value pairs.Labels as key value pairs.getLabelsOrDefault(String key, String defaultValue) Labels as key value pairs.getLabelsOrThrow(String key) Labels as key value pairs.Deprecated.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.The definition of the operator.The definition of the operator.The definition of the operator.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanThe definition of the operator.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The definition of the operator.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Labels as key value pairs.Labels as key value pairs.removeLabels(String key) Labels as key value pairs.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDockerImage(String value) The link to the docker image of the operator.setDockerImageBytes(com.google.protobuf.ByteString value) The link to the docker image of the operator.Name of the resource.setNameBytes(com.google.protobuf.ByteString value) Name of the resource.The definition of the operator.setOperatorDefinition(OperatorDefinition.Builder builderForValue) The definition of the operator.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Operator.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Operator.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Operator.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Operator.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Operator.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Operator.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Operator.Builder>
-
mergeFrom
public Operator.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Operator.Builder>- Throws:
IOException
-
getName
Name of the resource.
string name = 1;- Specified by:
getNamein interfaceOperatorOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the resource.
string name = 1;- Specified by:
getNameBytesin interfaceOperatorOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the resource.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the resource.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Name of the resource.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceOperatorOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceOperatorOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceOperatorOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceOperatorOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceOperatorOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceOperatorOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:OperatorOrBuilderLabels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceOperatorOrBuilder
-
containsLabels
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceOperatorOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceOperatorOrBuilder
-
getLabelsMap
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceOperatorOrBuilder
-
getLabelsOrDefault
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceOperatorOrBuilder
-
getLabelsOrThrow
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceOperatorOrBuilder
-
clearLabels
-
removeLabels
Labels as key value pairs.
map<string, string> labels = 4; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels as key value pairs.
map<string, string> labels = 4; -
putAllLabels
Labels as key value pairs.
map<string, string> labels = 4; -
hasOperatorDefinition
public boolean hasOperatorDefinition()The definition of the operator.
.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5;- Specified by:
hasOperatorDefinitionin interfaceOperatorOrBuilder- Returns:
- Whether the operatorDefinition field is set.
-
getOperatorDefinition
The definition of the operator.
.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5;- Specified by:
getOperatorDefinitionin interfaceOperatorOrBuilder- Returns:
- The operatorDefinition.
-
setOperatorDefinition
The definition of the operator.
.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5; -
setOperatorDefinition
The definition of the operator.
.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5; -
mergeOperatorDefinition
The definition of the operator.
.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5; -
clearOperatorDefinition
The definition of the operator.
.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5; -
getOperatorDefinitionBuilder
The definition of the operator.
.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5; -
getOperatorDefinitionOrBuilder
The definition of the operator.
.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5;- Specified by:
getOperatorDefinitionOrBuilderin interfaceOperatorOrBuilder
-
getDockerImage
The link to the docker image of the operator.
string docker_image = 6;- Specified by:
getDockerImagein interfaceOperatorOrBuilder- Returns:
- The dockerImage.
-
getDockerImageBytes
public com.google.protobuf.ByteString getDockerImageBytes()The link to the docker image of the operator.
string docker_image = 6;- Specified by:
getDockerImageBytesin interfaceOperatorOrBuilder- Returns:
- The bytes for dockerImage.
-
setDockerImage
The link to the docker image of the operator.
string docker_image = 6;- Parameters:
value- The dockerImage to set.- Returns:
- This builder for chaining.
-
clearDockerImage
The link to the docker image of the operator.
string docker_image = 6;- Returns:
- This builder for chaining.
-
setDockerImageBytes
The link to the docker image of the operator.
string docker_image = 6;- Parameters:
value- The bytes for dockerImage to set.- Returns:
- This builder for chaining.
-