public static final class MirroringEndpointGroup.Builder extends GeneratedMessage.Builder<MirroringEndpointGroup.Builder> implements MirroringEndpointGroupOrBuilderAn endpoint group is a consumer frontend for a deployment group (backend). In order to configure mirroring for a network, consumers must create:
- An association between their network and the endpoint group.
- A security profile that points to the endpoint group.
- A mirroring rule that references the security profile (group).
Protobuf type google.cloud.networksecurity.v1.MirroringEndpointGroup
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MirroringEndpointGroup.BuilderImplements
MirroringEndpointGroupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAssociations(Iterable<? extends MirroringEndpointGroup.AssociationDetails> values)
public MirroringEndpointGroup.Builder addAllAssociations(Iterable<? extends MirroringEndpointGroup.AssociationDetails> values)Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails> |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
addAllConnectedDeploymentGroups(Iterable<? extends MirroringEndpointGroup.ConnectedDeploymentGroup> values)
public MirroringEndpointGroup.Builder addAllConnectedDeploymentGroups(Iterable<? extends MirroringEndpointGroup.ConnectedDeploymentGroup> values)Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup> |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
addAssociations(MirroringEndpointGroup.AssociationDetails value)
public MirroringEndpointGroup.Builder addAssociations(MirroringEndpointGroup.AssociationDetails value)Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
MirroringEndpointGroup.AssociationDetails |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
addAssociations(MirroringEndpointGroup.AssociationDetails.Builder builderForValue)
public MirroringEndpointGroup.Builder addAssociations(MirroringEndpointGroup.AssociationDetails.Builder builderForValue)Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MirroringEndpointGroup.AssociationDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
addAssociations(int index, MirroringEndpointGroup.AssociationDetails value)
public MirroringEndpointGroup.Builder addAssociations(int index, MirroringEndpointGroup.AssociationDetails value)Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MirroringEndpointGroup.AssociationDetails |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
addAssociations(int index, MirroringEndpointGroup.AssociationDetails.Builder builderForValue)
public MirroringEndpointGroup.Builder addAssociations(int index, MirroringEndpointGroup.AssociationDetails.Builder builderForValue)Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MirroringEndpointGroup.AssociationDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
addAssociationsBuilder()
public MirroringEndpointGroup.AssociationDetails.Builder addAssociationsBuilder()Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.AssociationDetails.Builder |
|
addAssociationsBuilder(int index)
public MirroringEndpointGroup.AssociationDetails.Builder addAssociationsBuilder(int index)Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.AssociationDetails.Builder |
|
addConnectedDeploymentGroups(MirroringEndpointGroup.ConnectedDeploymentGroup value)
public MirroringEndpointGroup.Builder addConnectedDeploymentGroups(MirroringEndpointGroup.ConnectedDeploymentGroup value)Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
MirroringEndpointGroup.ConnectedDeploymentGroup |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
addConnectedDeploymentGroups(MirroringEndpointGroup.ConnectedDeploymentGroup.Builder builderForValue)
public MirroringEndpointGroup.Builder addConnectedDeploymentGroups(MirroringEndpointGroup.ConnectedDeploymentGroup.Builder builderForValue)Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MirroringEndpointGroup.ConnectedDeploymentGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
addConnectedDeploymentGroups(int index, MirroringEndpointGroup.ConnectedDeploymentGroup value)
public MirroringEndpointGroup.Builder addConnectedDeploymentGroups(int index, MirroringEndpointGroup.ConnectedDeploymentGroup value)Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MirroringEndpointGroup.ConnectedDeploymentGroup |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
addConnectedDeploymentGroups(int index, MirroringEndpointGroup.ConnectedDeploymentGroup.Builder builderForValue)
public MirroringEndpointGroup.Builder addConnectedDeploymentGroups(int index, MirroringEndpointGroup.ConnectedDeploymentGroup.Builder builderForValue)Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MirroringEndpointGroup.ConnectedDeploymentGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
addConnectedDeploymentGroupsBuilder()
public MirroringEndpointGroup.ConnectedDeploymentGroup.Builder addConnectedDeploymentGroupsBuilder()Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.ConnectedDeploymentGroup.Builder |
|
addConnectedDeploymentGroupsBuilder(int index)
public MirroringEndpointGroup.ConnectedDeploymentGroup.Builder addConnectedDeploymentGroupsBuilder(int index)Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.ConnectedDeploymentGroup.Builder |
|
build()
public MirroringEndpointGroup build()| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup |
|
buildPartial()
public MirroringEndpointGroup buildPartial()| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup |
|
clear()
public MirroringEndpointGroup.Builder clear()| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
clearAssociations()
public MirroringEndpointGroup.Builder clearAssociations()Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
clearConnectedDeploymentGroups()
public MirroringEndpointGroup.Builder clearConnectedDeploymentGroups()Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
clearCreateTime()
public MirroringEndpointGroup.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 |
MirroringEndpointGroup.Builder |
|
clearDescription()
public MirroringEndpointGroup.Builder clearDescription()Optional. User-provided description of the endpoint group. Used as additional context for the endpoint group.
string description = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
clearLabels()
public MirroringEndpointGroup.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
clearMirroringDeploymentGroup()
public MirroringEndpointGroup.Builder clearMirroringDeploymentGroup() Immutable. The deployment group that this DIRECT endpoint group is
connected to, for example:
projects/123456789/locations/global/mirroringDeploymentGroups/my-dg.
See https://google.aip.dev/124.
string mirroring_deployment_group = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
clearName()
public MirroringEndpointGroup.Builder clearName() Immutable. Identifier. The resource name of this endpoint group, for
example:
projects/123456789/locations/global/mirroringEndpointGroups/my-eg.
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 |
MirroringEndpointGroup.Builder |
This builder for chaining. |
clearReconciling()
public MirroringEndpointGroup.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 is part of the normal operation (e.g. adding a new association to the group). See https://google.aip.dev/128.
bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
clearState()
public MirroringEndpointGroup.Builder clearState()Output only. The current state of the endpoint group. See https://google.aip.dev/216.
.google.cloud.networksecurity.v1.MirroringEndpointGroup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
clearType()
public MirroringEndpointGroup.Builder clearType()Immutable. The type of the endpoint group. If left unspecified, defaults to DIRECT.
.google.cloud.networksecurity.v1.MirroringEndpointGroup.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
clearUpdateTime()
public MirroringEndpointGroup.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 |
MirroringEndpointGroup.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 |
|
getAssociations(int index)
public MirroringEndpointGroup.AssociationDetails getAssociations(int index)Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.AssociationDetails |
|
getAssociationsBuilder(int index)
public MirroringEndpointGroup.AssociationDetails.Builder getAssociationsBuilder(int index)Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.AssociationDetails.Builder |
|
getAssociationsBuilderList()
public List<MirroringEndpointGroup.AssociationDetails.Builder> getAssociationsBuilderList()Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getAssociationsCount()
public int getAssociationsCount()Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAssociationsList()
public List<MirroringEndpointGroup.AssociationDetails> getAssociationsList()Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<AssociationDetails> |
|
getAssociationsOrBuilder(int index)
public MirroringEndpointGroup.AssociationDetailsOrBuilder getAssociationsOrBuilder(int index)Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.AssociationDetailsOrBuilder |
|
getAssociationsOrBuilderList()
public List<? extends MirroringEndpointGroup.AssociationDetailsOrBuilder> getAssociationsOrBuilderList()Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetailsOrBuilder> |
|
getConnectedDeploymentGroups(int index)
public MirroringEndpointGroup.ConnectedDeploymentGroup getConnectedDeploymentGroups(int index)Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.ConnectedDeploymentGroup |
|
getConnectedDeploymentGroupsBuilder(int index)
public MirroringEndpointGroup.ConnectedDeploymentGroup.Builder getConnectedDeploymentGroupsBuilder(int index)Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.ConnectedDeploymentGroup.Builder |
|
getConnectedDeploymentGroupsBuilderList()
public List<MirroringEndpointGroup.ConnectedDeploymentGroup.Builder> getConnectedDeploymentGroupsBuilderList()Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getConnectedDeploymentGroupsCount()
public int getConnectedDeploymentGroupsCount()Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getConnectedDeploymentGroupsList()
public List<MirroringEndpointGroup.ConnectedDeploymentGroup> getConnectedDeploymentGroupsList()Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<ConnectedDeploymentGroup> |
|
getConnectedDeploymentGroupsOrBuilder(int index)
public MirroringEndpointGroup.ConnectedDeploymentGroupOrBuilder getConnectedDeploymentGroupsOrBuilder(int index)Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.ConnectedDeploymentGroupOrBuilder |
|
getConnectedDeploymentGroupsOrBuilderList()
public List<? extends MirroringEndpointGroup.ConnectedDeploymentGroupOrBuilder> getConnectedDeploymentGroupsOrBuilderList()Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroupOrBuilder> |
|
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 MirroringEndpointGroup getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup |
|
getDescription()
public String getDescription()Optional. User-provided description of the endpoint group. Used as additional context for the endpoint group.
string description = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. User-provided description of the endpoint group. Used as additional context for the endpoint group.
string description = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
|
getMirroringDeploymentGroup()
public String getMirroringDeploymentGroup() Immutable. The deployment group that this DIRECT endpoint group is
connected to, for example:
projects/123456789/locations/global/mirroringDeploymentGroups/my-dg.
See https://google.aip.dev/124.
string mirroring_deployment_group = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The mirroringDeploymentGroup. |
getMirroringDeploymentGroupBytes()
public ByteString getMirroringDeploymentGroupBytes() Immutable. The deployment group that this DIRECT endpoint group is
connected to, for example:
projects/123456789/locations/global/mirroringDeploymentGroups/my-dg.
See https://google.aip.dev/124.
string mirroring_deployment_group = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mirroringDeploymentGroup. |
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, for
example:
projects/123456789/locations/global/mirroringEndpointGroups/my-eg.
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, for
example:
projects/123456789/locations/global/mirroringEndpointGroups/my-eg.
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. |
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 is part of the normal operation (e.g. adding a new association to the group). See https://google.aip.dev/128.
bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The reconciling. |
getState()
public MirroringEndpointGroup.State getState()Output only. The current state of the endpoint group. See https://google.aip.dev/216.
.google.cloud.networksecurity.v1.MirroringEndpointGroup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.State |
The state. |
getStateValue()
public int getStateValue()Output only. The current state of the endpoint group. See https://google.aip.dev/216.
.google.cloud.networksecurity.v1.MirroringEndpointGroup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getType()
public MirroringEndpointGroup.Type getType()Immutable. The type of the endpoint group. If left unspecified, defaults to DIRECT.
.google.cloud.networksecurity.v1.MirroringEndpointGroup.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Type |
The type. |
getTypeValue()
public int getTypeValue()Immutable. The type of the endpoint group. If left unspecified, defaults to DIRECT.
.google.cloud.networksecurity.v1.MirroringEndpointGroup.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
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 |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public MirroringEndpointGroup.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 |
MirroringEndpointGroup.Builder |
|
mergeFrom(MirroringEndpointGroup other)
public MirroringEndpointGroup.Builder mergeFrom(MirroringEndpointGroup other)| Parameter | |
|---|---|
| Name | Description |
other |
MirroringEndpointGroup |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MirroringEndpointGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MirroringEndpointGroup.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
mergeUpdateTime(Timestamp value)
public MirroringEndpointGroup.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 |
MirroringEndpointGroup.Builder |
|
putAllLabels(Map<String,String> values)
public MirroringEndpointGroup.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 |
MirroringEndpointGroup.Builder |
|
putLabels(String key, String value)
public MirroringEndpointGroup.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 |
MirroringEndpointGroup.Builder |
|
removeAssociations(int index)
public MirroringEndpointGroup.Builder removeAssociations(int index)Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
removeConnectedDeploymentGroups(int index)
public MirroringEndpointGroup.Builder removeConnectedDeploymentGroups(int index)Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
removeLabels(String key)
public MirroringEndpointGroup.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 |
MirroringEndpointGroup.Builder |
|
setAssociations(int index, MirroringEndpointGroup.AssociationDetails value)
public MirroringEndpointGroup.Builder setAssociations(int index, MirroringEndpointGroup.AssociationDetails value)Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MirroringEndpointGroup.AssociationDetails |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
setAssociations(int index, MirroringEndpointGroup.AssociationDetails.Builder builderForValue)
public MirroringEndpointGroup.Builder setAssociations(int index, MirroringEndpointGroup.AssociationDetails.Builder builderForValue)Output only. List of associations to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.AssociationDetails associations = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MirroringEndpointGroup.AssociationDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
setConnectedDeploymentGroups(int index, MirroringEndpointGroup.ConnectedDeploymentGroup value)
public MirroringEndpointGroup.Builder setConnectedDeploymentGroups(int index, MirroringEndpointGroup.ConnectedDeploymentGroup value)Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MirroringEndpointGroup.ConnectedDeploymentGroup |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
setConnectedDeploymentGroups(int index, MirroringEndpointGroup.ConnectedDeploymentGroup.Builder builderForValue)
public MirroringEndpointGroup.Builder setConnectedDeploymentGroups(int index, MirroringEndpointGroup.ConnectedDeploymentGroup.Builder builderForValue)Output only. List of details about the connected deployment groups to this endpoint group.
repeated .google.cloud.networksecurity.v1.MirroringEndpointGroup.ConnectedDeploymentGroup connected_deployment_groups = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MirroringEndpointGroup.ConnectedDeploymentGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
|
setCreateTime(Timestamp value)
public MirroringEndpointGroup.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 |
MirroringEndpointGroup.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public MirroringEndpointGroup.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 |
MirroringEndpointGroup.Builder |
|
setDescription(String value)
public MirroringEndpointGroup.Builder setDescription(String value)Optional. User-provided description of the endpoint group. Used as additional context for the endpoint group.
string description = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public MirroringEndpointGroup.Builder setDescriptionBytes(ByteString value)Optional. User-provided description of the endpoint group. Used as additional context for the endpoint group.
string description = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
setMirroringDeploymentGroup(String value)
public MirroringEndpointGroup.Builder setMirroringDeploymentGroup(String value) Immutable. The deployment group that this DIRECT endpoint group is
connected to, for example:
projects/123456789/locations/global/mirroringDeploymentGroups/my-dg.
See https://google.aip.dev/124.
string mirroring_deployment_group = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe mirroringDeploymentGroup to set. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
setMirroringDeploymentGroupBytes(ByteString value)
public MirroringEndpointGroup.Builder setMirroringDeploymentGroupBytes(ByteString value) Immutable. The deployment group that this DIRECT endpoint group is
connected to, for example:
projects/123456789/locations/global/mirroringDeploymentGroups/my-dg.
See https://google.aip.dev/124.
string mirroring_deployment_group = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for mirroringDeploymentGroup to set. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
setName(String value)
public MirroringEndpointGroup.Builder setName(String value) Immutable. Identifier. The resource name of this endpoint group, for
example:
projects/123456789/locations/global/mirroringEndpointGroups/my-eg.
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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public MirroringEndpointGroup.Builder setNameBytes(ByteString value) Immutable. Identifier. The resource name of this endpoint group, for
example:
projects/123456789/locations/global/mirroringEndpointGroups/my-eg.
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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
setReconciling(boolean value)
public MirroringEndpointGroup.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 is part of the normal operation (e.g. adding a new association to the group). See https://google.aip.dev/128.
bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe reconciling to set. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
setState(MirroringEndpointGroup.State value)
public MirroringEndpointGroup.Builder setState(MirroringEndpointGroup.State value)Output only. The current state of the endpoint group. See https://google.aip.dev/216.
.google.cloud.networksecurity.v1.MirroringEndpointGroup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
MirroringEndpointGroup.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
setStateValue(int value)
public MirroringEndpointGroup.Builder setStateValue(int value)Output only. The current state of the endpoint group. See https://google.aip.dev/216.
.google.cloud.networksecurity.v1.MirroringEndpointGroup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
setType(MirroringEndpointGroup.Type value)
public MirroringEndpointGroup.Builder setType(MirroringEndpointGroup.Type value)Immutable. The type of the endpoint group. If left unspecified, defaults to DIRECT.
.google.cloud.networksecurity.v1.MirroringEndpointGroup.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
MirroringEndpointGroup.TypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
setTypeValue(int value)
public MirroringEndpointGroup.Builder setTypeValue(int value)Immutable. The type of the endpoint group. If left unspecified, defaults to DIRECT.
.google.cloud.networksecurity.v1.MirroringEndpointGroup.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public MirroringEndpointGroup.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 |
MirroringEndpointGroup.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public MirroringEndpointGroup.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 |
MirroringEndpointGroup.Builder |
|