Class MirroringDeploymentGroup.Deployment.Builder (0.94.0)

public static final class MirroringDeploymentGroup.Deployment.Builder extends GeneratedMessage.Builder<MirroringDeploymentGroup.Deployment.Builder> implements MirroringDeploymentGroup.DeploymentOrBuilder

A deployment belonging to this deployment group.

Protobuf type google.cloud.networksecurity.v1.MirroringDeploymentGroup.Deployment

Static Methods

getDescriptor()

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

Methods

build()

public MirroringDeploymentGroup.Deployment build()
Returns
Type Description
MirroringDeploymentGroup.Deployment

buildPartial()

public MirroringDeploymentGroup.Deployment buildPartial()
Returns
Type Description
MirroringDeploymentGroup.Deployment

clear()

public MirroringDeploymentGroup.Deployment.Builder clear()
Returns
Type Description
MirroringDeploymentGroup.Deployment.Builder
Overrides

clearName()

public MirroringDeploymentGroup.Deployment.Builder clearName()

Output only. The name of the Mirroring Deployment, in the format: projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
MirroringDeploymentGroup.Deployment.Builder

This builder for chaining.

clearState()

public MirroringDeploymentGroup.Deployment.Builder clearState()

Output only. Most recent known state of the deployment.

.google.cloud.networksecurity.v1.MirroringDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MirroringDeploymentGroup.Deployment.Builder

This builder for chaining.

getDefaultInstanceForType()

public MirroringDeploymentGroup.Deployment getDefaultInstanceForType()
Returns
Type Description
MirroringDeploymentGroup.Deployment

getDescriptorForType()

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

getName()

public String getName()

Output only. The name of the Mirroring Deployment, in the format: projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The name of the Mirroring Deployment, in the format: projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getState()

public MirroringDeployment.State getState()

Output only. Most recent known state of the deployment.

.google.cloud.networksecurity.v1.MirroringDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MirroringDeployment.State

The state.

getStateValue()

public int getStateValue()

Output only. Most recent known state of the deployment.

.google.cloud.networksecurity.v1.MirroringDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MirroringDeploymentGroup.Deployment other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public MirroringDeploymentGroup.Deployment.Builder setName(String value)

Output only. The name of the Mirroring Deployment, in the format: projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
MirroringDeploymentGroup.Deployment.Builder

This builder for chaining.

setNameBytes(ByteString value)

public MirroringDeploymentGroup.Deployment.Builder setNameBytes(ByteString value)

Output only. The name of the Mirroring Deployment, in the format: projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
MirroringDeploymentGroup.Deployment.Builder

This builder for chaining.

setState(MirroringDeployment.State value)

public MirroringDeploymentGroup.Deployment.Builder setState(MirroringDeployment.State value)

Output only. Most recent known state of the deployment.

.google.cloud.networksecurity.v1.MirroringDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MirroringDeployment.State

The state to set.

Returns
Type Description
MirroringDeploymentGroup.Deployment.Builder

This builder for chaining.

setStateValue(int value)

public MirroringDeploymentGroup.Deployment.Builder setStateValue(int value)

Output only. Most recent known state of the deployment.

.google.cloud.networksecurity.v1.MirroringDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
MirroringDeploymentGroup.Deployment.Builder

This builder for chaining.