Class MirroringEndpointGroup.AssociationDetails.Builder (0.94.0)

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

The endpoint group's view of a connected association.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearName()

public MirroringEndpointGroup.AssociationDetails.Builder clearName()

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

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

Returns
Type Description
MirroringEndpointGroup.AssociationDetails.Builder

This builder for chaining.

clearNetwork()

public MirroringEndpointGroup.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
MirroringEndpointGroup.AssociationDetails.Builder

This builder for chaining.

clearState()

public MirroringEndpointGroup.AssociationDetails.Builder clearState()

Output only. Most recent known state of the association.

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

Returns
Type Description
MirroringEndpointGroup.AssociationDetails.Builder

This builder for chaining.

getDefaultInstanceForType()

public MirroringEndpointGroup.AssociationDetails getDefaultInstanceForType()
Returns
Type Description
MirroringEndpointGroup.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/mirroringEndpointGroupAssociations/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/mirroringEndpointGroupAssociations/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 MirroringEndpointGroupAssociation.State getState()

Output only. Most recent known state of the association.

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

Returns
Type Description
MirroringEndpointGroupAssociation.State

The state.

getStateValue()

public int getStateValue()

Output only. Most recent known state of the association.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public MirroringEndpointGroup.AssociationDetails.Builder setName(String value)

Output only. The connected association's resource name, for example: projects/123456789/locations/global/mirroringEndpointGroupAssociations/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
MirroringEndpointGroup.AssociationDetails.Builder

This builder for chaining.

setNameBytes(ByteString value)

public MirroringEndpointGroup.AssociationDetails.Builder setNameBytes(ByteString value)

Output only. The connected association's resource name, for example: projects/123456789/locations/global/mirroringEndpointGroupAssociations/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
MirroringEndpointGroup.AssociationDetails.Builder

This builder for chaining.

setNetwork(String value)

public MirroringEndpointGroup.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
MirroringEndpointGroup.AssociationDetails.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

public MirroringEndpointGroup.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
MirroringEndpointGroup.AssociationDetails.Builder

This builder for chaining.

setState(MirroringEndpointGroupAssociation.State value)

public MirroringEndpointGroup.AssociationDetails.Builder setState(MirroringEndpointGroupAssociation.State value)

Output only. Most recent known state of the association.

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

Parameter
Name Description
value MirroringEndpointGroupAssociation.State

The state to set.

Returns
Type Description
MirroringEndpointGroup.AssociationDetails.Builder

This builder for chaining.

setStateValue(int value)

public MirroringEndpointGroup.AssociationDetails.Builder setStateValue(int value)

Output only. Most recent known state of the association.

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

This builder for chaining.