public static final class UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder extends GeneratedMessage.Builder<UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder> implements UpdateApplicationInstancesRequest.UpdateApplicationInstanceOrBuilderProtobuf type
google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateApplicationInstancesRequest.UpdateApplicationInstance.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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 |
|
getDefaultInstanceForType()
public UpdateApplicationInstancesRequest.UpdateApplicationInstance getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateApplicationInstancesRequest.UpdateApplicationInstance |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for instanceId to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateApplicationInstancesRequest.UpdateApplicationInstance.Builder |
This builder for chaining. |
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 |
|