Class GetDestinationRequest.Builder (1.84.0)

public static final class GetDestinationRequest.Builder extends GeneratedMessage.Builder<GetDestinationRequest.Builder> implements GetDestinationRequestOrBuilder

Request message to get the details of a Destination resource.

Protobuf type google.cloud.networkconnectivity.v1.GetDestinationRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetDestinationRequest build()
Returns
Type Description
GetDestinationRequest

buildPartial()

public GetDestinationRequest buildPartial()
Returns
Type Description
GetDestinationRequest

clear()

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

clearName()

public GetDestinationRequest.Builder clearName()

Required. The name of the Destination resource to get.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetDestinationRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetDestinationRequest getDefaultInstanceForType()
Returns
Type Description
GetDestinationRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the Destination resource to get.

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 Destination resource to get.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetDestinationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetDestinationRequest.Builder setName(String value)

Required. The name of the Destination resource to get.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetDestinationRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetDestinationRequest.Builder setNameBytes(ByteString value)

Required. The name of the Destination resource to get.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetDestinationRequest.Builder

This builder for chaining.