Package com.google.container.v1beta1
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.v1beta1.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.v1beta1.ListClustersResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListClustersResponse.Builder
addAllClusters(Iterable<? extends Cluster> values)
A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.Builder
addAllMissingZones(Iterable<String> values)
If any zones are listed here, the list of clusters returned may be missing those zones.ListClustersResponse.Builder
addClusters(int index, Cluster value)
A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.Builder
addClusters(int index, Cluster.Builder builderForValue)
A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.Builder
addClusters(Cluster value)
A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.Builder
addClusters(Cluster.Builder builderForValue)
A list of clusters in the project in the specified zone, or across all ones.Cluster.Builder
addClustersBuilder()
A list of clusters in the project in the specified zone, or across all ones.Cluster.Builder
addClustersBuilder(int index)
A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.Builder
addMissingZones(String value)
If any zones are listed here, the list of clusters returned may be missing those zones.ListClustersResponse.Builder
addMissingZonesBytes(com.google.protobuf.ByteString value)
If any zones are listed here, the list of clusters returned may be missing those zones.ListClustersResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListClustersResponse
build()
ListClustersResponse
buildPartial()
ListClustersResponse.Builder
clear()
ListClustersResponse.Builder
clearClusters()
A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListClustersResponse.Builder
clearMissingZones()
If any zones are listed here, the list of clusters returned may be missing those zones.ListClustersResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListClustersResponse.Builder
clone()
Cluster
getClusters(int index)
A list of clusters in the project in the specified zone, or across all ones.Cluster.Builder
getClustersBuilder(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.int
getClustersCount()
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.ClusterOrBuilder
getClustersOrBuilder(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.ListClustersResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getMissingZones(int index)
If any zones are listed here, the list of clusters returned may be missing those zones.com.google.protobuf.ByteString
getMissingZonesBytes(int index)
If any zones are listed here, the list of clusters returned may be missing those zones.int
getMissingZonesCount()
If any zones are listed here, the list of clusters returned may be missing those zones.com.google.protobuf.ProtocolStringList
getMissingZonesList()
If any zones are listed here, the list of clusters returned may be missing those zones.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListClustersResponse.Builder
mergeFrom(ListClustersResponse other)
ListClustersResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListClustersResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListClustersResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListClustersResponse.Builder
removeClusters(int index)
A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.Builder
setClusters(int index, Cluster value)
A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.Builder
setClusters(int index, Cluster.Builder builderForValue)
A list of clusters in the project in the specified zone, or across all ones.ListClustersResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListClustersResponse.Builder
setMissingZones(int index, String value)
If any zones are listed here, the list of clusters returned may be missing those zones.ListClustersResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListClustersResponse.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
clear
public ListClustersResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
getDefaultInstanceForType
public ListClustersResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListClustersResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListClustersResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListClustersResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
setField
public ListClustersResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
clearField
public ListClustersResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
clearOneof
public ListClustersResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
setRepeatedField
public ListClustersResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
addRepeatedField
public ListClustersResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
mergeFrom
public ListClustersResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListClustersResponse.Builder>
-
mergeFrom
public ListClustersResponse.Builder mergeFrom(ListClustersResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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.v1beta1.Cluster clusters = 1;
- Specified by:
getClustersList
in interfaceListClustersResponseOrBuilder
-
getClustersCount
public int getClustersCount()
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1beta1.Cluster clusters = 1;
- Specified by:
getClustersCount
in 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.v1beta1.Cluster clusters = 1;
- Specified by:
getClusters
in 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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.Cluster clusters = 1;
- Specified by:
getClustersOrBuilder
in 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.v1beta1.Cluster clusters = 1;
- Specified by:
getClustersOrBuilderList
in interfaceListClustersResponseOrBuilder
-
addClustersBuilder
public Cluster.Builder addClustersBuilder()
A list of clusters in the project in the specified zone, or across all ones.
repeated .google.container.v1beta1.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.v1beta1.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.v1beta1.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:
getMissingZonesList
in 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:
getMissingZonesCount
in 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:
getMissingZones
in 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:
getMissingZonesBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
mergeUnknownFields
public final ListClustersResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
-
-