Class AssociatedEntities.Builder (1.52.0)

public static final class AssociatedEntities.Builder extends GeneratedMessageV3.Builder<AssociatedEntities.Builder> implements AssociatedEntitiesOrBuilder

Information about entities associated with a Target.

Protobuf type google.cloud.deploy.v1.AssociatedEntities

Static Methods

getDescriptor()

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

Methods

addAllAnthosClusters(Iterable<? extends AnthosCluster> values)

public AssociatedEntities.Builder addAllAnthosClusters(Iterable<? extends AnthosCluster> values)

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.deploy.v1.AnthosCluster>
Returns
Type Description
AssociatedEntities.Builder

addAllGkeClusters(Iterable<? extends GkeCluster> values)

public AssociatedEntities.Builder addAllGkeClusters(Iterable<? extends GkeCluster> values)

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.deploy.v1.GkeCluster>
Returns
Type Description
AssociatedEntities.Builder

addAnthosClusters(AnthosCluster value)

public AssociatedEntities.Builder addAnthosClusters(AnthosCluster value)

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AnthosCluster
Returns
Type Description
AssociatedEntities.Builder

addAnthosClusters(AnthosCluster.Builder builderForValue)

public AssociatedEntities.Builder addAnthosClusters(AnthosCluster.Builder builderForValue)

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AnthosCluster.Builder
Returns
Type Description
AssociatedEntities.Builder

addAnthosClusters(int index, AnthosCluster value)

public AssociatedEntities.Builder addAnthosClusters(int index, AnthosCluster value)

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AnthosCluster
Returns
Type Description
AssociatedEntities.Builder

addAnthosClusters(int index, AnthosCluster.Builder builderForValue)

public AssociatedEntities.Builder addAnthosClusters(int index, AnthosCluster.Builder builderForValue)

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AnthosCluster.Builder
Returns
Type Description
AssociatedEntities.Builder

addAnthosClustersBuilder()

public AnthosCluster.Builder addAnthosClustersBuilder()

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AnthosCluster.Builder

addAnthosClustersBuilder(int index)

public AnthosCluster.Builder addAnthosClustersBuilder(int index)

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AnthosCluster.Builder

addGkeClusters(GkeCluster value)

public AssociatedEntities.Builder addGkeClusters(GkeCluster value)

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GkeCluster
Returns
Type Description
AssociatedEntities.Builder

addGkeClusters(GkeCluster.Builder builderForValue)

public AssociatedEntities.Builder addGkeClusters(GkeCluster.Builder builderForValue)

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue GkeCluster.Builder
Returns
Type Description
AssociatedEntities.Builder

addGkeClusters(int index, GkeCluster value)

public AssociatedEntities.Builder addGkeClusters(int index, GkeCluster value)

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value GkeCluster
Returns
Type Description
AssociatedEntities.Builder

addGkeClusters(int index, GkeCluster.Builder builderForValue)

public AssociatedEntities.Builder addGkeClusters(int index, GkeCluster.Builder builderForValue)

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue GkeCluster.Builder
Returns
Type Description
AssociatedEntities.Builder

addGkeClustersBuilder()

public GkeCluster.Builder addGkeClustersBuilder()

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GkeCluster.Builder

addGkeClustersBuilder(int index)

public GkeCluster.Builder addGkeClustersBuilder(int index)

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GkeCluster.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AssociatedEntities.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AssociatedEntities.Builder
Overrides

build()

public AssociatedEntities build()
Returns
Type Description
AssociatedEntities

buildPartial()

public AssociatedEntities buildPartial()
Returns
Type Description
AssociatedEntities

clear()

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

clearAnthosClusters()

public AssociatedEntities.Builder clearAnthosClusters()

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AssociatedEntities.Builder

clearField(Descriptors.FieldDescriptor field)

public AssociatedEntities.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AssociatedEntities.Builder
Overrides

clearGkeClusters()

public AssociatedEntities.Builder clearGkeClusters()

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AssociatedEntities.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AssociatedEntities.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AssociatedEntities.Builder
Overrides

clone()

public AssociatedEntities.Builder clone()
Returns
Type Description
AssociatedEntities.Builder
Overrides

getAnthosClusters(int index)

public AnthosCluster getAnthosClusters(int index)

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AnthosCluster

getAnthosClustersBuilder(int index)

public AnthosCluster.Builder getAnthosClustersBuilder(int index)

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AnthosCluster.Builder

getAnthosClustersBuilderList()

public List<AnthosCluster.Builder> getAnthosClustersBuilderList()

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getAnthosClustersCount()

public int getAnthosClustersCount()

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAnthosClustersList()

public List<AnthosCluster> getAnthosClustersList()

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<AnthosCluster>

getAnthosClustersOrBuilder(int index)

public AnthosClusterOrBuilder getAnthosClustersOrBuilder(int index)

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AnthosClusterOrBuilder

getAnthosClustersOrBuilderList()

public List<? extends AnthosClusterOrBuilder> getAnthosClustersOrBuilderList()

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.deploy.v1.AnthosClusterOrBuilder>

getDefaultInstanceForType()

public AssociatedEntities getDefaultInstanceForType()
Returns
Type Description
AssociatedEntities

getDescriptorForType()

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

getGkeClusters(int index)

public GkeCluster getGkeClusters(int index)

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GkeCluster

getGkeClustersBuilder(int index)

public GkeCluster.Builder getGkeClustersBuilder(int index)

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GkeCluster.Builder

getGkeClustersBuilderList()

public List<GkeCluster.Builder> getGkeClustersBuilderList()

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getGkeClustersCount()

public int getGkeClustersCount()

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getGkeClustersList()

public List<GkeCluster> getGkeClustersList()

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<GkeCluster>

getGkeClustersOrBuilder(int index)

public GkeClusterOrBuilder getGkeClustersOrBuilder(int index)

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GkeClusterOrBuilder

getGkeClustersOrBuilderList()

public List<? extends GkeClusterOrBuilder> getGkeClustersOrBuilderList()

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.deploy.v1.GkeClusterOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AssociatedEntities other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AssociatedEntities.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AssociatedEntities.Builder
Overrides

removeAnthosClusters(int index)

public AssociatedEntities.Builder removeAnthosClusters(int index)

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AssociatedEntities.Builder

removeGkeClusters(int index)

public AssociatedEntities.Builder removeGkeClusters(int index)

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AssociatedEntities.Builder

setAnthosClusters(int index, AnthosCluster value)

public AssociatedEntities.Builder setAnthosClusters(int index, AnthosCluster value)

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AnthosCluster
Returns
Type Description
AssociatedEntities.Builder

setAnthosClusters(int index, AnthosCluster.Builder builderForValue)

public AssociatedEntities.Builder setAnthosClusters(int index, AnthosCluster.Builder builderForValue)

Optional. Information specifying Anthos clusters as associated entities.

repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AnthosCluster.Builder
Returns
Type Description
AssociatedEntities.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AssociatedEntities.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AssociatedEntities.Builder
Overrides

setGkeClusters(int index, GkeCluster value)

public AssociatedEntities.Builder setGkeClusters(int index, GkeCluster value)

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value GkeCluster
Returns
Type Description
AssociatedEntities.Builder

setGkeClusters(int index, GkeCluster.Builder builderForValue)

public AssociatedEntities.Builder setGkeClusters(int index, GkeCluster.Builder builderForValue)

Optional. Information specifying GKE clusters as associated entities.

repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue GkeCluster.Builder
Returns
Type Description
AssociatedEntities.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AssociatedEntities.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AssociatedEntities.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AssociatedEntities.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AssociatedEntities.Builder
Overrides