Class UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder (0.12.0)

public static final class UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder extends GeneratedMessageV3.Builder<UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder> implements UpdateApplicationInstancesRequest.UpdateApplicationInstanceOrBuilder

Protobuf type google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateApplicationInstancesRequest.UpdateApplicationInstance build()
Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance

buildPartial()

public UpdateApplicationInstancesRequest.UpdateApplicationInstance buildPartial()
Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance

clear()

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder clear()
Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder clearInstance()

Required. The resource being updated.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder

clearInstanceId()

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder clearInstanceId()

Required. The id of the instance.

string instance_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder clearUpdateMask()

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.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder

clone()

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder clone()
Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder
Overrides

getDefaultInstanceForType()

public UpdateApplicationInstancesRequest.UpdateApplicationInstance getDefaultInstanceForType()
Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance

getDescriptorForType()

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

getInstance()

public Instance getInstance()

Required. The resource being updated.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Instance

The instance.

getInstanceBuilder()

public Instance.Builder getInstanceBuilder()

Required. The resource being updated.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Instance.Builder

getInstanceId()

public String getInstanceId()

Required. The id of the instance.

string instance_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

Required. The id of the instance.

string instance_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for instanceId.

getInstanceOrBuilder()

public InstanceOrBuilder getInstanceOrBuilder()

Required. The resource being updated.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InstanceOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

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.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

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.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

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.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasInstance()

public boolean hasInstance()

Required. The resource being updated.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instance field is set.

hasUpdateMask()

public boolean hasUpdateMask()

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.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateApplicationInstancesRequest.UpdateApplicationInstance other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(Instance value)

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder mergeInstance(Instance value)

Required. The resource being updated.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Instance
Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder mergeUpdateMask(FieldMask value)

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.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(Instance value)

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder setInstance(Instance value)

Required. The resource being updated.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Instance
Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder

setInstance(Instance.Builder builderForValue)

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder setInstance(Instance.Builder builderForValue)

Required. The resource being updated.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Instance.Builder
Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder

setInstanceId(String value)

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder setInstanceId(String value)

Required. The id of the instance.

string instance_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The instanceId to set.

Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder

This builder for chaining.

setInstanceIdBytes(ByteString value)

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder setInstanceIdBytes(ByteString value)

Required. The id of the instance.

string instance_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for instanceId to set.

Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder setUpdateMask(FieldMask value)

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.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder setUpdateMask(FieldMask.Builder builderForValue)

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.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder