Class ListAttachedClustersResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListAttachedClustersResponse.Builder>
-
- com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.Builder
-
- All Implemented Interfaces:
ListAttachedClustersResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListAttachedClustersResponse
public static final class ListAttachedClustersResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListAttachedClustersResponse.Builder> implements ListAttachedClustersResponseOrBuilder
Response message for `AttachedClusters.ListAttachedClusters` method.
Protobuf typegoogle.cloud.gkemulticloud.v1.ListAttachedClustersResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAttachedClustersResponse.Builder
addAllAttachedClusters(Iterable<? extends AttachedCluster> values)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.ListAttachedClustersResponse.Builder
addAttachedClusters(int index, AttachedCluster value)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.ListAttachedClustersResponse.Builder
addAttachedClusters(int index, AttachedCluster.Builder builderForValue)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.ListAttachedClustersResponse.Builder
addAttachedClusters(AttachedCluster value)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.ListAttachedClustersResponse.Builder
addAttachedClusters(AttachedCluster.Builder builderForValue)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.AttachedCluster.Builder
addAttachedClustersBuilder()
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.AttachedCluster.Builder
addAttachedClustersBuilder(int index)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.ListAttachedClustersResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListAttachedClustersResponse
build()
ListAttachedClustersResponse
buildPartial()
ListAttachedClustersResponse.Builder
clear()
ListAttachedClustersResponse.Builder
clearAttachedClusters()
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.ListAttachedClustersResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListAttachedClustersResponse.Builder
clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results in the list.ListAttachedClustersResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListAttachedClustersResponse.Builder
clone()
AttachedCluster
getAttachedClusters(int index)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.AttachedCluster.Builder
getAttachedClustersBuilder(int index)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.List<AttachedCluster.Builder>
getAttachedClustersBuilderList()
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.int
getAttachedClustersCount()
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.List<AttachedCluster>
getAttachedClustersList()
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.AttachedClusterOrBuilder
getAttachedClustersOrBuilder(int index)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.List<? extends AttachedClusterOrBuilder>
getAttachedClustersOrBuilderList()
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.ListAttachedClustersResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results in the list.com.google.protobuf.ByteString
getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no more results in the list.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListAttachedClustersResponse.Builder
mergeFrom(ListAttachedClustersResponse other)
ListAttachedClustersResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListAttachedClustersResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListAttachedClustersResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListAttachedClustersResponse.Builder
removeAttachedClusters(int index)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.ListAttachedClustersResponse.Builder
setAttachedClusters(int index, AttachedCluster value)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.ListAttachedClustersResponse.Builder
setAttachedClusters(int index, AttachedCluster.Builder builderForValue)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.ListAttachedClustersResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListAttachedClustersResponse.Builder
setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no more results in the list.ListAttachedClustersResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
Token to retrieve the next page of results, or empty if there are no more results in the list.ListAttachedClustersResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListAttachedClustersResponse.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<ListAttachedClustersResponse.Builder>
-
clear
public ListAttachedClustersResponse.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<ListAttachedClustersResponse.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<ListAttachedClustersResponse.Builder>
-
getDefaultInstanceForType
public ListAttachedClustersResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListAttachedClustersResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListAttachedClustersResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListAttachedClustersResponse.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<ListAttachedClustersResponse.Builder>
-
setField
public ListAttachedClustersResponse.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<ListAttachedClustersResponse.Builder>
-
clearField
public ListAttachedClustersResponse.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<ListAttachedClustersResponse.Builder>
-
clearOneof
public ListAttachedClustersResponse.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<ListAttachedClustersResponse.Builder>
-
setRepeatedField
public ListAttachedClustersResponse.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<ListAttachedClustersResponse.Builder>
-
addRepeatedField
public ListAttachedClustersResponse.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<ListAttachedClustersResponse.Builder>
-
mergeFrom
public ListAttachedClustersResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListAttachedClustersResponse.Builder>
-
mergeFrom
public ListAttachedClustersResponse.Builder mergeFrom(ListAttachedClustersResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListAttachedClustersResponse.Builder>
-
mergeFrom
public ListAttachedClustersResponse.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<ListAttachedClustersResponse.Builder>
- Throws:
IOException
-
getAttachedClustersList
public List<AttachedCluster> getAttachedClustersList()
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
- Specified by:
getAttachedClustersList
in interfaceListAttachedClustersResponseOrBuilder
-
getAttachedClustersCount
public int getAttachedClustersCount()
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
- Specified by:
getAttachedClustersCount
in interfaceListAttachedClustersResponseOrBuilder
-
getAttachedClusters
public AttachedCluster getAttachedClusters(int index)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
- Specified by:
getAttachedClusters
in interfaceListAttachedClustersResponseOrBuilder
-
setAttachedClusters
public ListAttachedClustersResponse.Builder setAttachedClusters(int index, AttachedCluster value)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
-
setAttachedClusters
public ListAttachedClustersResponse.Builder setAttachedClusters(int index, AttachedCluster.Builder builderForValue)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
-
addAttachedClusters
public ListAttachedClustersResponse.Builder addAttachedClusters(AttachedCluster value)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
-
addAttachedClusters
public ListAttachedClustersResponse.Builder addAttachedClusters(int index, AttachedCluster value)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
-
addAttachedClusters
public ListAttachedClustersResponse.Builder addAttachedClusters(AttachedCluster.Builder builderForValue)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
-
addAttachedClusters
public ListAttachedClustersResponse.Builder addAttachedClusters(int index, AttachedCluster.Builder builderForValue)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
-
addAllAttachedClusters
public ListAttachedClustersResponse.Builder addAllAttachedClusters(Iterable<? extends AttachedCluster> values)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
-
clearAttachedClusters
public ListAttachedClustersResponse.Builder clearAttachedClusters()
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
-
removeAttachedClusters
public ListAttachedClustersResponse.Builder removeAttachedClusters(int index)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
-
getAttachedClustersBuilder
public AttachedCluster.Builder getAttachedClustersBuilder(int index)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
-
getAttachedClustersOrBuilder
public AttachedClusterOrBuilder getAttachedClustersOrBuilder(int index)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
- Specified by:
getAttachedClustersOrBuilder
in interfaceListAttachedClustersResponseOrBuilder
-
getAttachedClustersOrBuilderList
public List<? extends AttachedClusterOrBuilder> getAttachedClustersOrBuilderList()
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
- Specified by:
getAttachedClustersOrBuilderList
in interfaceListAttachedClustersResponseOrBuilder
-
addAttachedClustersBuilder
public AttachedCluster.Builder addAttachedClustersBuilder()
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
-
addAttachedClustersBuilder
public AttachedCluster.Builder addAttachedClustersBuilder(int index)
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
-
getAttachedClustersBuilderList
public List<AttachedCluster.Builder> getAttachedClustersBuilderList()
A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
-
getNextPageToken
public String getNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
- Specified by:
getNextPageToken
in interfaceListAttachedClustersResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
- Specified by:
getNextPageTokenBytes
in interfaceListAttachedClustersResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListAttachedClustersResponse.Builder setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListAttachedClustersResponse.Builder clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListAttachedClustersResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListAttachedClustersResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListAttachedClustersResponse.Builder>
-
mergeUnknownFields
public final ListAttachedClustersResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListAttachedClustersResponse.Builder>
-
-