public static final class ListBatchesResponse.Builder extends GeneratedMessageV3.Builder<ListBatchesResponse.Builder> implements ListBatchesResponseOrBuilder
A list of batch workloads.Protobuf type
google.cloud.dataproc.v1.ListBatchesResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListBatchesResponse.Builder>
public ListBatchesResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListBatchesResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListBatchesResponse.Builder>
public ListBatchesResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListBatchesResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListBatchesResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListBatchesResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListBatchesResponse.Builder>
public ListBatchesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListBatchesResponse.Builder>
public ListBatchesResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListBatchesResponse.Builder>
public ListBatchesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListBatchesResponse.Builder>
public ListBatchesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListBatchesResponse.Builder>
public ListBatchesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListBatchesResponse.Builder>
public ListBatchesResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListBatchesResponse.Builder>
public ListBatchesResponse.Builder mergeFrom(ListBatchesResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListBatchesResponse.Builder>
public ListBatchesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListBatchesResponse.Builder>
IOException
public List<Batch> getBatchesList()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
getBatchesList
in interface ListBatchesResponseOrBuilder
public int getBatchesCount()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
getBatchesCount
in interface ListBatchesResponseOrBuilder
public Batch getBatches(int index)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
getBatches
in interface ListBatchesResponseOrBuilder
public ListBatchesResponse.Builder setBatches(int index, Batch value)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
public ListBatchesResponse.Builder setBatches(int index, Batch.Builder builderForValue)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
public ListBatchesResponse.Builder addBatches(Batch value)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
public ListBatchesResponse.Builder addBatches(int index, Batch value)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
public ListBatchesResponse.Builder addBatches(Batch.Builder builderForValue)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
public ListBatchesResponse.Builder addBatches(int index, Batch.Builder builderForValue)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
public ListBatchesResponse.Builder addAllBatches(Iterable<? extends Batch> values)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
public ListBatchesResponse.Builder clearBatches()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
public ListBatchesResponse.Builder removeBatches(int index)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
public Batch.Builder getBatchesBuilder(int index)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
public BatchOrBuilder getBatchesOrBuilder(int index)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
getBatchesOrBuilder
in interface ListBatchesResponseOrBuilder
public List<? extends BatchOrBuilder> getBatchesOrBuilderList()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
getBatchesOrBuilderList
in interface ListBatchesResponseOrBuilder
public Batch.Builder addBatchesBuilder()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
public Batch.Builder addBatchesBuilder(int index)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
public List<Batch.Builder> getBatchesBuilderList()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
public String getNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
getNextPageToken
in interface ListBatchesResponseOrBuilder
public ByteString getNextPageTokenBytes()
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListBatchesResponseOrBuilder
public ListBatchesResponse.Builder setNextPageToken(String value)
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
value
- The nextPageToken to set.public ListBatchesResponse.Builder clearNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
public ListBatchesResponse.Builder setNextPageTokenBytes(ByteString value)
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public final ListBatchesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListBatchesResponse.Builder>
public final ListBatchesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListBatchesResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.