Class MirroringEndpointGroupAssociation.Builder (0.94.0)

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

An endpoint group association represents a link between a network and an endpoint group in the organization.

Creating an association creates the networking infrastructure linking the network to the endpoint group, but does not enable mirroring by itself. To enable mirroring, the user must also create a network firewall policy containing mirroring rules and associate it with the network.

Protobuf type google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation

Static Methods

getDescriptor()

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

Methods

addAllLocations(Iterable<? extends MirroringLocation> values)

public MirroringEndpointGroupAssociation.Builder addAllLocations(Iterable<? extends MirroringLocation> values)

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.networksecurity.v1.MirroringLocation>
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

addAllLocationsDetails(Iterable<? extends MirroringEndpointGroupAssociation.LocationDetails> values) (deprecated)

public MirroringEndpointGroupAssociation.Builder addAllLocationsDetails(Iterable<? extends MirroringEndpointGroupAssociation.LocationDetails> values)

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails>
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

addLocations(MirroringLocation value)

public MirroringEndpointGroupAssociation.Builder addLocations(MirroringLocation value)

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MirroringLocation
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

addLocations(MirroringLocation.Builder builderForValue)

public MirroringEndpointGroupAssociation.Builder addLocations(MirroringLocation.Builder builderForValue)

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue MirroringLocation.Builder
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

addLocations(int index, MirroringLocation value)

public MirroringEndpointGroupAssociation.Builder addLocations(int index, MirroringLocation value)

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value MirroringLocation
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

addLocations(int index, MirroringLocation.Builder builderForValue)

public MirroringEndpointGroupAssociation.Builder addLocations(int index, MirroringLocation.Builder builderForValue)

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue MirroringLocation.Builder
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

addLocationsBuilder()

public MirroringLocation.Builder addLocationsBuilder()

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MirroringLocation.Builder

addLocationsBuilder(int index)

public MirroringLocation.Builder addLocationsBuilder(int index)

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MirroringLocation.Builder

addLocationsDetails(MirroringEndpointGroupAssociation.LocationDetails value) (deprecated)

public MirroringEndpointGroupAssociation.Builder addLocationsDetails(MirroringEndpointGroupAssociation.LocationDetails value)

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MirroringEndpointGroupAssociation.LocationDetails
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

addLocationsDetails(MirroringEndpointGroupAssociation.LocationDetails.Builder builderForValue) (deprecated)

public MirroringEndpointGroupAssociation.Builder addLocationsDetails(MirroringEndpointGroupAssociation.LocationDetails.Builder builderForValue)

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue MirroringEndpointGroupAssociation.LocationDetails.Builder
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

addLocationsDetails(int index, MirroringEndpointGroupAssociation.LocationDetails value) (deprecated)

public MirroringEndpointGroupAssociation.Builder addLocationsDetails(int index, MirroringEndpointGroupAssociation.LocationDetails value)

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value MirroringEndpointGroupAssociation.LocationDetails
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

addLocationsDetails(int index, MirroringEndpointGroupAssociation.LocationDetails.Builder builderForValue) (deprecated)

public MirroringEndpointGroupAssociation.Builder addLocationsDetails(int index, MirroringEndpointGroupAssociation.LocationDetails.Builder builderForValue)

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue MirroringEndpointGroupAssociation.LocationDetails.Builder
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

addLocationsDetailsBuilder() (deprecated)

public MirroringEndpointGroupAssociation.LocationDetails.Builder addLocationsDetailsBuilder()

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MirroringEndpointGroupAssociation.LocationDetails.Builder

addLocationsDetailsBuilder(int index) (deprecated)

public MirroringEndpointGroupAssociation.LocationDetails.Builder addLocationsDetailsBuilder(int index)

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MirroringEndpointGroupAssociation.LocationDetails.Builder

build()

public MirroringEndpointGroupAssociation build()
Returns
Type Description
MirroringEndpointGroupAssociation

buildPartial()

