Class UpdateOdbNetworkRequest.Builder (0.52.0)

public static final class UpdateOdbNetworkRequest.Builder extends GeneratedMessage.Builder<UpdateOdbNetworkRequest.Builder> implements UpdateOdbNetworkRequestOrBuilder

The request for OdbNetwork.Update.

Protobuf type google.cloud.oracledatabase.v1.UpdateOdbNetworkRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateOdbNetworkRequest build()
Returns
Type Description
UpdateOdbNetworkRequest

buildPartial()

public UpdateOdbNetworkRequest buildPartial()
Returns
Type Description
UpdateOdbNetworkRequest

clear()

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

clearOdbNetwork()

public UpdateOdbNetworkRequest.Builder clearOdbNetwork()

Required. The resource being updated. Note only labels and service_connectivity_config can be updated. The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateOdbNetworkRequest.Builder

clearRequestId()

public UpdateOdbNetworkRequest.Builder clearRequestId()

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores 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, (.google.api.field_info) = { ... }

Returns
Type Description
UpdateOdbNetworkRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateOdbNetworkRequest.Builder clearUpdateMask()

Optional. A mask specifying which fields in the OdbNetwork should be updated. A field specified in the mask is updated. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

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

Returns
Type Description
UpdateOdbNetworkRequest.Builder

getDefaultInstanceForType()

public UpdateOdbNetworkRequest getDefaultInstanceForType()
Returns
Type Description
UpdateOdbNetworkRequest

getDescriptorForType()

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

getOdbNetwork()

public OdbNetwork getOdbNetwork()

Required. The resource being updated. Note only labels and service_connectivity_config can be updated. The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OdbNetwork

The odbNetwork.

getOdbNetworkBuilder()

public OdbNetwork.Builder getOdbNetworkBuilder()

Required. The resource being updated. Note only labels and service_connectivity_config can be updated. The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OdbNetwork.Builder

getOdbNetworkOrBuilder()

public OdbNetworkOrBuilder getOdbNetworkOrBuilder()

Required. The resource being updated. Note only labels and service_connectivity_config can be updated. The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OdbNetworkOrBuilder

getRequestId()

public String getRequestId()

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores 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, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores 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, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

getUpdateMask()

public FieldMask getUpdateMask()

Optional. A mask specifying which fields in the OdbNetwork should be updated. A field specified in the mask is updated. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. A mask specifying which fields in the OdbNetwork should be updated. A field specified in the mask is updated. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. A mask specifying which fields in the OdbNetwork should be updated. A field specified in the mask is updated. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

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

Returns
Type Description
FieldMaskOrBuilder

hasOdbNetwork()

public boolean hasOdbNetwork()

Required. The resource being updated. Note only labels and service_connectivity_config can be updated. The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the odbNetwork field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. A mask specifying which fields in the OdbNetwork should be updated. A field specified in the mask is updated. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateOdbNetworkRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOdbNetwork(OdbNetwork value)

public UpdateOdbNetworkRequest.Builder mergeOdbNetwork(OdbNetwork value)

Required. The resource being updated. Note only labels and service_connectivity_config can be updated. The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OdbNetwork
Returns
Type Description
UpdateOdbNetworkRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateOdbNetworkRequest.Builder mergeUpdateMask(FieldMask value)

Optional. A mask specifying which fields in the OdbNetwork should be updated. A field specified in the mask is updated. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateOdbNetworkRequest.Builder

setOdbNetwork(OdbNetwork value)

public UpdateOdbNetworkRequest.Builder setOdbNetwork(OdbNetwork value)

Required. The resource being updated. Note only labels and service_connectivity_config can be updated. The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OdbNetwork
Returns
Type Description
UpdateOdbNetworkRequest.Builder

setOdbNetwork(OdbNetwork.Builder builderForValue)

public UpdateOdbNetworkRequest.Builder setOdbNetwork(OdbNetwork.Builder builderForValue)

Required. The resource being updated. Note only labels and service_connectivity_config can be updated. The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue OdbNetwork.Builder
Returns
Type Description
UpdateOdbNetworkRequest.Builder

setRequestId(String value)

public UpdateOdbNetworkRequest.Builder setRequestId(String value)

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores 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, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
UpdateOdbNetworkRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateOdbNetworkRequest.Builder setRequestIdBytes(ByteString value)

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores 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, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
UpdateOdbNetworkRequest.Builder

This builder for chaining.

setUpdateMask(FieldMask value)

public UpdateOdbNetworkRequest.Builder setUpdateMask(FieldMask value)

Optional. A mask specifying which fields in the OdbNetwork should be updated. A field specified in the mask is updated. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateOdbNetworkRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateOdbNetworkRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. A mask specifying which fields in the OdbNetwork should be updated. A field specified in the mask is updated. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateOdbNetworkRequest.Builder