Class CreateMirroringDeploymentGroupRequest.Builder (0.94.0)

public static final class CreateMirroringDeploymentGroupRequest.Builder extends GeneratedMessage.Builder<CreateMirroringDeploymentGroupRequest.Builder> implements CreateMirroringDeploymentGroupRequestOrBuilder

Request message for CreateMirroringDeploymentGroup.

Protobuf type google.cloud.networksecurity.v1.CreateMirroringDeploymentGroupRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateMirroringDeploymentGroupRequest build()
Returns
Type Description
CreateMirroringDeploymentGroupRequest

buildPartial()

public CreateMirroringDeploymentGroupRequest buildPartial()
Returns
Type Description
CreateMirroringDeploymentGroupRequest

clear()

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

clearMirroringDeploymentGroup()

public CreateMirroringDeploymentGroupRequest.Builder clearMirroringDeploymentGroup()

Required. The deployment group to create.

.google.cloud.networksecurity.v1.MirroringDeploymentGroup mirroring_deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateMirroringDeploymentGroupRequest.Builder

clearMirroringDeploymentGroupId()

public CreateMirroringDeploymentGroupRequest.Builder clearMirroringDeploymentGroupId()

Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name.

string mirroring_deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateMirroringDeploymentGroupRequest.Builder

This builder for chaining.

clearParent()

public CreateMirroringDeploymentGroupRequest.Builder clearParent()

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

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

Returns
Type Description
CreateMirroringDeploymentGroupRequest.Builder

This builder for chaining.

clearRequestId()

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

This builder for chaining.

getDefaultInstanceForType()

public CreateMirroringDeploymentGroupRequest getDefaultInstanceForType()
Returns
Type Description
CreateMirroringDeploymentGroupRequest

getDescriptorForType()

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

getMirroringDeploymentGroup()

public MirroringDeploymentGroup getMirroringDeploymentGroup()

Required. The deployment group to create.

.google.cloud.networksecurity.v1.MirroringDeploymentGroup mirroring_deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MirroringDeploymentGroup

The mirroringDeploymentGroup.

getMirroringDeploymentGroupBuilder()

public MirroringDeploymentGroup.Builder getMirroringDeploymentGroupBuilder()

Required. The deployment group to create.

.google.cloud.networksecurity.v1.MirroringDeploymentGroup mirroring_deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MirroringDeploymentGroup.Builder

getMirroringDeploymentGroupId()

public String getMirroringDeploymentGroupId()

Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name.

string mirroring_deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The mirroringDeploymentGroupId.

getMirroringDeploymentGroupIdBytes()

public ByteString getMirroringDeploymentGroupIdBytes()

Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name.

string mirroring_deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for mirroringDeploymentGroupId.

getMirroringDeploymentGroupOrBuilder()

public MirroringDeploymentGroupOrBuilder getMirroringDeploymentGroupOrBuilder()

Required. The deployment group to create.

.google.cloud.networksecurity.v1.MirroringDeploymentGroup mirroring_deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MirroringDeploymentGroupOrBuilder

getParent()

public String getParent()

Required. The parent resource where this deployment group 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 deployment group 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.

hasMirroringDeploymentGroup()

public boolean hasMirroringDeploymentGroup()

Required. The deployment group to create.

.google.cloud.networksecurity.v1.MirroringDeploymentGroup mirroring_deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the mirroringDeploymentGroup field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateMirroringDeploymentGroupRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMirroringDeploymentGroup(MirroringDeploymentGroup value)

public CreateMirroringDeploymentGroupRequest.Builder mergeMirroringDeploymentGroup(MirroringDeploymentGroup value)

Required. The deployment group to create.

.google.cloud.networksecurity.v1.MirroringDeploymentGroup mirroring_deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MirroringDeploymentGroup
Returns
Type Description
CreateMirroringDeploymentGroupRequest.Builder

setMirroringDeploymentGroup(MirroringDeploymentGroup value)

public CreateMirroringDeploymentGroupRequest.Builder setMirroringDeploymentGroup(MirroringDeploymentGroup value)

Required. The deployment group to create.

.google.cloud.networksecurity.v1.MirroringDeploymentGroup mirroring_deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MirroringDeploymentGroup
Returns
Type Description
CreateMirroringDeploymentGroupRequest.Builder

setMirroringDeploymentGroup(MirroringDeploymentGroup.Builder builderForValue)

public CreateMirroringDeploymentGroupRequest.Builder setMirroringDeploymentGroup(MirroringDeploymentGroup.Builder builderForValue)

Required. The deployment group to create.

.google.cloud.networksecurity.v1.MirroringDeploymentGroup mirroring_deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue MirroringDeploymentGroup.Builder
Returns
Type Description
CreateMirroringDeploymentGroupRequest.Builder

setMirroringDeploymentGroupId(String value)

public CreateMirroringDeploymentGroupRequest.Builder setMirroringDeploymentGroupId(String value)

Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name.

string mirroring_deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The mirroringDeploymentGroupId to set.

Returns
Type Description
CreateMirroringDeploymentGroupRequest.Builder

This builder for chaining.

setMirroringDeploymentGroupIdBytes(ByteString value)

public CreateMirroringDeploymentGroupRequest.Builder setMirroringDeploymentGroupIdBytes(ByteString value)

Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name.

string mirroring_deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for mirroringDeploymentGroupId to set.

Returns
Type Description
CreateMirroringDeploymentGroupRequest.Builder

This builder for chaining.

setParent(String value)

public CreateMirroringDeploymentGroupRequest.Builder setParent(String value)

Required. The parent resource where this deployment group 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
CreateMirroringDeploymentGroupRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateMirroringDeploymentGroupRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where this deployment group 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
CreateMirroringDeploymentGroupRequest.Builder

This builder for chaining.

setRequestId(String value)

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

This builder for chaining.

setRequestIdBytes(ByteString value)

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

This builder for chaining.