Class MirroringEndpointGroup.ConnectedDeploymentGroup.Builder (0.94.0)

public static final class MirroringEndpointGroup.ConnectedDeploymentGroup.Builder extends GeneratedMessage.Builder<MirroringEndpointGroup.ConnectedDeploymentGroup.Builder> implements MirroringEndpointGroup.ConnectedDeploymentGroupOrBuilder

The endpoint group's view of a connected deployment group.

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

Static Methods

getDescriptor()

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

Methods

addAllLocations(Iterable<? extends MirroringLocation> values)

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

Output only. The list of locations where the deployment group is present.

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

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

addLocations(MirroringLocation value)

public MirroringEndpointGroup.ConnectedDeploymentGroup.Builder addLocations(MirroringLocation value)

Output only. The list of locations where the deployment group is present.

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

Parameter
Name Description
value MirroringLocation
Returns
Type Description
MirroringEndpointGroup.ConnectedDeploymentGroup.Builder

addLocations(MirroringLocation.Builder builderForValue)

public MirroringEndpointGroup.ConnectedDeploymentGroup.Builder addLocations(MirroringLocation.Builder builderForValue)

Output only. The list of locations where the deployment group is present.

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

Parameter
Name Description
builderForValue MirroringLocation.Builder
Returns
Type Description
MirroringEndpointGroup.ConnectedDeploymentGroup.Builder

addLocations(int index, MirroringLocation value)

public MirroringEndpointGroup.ConnectedDeploymentGroup.Builder addLocations(int index, MirroringLocation value)

Output only. The list of locations where the deployment group is present.

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

Parameters
Name Description
index int
value MirroringLocation
Returns
Type Description
MirroringEndpointGroup.ConnectedDeploymentGroup.Builder

addLocations(int index, MirroringLocation.Builder builderForValue)

public MirroringEndpointGroup.ConnectedDeploymentGroup.Builder addLocations(int index, MirroringLocation.Builder builderForValue)

Output only. The list of locations where the deployment group is present.

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

Parameters
Name Description
index int
builderForValue MirroringLocation.Builder
Returns
Type Description
MirroringEndpointGroup.ConnectedDeploymentGroup.Builder

addLocationsBuilder()

public MirroringLocation.Builder addLocationsBuilder()

Output only. The list of locations where the deployment group is present.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 2 [(.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 deployment group is present.

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

Parameter
Name Description
index int
Returns
Type Description
MirroringLocation.Builder

build()

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

buildPartial()

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

clear()

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

clearLocations()

public MirroringEndpointGroup.ConnectedDeploymentGroup.Builder clearLocations()

Output only. The list of locations where the deployment group is present.

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

Returns
Type Description
MirroringEndpointGroup.ConnectedDeploymentGroup.Builder

clearName()

public MirroringEndpointGroup.ConnectedDeploymentGroup.Builder clearName()

Output only. The connected deployment group's resource name, for example: projects/123456789/locations/global/mirroringDeploymentGroups/my-dg. See https://google.aip.dev/124.

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

Returns
Type Description
MirroringEndpointGroup.ConnectedDeploymentGroup.Builder

This builder for chaining.

getDefaultInstanceForType()

public MirroringEndpointGroup.ConnectedDeploymentGroup getDefaultInstanceForType()
Returns
Type Description
MirroringEndpointGroup.ConnectedDeploymentGroup

getDescriptorForType()

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

getLocations(int index)

public MirroringLocation getLocations(int index)

Output only. The list of locations where the deployment group is present.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 2 [(.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 deployment group is present.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 2 [(.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 deployment group is present.

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

Returns
Type Description
List<Builder>

getLocationsCount()

public int getLocationsCount()

Output only. The list of locations where the deployment group is present.

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

Returns
Type Description
int

getLocationsList()

public List<MirroringLocation> getLocationsList()

Output only. The list of locations where the deployment group is present.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 2 [(.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 deployment group is present.

repeated .google.cloud.networksecurity.v1.MirroringLocation locations = 2 [(.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 deployment group is present.

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

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

getName()

public String getName()

Output only. The connected deployment group's resource name, for example: projects/123456789/locations/global/mirroringDeploymentGroups/my-dg. 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 deployment group's resource name, for example: projects/123456789/locations/global/mirroringDeploymentGroups/my-dg. 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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MirroringEndpointGroup.ConnectedDeploymentGroup other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeLocations(int index)

public MirroringEndpointGroup.ConnectedDeploymentGroup.Builder removeLocations(int index)

Output only. The list of locations where the deployment group is present.

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

Parameter
Name Description
index int
Returns
Type Description
MirroringEndpointGroup.ConnectedDeploymentGroup.Builder

setLocations(int index, MirroringLocation value)

public MirroringEndpointGroup.ConnectedDeploymentGroup.Builder setLocations(int index, MirroringLocation value)

Output only. The list of locations where the deployment group is present.

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

Parameters
Name Description
index int
value MirroringLocation
Returns
Type Description
MirroringEndpointGroup.ConnectedDeploymentGroup.Builder

setLocations(int index, MirroringLocation.Builder builderForValue)

public MirroringEndpointGroup.ConnectedDeploymentGroup.Builder setLocations(int index, MirroringLocation.Builder builderForValue)

Output only. The list of locations where the deployment group is present.

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

Parameters
Name Description
index int
builderForValue MirroringLocation.Builder
Returns
Type Description
MirroringEndpointGroup.ConnectedDeploymentGroup.Builder

setName(String value)

public MirroringEndpointGroup.ConnectedDeploymentGroup.Builder setName(String value)

Output only. The connected deployment group's resource name, for example: projects/123456789/locations/global/mirroringDeploymentGroups/my-dg. 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.ConnectedDeploymentGroup.Builder

This builder for chaining.

setNameBytes(ByteString value)

public MirroringEndpointGroup.ConnectedDeploymentGroup.Builder setNameBytes(ByteString value)

Output only. The connected deployment group's resource name, for example: projects/123456789/locations/global/mirroringDeploymentGroups/my-dg. 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.ConnectedDeploymentGroup.Builder

This builder for chaining.