- 1.84.0 (latest)
- 1.82.0
- 1.81.0
- 1.79.0
- 1.77.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.69.0
- 1.67.0
- 1.66.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 1.0.0
- 0.5.0
public static final class CreateServiceConnectionPolicyRequest.Builder extends GeneratedMessage.Builder<CreateServiceConnectionPolicyRequest.Builder> implements CreateServiceConnectionPolicyRequestOrBuilderRequest for CreateServiceConnectionPolicy.
Protobuf type google.cloud.networkconnectivity.v1.CreateServiceConnectionPolicyRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateServiceConnectionPolicyRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateServiceConnectionPolicyRequest build()| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest |
|
buildPartial()
public CreateServiceConnectionPolicyRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest |
|
clear()
public CreateServiceConnectionPolicyRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
|
clearParent()
public CreateServiceConnectionPolicyRequest.Builder clearParent()Required. The parent resource's name of the ServiceConnectionPolicy. ex. projects/123/locations/us-east1
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateServiceConnectionPolicyRequest.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 |
CreateServiceConnectionPolicyRequest.Builder |
This builder for chaining. |
clearServiceConnectionPolicy()
public CreateServiceConnectionPolicyRequest.Builder clearServiceConnectionPolicy()Required. Initial values for a new ServiceConnectionPolicies
.google.cloud.networkconnectivity.v1.ServiceConnectionPolicy service_connection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
|
clearServiceConnectionPolicyId()
public CreateServiceConnectionPolicyRequest.Builder clearServiceConnectionPolicyId()Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location.
string service_connection_policy_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateServiceConnectionPolicyRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The parent resource's name of the ServiceConnectionPolicy. 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 ServiceConnectionPolicy. 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. |
getServiceConnectionPolicy()
public ServiceConnectionPolicy getServiceConnectionPolicy()Required. Initial values for a new ServiceConnectionPolicies
.google.cloud.networkconnectivity.v1.ServiceConnectionPolicy service_connection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ServiceConnectionPolicy |
The serviceConnectionPolicy. |
getServiceConnectionPolicyBuilder()
public ServiceConnectionPolicy.Builder getServiceConnectionPolicyBuilder()Required. Initial values for a new ServiceConnectionPolicies
.google.cloud.networkconnectivity.v1.ServiceConnectionPolicy service_connection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ServiceConnectionPolicy.Builder |
|
getServiceConnectionPolicyId()
public String getServiceConnectionPolicyId()Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location.
string service_connection_policy_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The serviceConnectionPolicyId. |
getServiceConnectionPolicyIdBytes()
public ByteString getServiceConnectionPolicyIdBytes()Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location.
string service_connection_policy_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceConnectionPolicyId. |
getServiceConnectionPolicyOrBuilder()
public ServiceConnectionPolicyOrBuilder getServiceConnectionPolicyOrBuilder()Required. Initial values for a new ServiceConnectionPolicies
.google.cloud.networkconnectivity.v1.ServiceConnectionPolicy service_connection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ServiceConnectionPolicyOrBuilder |
|
hasServiceConnectionPolicy()
public boolean hasServiceConnectionPolicy()Required. Initial values for a new ServiceConnectionPolicies
.google.cloud.networkconnectivity.v1.ServiceConnectionPolicy service_connection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the serviceConnectionPolicy field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateServiceConnectionPolicyRequest other)
public CreateServiceConnectionPolicyRequest.Builder mergeFrom(CreateServiceConnectionPolicyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateServiceConnectionPolicyRequest |
| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateServiceConnectionPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateServiceConnectionPolicyRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
|
mergeServiceConnectionPolicy(ServiceConnectionPolicy value)
public CreateServiceConnectionPolicyRequest.Builder mergeServiceConnectionPolicy(ServiceConnectionPolicy value)Required. Initial values for a new ServiceConnectionPolicies
.google.cloud.networkconnectivity.v1.ServiceConnectionPolicy service_connection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ServiceConnectionPolicy |
| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
|
setParent(String value)
public CreateServiceConnectionPolicyRequest.Builder setParent(String value)Required. The parent resource's name of the ServiceConnectionPolicy. ex. projects/123/locations/us-east1
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateServiceConnectionPolicyRequest.Builder setParentBytes(ByteString value)Required. The parent resource's name of the ServiceConnectionPolicy. ex. projects/123/locations/us-east1
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public CreateServiceConnectionPolicyRequest.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 |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateServiceConnectionPolicyRequest.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 |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
This builder for chaining. |
setServiceConnectionPolicy(ServiceConnectionPolicy value)
public CreateServiceConnectionPolicyRequest.Builder setServiceConnectionPolicy(ServiceConnectionPolicy value)Required. Initial values for a new ServiceConnectionPolicies
.google.cloud.networkconnectivity.v1.ServiceConnectionPolicy service_connection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ServiceConnectionPolicy |
| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
|
setServiceConnectionPolicy(ServiceConnectionPolicy.Builder builderForValue)
public CreateServiceConnectionPolicyRequest.Builder setServiceConnectionPolicy(ServiceConnectionPolicy.Builder builderForValue)Required. Initial values for a new ServiceConnectionPolicies
.google.cloud.networkconnectivity.v1.ServiceConnectionPolicy service_connection_policy = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ServiceConnectionPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
|
setServiceConnectionPolicyId(String value)
public CreateServiceConnectionPolicyRequest.Builder setServiceConnectionPolicyId(String value)Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location.
string service_connection_policy_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serviceConnectionPolicyId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
This builder for chaining. |
setServiceConnectionPolicyIdBytes(ByteString value)
public CreateServiceConnectionPolicyRequest.Builder setServiceConnectionPolicyIdBytes(ByteString value)Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location.
string service_connection_policy_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceConnectionPolicyId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateServiceConnectionPolicyRequest.Builder |
This builder for chaining. |