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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addApplicationInstances(UpdateApplicationInstancesRequest.UpdateApplicationInstance value)
public UpdateApplicationInstancesRequest.Builder addApplicationInstances(UpdateApplicationInstancesRequest.UpdateApplicationInstance value)
repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;
addApplicationInstances(UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder builderForValue)
public UpdateApplicationInstancesRequest.Builder addApplicationInstances(UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder builderForValue)
repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;
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;
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;
addApplicationInstancesBuilder()
public UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder addApplicationInstancesBuilder()
repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateApplicationInstancesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateApplicationInstancesRequest build()
buildPartial()
public UpdateApplicationInstancesRequest buildPartial()
clear()
public UpdateApplicationInstancesRequest.Builder clear()
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;
clearApplicationInstances()
public UpdateApplicationInstancesRequest.Builder clearApplicationInstances()
repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;
clearField(Descriptors.FieldDescriptor field)
public UpdateApplicationInstancesRequest.Builder clearField(Descriptors.FieldDescriptor field)
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateApplicationInstancesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public UpdateApplicationInstancesRequest.Builder clone()
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
|
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
|
getApplicationInstancesBuilderList()
public List<UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder> getApplicationInstancesBuilderList()
repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;
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;
getApplicationInstancesOrBuilder(int index)
public UpdateApplicationInstancesRequest.UpdateApplicationInstanceOrBuilder getApplicationInstancesOrBuilder(int index)
repeated .google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance application_instances = 2;
Parameter |
Name |
Description |
index |
int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateApplicationInstancesRequest other)
public UpdateApplicationInstancesRequest.Builder mergeFrom(UpdateApplicationInstancesRequest other)
public UpdateApplicationInstancesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateApplicationInstancesRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateApplicationInstancesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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.
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateApplicationInstancesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateApplicationInstancesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateApplicationInstancesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides