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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllBatches(Iterable<? extends Batch> values)
public ListBatchesResponse.Builder addAllBatches(Iterable<? extends Batch> values)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dataproc.v1.Batch>
|
addBatches(Batch value)
public ListBatchesResponse.Builder addBatches(Batch value)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Parameter |
Name |
Description |
value |
Batch
|
addBatches(Batch.Builder builderForValue)
public ListBatchesResponse.Builder addBatches(Batch.Builder builderForValue)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
addBatches(int index, Batch value)
public ListBatchesResponse.Builder addBatches(int index, Batch value)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Batch
|
addBatches(int index, Batch.Builder builderForValue)
public ListBatchesResponse.Builder addBatches(int index, Batch.Builder builderForValue)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
addBatchesBuilder()
public Batch.Builder addBatchesBuilder()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
addBatchesBuilder(int index)
public Batch.Builder addBatchesBuilder(int index)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBatchesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListBatchesResponse build()
buildPartial()
public ListBatchesResponse buildPartial()
clear()
public ListBatchesResponse.Builder clear()
Overrides
clearBatches()
public ListBatchesResponse.Builder clearBatches()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
clearField(Descriptors.FieldDescriptor field)
public ListBatchesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBatchesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListBatchesResponse.Builder clone()
Overrides
getBatches(int index)
public Batch getBatches(int index)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Batch |
|
getBatchesBuilder(int index)
public Batch.Builder getBatchesBuilder(int index)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Parameter |
Name |
Description |
index |
int
|
getBatchesBuilderList()
public List<Batch.Builder> getBatchesBuilderList()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
getBatchesCount()
public int getBatchesCount()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Returns |
Type |
Description |
int |
|
getBatchesList()
public List<Batch> getBatchesList()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
getBatchesOrBuilder(int index)
public BatchOrBuilder getBatchesOrBuilder(int index)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Parameter |
Name |
Description |
index |
int
|
getBatchesOrBuilderList()
public List<? extends BatchOrBuilder> getBatchesOrBuilderList()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.dataproc.v1.BatchOrBuilder> |
|
getDefaultInstanceForType()
public ListBatchesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
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;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
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;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListBatchesResponse other)
public ListBatchesResponse.Builder mergeFrom(ListBatchesResponse other)
public ListBatchesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListBatchesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBatchesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeBatches(int index)
public ListBatchesResponse.Builder removeBatches(int index)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Parameter |
Name |
Description |
index |
int
|
setBatches(int index, Batch value)
public ListBatchesResponse.Builder setBatches(int index, Batch value)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Batch
|
setBatches(int index, Batch.Builder builderForValue)
public ListBatchesResponse.Builder setBatches(int index, Batch.Builder builderForValue)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListBatchesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
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;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBatchesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBatchesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides