Class ListMigrationSubtasksResponse.Builder (0.30.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.v2.ListMigrationSubtasksResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v2.MigrationSubtask migration_subtasks = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.migration.v2.MigrationSubtask>
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder

addMigrationSubtasks(MigrationSubtask value)

public ListMigrationSubtasksResponse.Builder addMigrationSubtasks(MigrationSubtask value)

The migration subtasks for the specified task.

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

Parameter
NameDescription
valueMigrationSubtask
Returns
TypeDescription
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.v2.MigrationSubtask migration_subtasks = 1;

Parameter
NameDescription
builderForValueMigrationSubtask.Builder
Returns
TypeDescription
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.v2.MigrationSubtask migration_subtasks = 1;

Parameters
NameDescription
indexint
valueMigrationSubtask
Returns
TypeDescription
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.v2.MigrationSubtask migration_subtasks = 1;

Parameters
NameDescription
indexint
builderForValueMigrationSubtask.Builder
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder

addMigrationSubtasksBuilder()

public MigrationSubtask.Builder addMigrationSubtasksBuilder()

The migration subtasks for the specified task.

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

Returns
TypeDescription
MigrationSubtask.Builder

addMigrationSubtasksBuilder(int index)

public MigrationSubtask.Builder addMigrationSubtasksBuilder(int index)

The migration subtasks for the specified task.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MigrationSubtask.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListMigrationSubtasksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder
Overrides

build()

public ListMigrationSubtasksResponse build()
Returns
TypeDescription
ListMigrationSubtasksResponse

buildPartial()

public ListMigrationSubtasksResponse buildPartial()
Returns
TypeDescription
ListMigrationSubtasksResponse

clear()

public ListMigrationSubtasksResponse.Builder clear()
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListMigrationSubtasksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder
Overrides

clearMigrationSubtasks()

public ListMigrationSubtasksResponse.Builder clearMigrationSubtasks()

The migration subtasks for the specified task.

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

Returns
TypeDescription
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
TypeDescription
ListMigrationSubtasksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListMigrationSubtasksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder
Overrides

clone()

public ListMigrationSubtasksResponse.Builder clone()
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder
Overrides

getDefaultInstanceForType()

public ListMigrationSubtasksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListMigrationSubtasksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMigrationSubtasks(int index)

public MigrationSubtask getMigrationSubtasks(int index)

The migration subtasks for the specified task.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MigrationSubtask

getMigrationSubtasksBuilder(int index)

public MigrationSubtask.Builder getMigrationSubtasksBuilder(int index)

The migration subtasks for the specified task.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MigrationSubtask.Builder

getMigrationSubtasksBuilderList()

public List<MigrationSubtask.Builder> getMigrationSubtasksBuilderList()

The migration subtasks for the specified task.

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

Returns
TypeDescription
List<Builder>

getMigrationSubtasksCount()

public int getMigrationSubtasksCount()

The migration subtasks for the specified task.

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

Returns
TypeDescription
int

getMigrationSubtasksList()

public List<MigrationSubtask> getMigrationSubtasksList()

The migration subtasks for the specified task.

repeated .google.cloud.bigquery.migration.v2.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.v2.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.v2.MigrationSubtask migration_subtasks = 1;

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.migration.v2.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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListMigrationSubtasksResponse other)

public ListMigrationSubtasksResponse.Builder mergeFrom(ListMigrationSubtasksResponse other)
Parameter
NameDescription
otherListMigrationSubtasksResponse
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListMigrationSubtasksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListMigrationSubtasksResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListMigrationSubtasksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder
Overrides

removeMigrationSubtasks(int index)

public ListMigrationSubtasksResponse.Builder removeMigrationSubtasks(int index)

The migration subtasks for the specified task.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListMigrationSubtasksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v2.MigrationSubtask migration_subtasks = 1;

Parameters
NameDescription
indexint
valueMigrationSubtask
Returns
TypeDescription
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.v2.MigrationSubtask migration_subtasks = 1;

Parameters
NameDescription
indexint
builderForValueMigrationSubtask.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListMigrationSubtasksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListMigrationSubtasksResponse.Builder
Overrides