Class ListBatchesResponse (4.0.2)

Stay organized with collections Save and categorize content based on your preferences.
public final class ListBatchesResponse extends GeneratedMessageV3 implements ListBatchesResponseOrBuilder

A list of batch workloads.

Protobuf type google.cloud.dataproc.v1.ListBatchesResponse

Static Fields

BATCHES_FIELD_NUMBER

public static final int BATCHES_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListBatchesResponse getDefaultInstance()
Returns
TypeDescription
ListBatchesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListBatchesResponse.Builder newBuilder()
Returns
TypeDescription
ListBatchesResponse.Builder

newBuilder(ListBatchesResponse prototype)

public static ListBatchesResponse.Builder newBuilder(ListBatchesResponse prototype)
Parameter
NameDescription
prototypeListBatchesResponse
Returns
TypeDescription
ListBatchesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListBatchesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListBatchesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListBatchesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBatchesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListBatchesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListBatchesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListBatchesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBatchesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListBatchesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListBatchesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListBatchesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBatchesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListBatchesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListBatchesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListBatchesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBatchesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListBatchesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListBatchesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListBatchesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBatchesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListBatchesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListBatchesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListBatchesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBatchesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListBatchesResponse> parser()
Returns
TypeDescription
Parser<ListBatchesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBatches(int index)

public Batch getBatches(int index)

The batches from the specified collection.

repeated .google.cloud.dataproc.v1.Batch batches = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Batch

getBatchesCount()

public int getBatchesCount()

The batches from the specified collection.

repeated .google.cloud.dataproc.v1.Batch batches = 1;

Returns
TypeDescription
int

getBatchesList()

public List<Batch> getBatchesList()

The batches from the specified collection.

repeated .google.cloud.dataproc.v1.Batch batches = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BatchOrBuilder

getBatchesOrBuilderList()

public List<? extends BatchOrBuilder> getBatchesOrBuilderList()

The batches from the specified collection.

repeated .google.cloud.dataproc.v1.Batch batches = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dataproc.v1.BatchOrBuilder>

getDefaultInstanceForType()

public ListBatchesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListBatchesResponse

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListBatchesResponse> getParserForType()
Returns
TypeDescription
Parser<ListBatchesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListBatchesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListBatchesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListBatchesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListBatchesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListBatchesResponse.Builder toBuilder()
Returns
TypeDescription
ListBatchesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException