Class ListMigrationWorkflowsResponse.Builder (0.14.0)

public static final class ListMigrationWorkflowsResponse.Builder extends GeneratedMessageV3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.migration.v2.MigrationWorkflow>
Returns
TypeDescription
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
NameDescription
valueMigrationWorkflow
Returns
TypeDescription
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
NameDescription
builderForValueMigrationWorkflow.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueMigrationWorkflow
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMigrationWorkflow.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MigrationWorkflow.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListMigrationWorkflowsResponse build()
Returns
TypeDescription
ListMigrationWorkflowsResponse

buildPartial()

public ListMigrationWorkflowsResponse buildPartial()
Returns
TypeDescription
ListMigrationWorkflowsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListMigrationWorkflowsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListMigrationWorkflowsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListMigrationWorkflowsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListMigrationWorkflowsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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(ListMigrationWorkflowsResponse other)

public ListMigrationWorkflowsResponse.Builder mergeFrom(ListMigrationWorkflowsResponse other)
Parameter
NameDescription
otherListMigrationWorkflowsResponse
Returns
TypeDescription
ListMigrationWorkflowsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListMigrationWorkflowsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListMigrationWorkflowsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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
NameDescription
indexint
valueMigrationWorkflow
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMigrationWorkflow.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
ListMigrationWorkflowsResponse.Builder

This builder for chaining.

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

public ListMigrationWorkflowsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListMigrationWorkflowsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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