Class ListMigrationWorkflowsResponse.Builder (0.86.0)

public static final class ListMigrationWorkflowsResponse.Builder extends GeneratedMessage.Builder<ListMigrationWorkflowsResponse.Builder> implements ListMigrationWorkflowsResponseOrBuilder

Response object for a ListMigrationWorkflows call.

Protobuf type google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse

Static Methods

getDescriptor()

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

Methods

addAllMigrationWorkflows(Iterable<? extends MigrationWorkflow> values)

public ListMigrationWorkflowsResponse.Builder addAllMigrationWorkflows(Iterable<? extends MigrationWorkflow> values)

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.migration.v2.MigrationWorkflow>
Returns
Type Description
ListMigrationWorkflowsResponse.Builder

addMigrationWorkflows(MigrationWorkflow value)

public ListMigrationWorkflowsResponse.Builder addMigrationWorkflows(MigrationWorkflow value)

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Parameter
Name Description
value MigrationWorkflow
Returns
Type Description
ListMigrationWorkflowsResponse.Builder

addMigrationWorkflows(MigrationWorkflow.Builder builderForValue)

public ListMigrationWorkflowsResponse.Builder addMigrationWorkflows(MigrationWorkflow.Builder builderForValue)

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Parameter
Name Description
builderForValue MigrationWorkflow.Builder
Returns
Type Description
ListMigrationWorkflowsResponse.Builder

addMigrationWorkflows(int index, MigrationWorkflow value)

public ListMigrationWorkflowsResponse.Builder addMigrationWorkflows(int index, MigrationWorkflow value)

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Parameters
Name Description
index int
value MigrationWorkflow
Returns
Type Description
ListMigrationWorkflowsResponse.Builder

addMigrationWorkflows(int index, MigrationWorkflow.Builder builderForValue)

public ListMigrationWorkflowsResponse.Builder addMigrationWorkflows(int index, MigrationWorkflow.Builder builderForValue)

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Parameters
Name Description
index int
builderForValue MigrationWorkflow.Builder
Returns
Type Description
ListMigrationWorkflowsResponse.Builder

addMigrationWorkflowsBuilder()

public MigrationWorkflow.Builder addMigrationWorkflowsBuilder()

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Returns
Type Description
MigrationWorkflow.Builder

addMigrationWorkflowsBuilder(int index)

public MigrationWorkflow.Builder addMigrationWorkflowsBuilder(int index)

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Parameter
Name Description
index int
Returns
Type Description
MigrationWorkflow.Builder

build()

public ListMigrationWorkflowsResponse build()
Returns
Type Description
ListMigrationWorkflowsResponse

buildPartial()

public ListMigrationWorkflowsResponse buildPartial()
Returns
Type Description
ListMigrationWorkflowsResponse

clear()

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

clearMigrationWorkflows()

public ListMigrationWorkflowsResponse.Builder clearMigrationWorkflows()

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Returns
Type Description
ListMigrationWorkflowsResponse.Builder

clearNextPageToken()

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

This builder for chaining.

getDefaultInstanceForType()

public ListMigrationWorkflowsResponse getDefaultInstanceForType()
Returns
Type Description
ListMigrationWorkflowsResponse

getDescriptorForType()

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

getMigrationWorkflows(int index)

public MigrationWorkflow getMigrationWorkflows(int index)

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Parameter
Name Description
index int
Returns
Type Description
MigrationWorkflow

getMigrationWorkflowsBuilder(int index)

public MigrationWorkflow.Builder getMigrationWorkflowsBuilder(int index)

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Parameter
Name Description
index int
Returns
Type Description
MigrationWorkflow.Builder

getMigrationWorkflowsBuilderList()

public List<MigrationWorkflow.Builder> getMigrationWorkflowsBuilderList()

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Returns
Type Description
List<Builder>

getMigrationWorkflowsCount()

public int getMigrationWorkflowsCount()

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Returns
Type Description
int

getMigrationWorkflowsList()

public List<MigrationWorkflow> getMigrationWorkflowsList()

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Returns
Type Description
List<MigrationWorkflow>

getMigrationWorkflowsOrBuilder(int index)

public MigrationWorkflowOrBuilder getMigrationWorkflowsOrBuilder(int index)

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Parameter
Name Description
index int
Returns
Type Description
MigrationWorkflowOrBuilder

getMigrationWorkflowsOrBuilderList()

public List<? extends MigrationWorkflowOrBuilder> getMigrationWorkflowsOrBuilderList()

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Returns
Type Description
List<? extends com.google.cloud.bigquery.migration.v2.MigrationWorkflowOrBuilder>

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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListMigrationWorkflowsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeMigrationWorkflows(int index)

public ListMigrationWorkflowsResponse.Builder removeMigrationWorkflows(int index)

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Parameter
Name Description
index int
Returns
Type Description
ListMigrationWorkflowsResponse.Builder

setMigrationWorkflows(int index, MigrationWorkflow value)

public ListMigrationWorkflowsResponse.Builder setMigrationWorkflows(int index, MigrationWorkflow value)

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Parameters
Name Description
index int
value MigrationWorkflow
Returns
Type Description
ListMigrationWorkflowsResponse.Builder

setMigrationWorkflows(int index, MigrationWorkflow.Builder builderForValue)

public ListMigrationWorkflowsResponse.Builder setMigrationWorkflows(int index, MigrationWorkflow.Builder builderForValue)

The migration workflows for the specified project / location.

repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;

Parameters
Name Description
index int
builderForValue MigrationWorkflow.Builder
Returns
Type Description
ListMigrationWorkflowsResponse.Builder

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.