public MirroringEndpointGroupAssociation buildPartial()
Returns
Type Description
MirroringEndpointGroupAssociation

clear()

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

clearCreateTime()

public MirroringEndpointGroupAssociation.Builder clearCreateTime()

Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

clearLabels()

public MirroringEndpointGroupAssociation.Builder clearLabels()
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

clearLocations()

public MirroringEndpointGroupAssociation.Builder clearLocations()

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

clearLocationsDetails() (deprecated)

public MirroringEndpointGroupAssociation.Builder clearLocationsDetails()

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

clearMirroringEndpointGroup()

public MirroringEndpointGroupAssociation.Builder clearMirroringEndpointGroup()

Immutable. The endpoint group that this association is connected to, for example: projects/123456789/locations/global/mirroringEndpointGroups/my-eg. See https://google.aip.dev/124.

string mirroring_endpoint_group = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

This builder for chaining.

clearName()

public MirroringEndpointGroupAssociation.Builder clearName()

Immutable. Identifier. The resource name of this endpoint group association, for example: projects/123456789/locations/global/mirroringEndpointGroupAssociations/my-eg-association. See https://google.aip.dev/122 for more details.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

This builder for chaining.

clearNetwork()

public MirroringEndpointGroupAssociation.Builder clearNetwork()

Immutable. The VPC network that is associated. for example: projects/123456789/global/networks/my-network. See https://google.aip.dev/124.

string network = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

This builder for chaining.

clearReconciling()

public MirroringEndpointGroupAssociation.Builder clearReconciling()

Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This part of the normal operation (e.g. adding a new location to the target deployment group). See https://google.aip.dev/128.

bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

This builder for chaining.

clearState()

public MirroringEndpointGroupAssociation.Builder clearState()

Output only. Current state of the endpoint group association.

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

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

This builder for chaining.

clearUpdateTime()

public MirroringEndpointGroupAssociation.Builder clearUpdateTime()

Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

containsLabels(String key)

public boolean containsLabels(String key)

Optional. Labels are key/value pairs that help to organize and filter resources.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public MirroringEndpointGroupAssociation getDefaultInstanceForType()
Returns
Type Description
MirroringEndpointGroupAssociation

getDescriptorForType()

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

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. Labels are key/value pairs that help to organize and filter resources.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. Labels are key/value pairs that help to organize and filter resources.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels are key/value pairs that help to organize and filter resources.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. Labels are key/value pairs that help to organize and filter resources.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getLocations(int index)

public MirroringLocation getLocations(int index)

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MirroringLocation

getLocationsBuilder(int index)

public MirroringLocation.Builder getLocationsBuilder(int index)

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MirroringLocation.Builder

getLocationsBuilderList()

public List<MirroringLocation.Builder> getLocationsBuilderList()

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getLocationsCount()

public int getLocationsCount()

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getLocationsDetails(int index) (deprecated)

public MirroringEndpointGroupAssociation.LocationDetails getLocationsDetails(int index)

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MirroringEndpointGroupAssociation.LocationDetails

getLocationsDetailsBuilder(int index) (deprecated)

public MirroringEndpointGroupAssociation.LocationDetails.Builder getLocationsDetailsBuilder(int index)

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MirroringEndpointGroupAssociation.LocationDetails.Builder

getLocationsDetailsBuilderList() (deprecated)

public List<MirroringEndpointGroupAssociation.LocationDetails.Builder> getLocationsDetailsBuilderList()

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getLocationsDetailsCount() (deprecated)

public int getLocationsDetailsCount()

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getLocationsDetailsList() (deprecated)

public List<MirroringEndpointGroupAssociation.LocationDetails> getLocationsDetailsList()

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<LocationDetails>

getLocationsDetailsOrBuilder(int index) (deprecated)

public MirroringEndpointGroupAssociation.LocationDetailsOrBuilder getLocationsDetailsOrBuilder(int index)

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MirroringEndpointGroupAssociation.LocationDetailsOrBuilder

getLocationsDetailsOrBuilderList() (deprecated)

