public static final class CancelRequestRemovePeeringNetworkRequest.Builder extends GeneratedMessage.Builder<CancelRequestRemovePeeringNetworkRequest.Builder> implements CancelRequestRemovePeeringNetworkRequestOrBuilderA request message for Networks.CancelRequestRemovePeering. See the method description for details.
Protobuf type google.cloud.compute.v1.CancelRequestRemovePeeringNetworkRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CancelRequestRemovePeeringNetworkRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CancelRequestRemovePeeringNetworkRequest build()| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest |
|
buildPartial()
public CancelRequestRemovePeeringNetworkRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest |
|
clear()
public CancelRequestRemovePeeringNetworkRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
|
clearNetwork()
public CancelRequestRemovePeeringNetworkRequest.Builder clearNetwork()Name of the network resource to remove peering from.
string network = 232872494 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
This builder for chaining. |
clearNetworksCancelRequestRemovePeeringRequestResource()
public CancelRequestRemovePeeringNetworkRequest.Builder clearNetworksCancelRequestRemovePeeringRequestResource()The body resource for this request
.google.cloud.compute.v1.NetworksCancelRequestRemovePeeringRequest networks_cancel_request_remove_peering_request_resource = 177326909 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
|
clearProject()
public CancelRequestRemovePeeringNetworkRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
This builder for chaining. |
clearRequestId()
public CancelRequestRemovePeeringNetworkRequest.Builder clearRequestId()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.
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).
optional string request_id = 37109963;
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CancelRequestRemovePeeringNetworkRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNetwork()
public String getNetwork()Name of the network resource to remove peering from.
string network = 232872494 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The network. |
getNetworkBytes()
public ByteString getNetworkBytes()Name of the network resource to remove peering from.
string network = 232872494 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for network. |
getNetworksCancelRequestRemovePeeringRequestResource()
public NetworksCancelRequestRemovePeeringRequest getNetworksCancelRequestRemovePeeringRequestResource()The body resource for this request
.google.cloud.compute.v1.NetworksCancelRequestRemovePeeringRequest networks_cancel_request_remove_peering_request_resource = 177326909 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
NetworksCancelRequestRemovePeeringRequest |
The networksCancelRequestRemovePeeringRequestResource. |
getNetworksCancelRequestRemovePeeringRequestResourceBuilder()
public NetworksCancelRequestRemovePeeringRequest.Builder getNetworksCancelRequestRemovePeeringRequestResourceBuilder()The body resource for this request
.google.cloud.compute.v1.NetworksCancelRequestRemovePeeringRequest networks_cancel_request_remove_peering_request_resource = 177326909 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
NetworksCancelRequestRemovePeeringRequest.Builder |
|
getNetworksCancelRequestRemovePeeringRequestResourceOrBuilder()
public NetworksCancelRequestRemovePeeringRequestOrBuilder getNetworksCancelRequestRemovePeeringRequestResourceOrBuilder()The body resource for this request
.google.cloud.compute.v1.NetworksCancelRequestRemovePeeringRequest networks_cancel_request_remove_peering_request_resource = 177326909 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
NetworksCancelRequestRemovePeeringRequestOrBuilder |
|
getProject()
public String getProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getRequestId()
public String getRequestId()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.
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).
optional string request_id = 37109963;
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()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.
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).
optional string request_id = 37109963;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
hasNetworksCancelRequestRemovePeeringRequestResource()
public boolean hasNetworksCancelRequestRemovePeeringRequestResource()The body resource for this request
.google.cloud.compute.v1.NetworksCancelRequestRemovePeeringRequest networks_cancel_request_remove_peering_request_resource = 177326909 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the networksCancelRequestRemovePeeringRequestResource field is set. |
hasRequestId()
public boolean hasRequestId()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.
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).
optional string request_id = 37109963;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the requestId field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CancelRequestRemovePeeringNetworkRequest other)
public CancelRequestRemovePeeringNetworkRequest.Builder mergeFrom(CancelRequestRemovePeeringNetworkRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CancelRequestRemovePeeringNetworkRequest |
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CancelRequestRemovePeeringNetworkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CancelRequestRemovePeeringNetworkRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
|
mergeNetworksCancelRequestRemovePeeringRequestResource(NetworksCancelRequestRemovePeeringRequest value)
public CancelRequestRemovePeeringNetworkRequest.Builder mergeNetworksCancelRequestRemovePeeringRequestResource(NetworksCancelRequestRemovePeeringRequest value)The body resource for this request
.google.cloud.compute.v1.NetworksCancelRequestRemovePeeringRequest networks_cancel_request_remove_peering_request_resource = 177326909 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
NetworksCancelRequestRemovePeeringRequest |
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
|
setNetwork(String value)
public CancelRequestRemovePeeringNetworkRequest.Builder setNetwork(String value)Name of the network resource to remove peering from.
string network = 232872494 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe network to set. |
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
This builder for chaining. |
setNetworkBytes(ByteString value)
public CancelRequestRemovePeeringNetworkRequest.Builder setNetworkBytes(ByteString value)Name of the network resource to remove peering from.
string network = 232872494 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for network to set. |
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
This builder for chaining. |
setNetworksCancelRequestRemovePeeringRequestResource(NetworksCancelRequestRemovePeeringRequest value)
public CancelRequestRemovePeeringNetworkRequest.Builder setNetworksCancelRequestRemovePeeringRequestResource(NetworksCancelRequestRemovePeeringRequest value)The body resource for this request
.google.cloud.compute.v1.NetworksCancelRequestRemovePeeringRequest networks_cancel_request_remove_peering_request_resource = 177326909 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
NetworksCancelRequestRemovePeeringRequest |
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
|
setNetworksCancelRequestRemovePeeringRequestResource(NetworksCancelRequestRemovePeeringRequest.Builder builderForValue)
public CancelRequestRemovePeeringNetworkRequest.Builder setNetworksCancelRequestRemovePeeringRequestResource(NetworksCancelRequestRemovePeeringRequest.Builder builderForValue)The body resource for this request
.google.cloud.compute.v1.NetworksCancelRequestRemovePeeringRequest networks_cancel_request_remove_peering_request_resource = 177326909 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
NetworksCancelRequestRemovePeeringRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
|
setProject(String value)
public CancelRequestRemovePeeringNetworkRequest.Builder setProject(String value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public CancelRequestRemovePeeringNetworkRequest.Builder setProjectBytes(ByteString value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public CancelRequestRemovePeeringNetworkRequest.Builder setRequestId(String value)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.
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).
optional string request_id = 37109963;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CancelRequestRemovePeeringNetworkRequest.Builder setRequestIdBytes(ByteString value)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.
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).
optional string request_id = 37109963;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CancelRequestRemovePeeringNetworkRequest.Builder |
This builder for chaining. |