Class MigrationWorkflow (0.33.0)

publicfinalclass MigrationWorkflowextendsGeneratedMessageV3implementsMigrationWorkflowOrBuilder

A migration workflow which specifies what needs to be done for an EDW migration.

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)

Static Fields

CREATE_TIME_FIELD_NUMBER

publicstaticfinalintCREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

publicstaticfinalintDISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

LAST_UPDATE_TIME_FIELD_NUMBER

publicstaticfinalintLAST_UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

publicstaticfinalintSTATE_FIELD_NUMBER
Field Value
Type Description
int

TASKS_FIELD_NUMBER

publicstaticfinalintTASKS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticMigrationWorkflowgetDefaultInstance()
Returns
Type Description
MigrationWorkflow

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticMigrationWorkflow.BuildernewBuilder()
Returns
Type Description
MigrationWorkflow.Builder

newBuilder(MigrationWorkflow prototype)

publicstaticMigrationWorkflow.BuildernewBuilder(MigrationWorkflowprototype)
Parameter
Name Description
prototype MigrationWorkflow
Returns
Type Description
MigrationWorkflow.Builder

parseDelimitedFrom(InputStream input)

publicstaticMigrationWorkflowparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
MigrationWorkflow
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticMigrationWorkflowparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationWorkflow
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticMigrationWorkflowparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
MigrationWorkflow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticMigrationWorkflowparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationWorkflow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticMigrationWorkflowparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
MigrationWorkflow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticMigrationWorkflowparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationWorkflow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticMigrationWorkflowparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MigrationWorkflow
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticMigrationWorkflowparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationWorkflow
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticMigrationWorkflowparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
MigrationWorkflow
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticMigrationWorkflowparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationWorkflow
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticMigrationWorkflowparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MigrationWorkflow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticMigrationWorkflowparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationWorkflow
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<MigrationWorkflow>parser()
Returns
Type Description
Parser<MigrationWorkflow>

Methods

containsTasks(String key)

publicbooleancontainsTasks(Stringkey)

The tasks in a workflow in a named map. The name (i.e. key) has no meaning and is merely a convenient way to address a specific task in a workflow.

map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCreateTime()

publicTimestampgetCreateTime()

Time when the workflow was created.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

publicTimestampOrBuildergetCreateTimeOrBuilder()

Time when the workflow was created.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

publicMigrationWorkflowgetDefaultInstanceForType()
Returns
Type Description
MigrationWorkflow

getDisplayName()

publicStringgetDisplayName()

The display name of the workflow. This can be set to give a workflow a descriptive name. There is no guarantee or enforcement of uniqueness.

string display_name = 6;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

publicByteStringgetDisplayNameBytes()

The display name of the workflow. This can be set to give a workflow a descriptive name. There is no guarantee or enforcement of uniqueness.

string display_name = 6;

Returns
Type Description
ByteString

The bytes for displayName.

getLastUpdateTime()

publicTimestampgetLastUpdateTime()

Time when the workflow was last updated.

.google.protobuf.Timestamp last_update_time = 5;

Returns
Type Description
Timestamp

The lastUpdateTime.

getLastUpdateTimeOrBuilder()

publicTimestampOrBuildergetLastUpdateTimeOrBuilder()

Time when the workflow was last updated.

.google.protobuf.Timestamp last_update_time = 5;

Returns
Type Description
TimestampOrBuilder

getName()

publicStringgetName()

Output only. Immutable. The unique identifier for the migration workflow. The ID is server-generated.

Example: projects/123/locations/us/workflows/345

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Output only. Immutable. The unique identifier for the migration workflow. The ID is server-generated.

Example: projects/123/locations/us/workflows/345

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

publicParser<MigrationWorkflow>getParserForType()
Returns
Type Description
Parser<MigrationWorkflow>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getState()

publicMigrationWorkflow.StategetState()

Output only. That status of the workflow.

.google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigrationWorkflow.State

The state.

getStateValue()

publicintgetStateValue()

Output only. That status of the workflow.

.google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTasks()

publicMap<String,MigrationTask>getTasks()

Use #getTasksMap() instead.

Returns
Type Description
Map<String,MigrationTask>

getTasksCount()

publicintgetTasksCount()

The tasks in a workflow in a named map. The name (i.e. key) has no meaning and is merely a convenient way to address a specific task in a workflow.

map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;

Returns
Type Description
int

getTasksMap()

publicMap<String,MigrationTask>getTasksMap()

The tasks in a workflow in a named map. The name (i.e. key) has no meaning and is merely a convenient way to address a specific task in a workflow.

map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;

Returns
Type Description
Map<String,MigrationTask>

getTasksOrDefault(String key, MigrationTask defaultValue)

publicMigrationTaskgetTasksOrDefault(Stringkey,MigrationTaskdefaultValue)

The tasks in a workflow in a named map. The name (i.e. key) has no meaning and is merely a convenient way to address a specific task in a workflow.

map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;

Parameters
Name Description
key String
defaultValue MigrationTask
Returns
Type Description
MigrationTask

getTasksOrThrow(String key)

publicMigrationTaskgetTasksOrThrow(Stringkey)

The tasks in a workflow in a named map. The name (i.e. key) has no meaning and is merely a convenient way to address a specific task in a workflow.

map<string, .google.cloud.bigquery.migration.v2.MigrationTask> tasks = 2;

Parameter
Name Description
key String
Returns
Type Description
MigrationTask

hasCreateTime()

publicbooleanhasCreateTime()

Time when the workflow was created.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
boolean

Whether the createTime field is set.

hasLastUpdateTime()

publicbooleanhasLastUpdateTime()

Time when the workflow was last updated.

.google.protobuf.Timestamp last_update_time = 5;

Returns
Type Description
boolean

Whether the lastUpdateTime field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapField(int number)

protectedMapFieldinternalGetMapField(intnumber)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicMigrationWorkflow.BuildernewBuilderForType()
Returns
Type Description
MigrationWorkflow.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedMigrationWorkflow.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MigrationWorkflow.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicMigrationWorkflow.BuildertoBuilder()
Returns
Type Description
MigrationWorkflow.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.