Class Operator.Builder (0.8.0)

public static final class Operator.Builder extends GeneratedMessageV3.Builder<Operator.Builder> implements OperatorOrBuilder

Message describing the Operator object.

Protobuf type google.cloud.visionai.v1.Operator

Implements

OperatorOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Operator.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Operator.Builder
Overrides

build()

public Operator build()
Returns
Type Description
Operator

buildPartial()

public Operator buildPartial()
Returns
Type Description
Operator

clear()

public Operator.Builder clear()
Returns
Type Description
Operator.Builder
Overrides

clearCreateTime()

public Operator.Builder clearCreateTime()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Operator.Builder

clearDockerImage()

public Operator.Builder clearDockerImage()

The link to the docker image of the operator.

string docker_image = 6;

Returns
Type Description
Operator.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Operator.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Operator.Builder
Overrides

clearLabels()

public Operator.Builder clearLabels()
Returns
Type Description
Operator.Builder

clearName()

public Operator.Builder clearName()

Name of the resource.

string name = 1;

Returns
Type Description
Operator.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Operator.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Operator.Builder
Overrides

clearOperatorDefinition()

public Operator.Builder clearOperatorDefinition()

The definition of the operator.

.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5;

Returns
Type Description
Operator.Builder

clearUpdateTime()

public Operator.Builder clearUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Operator.Builder

clone()

public Operator.Builder clone()
Returns
Type Description
Operator.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Operator getDefaultInstanceForType()
Returns
Type Description
Operator

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDockerImage()

public String getDockerImage()

The link to the docker image of the operator.

string docker_image = 6;

Returns
Type Description
String

The dockerImage.

getDockerImageBytes()

public ByteString getDockerImageBytes()

The link to the docker image of the operator.

string docker_image = 6;

Returns
Type Description
ByteString

The bytes for dockerImage.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Labels as key value pairs.

map<string, string> labels = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Name of the resource.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the resource.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getOperatorDefinition()

public OperatorDefinition getOperatorDefinition()

The definition of the operator.

.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5;

Returns
Type Description
OperatorDefinition

The operatorDefinition.

getOperatorDefinitionBuilder()

public OperatorDefinition.Builder getOperatorDefinitionBuilder()

The definition of the operator.

.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5;

Returns
Type Description
OperatorDefinition.Builder

getOperatorDefinitionOrBuilder()

public OperatorDefinitionOrBuilder getOperatorDefinitionOrBuilder()

The definition of the operator.

.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5;

Returns
Type Description
OperatorDefinitionOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasOperatorDefinition()

public boolean hasOperatorDefinition()

The definition of the operator.

.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5;

Returns
Type Description
boolean

Whether the operatorDefinition field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Operator.Builder mergeCreateTime(Timestamp value)

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Operator.Builder

mergeFrom(Operator other)

public Operator.Builder mergeFrom(Operator other)
Parameter
Name Description
other Operator
Returns
Type Description
Operator.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Operator.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Operator.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Operator.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Operator.Builder
Overrides

mergeOperatorDefinition(OperatorDefinition value)

public Operator.Builder mergeOperatorDefinition(OperatorDefinition value)

The definition of the operator.

.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5;

Parameter
Name Description
value OperatorDefinition
Returns
Type Description
Operator.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Operator.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Operator.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Operator.Builder mergeUpdateTime(Timestamp value)

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Operator.Builder

putAllLabels(Map<String,String> values)

public Operator.Builder putAllLabels(Map<String,String> values)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Operator.Builder

putLabels(String key, String value)

public Operator.Builder putLabels(String key, String value)

Labels as key value pairs.

map<string, string> labels = 4;

Parameters
Name Description
key String
value String
Returns
Type Description
Operator.Builder

removeLabels(String key)

public Operator.Builder removeLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
Operator.Builder

setCreateTime(Timestamp value)

public Operator.Builder setCreateTime(Timestamp value)

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Operator.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Operator.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Operator.Builder

setDockerImage(String value)

public Operator.Builder setDockerImage(String value)

The link to the docker image of the operator.

string docker_image = 6;

Parameter
Name Description
value String

The dockerImage to set.

Returns
Type Description
Operator.Builder

This builder for chaining.

setDockerImageBytes(ByteString value)

public Operator.Builder setDockerImageBytes(ByteString value)

The link to the docker image of the operator.

string docker_image = 6;

Parameter
Name Description
value ByteString

The bytes for dockerImage to set.

Returns
Type Description
Operator.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Operator.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Operator.Builder
Overrides

setName(String value)

public Operator.Builder setName(String value)

Name of the resource.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Operator.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Operator.Builder setNameBytes(ByteString value)

Name of the resource.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Operator.Builder

This builder for chaining.

setOperatorDefinition(OperatorDefinition value)

public Operator.Builder setOperatorDefinition(OperatorDefinition value)

The definition of the operator.

.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5;

Parameter
Name Description
value OperatorDefinition
Returns
Type Description
Operator.Builder

setOperatorDefinition(OperatorDefinition.Builder builderForValue)

public Operator.Builder setOperatorDefinition(OperatorDefinition.Builder builderForValue)

The definition of the operator.

.google.cloud.visionai.v1.OperatorDefinition operator_definition = 5;

Parameter
Name Description
builderForValue OperatorDefinition.Builder
Returns
Type Description
Operator.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Operator.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Operator.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Operator.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Operator.Builder
Overrides

setUpdateTime(Timestamp value)

public Operator.Builder setUpdateTime(Timestamp value)

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Operator.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Operator.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Operator.Builder