public List<? extends MirroringEndpointGroupAssociation.LocationDetailsOrBuilder> getLocationsDetailsOrBuilderList()

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetailsOrBuilder>

getLocationsList()

public List<MirroringLocation> getLocationsList()

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<MirroringLocation>

getLocationsOrBuilder(int index)

public MirroringLocationOrBuilder getLocationsOrBuilder(int index)

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MirroringLocationOrBuilder

getLocationsOrBuilderList()

public List<? extends MirroringLocationOrBuilder> getLocationsOrBuilderList()

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.networksecurity.v1.MirroringLocationOrBuilder>

getMirroringEndpointGroup()

public String getMirroringEndpointGroup()

Immutable. The endpoint group that this association is connected to, for example: projects/123456789/locations/global/mirroringEndpointGroups/my-eg. See https://google.aip.dev/124.

string mirroring_endpoint_group = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The mirroringEndpointGroup.

getMirroringEndpointGroupBytes()

public ByteString getMirroringEndpointGroupBytes()

Immutable. The endpoint group that this association is connected to, for example: projects/123456789/locations/global/mirroringEndpointGroups/my-eg. See https://google.aip.dev/124.

string mirroring_endpoint_group = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for mirroringEndpointGroup.

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Immutable. Identifier. The resource name of this endpoint group association, for example: projects/123456789/locations/global/mirroringEndpointGroupAssociations/my-eg-association. See https://google.aip.dev/122 for more details.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Immutable. Identifier. The resource name of this endpoint group association, for example: projects/123456789/locations/global/mirroringEndpointGroupAssociations/my-eg-association. See https://google.aip.dev/122 for more details.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.

getNetwork()

public String getNetwork()

Immutable. The VPC network that is associated. for example: projects/123456789/global/networks/my-network. See https://google.aip.dev/124.

string network = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

Immutable. The VPC network that is associated. for example: projects/123456789/global/networks/my-network. See https://google.aip.dev/124.

string network = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for network.

getReconciling()

public boolean getReconciling()

Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This part of the normal operation (e.g. adding a new location to the target deployment group). See https://google.aip.dev/128.

bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The reconciling.

getState()

public MirroringEndpointGroupAssociation.State getState()

Output only. Current state of the endpoint group association.

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

Returns
Type Description
MirroringEndpointGroupAssociation.State

The state.

getStateValue()

public int getStateValue()

Output only. Current state of the endpoint group association.

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

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public MirroringEndpointGroupAssociation.Builder mergeCreateTime(Timestamp value)

Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

