Class CreateInterceptEndpointGroupAssociationRequest.Builder (0.94.0)

public static final class CreateInterceptEndpointGroupAssociationRequest.Builder extends GeneratedMessage.Builder<CreateInterceptEndpointGroupAssociationRequest.Builder> implements CreateInterceptEndpointGroupAssociationRequestOrBuilder

Request message for CreateInterceptEndpointGroupAssociation.

Protobuf type google.cloud.networksecurity.v1.CreateInterceptEndpointGroupAssociationRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateInterceptEndpointGroupAssociationRequest build()
Returns
Type Description
CreateInterceptEndpointGroupAssociationRequest

buildPartial()

public CreateInterceptEndpointGroupAssociationRequest buildPartial()
Returns
Type Description
CreateInterceptEndpointGroupAssociationRequest

clear()

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

clearInterceptEndpointGroupAssociation()

public CreateInterceptEndpointGroupAssociationRequest.Builder clearInterceptEndpointGroupAssociation()

Required. The association to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation intercept_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateInterceptEndpointGroupAssociationRequest.Builder

clearInterceptEndpointGroupAssociationId()

public CreateInterceptEndpointGroupAssociationRequest.Builder clearInterceptEndpointGroupAssociationId()

Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID.

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

Returns
Type Description
CreateInterceptEndpointGroupAssociationRequest.Builder

This builder for chaining.

clearParent()

public CreateInterceptEndpointGroupAssociationRequest.Builder clearParent()

Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}

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

Returns
Type Description
CreateInterceptEndpointGroupAssociationRequest.Builder

This builder for chaining.

clearRequestId()

public CreateInterceptEndpointGroupAssociationRequest.Builder clearRequestId()

Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a request_id is provided. See https://google.aip.dev/155 for more details.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
CreateInterceptEndpointGroupAssociationRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateInterceptEndpointGroupAssociationRequest getDefaultInstanceForType()
Returns
Type Description
CreateInterceptEndpointGroupAssociationRequest

getDescriptorForType()

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

getInterceptEndpointGroupAssociation()

public InterceptEndpointGroupAssociation getInterceptEndpointGroupAssociation()

Required. The association to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation intercept_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InterceptEndpointGroupAssociation

The interceptEndpointGroupAssociation.

getInterceptEndpointGroupAssociationBuilder()

public InterceptEndpointGroupAssociation.Builder getInterceptEndpointGroupAssociationBuilder()

Required. The association to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation intercept_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InterceptEndpointGroupAssociation.Builder

getInterceptEndpointGroupAssociationId()

public String getInterceptEndpointGroupAssociationId()

Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID.

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

Returns
Type Description
String

The interceptEndpointGroupAssociationId.

getInterceptEndpointGroupAssociationIdBytes()

public ByteString getInterceptEndpointGroupAssociationIdBytes()

Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID.

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

Returns
Type Description
ByteString

The bytes for interceptEndpointGroupAssociationId.

getInterceptEndpointGroupAssociationOrBuilder()

public InterceptEndpointGroupAssociationOrBuilder getInterceptEndpointGroupAssociationOrBuilder()

Required. The association to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation intercept_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InterceptEndpointGroupAssociationOrBuilder

getParent()

public String getParent()

Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}

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 where this association will be created. Format: projects/{project}/locations/{location}

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. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a request_id is provided. See https://google.aip.dev/155 for more details.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a request_id is provided. See https://google.aip.dev/155 for more details.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

hasInterceptEndpointGroupAssociation()

public boolean hasInterceptEndpointGroupAssociation()

Required. The association to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation intercept_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the interceptEndpointGroupAssociation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateInterceptEndpointGroupAssociationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInterceptEndpointGroupAssociation(InterceptEndpointGroupAssociation value)

public CreateInterceptEndpointGroupAssociationRequest.Builder mergeInterceptEndpointGroupAssociation(InterceptEndpointGroupAssociation value)

Required. The association to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation intercept_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value InterceptEndpointGroupAssociation
Returns
Type Description
CreateInterceptEndpointGroupAssociationRequest.Builder

setInterceptEndpointGroupAssociation(InterceptEndpointGroupAssociation value)

public CreateInterceptEndpointGroupAssociationRequest.Builder setInterceptEndpointGroupAssociation(InterceptEndpointGroupAssociation value)

Required. The association to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation intercept_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value InterceptEndpointGroupAssociation
Returns
Type Description
CreateInterceptEndpointGroupAssociationRequest.Builder

setInterceptEndpointGroupAssociation(InterceptEndpointGroupAssociation.Builder builderForValue)

public CreateInterceptEndpointGroupAssociationRequest.Builder setInterceptEndpointGroupAssociation(InterceptEndpointGroupAssociation.Builder builderForValue)

Required. The association to create.

.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation intercept_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue InterceptEndpointGroupAssociation.Builder
Returns
Type Description
CreateInterceptEndpointGroupAssociationRequest.Builder

setInterceptEndpointGroupAssociationId(String value)

public CreateInterceptEndpointGroupAssociationRequest.Builder setInterceptEndpointGroupAssociationId(String value)

Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID.

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

Parameter
Name Description
value String

The interceptEndpointGroupAssociationId to set.

Returns
Type Description
CreateInterceptEndpointGroupAssociationRequest.Builder

This builder for chaining.

setInterceptEndpointGroupAssociationIdBytes(ByteString value)

public CreateInterceptEndpointGroupAssociationRequest.Builder setInterceptEndpointGroupAssociationIdBytes(ByteString value)

Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID.

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

Parameter
Name Description
value ByteString

The bytes for interceptEndpointGroupAssociationId to set.

Returns
Type Description
CreateInterceptEndpointGroupAssociationRequest.Builder

This builder for chaining.

setParent(String value)

public CreateInterceptEndpointGroupAssociationRequest.Builder setParent(String value)

Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateInterceptEndpointGroupAssociationRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateInterceptEndpointGroupAssociationRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}

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

This builder for chaining.

setRequestId(String value)

public CreateInterceptEndpointGroupAssociationRequest.Builder setRequestId(String value)

Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a request_id is provided. See https://google.aip.dev/155 for more details.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
CreateInterceptEndpointGroupAssociationRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateInterceptEndpointGroupAssociationRequest.Builder setRequestIdBytes(ByteString value)

Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a request_id is provided. See https://google.aip.dev/155 for more details.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
CreateInterceptEndpointGroupAssociationRequest.Builder

This builder for chaining.