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.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()
Returns
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>
|
Returns
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
|
Returns
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;
Parameter
Returns
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
Returns
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;
Parameters
Returns
addBatchesBuilder()
public Batch.Builder addBatchesBuilder()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Returns
addBatchesBuilder(int index)
public Batch.Builder addBatchesBuilder(int index)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBatchesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListBatchesResponse build()
Returns
buildPartial()
public ListBatchesResponse buildPartial()
Returns
clear()
public ListBatchesResponse.Builder clear()
Returns
Overrides
clearBatches()
public ListBatchesResponse.Builder clearBatches()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListBatchesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBatchesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListBatchesResponse.Builder clone()
Returns
Overrides
getBatches(int index)
public Batch getBatches(int index)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Parameter
Returns
getBatchesBuilder(int index)
public Batch.Builder getBatchesBuilder(int index)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Parameter
Returns
getBatchesBuilderList()
public List<Batch.Builder> getBatchesBuilderList()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Returns
getBatchesCount()
public int getBatchesCount()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Returns
getBatchesList()
public List<Batch> getBatchesList()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Returns
getBatchesOrBuilder(int index)
public BatchOrBuilder getBatchesOrBuilder(int index)
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Parameter
Returns
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()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListBatchesResponse other)
public ListBatchesResponse.Builder mergeFrom(ListBatchesResponse other)
Parameter
Returns
public ListBatchesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListBatchesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBatchesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListBatchesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBatchesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBatchesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides