Class UpdateDestinationRequest.Builder (1.73.0)

public static final class UpdateDestinationRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDestinationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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

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