Class InterceptEndpointGroup.ConnectedDeploymentGroup.Builder (0.94.0)

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

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

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

Static Methods

getDescriptor()

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

Methods

addAllLocations(Iterable<? extends InterceptLocation> values)

public InterceptEndpointGroup.ConnectedDeploymentGroup.Builder addAllLocations(Iterable<? extends InterceptLocation> values)

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

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

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

addLocations(InterceptLocation value)

public InterceptEndpointGroup.ConnectedDeploymentGroup.Builder addLocations(InterceptLocation value)

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

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

Parameter
Name Description
value InterceptLocation
Returns
Type Description
InterceptEndpointGroup.ConnectedDeploymentGroup.Builder

addLocations(InterceptLocation.Builder builderForValue)

public InterceptEndpointGroup.ConnectedDeploymentGroup.Builder addLocations(InterceptLocation.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue InterceptLocation.Builder
Returns
Type Description
InterceptEndpointGroup.ConnectedDeploymentGroup.Builder

addLocations(int index, InterceptLocation value)

public InterceptEndpointGroup.ConnectedDeploymentGroup.Builder addLocations(int index, InterceptLocation value)

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

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

Parameters
Name Description
index int
value InterceptLocation
Returns
Type Description
InterceptEndpointGroup.ConnectedDeploymentGroup.Builder

addLocations(int index, InterceptLocation.Builder builderForValue)

public InterceptEndpointGroup.ConnectedDeploymentGroup.Builder addLocations(int index, InterceptLocation.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue InterceptLocation.Builder
Returns
Type Description
InterceptEndpointGroup.ConnectedDeploymentGroup.Builder

addLocationsBuilder()

public InterceptLocation.Builder addLocationsBuilder()

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

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

Returns
Type Description
InterceptLocation.Builder

addLocationsBuilder(int index)

public InterceptLocation.Builder addLocationsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
InterceptLocation.Builder

build()

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

buildPartial()

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

clear()

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

clearLocations()

public InterceptEndpointGroup.ConnectedDeploymentGroup.Builder clearLocations()

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

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

Returns
Type Description
InterceptEndpointGroup.ConnectedDeploymentGroup.Builder

clearName()

public InterceptEndpointGroup.ConnectedDeploymentGroup.Builder clearName()

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

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

Returns
Type Description
InterceptEndpointGroup.ConnectedDeploymentGroup.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getLocations(int index)

public InterceptLocation getLocations(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
InterceptLocation

getLocationsBuilder(int index)

public InterceptLocation.Builder getLocationsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
InterceptLocation.Builder

getLocationsBuilderList()

public List<InterceptLocation.Builder> getLocationsBuilderList()

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

repeated .google.cloud.networksecurity.v1.InterceptLocation 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.InterceptLocation locations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getLocationsList()

public List<InterceptLocation> getLocationsList()

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

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

Returns
Type Description
List<InterceptLocation>

getLocationsOrBuilder(int index)

public InterceptLocationOrBuilder getLocationsOrBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
InterceptLocationOrBuilder

getLocationsOrBuilderList()

public List<? extends InterceptLocationOrBuilder> getLocationsOrBuilderList()

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

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

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

getName()

public String getName()

Output only. The connected deployment group's resource name, for example: projects/123456789/locations/global/interceptDeploymentGroups/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/interceptDeploymentGroups/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(InterceptEndpointGroup.ConnectedDeploymentGroup other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeLocations(int index)

public InterceptEndpointGroup.ConnectedDeploymentGroup.Builder removeLocations(int index)

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

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

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

setLocations(int index, InterceptLocation value)

public InterceptEndpointGroup.ConnectedDeploymentGroup.Builder setLocations(int index, InterceptLocation value)

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

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

Parameters
Name Description
index int
value InterceptLocation
Returns
Type Description
InterceptEndpointGroup.ConnectedDeploymentGroup.Builder

setLocations(int index, InterceptLocation.Builder builderForValue)

public InterceptEndpointGroup.ConnectedDeploymentGroup.Builder setLocations(int index, InterceptLocation.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue InterceptLocation.Builder
Returns
Type Description
InterceptEndpointGroup.ConnectedDeploymentGroup.Builder

setName(String value)

public InterceptEndpointGroup.ConnectedDeploymentGroup.Builder setName(String value)

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

This builder for chaining.

setNameBytes(ByteString value)

public InterceptEndpointGroup.ConnectedDeploymentGroup.Builder setNameBytes(ByteString value)

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

This builder for chaining.