Class MirroringEndpointGroupAssociation.LocationDetails.Builder (0.94.0)

public static final class MirroringEndpointGroupAssociation.LocationDetails.Builder extends GeneratedMessage.Builder<MirroringEndpointGroupAssociation.LocationDetails.Builder> implements MirroringEndpointGroupAssociation.LocationDetailsOrBuilder

Contains details about the state of an association in a specific cloud location.

Protobuf type google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails

Static Methods

getDescriptor()

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

Methods

build()

public MirroringEndpointGroupAssociation.LocationDetails build()
Returns
Type Description
MirroringEndpointGroupAssociation.LocationDetails

buildPartial()

public MirroringEndpointGroupAssociation.LocationDetails buildPartial()
Returns
Type Description
MirroringEndpointGroupAssociation.LocationDetails

clear()

public MirroringEndpointGroupAssociation.LocationDetails.Builder clear()
Returns
Type Description
MirroringEndpointGroupAssociation.LocationDetails.Builder
Overrides

clearLocation()

public MirroringEndpointGroupAssociation.LocationDetails.Builder clearLocation()

Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".

string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MirroringEndpointGroupAssociation.LocationDetails.Builder

This builder for chaining.

clearState()

public MirroringEndpointGroupAssociation.LocationDetails.Builder clearState()

Output only. The current state of the association in this location.

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

Returns
Type Description
MirroringEndpointGroupAssociation.LocationDetails.Builder

This builder for chaining.

getDefaultInstanceForType()

public MirroringEndpointGroupAssociation.LocationDetails getDefaultInstanceForType()
Returns
Type Description
MirroringEndpointGroupAssociation.LocationDetails

getDescriptorForType()

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

getLocation()

public String getLocation()

Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".

string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".

string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for location.

getState()

public MirroringEndpointGroupAssociation.LocationDetails.State getState()

Output only. The current state of the association in this location.

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

Returns
Type Description
MirroringEndpointGroupAssociation.LocationDetails.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state of the association in this location.

.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails.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(MirroringEndpointGroupAssociation.LocationDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setLocation(String value)

public MirroringEndpointGroupAssociation.LocationDetails.Builder setLocation(String value)

Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".

string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The location to set.

Returns
Type Description
MirroringEndpointGroupAssociation.LocationDetails.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public MirroringEndpointGroupAssociation.LocationDetails.Builder setLocationBytes(ByteString value)

Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".

string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
MirroringEndpointGroupAssociation.LocationDetails.Builder

This builder for chaining.

setState(MirroringEndpointGroupAssociation.LocationDetails.State value)

public MirroringEndpointGroupAssociation.LocationDetails.Builder setState(MirroringEndpointGroupAssociation.LocationDetails.State value)

Output only. The current state of the association in this location.

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

Parameter
Name Description
value MirroringEndpointGroupAssociation.LocationDetails.State

The state to set.

Returns
Type Description
MirroringEndpointGroupAssociation.LocationDetails.Builder

This builder for chaining.

setStateValue(int value)

public MirroringEndpointGroupAssociation.LocationDetails.Builder setStateValue(int value)

Output only. The current state of the association in this location.

.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails.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
MirroringEndpointGroupAssociation.LocationDetails.Builder

This builder for chaining.