Class UpdateApplicationInstancesRequest.Builder (0.9.0)

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

Message for updating an ApplicationInstance.

Protobuf type google.cloud.visionai.v1.UpdateApplicationInstancesRequest

Static Methods

getDescriptor()

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

Methods

addAllApplicationInstances(Iterable<? extends UpdateApplicationInstancesRequest.UpdateApplicationInstance> values)

public UpdateApplicationInstancesRequest.Builder addAllApplicationInstances(Iterable<? extends UpdateApplicationInstancesRequest.UpdateApplicationInstance> values)

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance>
Returns
Type Description
UpdateApplicationInstancesRequest.Builder

addApplicationInstances(UpdateApplicationInstancesRequest.UpdateApplicationInstance value)

public UpdateApplicationInstancesRequest.Builder addApplicationInstances(UpdateApplicationInstancesRequest.UpdateApplicationInstance value)

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

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

addApplicationInstances(UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder builderForValue)

public UpdateApplicationInstancesRequest.Builder addApplicationInstances(UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder builderForValue)

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

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

addApplicationInstances(int index, UpdateApplicationInstancesRequest.UpdateApplicationInstance value)

public UpdateApplicationInstancesRequest.Builder addApplicationInstances(int index, UpdateApplicationInstancesRequest.UpdateApplicationInstance value)

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Parameters
Name Description
index int
value UpdateApplicationInstancesRequest.UpdateApplicationInstance
Returns
Type Description
UpdateApplicationInstancesRequest.Builder

addApplicationInstances(int index, UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder builderForValue)

public UpdateApplicationInstancesRequest.Builder addApplicationInstances(int index, UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder builderForValue)

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Parameters
Name Description
index int
builderForValue UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder
Returns
Type Description
UpdateApplicationInstancesRequest.Builder

addApplicationInstancesBuilder()

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder addApplicationInstancesBuilder()

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder

addApplicationInstancesBuilder(int index)

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder addApplicationInstancesBuilder(int index)

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Parameter
Name Description
index int
Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateApplicationInstancesRequest build()
Returns
Type Description
UpdateApplicationInstancesRequest

buildPartial()

public UpdateApplicationInstancesRequest buildPartial()
Returns
Type Description
UpdateApplicationInstancesRequest

clear()

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

clearAllowMissing()

public UpdateApplicationInstancesRequest.Builder clearAllowMissing()

If true, Update Request will create one resource if the target resource doesn't exist, this time, the field_mask will be ignored.

bool allow_missing = 4;

Returns
Type Description
UpdateApplicationInstancesRequest.Builder

This builder for chaining.

clearApplicationInstances()

public UpdateApplicationInstancesRequest.Builder clearApplicationInstances()

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Returns
Type Description
UpdateApplicationInstancesRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public UpdateApplicationInstancesRequest.Builder clearName()

Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
UpdateApplicationInstancesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequestId()

public UpdateApplicationInstancesRequest.Builder clearRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateApplicationInstancesRequest.Builder

This builder for chaining.

clone()

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

getAllowMissing()

public boolean getAllowMissing()

If true, Update Request will create one resource if the target resource doesn't exist, this time, the field_mask will be ignored.

bool allow_missing = 4;

Returns
Type Description
boolean

The allowMissing.

getApplicationInstances(int index)

public UpdateApplicationInstancesRequest.UpdateApplicationInstance getApplicationInstances(int index)

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Parameter
Name Description
index int
Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance

getApplicationInstancesBuilder(int index)

public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder getApplicationInstancesBuilder(int index)

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Parameter
Name Description
index int
Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder

getApplicationInstancesBuilderList()

public List<UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder> getApplicationInstancesBuilderList()

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Returns
Type Description
List<Builder>

getApplicationInstancesCount()

public int getApplicationInstancesCount()

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Returns
Type Description
int

getApplicationInstancesList()

public List<UpdateApplicationInstancesRequest.UpdateApplicationInstance> getApplicationInstancesList()

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Returns
Type Description
List<UpdateApplicationInstance>

getApplicationInstancesOrBuilder(int index)

public UpdateApplicationInstancesRequest.UpdateApplicationInstanceOrBuilder getApplicationInstancesOrBuilder(int index)

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Parameter
Name Description
index int
Returns
Type Description
UpdateApplicationInstancesRequest.UpdateApplicationInstanceOrBuilder

getApplicationInstancesOrBuilderList()

public List<? extends UpdateApplicationInstancesRequest.UpdateApplicationInstanceOrBuilder> getApplicationInstancesOrBuilderList()

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstanceOrBuilder>

getDefaultInstanceForType()

public UpdateApplicationInstancesRequest getDefaultInstanceForType()
Returns
Type Description
UpdateApplicationInstancesRequest

getDescriptorForType()

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

getName()

public String getName()

Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getRequestId()

public String getRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for requestId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateApplicationInstancesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeApplicationInstances(int index)

public UpdateApplicationInstancesRequest.Builder removeApplicationInstances(int index)

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Parameter
Name Description
index int
Returns
Type Description
UpdateApplicationInstancesRequest.Builder

setAllowMissing(boolean value)

public UpdateApplicationInstancesRequest.Builder setAllowMissing(boolean value)

If true, Update Request will create one resource if the target resource doesn't exist, this time, the field_mask will be ignored.

bool allow_missing = 4;

Parameter
Name Description
value boolean

The allowMissing to set.

Returns
Type Description
UpdateApplicationInstancesRequest.Builder

This builder for chaining.

setApplicationInstances(int index, UpdateApplicationInstancesRequest.UpdateApplicationInstance value)

public UpdateApplicationInstancesRequest.Builder setApplicationInstances(int index, UpdateApplicationInstancesRequest.UpdateApplicationInstance value)

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Parameters
Name Description
index int
value UpdateApplicationInstancesRequest.UpdateApplicationInstance
Returns
Type Description
UpdateApplicationInstancesRequest.Builder

setApplicationInstances(int index, UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder builderForValue)

public UpdateApplicationInstancesRequest.Builder setApplicationInstances(int index, UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder builderForValue)

repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;

Parameters
Name Description
index int
builderForValue UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder
Returns
Type Description
UpdateApplicationInstancesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public UpdateApplicationInstancesRequest.Builder setName(String value)

Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
UpdateApplicationInstancesRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateApplicationInstancesRequest.Builder setNameBytes(ByteString value)

Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
UpdateApplicationInstancesRequest.Builder

This builder for chaining.

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

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

setRequestId(String value)

public UpdateApplicationInstancesRequest.Builder setRequestId(String value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
UpdateApplicationInstancesRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateApplicationInstancesRequest.Builder setRequestIdBytes(ByteString value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
UpdateApplicationInstancesRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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