Class CreateServiceConnectionMapRequest.Builder (1.82.0)

public static final class CreateServiceConnectionMapRequest.Builder extends GeneratedMessage.Builder<CreateServiceConnectionMapRequest.Builder> implements CreateServiceConnectionMapRequestOrBuilder

Request for CreateServiceConnectionMap.

Protobuf type google.cloud.networkconnectivity.v1.CreateServiceConnectionMapRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateServiceConnectionMapRequest build()
Returns
Type Description
CreateServiceConnectionMapRequest

buildPartial()

public CreateServiceConnectionMapRequest buildPartial()
Returns
Type Description
CreateServiceConnectionMapRequest

clear()

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

clearParent()

public CreateServiceConnectionMapRequest.Builder clearParent()

Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-east1

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

Returns
Type Description
CreateServiceConnectionMapRequest.Builder

This builder for chaining.

clearRequestId()

public CreateServiceConnectionMapRequest.Builder clearRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that 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, will ignore 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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateServiceConnectionMapRequest.Builder

This builder for chaining.

clearServiceConnectionMap()

public CreateServiceConnectionMapRequest.Builder clearServiceConnectionMap()

Required. Initial values for a new ServiceConnectionMaps

.google.cloud.networkconnectivity.v1.ServiceConnectionMap service_connection_map = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateServiceConnectionMapRequest.Builder

clearServiceConnectionMapId()

public CreateServiceConnectionMapRequest.Builder clearServiceConnectionMapId()

Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.

string service_connection_map_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateServiceConnectionMapRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateServiceConnectionMapRequest getDefaultInstanceForType()
Returns
Type Description
CreateServiceConnectionMapRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-east1

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-east1

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

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public String getRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that 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, will ignore 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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that 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, will ignore 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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for requestId.

getServiceConnectionMap()

public ServiceConnectionMap getServiceConnectionMap()

Required. Initial values for a new ServiceConnectionMaps

.google.cloud.networkconnectivity.v1.ServiceConnectionMap service_connection_map = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceConnectionMap

The serviceConnectionMap.

getServiceConnectionMapBuilder()

public ServiceConnectionMap.Builder getServiceConnectionMapBuilder()

Required. Initial values for a new ServiceConnectionMaps

.google.cloud.networkconnectivity.v1.ServiceConnectionMap service_connection_map = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceConnectionMap.Builder

getServiceConnectionMapId()

public String getServiceConnectionMapId()

Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.

string service_connection_map_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The serviceConnectionMapId.

getServiceConnectionMapIdBytes()

public ByteString getServiceConnectionMapIdBytes()

Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.

string service_connection_map_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for serviceConnectionMapId.

getServiceConnectionMapOrBuilder()

public ServiceConnectionMapOrBuilder getServiceConnectionMapOrBuilder()

Required. Initial values for a new ServiceConnectionMaps

.google.cloud.networkconnectivity.v1.ServiceConnectionMap service_connection_map = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceConnectionMapOrBuilder

hasServiceConnectionMap()

public boolean hasServiceConnectionMap()

Required. Initial values for a new ServiceConnectionMaps

.google.cloud.networkconnectivity.v1.ServiceConnectionMap service_connection_map = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the serviceConnectionMap field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateServiceConnectionMapRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeServiceConnectionMap(ServiceConnectionMap value)

public CreateServiceConnectionMapRequest.Builder mergeServiceConnectionMap(ServiceConnectionMap value)

Required. Initial values for a new ServiceConnectionMaps

.google.cloud.networkconnectivity.v1.ServiceConnectionMap service_connection_map = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ServiceConnectionMap
Returns
Type Description
CreateServiceConnectionMapRequest.Builder

setParent(String value)

public CreateServiceConnectionMapRequest.Builder setParent(String value)

Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-east1

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateServiceConnectionMapRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateServiceConnectionMapRequest.Builder setParentBytes(ByteString value)

Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-east1

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateServiceConnectionMapRequest.Builder

This builder for chaining.

setRequestId(String value)

public CreateServiceConnectionMapRequest.Builder setRequestId(String value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that 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, will ignore 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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
CreateServiceConnectionMapRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateServiceConnectionMapRequest.Builder setRequestIdBytes(ByteString value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that 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, will ignore 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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
CreateServiceConnectionMapRequest.Builder

This builder for chaining.

setServiceConnectionMap(ServiceConnectionMap value)

public CreateServiceConnectionMapRequest.Builder setServiceConnectionMap(ServiceConnectionMap value)

Required. Initial values for a new ServiceConnectionMaps

.google.cloud.networkconnectivity.v1.ServiceConnectionMap service_connection_map = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ServiceConnectionMap
Returns
Type Description
CreateServiceConnectionMapRequest.Builder

setServiceConnectionMap(ServiceConnectionMap.Builder builderForValue)

public CreateServiceConnectionMapRequest.Builder setServiceConnectionMap(ServiceConnectionMap.Builder builderForValue)

Required. Initial values for a new ServiceConnectionMaps

.google.cloud.networkconnectivity.v1.ServiceConnectionMap service_connection_map = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ServiceConnectionMap.Builder
Returns
Type Description
CreateServiceConnectionMapRequest.Builder

setServiceConnectionMapId(String value)

public CreateServiceConnectionMapRequest.Builder setServiceConnectionMapId(String value)

Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.

string service_connection_map_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The serviceConnectionMapId to set.

Returns
Type Description
CreateServiceConnectionMapRequest.Builder

This builder for chaining.

setServiceConnectionMapIdBytes(ByteString value)

public CreateServiceConnectionMapRequest.Builder setServiceConnectionMapIdBytes(ByteString value)

Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.

string service_connection_map_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for serviceConnectionMapId to set.

Returns
Type Description
CreateServiceConnectionMapRequest.Builder

This builder for chaining.