Class InterceptDeploymentGroup.Deployment.Builder (0.94.0)

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

A deployment belonging to this deployment group.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearName()

public InterceptDeploymentGroup.Deployment.Builder clearName()

Output only. The name of the Intercept Deployment, in the format: projects/{project}/locations/{location}/interceptDeployments/{intercept_deployment}.

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

Returns
Type Description
InterceptDeploymentGroup.Deployment.Builder

This builder for chaining.

clearState()

public InterceptDeploymentGroup.Deployment.Builder clearState()

Output only. Most recent known state of the deployment.

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

Returns
Type Description
InterceptDeploymentGroup.Deployment.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getName()

public String getName()

Output only. The name of the Intercept Deployment, in the format: projects/{project}/locations/{location}/interceptDeployments/{intercept_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 Intercept Deployment, in the format: projects/{project}/locations/{location}/interceptDeployments/{intercept_deployment}.

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

Returns
Type Description
ByteString

The bytes for name.

getState()

public InterceptDeployment.State getState()

Output only. Most recent known state of the deployment.

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

Returns
Type Description
InterceptDeployment.State

The state.

getStateValue()

public int getStateValue()

Output only. Most recent known state of the deployment.

.google.cloud.networksecurity.v1.InterceptDeployment.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(InterceptDeploymentGroup.Deployment other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public InterceptDeploymentGroup.Deployment.Builder setName(String value)

Output only. The name of the Intercept Deployment, in the format: projects/{project}/locations/{location}/interceptDeployments/{intercept_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
InterceptDeploymentGroup.Deployment.Builder

This builder for chaining.

setNameBytes(ByteString value)

public InterceptDeploymentGroup.Deployment.Builder setNameBytes(ByteString value)

Output only. The name of the Intercept Deployment, in the format: projects/{project}/locations/{location}/interceptDeployments/{intercept_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
InterceptDeploymentGroup.Deployment.Builder

This builder for chaining.

setState(InterceptDeployment.State value)

public InterceptDeploymentGroup.Deployment.Builder setState(InterceptDeployment.State value)

Output only. Most recent known state of the deployment.

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

Parameter
Name Description
value InterceptDeployment.State

The state to set.

Returns
Type Description
InterceptDeploymentGroup.Deployment.Builder

This builder for chaining.

setStateValue(int value)

public InterceptDeploymentGroup.Deployment.Builder setStateValue(int value)

Output only. Most recent known state of the deployment.

.google.cloud.networksecurity.v1.InterceptDeployment.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
InterceptDeploymentGroup.Deployment.Builder

This builder for chaining.