Class ListMigrationSubtasksResponse (0.39.0)

public final class ListMigrationSubtasksResponse extends GeneratedMessageV3 implements ListMigrationSubtasksResponseOrBuilder

Response object for a ListMigrationSubtasks call.

Protobuf type google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse

Static Fields

MIGRATION_SUBTASKS_FIELD_NUMBER

public static final int MIGRATION_SUBTASKS_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 ListMigrationSubtasksResponse getDefaultInstance()
Returns
TypeDescription
ListMigrationSubtasksResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListMigrationSubtasksResponse prototype)

public static ListMigrationSubtasksResponse.Builder newBuilder(ListMigrationSubtasksResponse prototype)
Parameter
NameDescription
prototypeListMigrationSubtasksResponse
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListMigrationSubtasksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListMigrationSubtasksResponse

getMigrationSubtasks(int index)

public MigrationSubtask getMigrationSubtasks(int index)

The migration subtasks for the specified task.

repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
MigrationSubtask

getMigrationSubtasksCount()

public int getMigrationSubtasksCount()

The migration subtasks for the specified task.

repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1;

Returns
TypeDescription
int

getMigrationSubtasksList()

public List<MigrationSubtask> getMigrationSubtasksList()

The migration subtasks for the specified task.

repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1;

Returns
TypeDescription
List<MigrationSubtask>

getMigrationSubtasksOrBuilder(int index)

public MigrationSubtaskOrBuilder getMigrationSubtasksOrBuilder(int index)

The migration subtasks for the specified task.

repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
MigrationSubtaskOrBuilder

getMigrationSubtasksOrBuilderList()

public List<? extends MigrationSubtaskOrBuilder> getMigrationSubtasksOrBuilderList()

The migration subtasks for the specified task.

repeated .google.cloud.bigquery.migration.v2alpha.MigrationSubtask migration_subtasks = 1;

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.migration.v2alpha.MigrationSubtaskOrBuilder>

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<ListMigrationSubtasksResponse> getParserForType()
Returns
TypeDescription
Parser<ListMigrationSubtasksResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 ListMigrationSubtasksResponse.Builder newBuilderForType()
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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