Class ListMigrationSubtasksResponse.Builder (0.54.0)

public static final class ListMigrationSubtasksResponse.Builder extends GeneratedMessageV3.Builder<ListMigrationSubtasksResponse.Builder> implements ListMigrationSubtasksResponseOrBuilder

Response object for a ListMigrationSubtasks call.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllMigrationSubtasks(Iterable<? extends MigrationSubtask> values)

public ListMigrationSubtasksResponse.Builder addAllMigrationSubtasks(Iterable<? extends MigrationSubtask> values)

The migration subtasks for the specified task.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.migration.v2alpha.MigrationSubtask>
Returns
Type Description
ListMigrationSubtasksResponse.Builder

addMigrationSubtasks(MigrationSubtask value)

public ListMigrationSubtasksResponse.Builder addMigrationSubtasks(MigrationSubtask value)

The migration subtasks for the specified task.

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

Parameter
Name Description
value MigrationSubtask
Returns
Type Description
ListMigrationSubtasksResponse.Builder

addMigrationSubtasks(MigrationSubtask.Builder builderForValue)

public ListMigrationSubtasksResponse.Builder addMigrationSubtasks(MigrationSubtask.Builder builderForValue)

The migration subtasks for the specified task.

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

Parameter
Name Description
builderForValue MigrationSubtask.Builder
Returns
Type Description
ListMigrationSubtasksResponse.Builder

addMigrationSubtasks(int index, MigrationSubtask value)

public ListMigrationSubtasksResponse.Builder addMigrationSubtasks(int index, MigrationSubtask value)

The migration subtasks for the specified task.

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

Parameters
Name Description
index int
value MigrationSubtask
Returns
Type Description
ListMigrationSubtasksResponse.Builder

addMigrationSubtasks(int index, MigrationSubtask.Builder builderForValue)

public ListMigrationSubtasksResponse.Builder addMigrationSubtasks(int index, MigrationSubtask.Builder builderForValue)

The migration subtasks for the specified task.

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

Parameters
Name Description
index int
builderForValue MigrationSubtask.Builder
Returns
Type Description
ListMigrationSubtasksResponse.Builder

addMigrationSubtasksBuilder()

public MigrationSubtask.Builder addMigrationSubtasksBuilder()

The migration subtasks for the specified task.

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

Returns
Type Description
MigrationSubtask.Builder

addMigrationSubtasksBuilder(int index)

public MigrationSubtask.Builder addMigrationSubtasksBuilder(int index)

The migration subtasks for the specified task.

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

Parameter
Name Description
index int
Returns
Type Description
MigrationSubtask.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListMigrationSubtasksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListMigrationSubtasksResponse.Builder
Overrides

build()

public ListMigrationSubtasksResponse build()
Returns
Type Description
ListMigrationSubtasksResponse

buildPartial()

public ListMigrationSubtasksResponse buildPartial()
Returns
Type Description
ListMigrationSubtasksResponse

clear()

public ListMigrationSubtasksResponse.Builder clear()
Returns
Type Description
ListMigrationSubtasksResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListMigrationSubtasksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListMigrationSubtasksResponse.Builder
Overrides

clearMigrationSubtasks()

public ListMigrationSubtasksResponse.Builder clearMigrationSubtasks()

The migration subtasks for the specified task.

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

Returns
Type Description
ListMigrationSubtasksResponse.Builder

clearNextPageToken()

public ListMigrationSubtasksResponse.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
ListMigrationSubtasksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListMigrationSubtasksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListMigrationSubtasksResponse.Builder
Overrides

clone()

public ListMigrationSubtasksResponse.Builder clone()
Returns
Type Description
ListMigrationSubtasksResponse.Builder
Overrides

getDefaultInstanceForType()

public ListMigrationSubtasksResponse getDefaultInstanceForType()
Returns
Type Description
ListMigrationSubtasksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Name Description
index int
Returns
Type Description
MigrationSubtask

getMigrationSubtasksBuilder(int index)

public MigrationSubtask.Builder getMigrationSubtasksBuilder(int index)

The migration subtasks for the specified task.

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

Parameter
Name Description
index int
Returns
Type Description
MigrationSubtask.Builder

getMigrationSubtasksBuilderList()

public List<MigrationSubtask.Builder> getMigrationSubtasksBuilderList()

The migration subtasks for the specified task.

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

Returns
Type Description
List<Builder>

getMigrationSubtasksCount()

public int getMigrationSubtasksCount()

The migration subtasks for the specified task.

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

Returns
Type Description
int

getMigrationSubtasksList()

public List<MigrationSubtask> getMigrationSubtasksList()

The migration subtasks for the specified task.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListMigrationSubtasksResponse other)

public ListMigrationSubtasksResponse.Builder mergeFrom(ListMigrationSubtasksResponse other)
Parameter
Name Description
other ListMigrationSubtasksResponse
Returns
Type Description
ListMigrationSubtasksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListMigrationSubtasksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMigrationSubtasksResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListMigrationSubtasksResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListMigrationSubtasksResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListMigrationSubtasksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListMigrationSubtasksResponse.Builder
Overrides

removeMigrationSubtasks(int index)

public ListMigrationSubtasksResponse.Builder removeMigrationSubtasks(int index)

The migration subtasks for the specified task.

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

Parameter
Name Description
index int
Returns
Type Description
ListMigrationSubtasksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListMigrationSubtasksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListMigrationSubtasksResponse.Builder
Overrides

setMigrationSubtasks(int index, MigrationSubtask value)

public ListMigrationSubtasksResponse.Builder setMigrationSubtasks(int index, MigrationSubtask value)

The migration subtasks for the specified task.

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

Parameters
Name Description
index int
value MigrationSubtask
Returns
Type Description
ListMigrationSubtasksResponse.Builder

setMigrationSubtasks(int index, MigrationSubtask.Builder builderForValue)

public ListMigrationSubtasksResponse.Builder setMigrationSubtasks(int index, MigrationSubtask.Builder builderForValue)

The migration subtasks for the specified task.

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

Parameters
Name Description
index int
builderForValue MigrationSubtask.Builder
Returns
Type Description
ListMigrationSubtasksResponse.Builder

setNextPageToken(String value)

public ListMigrationSubtasksResponse.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
ListMigrationSubtasksResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListMigrationSubtasksResponse.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
ListMigrationSubtasksResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListMigrationSubtasksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListMigrationSubtasksResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListMigrationSubtasksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListMigrationSubtasksResponse.Builder
Overrides