public static final class ListBatchesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesResponse.Builder> implements ListBatchesResponseOrBuilder
A list of batch workloads.Protobuf type
google.cloud.dataproc.v1.ListBatchesResponse| Modifier and Type | Method and Description |
|---|---|
ListBatchesResponse.Builder |
addAllBatches(Iterable<? extends Batch> values)
The batches from the specified collection.
|
ListBatchesResponse.Builder |
addAllUnreachable(Iterable<String> values)
Output only.
|
ListBatchesResponse.Builder |
addBatches(Batch.Builder builderForValue)
The batches from the specified collection.
|
ListBatchesResponse.Builder |
addBatches(Batch value)
The batches from the specified collection.
|
ListBatchesResponse.Builder |
addBatches(int index,
Batch.Builder builderForValue)
The batches from the specified collection.
|
ListBatchesResponse.Builder |
addBatches(int index,
Batch value)
The batches from the specified collection.
|
Batch.Builder |
addBatchesBuilder()
The batches from the specified collection.
|
Batch.Builder |
addBatchesBuilder(int index)
The batches from the specified collection.
|
ListBatchesResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListBatchesResponse.Builder |
addUnreachable(String value)
Output only.
|
ListBatchesResponse.Builder |
addUnreachableBytes(com.google.protobuf.ByteString value)
Output only.
|
ListBatchesResponse |
build() |
ListBatchesResponse |
buildPartial() |
ListBatchesResponse.Builder |
clear() |
ListBatchesResponse.Builder |
clearBatches()
The batches from the specified collection.
|
ListBatchesResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListBatchesResponse.Builder |
clearNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.
|
ListBatchesResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListBatchesResponse.Builder |
clearUnreachable()
Output only.
|
ListBatchesResponse.Builder |
clone() |
Batch |
getBatches(int index)
The batches from the specified collection.
|
Batch.Builder |
getBatchesBuilder(int index)
The batches from the specified collection.
|
List<Batch.Builder> |
getBatchesBuilderList()
The batches from the specified collection.
|
int |
getBatchesCount()
The batches from the specified collection.
|
List<Batch> |
getBatchesList()
The batches from the specified collection.
|
BatchOrBuilder |
getBatchesOrBuilder(int index)
The batches from the specified collection.
|
List<? extends BatchOrBuilder> |
getBatchesOrBuilderList()
The batches from the specified collection.
|
ListBatchesResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
A token, which can be sent as `page_token` to retrieve the next page.
|
String |
getUnreachable(int index)
Output only.
|
com.google.protobuf.ByteString |
getUnreachableBytes(int index)
Output only.
|
int |
getUnreachableCount()
Output only.
|
com.google.protobuf.ProtocolStringList |
getUnreachableList()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListBatchesResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListBatchesResponse.Builder |
mergeFrom(ListBatchesResponse other) |
ListBatchesResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListBatchesResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListBatchesResponse.Builder |
removeBatches(int index)
The batches from the specified collection.
|
ListBatchesResponse.Builder |
setBatches(int index,
Batch.Builder builderForValue)
The batches from the specified collection.
|
ListBatchesResponse.Builder |
setBatches(int index,
Batch value)
The batches from the specified collection.
|
ListBatchesResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListBatchesResponse.Builder |
setNextPageToken(String value)
A token, which can be sent as `page_token` to retrieve the next page.
|
ListBatchesResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as `page_token` to retrieve the next page.
|
ListBatchesResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListBatchesResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListBatchesResponse.Builder |
setUnreachable(int index,
String value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesResponse.Builder>public ListBatchesResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesResponse.Builder>public ListBatchesResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListBatchesResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListBatchesResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListBatchesResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesResponse.Builder>public ListBatchesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesResponse.Builder>public ListBatchesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesResponse.Builder>public ListBatchesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesResponse.Builder>public ListBatchesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesResponse.Builder>public ListBatchesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesResponse.Builder>public ListBatchesResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListBatchesResponse.Builder>public ListBatchesResponse.Builder mergeFrom(ListBatchesResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesResponse.Builder>public ListBatchesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListBatchesResponse.Builder>IOExceptionpublic List<Batch> getBatchesList()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;getBatchesList in interface ListBatchesResponseOrBuilderpublic int getBatchesCount()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;getBatchesCount in interface ListBatchesResponseOrBuilderpublic Batch getBatches(int index)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;getBatches in interface ListBatchesResponseOrBuilderpublic 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 ListBatchesResponseOrBuilderpublic List<? extends BatchOrBuilder> getBatchesOrBuilderList()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;getBatchesOrBuilderList in interface ListBatchesResponseOrBuilderpublic 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 ListBatchesResponseOrBuilderpublic com.google.protobuf.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 ListBatchesResponseOrBuilderpublic 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(com.google.protobuf.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 com.google.protobuf.ProtocolStringList getUnreachableList()
Output only. List of Batches that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getUnreachableList in interface ListBatchesResponseOrBuilderpublic int getUnreachableCount()
Output only. List of Batches that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getUnreachableCount in interface ListBatchesResponseOrBuilderpublic String getUnreachable(int index)
Output only. List of Batches that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getUnreachable in interface ListBatchesResponseOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getUnreachableBytes(int index)
Output only. List of Batches that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getUnreachableBytes in interface ListBatchesResponseOrBuilderindex - The index of the value to return.public ListBatchesResponse.Builder setUnreachable(int index, String value)
Output only. List of Batches that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];index - The index to set the value at.value - The unreachable to set.public ListBatchesResponse.Builder addUnreachable(String value)
Output only. List of Batches that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The unreachable to add.public ListBatchesResponse.Builder addAllUnreachable(Iterable<String> values)
Output only. List of Batches that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];values - The unreachable to add.public ListBatchesResponse.Builder clearUnreachable()
Output only. List of Batches that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public ListBatchesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Output only. List of Batches that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes of the unreachable to add.public final ListBatchesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesResponse.Builder>public final ListBatchesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesResponse.Builder>Copyright © 2024 Google LLC. All rights reserved.