- 4.52.0 (latest)
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListBatchesResponse.BuilderImplements
ListBatchesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
addAllUnreachable(Iterable<String> values)
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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
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 | |
---|---|
Name | Description |
builderForValue |
Batch.Builder |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
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 |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
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 | |
---|---|
Name | Description |
index |
int |
builderForValue |
Batch.Builder |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
addBatchesBuilder()
public Batch.Builder addBatchesBuilder()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Returns | |
---|---|
Type | Description |
Batch.Builder |
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 |
Returns | |
---|---|
Type | Description |
Batch.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBatchesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
addUnreachable(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListBatchesResponse.Builder addUnreachableBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
This builder for chaining. |
build()
public ListBatchesResponse build()
Returns | |
---|---|
Type | Description |
ListBatchesResponse |
buildPartial()
public ListBatchesResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListBatchesResponse |
clear()
public ListBatchesResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
clearBatches()
public ListBatchesResponse.Builder clearBatches()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListBatchesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
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 | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBatchesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
clearUnreachable()
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];
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
This builder for chaining. |
clone()
public ListBatchesResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
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 |
Returns | |
---|---|
Type | Description |
Batch.Builder |
getBatchesBuilderList()
public List<Batch.Builder> getBatchesBuilderList()
The batches from the specified collection.
repeated .google.cloud.dataproc.v1.Batch batches = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
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;
Returns | |
---|---|
Type | Description |
List<Batch> |
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 |
Returns | |
---|---|
Type | Description |
BatchOrBuilder |
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 | |
---|---|
Type | Description |
ListBatchesResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
getUnreachable(int index)
public 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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public 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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public 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];
Returns | |
---|---|
Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public 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];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListBatchesResponse other)
public ListBatchesResponse.Builder mergeFrom(ListBatchesResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListBatchesResponse |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListBatchesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListBatchesResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBatchesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
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 |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
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 |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
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 | |
---|---|
Name | Description |
index |
int |
builderForValue |
Batch.Builder |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListBatchesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
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 | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBatchesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBatchesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
setUnreachable(int index, String value)
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];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The unreachable to set. |
Returns | |
---|---|
Type | Description |
ListBatchesResponse.Builder |
This builder for chaining. |