Interface CreateDestinationRequestOrBuilder (1.73.0)

public interface CreateDestinationRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestination()

public abstract Destination getDestination()

Required. The Destination resource to create.

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

Returns
Type Description
Destination

The destination.

getDestinationId()

public abstract String getDestinationId()

Required. The ID to use for the Destination resource, which becomes the final component of the Destination resource name.

string destination_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The destinationId.

getDestinationIdBytes()

public abstract ByteString getDestinationIdBytes()

Required. The ID to use for the Destination resource, which becomes the final component of the Destination resource name.

string destination_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for destinationId.

getDestinationOrBuilder()

public abstract DestinationOrBuilder getDestinationOrBuilder()

Required. The Destination resource to create.

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

Returns
Type Description
DestinationOrBuilder

getParent()

public abstract String getParent()

Required. The name of the parent resource.

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the parent resource.

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

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public abstract 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. This prevents clients from accidentally creating duplicate Destination resources.

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 = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public abstract 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. This prevents clients from accidentally creating duplicate Destination resources.

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 = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

hasDestination()

public abstract boolean hasDestination()

Required. The Destination resource to create.

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

Returns
Type Description
boolean

Whether the destination field is set.