public static final class ListClustersResponse.Builder extends GeneratedMessageV3.Builder<ListClustersResponse.Builder> implements ListClustersResponseOrBuilder
ListClustersResponse is the result of ListClustersRequest.
Protobuf type google.container.v1.ListClustersResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllClusters(Iterable<? extends Cluster> values)
public ListClustersResponse.Builder addAllClusters(Iterable<? extends Cluster> values)
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.container.v1.Cluster>
|
addAllMissingZones(Iterable<String> values)
public ListClustersResponse.Builder addAllMissingZones(Iterable<String> values)
If any zones are listed here, the list of clusters returned
may be missing those zones.
repeated string missing_zones = 2;
Parameter |
---|
Name | Description |
values | Iterable<String>
The missingZones to add.
|
addClusters(Cluster value)
public ListClustersResponse.Builder addClusters(Cluster value)
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
Parameter |
---|
Name | Description |
value | Cluster
|
addClusters(Cluster.Builder builderForValue)
public ListClustersResponse.Builder addClusters(Cluster.Builder builderForValue)
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
addClusters(int index, Cluster value)
public ListClustersResponse.Builder addClusters(int index, Cluster value)
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
addClusters(int index, Cluster.Builder builderForValue)
public ListClustersResponse.Builder addClusters(int index, Cluster.Builder builderForValue)
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
addClustersBuilder()
public Cluster.Builder addClustersBuilder()
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
addClustersBuilder(int index)
public Cluster.Builder addClustersBuilder(int index)
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
Parameter |
---|
Name | Description |
index | int
|
addMissingZones(String value)
public ListClustersResponse.Builder addMissingZones(String value)
If any zones are listed here, the list of clusters returned
may be missing those zones.
repeated string missing_zones = 2;
Parameter |
---|
Name | Description |
value | String
The missingZones to add.
|
addMissingZonesBytes(ByteString value)
public ListClustersResponse.Builder addMissingZonesBytes(ByteString value)
If any zones are listed here, the list of clusters returned
may be missing those zones.
repeated string missing_zones = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes of the missingZones to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListClustersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListClustersResponse build()
buildPartial()
public ListClustersResponse buildPartial()
clear()
public ListClustersResponse.Builder clear()
Overrides
clearClusters()
public ListClustersResponse.Builder clearClusters()
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
clearField(Descriptors.FieldDescriptor field)
public ListClustersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMissingZones()
public ListClustersResponse.Builder clearMissingZones()
If any zones are listed here, the list of clusters returned
may be missing those zones.
repeated string missing_zones = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListClustersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListClustersResponse.Builder clone()
Overrides
getClusters(int index)
public Cluster getClusters(int index)
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
Parameter |
---|
Name | Description |
index | int
|
getClustersBuilder(int index)
public Cluster.Builder getClustersBuilder(int index)
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
Parameter |
---|
Name | Description |
index | int
|
getClustersBuilderList()
public List<Cluster.Builder> getClustersBuilderList()
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
getClustersCount()
public int getClustersCount()
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
Returns |
---|
Type | Description |
int | |
getClustersList()
public List<Cluster> getClustersList()
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
getClustersOrBuilder(int index)
public ClusterOrBuilder getClustersOrBuilder(int index)
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
Parameter |
---|
Name | Description |
index | int
|
getClustersOrBuilderList()
public List<? extends ClusterOrBuilder> getClustersOrBuilderList()
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
Returns |
---|
Type | Description |
List<? extends com.google.container.v1.ClusterOrBuilder> | |
getDefaultInstanceForType()
public ListClustersResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMissingZones(int index)
public String getMissingZones(int index)
If any zones are listed here, the list of clusters returned
may be missing those zones.
repeated string missing_zones = 2;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The missingZones at the given index.
|
getMissingZonesBytes(int index)
public ByteString getMissingZonesBytes(int index)
If any zones are listed here, the list of clusters returned
may be missing those zones.
repeated string missing_zones = 2;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the missingZones at the given index.
|
getMissingZonesCount()
public int getMissingZonesCount()
If any zones are listed here, the list of clusters returned
may be missing those zones.
repeated string missing_zones = 2;
Returns |
---|
Type | Description |
int | The count of missingZones.
|
getMissingZonesList()
public ProtocolStringList getMissingZonesList()
If any zones are listed here, the list of clusters returned
may be missing those zones.
repeated string missing_zones = 2;
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListClustersResponse other)
public ListClustersResponse.Builder mergeFrom(ListClustersResponse other)
public ListClustersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListClustersResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListClustersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeClusters(int index)
public ListClustersResponse.Builder removeClusters(int index)
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
Parameter |
---|
Name | Description |
index | int
|
setClusters(int index, Cluster value)
public ListClustersResponse.Builder setClusters(int index, Cluster value)
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
setClusters(int index, Cluster.Builder builderForValue)
public ListClustersResponse.Builder setClusters(int index, Cluster.Builder builderForValue)
A list of clusters in the project in the specified zone, or
across all ones.
repeated .google.container.v1.Cluster clusters = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListClustersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMissingZones(int index, String value)
public ListClustersResponse.Builder setMissingZones(int index, String value)
If any zones are listed here, the list of clusters returned
may be missing those zones.
repeated string missing_zones = 2;
Parameters |
---|
Name | Description |
index | int
The index to set the value at.
|
value | String
The missingZones to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListClustersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListClustersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides