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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ListClustersResponse.Builder> implements ListClustersResponseOrBuilder
ListClustersResponse is the result of ListClustersRequest.
Protobuf typegoogle.container.v1.ListClustersResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListClustersResponse.BuilderaddAllClusters(Iterable<? extends Cluster> values)A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.BuilderaddAllMissingZones(Iterable<String> values)If any zones are listed here, the list of clusters returned may be missing those zones.ListClustersResponse.BuilderaddClusters(int index, Cluster value)A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.BuilderaddClusters(int index, Cluster.Builder builderForValue)A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.BuilderaddClusters(Cluster value)A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.BuilderaddClusters(Cluster.Builder builderForValue)A list of clusters in the project in the specified zone, or across all ones.Cluster.BuilderaddClustersBuilder()A list of clusters in the project in the specified zone, or across all ones.Cluster.BuilderaddClustersBuilder(int index)A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.BuilderaddMissingZones(String value)If any zones are listed here, the list of clusters returned may be missing those zones.ListClustersResponse.BuilderaddMissingZonesBytes(com.google.protobuf.ByteString value)If any zones are listed here, the list of clusters returned may be missing those zones.ListClustersResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListClustersResponsebuild()ListClustersResponsebuildPartial()ListClustersResponse.Builderclear()ListClustersResponse.BuilderclearClusters()A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListClustersResponse.BuilderclearMissingZones()If any zones are listed here, the list of clusters returned may be missing those zones.ListClustersResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListClustersResponse.Builderclone()ClustergetClusters(int index)A list of clusters in the project in the specified zone, or across all ones.Cluster.BuildergetClustersBuilder(int index)A list of clusters in the project in the specified zone, or across all ones.List<Cluster.Builder>getClustersBuilderList()A list of clusters in the project in the specified zone, or across all ones.intgetClustersCount()A list of clusters in the project in the specified zone, or across all ones.List<Cluster>getClustersList()A list of clusters in the project in the specified zone, or across all ones.ClusterOrBuildergetClustersOrBuilder(int index)A list of clusters in the project in the specified zone, or across all ones.List<? extends ClusterOrBuilder>getClustersOrBuilderList()A list of clusters in the project in the specified zone, or across all ones.ListClustersResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetMissingZones(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.intgetMissingZonesCount()If any zones are listed here, the list of clusters returned may be missing those zones.com.google.protobuf.ProtocolStringListgetMissingZonesList()If any zones are listed here, the list of clusters returned may be missing those zones.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListClustersResponse.BuildermergeFrom(ListClustersResponse other)ListClustersResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListClustersResponse.BuildermergeFrom(com.google.protobuf.Message other)ListClustersResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListClustersResponse.BuilderremoveClusters(int index)A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.BuildersetClusters(int index, Cluster value)A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.BuildersetClusters(int index, Cluster.Builder builderForValue)A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListClustersResponse.BuildersetMissingZones(int index, String value)If any zones are listed here, the list of clusters returned may be missing those zones.ListClustersResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListClustersResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
clear
public ListClustersResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
getDefaultInstanceForType
public ListClustersResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListClustersResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListClustersResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListClustersResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
setField
public ListClustersResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
clearField
public ListClustersResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
clearOneof
public ListClustersResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
setRepeatedField
public ListClustersResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
addRepeatedField
public ListClustersResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
mergeFrom
public ListClustersResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListClustersResponse.Builder>
-
mergeFrom
public ListClustersResponse.Builder mergeFrom(ListClustersResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
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;- 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
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;- Specified by:
getClustersin interfaceListClustersResponseOrBuilder
-
setClusters
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
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;
-
addClusters
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;
-
addClusters
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
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
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;
-
addAllClusters
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;
-
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;
-
removeClusters
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;
-
getClustersBuilder
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;
-
getClustersOrBuilder
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;- Specified by:
getClustersOrBuilderin interfaceListClustersResponseOrBuilder
-
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;- Specified by:
getClustersOrBuilderListin interfaceListClustersResponseOrBuilder
-
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
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;
-
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;
-
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
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;- 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
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:
index- The index to set the value at.value- The missingZones to set.- Returns:
- This builder for chaining.
-
addMissingZones
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;- Parameters:
value- The missingZones to add.- Returns:
- This builder for chaining.
-
addAllMissingZones
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;- Parameters:
values- The missingZones to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
addMissingZonesBytes
public ListClustersResponse.Builder addMissingZonesBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final ListClustersResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
mergeUnknownFields
public final ListClustersResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
-