Class CreateMirroringEndpointGroupAssociationRequest.Builder (0.94.0)

public static final class CreateMirroringEndpointGroupAssociationRequest.Builder extends GeneratedMessage.Builder<CreateMirroringEndpointGroupAssociationRequest.Builder> implements CreateMirroringEndpointGroupAssociationRequestOrBuilder

Request message for CreateMirroringEndpointGroupAssociation.

Protobuf type google.cloud.networksecurity.v1.CreateMirroringEndpointGroupAssociationRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateMirroringEndpointGroupAssociationRequest build()
Returns
Type Description
CreateMirroringEndpointGroupAssociationRequest

buildPartial()

public CreateMirroringEndpointGroupAssociationRequest buildPartial()
Returns
Type Description
CreateMirroringEndpointGroupAssociationRequest

clear()

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

clearMirroringEndpointGroupAssociation()

public CreateMirroringEndpointGroupAssociationRequest.Builder clearMirroringEndpointGroupAssociation()

Required. The association to create.

.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateMirroringEndpointGroupAssociationRequest.Builder

clearMirroringEndpointGroupAssociationId()

public CreateMirroringEndpointGroupAssociationRequest.Builder clearMirroringEndpointGroupAssociationId()

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 mirroring_endpoint_group_association_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateMirroringEndpointGroupAssociationRequest.Builder

This builder for chaining.

clearParent()

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

This builder for chaining.

clearRequestId()

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

This builder for chaining.

getDefaultInstanceForType()

public CreateMirroringEndpointGroupAssociationRequest getDefaultInstanceForType()
Returns
Type Description
CreateMirroringEndpointGroupAssociationRequest

getDescriptorForType()

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

getMirroringEndpointGroupAssociation()

public MirroringEndpointGroupAssociation getMirroringEndpointGroupAssociation()

Required. The association to create.

.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MirroringEndpointGroupAssociation

The mirroringEndpointGroupAssociation.

getMirroringEndpointGroupAssociationBuilder()

public MirroringEndpointGroupAssociation.Builder getMirroringEndpointGroupAssociationBuilder()

Required. The association to create.

.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

getMirroringEndpointGroupAssociationId()

public String getMirroringEndpointGroupAssociationId()

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 mirroring_endpoint_group_association_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The mirroringEndpointGroupAssociationId.

getMirroringEndpointGroupAssociationIdBytes()

public ByteString getMirroringEndpointGroupAssociationIdBytes()

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 mirroring_endpoint_group_association_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for mirroringEndpointGroupAssociationId.

getMirroringEndpointGroupAssociationOrBuilder()

public MirroringEndpointGroupAssociationOrBuilder getMirroringEndpointGroupAssociationOrBuilder()

Required. The association to create.

.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MirroringEndpointGroupAssociationOrBuilder

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.

hasMirroringEndpointGroupAssociation()

public boolean hasMirroringEndpointGroupAssociation()

Required. The association to create.

.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the mirroringEndpointGroupAssociation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateMirroringEndpointGroupAssociationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMirroringEndpointGroupAssociation(MirroringEndpointGroupAssociation value)

public CreateMirroringEndpointGroupAssociationRequest.Builder mergeMirroringEndpointGroupAssociation(MirroringEndpointGroupAssociation value)

Required. The association to create.

.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MirroringEndpointGroupAssociation
Returns
Type Description
CreateMirroringEndpointGroupAssociationRequest.Builder

setMirroringEndpointGroupAssociation(MirroringEndpointGroupAssociation value)

public CreateMirroringEndpointGroupAssociationRequest.Builder setMirroringEndpointGroupAssociation(MirroringEndpointGroupAssociation value)

Required. The association to create.

.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MirroringEndpointGroupAssociation
Returns
Type Description
CreateMirroringEndpointGroupAssociationRequest.Builder

setMirroringEndpointGroupAssociation(MirroringEndpointGroupAssociation.Builder builderForValue)

public CreateMirroringEndpointGroupAssociationRequest.Builder setMirroringEndpointGroupAssociation(MirroringEndpointGroupAssociation.Builder builderForValue)

Required. The association to create.

.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue MirroringEndpointGroupAssociation.Builder
Returns
Type Description
CreateMirroringEndpointGroupAssociationRequest.Builder

setMirroringEndpointGroupAssociationId(String value)

public CreateMirroringEndpointGroupAssociationRequest.Builder setMirroringEndpointGroupAssociationId(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 mirroring_endpoint_group_association_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The mirroringEndpointGroupAssociationId to set.

Returns
Type Description
CreateMirroringEndpointGroupAssociationRequest.Builder

This builder for chaining.

setMirroringEndpointGroupAssociationIdBytes(ByteString value)

public CreateMirroringEndpointGroupAssociationRequest.Builder setMirroringEndpointGroupAssociationIdBytes(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 mirroring_endpoint_group_association_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for mirroringEndpointGroupAssociationId to set.

Returns
Type Description
CreateMirroringEndpointGroupAssociationRequest.Builder

This builder for chaining.

setParent(String value)

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

This builder for chaining.

setParentBytes(ByteString value)

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

This builder for chaining.

setRequestId(String value)

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

This builder for chaining.

setRequestIdBytes(ByteString value)

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

This builder for chaining.