Package com.google.container.v1
Class ListClustersResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListClustersResponse.Builder>
com.google.container.v1.ListClustersResponse.Builder
- All Implemented Interfaces:
ListClustersResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListClustersResponse
public static final class ListClustersResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListClustersResponse.Builder>
implements ListClustersResponseOrBuilder
ListClustersResponse is the result of ListClustersRequest.Protobuf type
google.container.v1.ListClustersResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllClusters(Iterable<? extends Cluster> values) A list of clusters in the project in the specified zone, or across all ones.addAllMissingZones(Iterable<String> values) If any zones are listed here, the list of clusters returned may be missing those zones.addClusters(int index, Cluster value) A list of clusters in the project in the specified zone, or across all ones.addClusters(int index, Cluster.Builder builderForValue) A list of clusters in the project in the specified zone, or across all ones.addClusters(Cluster value) A list of clusters in the project in the specified zone, or across all ones.addClusters(Cluster.Builder builderForValue) A list of clusters in the project in the specified zone, or across all ones.A list of clusters in the project in the specified zone, or across all ones.addClustersBuilder(int index) A list of clusters in the project in the specified zone, or across all ones.addMissingZones(String value) If any zones are listed here, the list of clusters returned may be missing those zones.addMissingZonesBytes(com.google.protobuf.ByteString value) If any zones are listed here, the list of clusters returned may be missing those zones.build()clear()A list of clusters in the project in the specified zone, or across all ones.If any zones are listed here, the list of clusters returned may be missing those zones.getClusters(int index) A list of clusters in the project in the specified zone, or across all ones.getClustersBuilder(int index) A list of clusters in the project in the specified zone, or across all ones.A list of clusters in the project in the specified zone, or across all ones.intA list of clusters in the project in the specified zone, or across all ones.A list of clusters in the project in the specified zone, or across all ones.getClustersOrBuilder(int index) A list of clusters in the project in the specified zone, or across all ones.List<? extends ClusterOrBuilder>A list of clusters in the project in the specified zone, or across all ones.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetMissingZones(int index) If any zones are listed here, the list of clusters returned may be missing those zones.com.google.protobuf.ByteStringgetMissingZonesBytes(int index) If any zones are listed here, the list of clusters returned may be missing those zones.intIf any zones are listed here, the list of clusters returned may be missing those zones.com.google.protobuf.ProtocolStringListIf any zones are listed here, the list of clusters returned may be missing those zones.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListClustersResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeClusters(int index) A list of clusters in the project in the specified zone, or across all ones.setClusters(int index, Cluster value) A list of clusters in the project in the specified zone, or across all ones.setClusters(int index, Cluster.Builder builderForValue) A list of clusters in the project in the specified zone, or across all ones.setMissingZones(int index, String value) If any zones are listed here, the list of clusters returned may be missing those zones.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListClustersResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListClustersResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListClustersResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListClustersResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListClustersResponse.Builder>
-
mergeFrom
public ListClustersResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListClustersResponse.Builder>- Throws:
IOException
-
getClustersList
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1;- Specified by:
getClustersListin interfaceListClustersResponseOrBuilder
-
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;- Specified by:
getClustersCountin interfaceListClustersResponseOrBuilder
-
getClusters
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1;- Specified by:
getClustersin interfaceListClustersResponseOrBuilder
-
setClusters
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1; -
setClusters
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1; -
addClusters
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1; -
addClusters
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1; -
addClusters
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1; -
addClusters
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1; -
addAllClusters
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1; -
clearClusters
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1; -
removeClusters
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1; -
getClustersBuilder
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1; -
getClustersOrBuilder
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1;- Specified by:
getClustersOrBuilderin interfaceListClustersResponseOrBuilder
-
getClustersOrBuilderList
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1;- Specified by:
getClustersOrBuilderListin interfaceListClustersResponseOrBuilder
-
addClustersBuilder
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1; -
addClustersBuilder
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1; -
getClustersBuilderList
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1.Cluster clusters = 1; -
getMissingZonesList
public com.google.protobuf.ProtocolStringList getMissingZonesList()If any zones are listed here, the list of clusters returned may be missing those zones.
repeated string missing_zones = 2;- Specified by:
getMissingZonesListin interfaceListClustersResponseOrBuilder- Returns:
- A list containing the missingZones.
-
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;- Specified by:
getMissingZonesCountin interfaceListClustersResponseOrBuilder- Returns:
- The count of missingZones.
-
getMissingZones
If any zones are listed here, the list of clusters returned may be missing those zones.
repeated string missing_zones = 2;- Specified by:
getMissingZonesin interfaceListClustersResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The missingZones at the given index.
-
getMissingZonesBytes
public com.google.protobuf.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;- Specified by:
getMissingZonesBytesin interfaceListClustersResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the missingZones at the given index.
-
setMissingZones
If any zones are listed here, the list of clusters returned may be missing those zones.
repeated string missing_zones = 2;- Parameters:
index- The index to set the value at.value- The missingZones to set.- Returns:
- This builder for chaining.
-
addMissingZones
If any zones are listed here, the list of clusters returned may be missing those zones.
repeated string missing_zones = 2;- Parameters:
value- The missingZones to add.- Returns:
- This builder for chaining.
-
addAllMissingZones
If any zones are listed here, the list of clusters returned may be missing those zones.
repeated string missing_zones = 2;- Parameters:
values- The missingZones to add.- Returns:
- This builder for chaining.
-
clearMissingZones
If any zones are listed here, the list of clusters returned may be missing those zones.
repeated string missing_zones = 2;- Returns:
- This builder for chaining.
-
addMissingZonesBytes
If any zones are listed here, the list of clusters returned may be missing those zones.
repeated string missing_zones = 2;- Parameters:
value- The bytes of the missingZones to add.- Returns:
- This builder for chaining.
-