mergeFrom(MirroringEndpointGroupAssociation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateTime(Timestamp value)

public MirroringEndpointGroupAssociation.Builder mergeUpdateTime(Timestamp value)

Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

putAllLabels(Map<String,String> values)

public MirroringEndpointGroupAssociation.Builder putAllLabels(Map<String,String> values)

Optional. Labels are key/value pairs that help to organize and filter resources.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

putLabels(String key, String value)

public MirroringEndpointGroupAssociation.Builder putLabels(String key, String value)

Optional. Labels are key/value pairs that help to organize and filter resources.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

removeLabels(String key)

public MirroringEndpointGroupAssociation.Builder removeLabels(String key)

Optional. Labels are key/value pairs that help to organize and filter resources.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

removeLocations(int index)

public MirroringEndpointGroupAssociation.Builder removeLocations(int index)

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

removeLocationsDetails(int index) (deprecated)

public MirroringEndpointGroupAssociation.Builder removeLocationsDetails(int index)

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

setCreateTime(Timestamp value)

public MirroringEndpointGroupAssociation.Builder setCreateTime(Timestamp value)

Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

setCreateTime(Timestamp.Builder builderForValue)

public MirroringEndpointGroupAssociation.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

setLocations(int index, MirroringLocation value)

public MirroringEndpointGroupAssociation.Builder setLocations(int index, MirroringLocation value)

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value MirroringLocation
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

setLocations(int index, MirroringLocation.Builder builderForValue)

public MirroringEndpointGroupAssociation.Builder setLocations(int index, MirroringLocation.Builder builderForValue)

Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue MirroringLocation.Builder
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

setLocationsDetails(int index, MirroringEndpointGroupAssociation.LocationDetails value) (deprecated)

public MirroringEndpointGroupAssociation.Builder setLocationsDetails(int index, MirroringEndpointGroupAssociation.LocationDetails value)

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value MirroringEndpointGroupAssociation.LocationDetails
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

setLocationsDetails(int index, MirroringEndpointGroupAssociation.LocationDetails.Builder builderForValue) (deprecated)

public MirroringEndpointGroupAssociation.Builder setLocationsDetails(int index, MirroringEndpointGroupAssociation.LocationDetails.Builder builderForValue)

Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.

repeated .google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.LocationDetails locations_details = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue MirroringEndpointGroupAssociation.LocationDetails.Builder
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

setMirroringEndpointGroup(String value)

public MirroringEndpointGroupAssociation.Builder setMirroringEndpointGroup(String value)

Immutable. The endpoint group that this association is connected to, for example: projects/123456789/locations/global/mirroringEndpointGroups/my-eg. See https://google.aip.dev/124.

string mirroring_endpoint_group = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The mirroringEndpointGroup to set.

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

This builder for chaining.

setMirroringEndpointGroupBytes(ByteString value)

public MirroringEndpointGroupAssociation.Builder setMirroringEndpointGroupBytes(ByteString value)

Immutable. The endpoint group that this association is connected to, for example: projects/123456789/locations/global/mirroringEndpointGroups/my-eg. See https://google.aip.dev/124.

string mirroring_endpoint_group = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for mirroringEndpointGroup to set.

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

This builder for chaining.

setName(String value)

public MirroringEndpointGroupAssociation.Builder setName(String value)

Immutable. Identifier. The resource name of this endpoint group association, for example: projects/123456789/locations/global/mirroringEndpointGroupAssociations/my-eg-association. See https://google.aip.dev/122 for more details.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

This builder for chaining.

setNameBytes(ByteString value)

public MirroringEndpointGroupAssociation.Builder setNameBytes(ByteString value)

Immutable. Identifier. The resource name of this endpoint group association, for example: projects/123456789/locations/global/mirroringEndpointGroupAssociations/my-eg-association. See https://google.aip.dev/122 for more details.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

This builder for chaining.

setNetwork(String value)

public MirroringEndpointGroupAssociation.Builder setNetwork(String value)

Immutable. The VPC network that is associated. for example: projects/123456789/global/networks/my-network. See https://google.aip.dev/124.

string network = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The network to set.

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

public MirroringEndpointGroupAssociation.Builder setNetworkBytes(ByteString value)

Immutable. The VPC network that is associated. for example: projects/123456789/global/networks/my-network. See https://google.aip.dev/124.

string network = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for network to set.

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

This builder for chaining.

setReconciling(boolean value)

public MirroringEndpointGroupAssociation.Builder setReconciling(boolean value)

Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This part of the normal operation (e.g. adding a new location to the target deployment group). See https://google.aip.dev/128.

bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The reconciling to set.

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

This builder for chaining.

setState(MirroringEndpointGroupAssociation.State value)

public MirroringEndpointGroupAssociation.Builder setState(MirroringEndpointGroupAssociation.State value)

Output only. Current state of the endpoint group association.

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

Parameter
Name Description
value MirroringEndpointGroupAssociation.State

The state to set.

Returns
Type Description
MirroringEndpointGroupAssociation.Builder

This builder for chaining.

setStateValue(int value)

public MirroringEndpointGroupAssociation.Builder setStateValue(int value)

Output only. Current state of the endpoint group association.

.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation.State state = 8 [(.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.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public MirroringEndpointGroupAssociation.Builder setUpdateTime(Timestamp value)

Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MirroringEndpointGroupAssociation.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public MirroringEndpointGroupAssociation.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MirroringEndpointGroupAssociation.Builder