Class CreateFirewallEndpointAssociationRequest.Builder (0.94.0)

public static final class CreateFirewallEndpointAssociationRequest.Builder extends GeneratedMessage.Builder<CreateFirewallEndpointAssociationRequest.Builder> implements CreateFirewallEndpointAssociationRequestOrBuilder

Message for creating a Association

Protobuf type google.cloud.networksecurity.v1.CreateFirewallEndpointAssociationRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateFirewallEndpointAssociationRequest build()
Returns
Type Description
CreateFirewallEndpointAssociationRequest

buildPartial()

public CreateFirewallEndpointAssociationRequest buildPartial()
Returns
Type Description
CreateFirewallEndpointAssociationRequest

clear()

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

clearFirewallEndpointAssociation()

public CreateFirewallEndpointAssociationRequest.Builder clearFirewallEndpointAssociation()

Required. The resource being created

.google.cloud.networksecurity.v1.FirewallEndpointAssociation firewall_endpoint_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateFirewallEndpointAssociationRequest.Builder

clearFirewallEndpointAssociationId()

public CreateFirewallEndpointAssociationRequest.Builder clearFirewallEndpointAssociationId()

Optional. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_association_id from the method_signature of Create RPC.

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

Returns
Type Description
CreateFirewallEndpointAssociationRequest.Builder

This builder for chaining.

clearParent()

public CreateFirewallEndpointAssociationRequest.Builder clearParent()

Required. Value for parent.

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

Returns
Type Description
CreateFirewallEndpointAssociationRequest.Builder

This builder for chaining.

clearRequestId()

public CreateFirewallEndpointAssociationRequest.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
CreateFirewallEndpointAssociationRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateFirewallEndpointAssociationRequest getDefaultInstanceForType()
Returns
Type Description
CreateFirewallEndpointAssociationRequest

getDescriptorForType()

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

getFirewallEndpointAssociation()

public FirewallEndpointAssociation getFirewallEndpointAssociation()

Required. The resource being created

.google.cloud.networksecurity.v1.FirewallEndpointAssociation firewall_endpoint_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FirewallEndpointAssociation

The firewallEndpointAssociation.

getFirewallEndpointAssociationBuilder()

public FirewallEndpointAssociation.Builder getFirewallEndpointAssociationBuilder()

Required. The resource being created

.google.cloud.networksecurity.v1.FirewallEndpointAssociation firewall_endpoint_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FirewallEndpointAssociation.Builder

getFirewallEndpointAssociationId()

public String getFirewallEndpointAssociationId()

Optional. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_association_id from the method_signature of Create RPC.

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

Returns
Type Description
String

The firewallEndpointAssociationId.

getFirewallEndpointAssociationIdBytes()

public ByteString getFirewallEndpointAssociationIdBytes()

Optional. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_association_id from the method_signature of Create RPC.

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

Returns
Type Description
ByteString

The bytes for firewallEndpointAssociationId.

getFirewallEndpointAssociationOrBuilder()

public FirewallEndpointAssociationOrBuilder getFirewallEndpointAssociationOrBuilder()

Required. The resource being created

.google.cloud.networksecurity.v1.FirewallEndpointAssociation firewall_endpoint_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FirewallEndpointAssociationOrBuilder

getParent()

public String getParent()

Required. Value for parent.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Value for parent.

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.

hasFirewallEndpointAssociation()

public boolean hasFirewallEndpointAssociation()

Required. The resource being created

.google.cloud.networksecurity.v1.FirewallEndpointAssociation firewall_endpoint_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the firewallEndpointAssociation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFirewallEndpointAssociation(FirewallEndpointAssociation value)

public CreateFirewallEndpointAssociationRequest.Builder mergeFirewallEndpointAssociation(FirewallEndpointAssociation value)

Required. The resource being created

.google.cloud.networksecurity.v1.FirewallEndpointAssociation firewall_endpoint_association = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FirewallEndpointAssociation
Returns
Type Description
CreateFirewallEndpointAssociationRequest.Builder

mergeFrom(CreateFirewallEndpointAssociationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFirewallEndpointAssociation(FirewallEndpointAssociation value)

public CreateFirewallEndpointAssociationRequest.Builder setFirewallEndpointAssociation(FirewallEndpointAssociation value)

Required. The resource being created

.google.cloud.networksecurity.v1.FirewallEndpointAssociation firewall_endpoint_association = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FirewallEndpointAssociation
Returns
Type Description
CreateFirewallEndpointAssociationRequest.Builder

setFirewallEndpointAssociation(FirewallEndpointAssociation.Builder builderForValue)

public CreateFirewallEndpointAssociationRequest.Builder setFirewallEndpointAssociation(FirewallEndpointAssociation.Builder builderForValue)

Required. The resource being created

.google.cloud.networksecurity.v1.FirewallEndpointAssociation firewall_endpoint_association = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue FirewallEndpointAssociation.Builder
Returns
Type Description
CreateFirewallEndpointAssociationRequest.Builder

setFirewallEndpointAssociationId(String value)

public CreateFirewallEndpointAssociationRequest.Builder setFirewallEndpointAssociationId(String value)

Optional. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_association_id from the method_signature of Create RPC.

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

Parameter
Name Description
value String

The firewallEndpointAssociationId to set.

Returns
Type Description
CreateFirewallEndpointAssociationRequest.Builder

This builder for chaining.

setFirewallEndpointAssociationIdBytes(ByteString value)

public CreateFirewallEndpointAssociationRequest.Builder setFirewallEndpointAssociationIdBytes(ByteString value)

Optional. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_association_id from the method_signature of Create RPC.

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

Parameter
Name Description
value ByteString

The bytes for firewallEndpointAssociationId to set.

Returns
Type Description
CreateFirewallEndpointAssociationRequest.Builder

This builder for chaining.

setParent(String value)

public CreateFirewallEndpointAssociationRequest.Builder setParent(String value)

Required. Value for parent.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateFirewallEndpointAssociationRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateFirewallEndpointAssociationRequest.Builder setParentBytes(ByteString value)

Required. Value for parent.

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
CreateFirewallEndpointAssociationRequest.Builder

This builder for chaining.

setRequestId(String value)

public CreateFirewallEndpointAssociationRequest.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
CreateFirewallEndpointAssociationRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateFirewallEndpointAssociationRequest.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
CreateFirewallEndpointAssociationRequest.Builder

This builder for chaining.