Class InterceptEndpointGroupAssociation.LocationDetails.Builder (0.94.0)

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

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

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearLocation()

public InterceptEndpointGroupAssociation.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
InterceptEndpointGroupAssociation.LocationDetails.Builder

This builder for chaining.

clearState()

public InterceptEndpointGroupAssociation.LocationDetails.Builder clearState()

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

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

Returns
Type Description
InterceptEndpointGroupAssociation.LocationDetails.Builder

This builder for chaining.

getDefaultInstanceForType()

public InterceptEndpointGroupAssociation.LocationDetails getDefaultInstanceForType()
Returns
Type Description
InterceptEndpointGroupAssociation.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 InterceptEndpointGroupAssociation.LocationDetails.State getState()

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

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

Returns
Type Description
InterceptEndpointGroupAssociation.LocationDetails.State

The state.

getStateValue()

public int getStateValue()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setLocation(String value)

public InterceptEndpointGroupAssociation.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
InterceptEndpointGroupAssociation.LocationDetails.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public InterceptEndpointGroupAssociation.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
InterceptEndpointGroupAssociation.LocationDetails.Builder

This builder for chaining.

setState(InterceptEndpointGroupAssociation.LocationDetails.State value)

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

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

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

Parameter
Name Description
value InterceptEndpointGroupAssociation.LocationDetails.State

The state to set.

Returns
Type Description
InterceptEndpointGroupAssociation.LocationDetails.Builder

This builder for chaining.

setStateValue(int value)

public InterceptEndpointGroupAssociation.LocationDetails.Builder setStateValue(int value)

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

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

This builder for chaining.