Class UpdateDestinationRequest.Builder (1.82.0)

public static final class UpdateDestinationRequest.Builder extends GeneratedMessage.Builder<UpdateDestinationRequest.Builder> implements UpdateDestinationRequestOrBuilder

Request message to update a Destination resource.

Protobuf type google.cloud.networkconnectivity.v1.UpdateDestinationRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateDestinationRequest build()
Returns
Type Description
UpdateDestinationRequest

buildPartial()

public UpdateDestinationRequest buildPartial()
Returns
Type Description
UpdateDestinationRequest

clear()

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

clearDestination()

public UpdateDestinationRequest.Builder clearDestination()

Required. The Destination resource to update.

.google.cloud.networkconnectivity.v1.Destination destination = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateDestinationRequest.Builder

clearRequestId()

public UpdateDestinationRequest.Builder clearRequestId()

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request.

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

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
UpdateDestinationRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateDestinationRequest.Builder clearUpdateMask()

Optional. FieldMask is used to specify the fields to be overwritten in the Destination resource by the update. The fields specified in update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't specify a mask, all fields are overwritten.

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

Returns
Type Description
UpdateDestinationRequest.Builder

getDefaultInstanceForType()

public UpdateDestinationRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDestinationRequest

getDescriptorForType()

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

getDestination()

public Destination getDestination()

Required. The Destination resource to update.

.google.cloud.networkconnectivity.v1.Destination destination = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Destination

The destination.

getDestinationBuilder()

public Destination.Builder getDestinationBuilder()

Required. The Destination resource to update.

.google.cloud.networkconnectivity.v1.Destination destination = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Destination.Builder

getDestinationOrBuilder()

public DestinationOrBuilder getDestinationOrBuilder()

Required. The Destination resource to update.

.google.cloud.networkconnectivity.v1.Destination destination = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DestinationOrBuilder

getRequestId()

public String getRequestId()

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request.

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

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request.

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

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. FieldMask is used to specify the fields to be overwritten in the Destination resource by the update. The fields specified in update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't specify a mask, all fields are overwritten.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. FieldMask is used to specify the fields to be overwritten in the Destination resource by the update. The fields specified in update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't specify a mask, all fields are overwritten.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. FieldMask is used to specify the fields to be overwritten in the Destination resource by the update. The fields specified in update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't specify a mask, all fields are overwritten.

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

Returns
Type Description
FieldMaskOrBuilder

hasDestination()

public boolean hasDestination()

Required. The Destination resource to update.

.google.cloud.networkconnectivity.v1.Destination destination = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the destination field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. FieldMask is used to specify the fields to be overwritten in the Destination resource by the update. The fields specified in update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't specify a mask, all fields are 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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDestination(Destination value)

public UpdateDestinationRequest.Builder mergeDestination(Destination value)

Required. The Destination resource to update.

.google.cloud.networkconnectivity.v1.Destination destination = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Destination
Returns
Type Description
UpdateDestinationRequest.Builder

mergeFrom(UpdateDestinationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateMask(FieldMask value)

public UpdateDestinationRequest.Builder mergeUpdateMask(FieldMask value)

Optional. FieldMask is used to specify the fields to be overwritten in the Destination resource by the update. The fields specified in update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't specify a mask, all fields are overwritten.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDestinationRequest.Builder

setDestination(Destination value)

public UpdateDestinationRequest.Builder setDestination(Destination value)

Required. The Destination resource to update.

.google.cloud.networkconnectivity.v1.Destination destination = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Destination
Returns
Type Description
UpdateDestinationRequest.Builder

setDestination(Destination.Builder builderForValue)

public UpdateDestinationRequest.Builder setDestination(Destination.Builder builderForValue)

Required. The Destination resource to update.

.google.cloud.networkconnectivity.v1.Destination destination = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Destination.Builder
Returns
Type Description
UpdateDestinationRequest.Builder

setRequestId(String value)

public UpdateDestinationRequest.Builder setRequestId(String value)

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request.

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

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
UpdateDestinationRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateDestinationRequest.Builder setRequestIdBytes(ByteString value)

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request.

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

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
UpdateDestinationRequest.Builder

This builder for chaining.

setUpdateMask(FieldMask value)

public UpdateDestinationRequest.Builder setUpdateMask(FieldMask value)

Optional. FieldMask is used to specify the fields to be overwritten in the Destination resource by the update. The fields specified in update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't specify a mask, all fields are overwritten.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDestinationRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDestinationRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. FieldMask is used to specify the fields to be overwritten in the Destination resource by the update. The fields specified in update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't specify a mask, all fields are overwritten.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateDestinationRequest.Builder