Class InterceptEndpointGroup.AssociationDetails.Builder (0.94.0)

public static final class InterceptEndpointGroup.AssociationDetails.Builder extends GeneratedMessage.Builder<InterceptEndpointGroup.AssociationDetails.Builder> implements InterceptEndpointGroup.AssociationDetailsOrBuilder

The endpoint group's view of a connected association.

Protobuf type google.cloud.networksecurity.v1.InterceptEndpointGroup.AssociationDetails

Static Methods

getDescriptor()

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

Methods

build()

public InterceptEndpointGroup.AssociationDetails build()
Returns
Type Description
InterceptEndpointGroup.AssociationDetails

buildPartial()

public InterceptEndpointGroup.AssociationDetails buildPartial()
Returns
Type Description
InterceptEndpointGroup.AssociationDetails

clear()

public InterceptEndpointGroup.AssociationDetails.Builder clear()
Returns
Type Description
InterceptEndpointGroup.AssociationDetails.Builder
Overrides

clearName()

public InterceptEndpointGroup.AssociationDetails.Builder clearName()

Output only. The connected association's resource name, for example: projects/123456789/locations/global/interceptEndpointGroupAssociations/my-ega. See https://google.aip.dev/124.

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

Returns
Type Description
InterceptEndpointGroup.AssociationDetails.Builder

This builder for chaining.

clearNetwork()

public InterceptEndpointGroup.AssociationDetails.Builder clearNetwork()

Output only. The associated network, for example: projects/123456789/global/networks/my-network. See https://google.aip.dev/124.

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
InterceptEndpointGroup.AssociationDetails.Builder

This builder for chaining.

clearState()

public InterceptEndpointGroup.AssociationDetails.Builder clearState()

Output only. Most recent known state of the association.

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

Returns
Type Description
InterceptEndpointGroup.AssociationDetails.Builder

This builder for chaining.

getDefaultInstanceForType()

public InterceptEndpointGroup.AssociationDetails getDefaultInstanceForType()
Returns
Type Description
InterceptEndpointGroup.AssociationDetails

getDescriptorForType()

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

getName()

public String getName()

Output only. The connected association's resource name, for example: projects/123456789/locations/global/interceptEndpointGroupAssociations/my-ega. See https://google.aip.dev/124.

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 connected association's resource name, for example: projects/123456789/locations/global/interceptEndpointGroupAssociations/my-ega. See https://google.aip.dev/124.

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

Returns
Type Description
ByteString

The bytes for name.

getNetwork()

public String getNetwork()

Output only. The associated network, for example: projects/123456789/global/networks/my-network. See https://google.aip.dev/124.

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

Output only. The associated network, for example: projects/123456789/global/networks/my-network. See https://google.aip.dev/124.

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for network.

getState()

public InterceptEndpointGroupAssociation.State getState()

Output only. Most recent known state of the association.

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

Returns
Type Description
InterceptEndpointGroupAssociation.State

The state.

getStateValue()

public int getStateValue()

Output only. Most recent known state of the association.

.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation.State state = 3 [(.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(InterceptEndpointGroup.AssociationDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public InterceptEndpointGroup.AssociationDetails.Builder setName(String value)

Output only. The connected association's resource name, for example: projects/123456789/locations/global/interceptEndpointGroupAssociations/my-ega. See https://google.aip.dev/124.

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
InterceptEndpointGroup.AssociationDetails.Builder

This builder for chaining.

setNameBytes(ByteString value)

public InterceptEndpointGroup.AssociationDetails.Builder setNameBytes(ByteString value)

Output only. The connected association's resource name, for example: projects/123456789/locations/global/interceptEndpointGroupAssociations/my-ega. See https://google.aip.dev/124.

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
InterceptEndpointGroup.AssociationDetails.Builder

This builder for chaining.

setNetwork(String value)

public InterceptEndpointGroup.AssociationDetails.Builder setNetwork(String value)

Output only. The associated network, for example: projects/123456789/global/networks/my-network. See https://google.aip.dev/124.

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The network to set.

Returns
Type Description
InterceptEndpointGroup.AssociationDetails.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

public InterceptEndpointGroup.AssociationDetails.Builder setNetworkBytes(ByteString value)

Output only. The associated network, for example: projects/123456789/global/networks/my-network. See https://google.aip.dev/124.

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for network to set.

Returns
Type Description
InterceptEndpointGroup.AssociationDetails.Builder

This builder for chaining.

setState(InterceptEndpointGroupAssociation.State value)

public InterceptEndpointGroup.AssociationDetails.Builder setState(InterceptEndpointGroupAssociation.State value)

Output only. Most recent known state of the association.

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

Parameter
Name Description
value InterceptEndpointGroupAssociation.State

The state to set.

Returns
Type Description
InterceptEndpointGroup.AssociationDetails.Builder

This builder for chaining.

setStateValue(int value)

public InterceptEndpointGroup.AssociationDetails.Builder setStateValue(int value)

Output only. Most recent known state of the association.

.google.cloud.networksecurity.v1.InterceptEndpointGroupAssociation.State state = 3 [(.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
InterceptEndpointGroup.AssociationDetails.Builder

This builder for chaining.