public final class MigrationWorkflow extends GeneratedMessageV3 implements MigrationWorkflowOrBuilder
A migration workflow which specifies what needs to be done for an EDW
migration.
Protobuf type google.cloud.bigquery.migration.v2.MigrationWorkflow
Static Fields
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
LAST_UPDATE_TIME_FIELD_NUMBER
public static final int LAST_UPDATE_TIME_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
TASKS_FIELD_NUMBER
public static final int TASKS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static MigrationWorkflow getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static MigrationWorkflow.Builder newBuilder()
Returns
newBuilder(MigrationWorkflow prototype)
public static MigrationWorkflow.Builder newBuilder(MigrationWorkflow prototype)
Parameter
Returns
public static MigrationWorkflow parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MigrationWorkflow parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static MigrationWorkflow parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MigrationWorkflow parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static MigrationWorkflow parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationWorkflow parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MigrationWorkflow parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MigrationWorkflow parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MigrationWorkflow parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MigrationWorkflow parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static MigrationWorkflow parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MigrationWorkflow parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<MigrationWorkflow> parser()
Returns
Methods
containsTasks(String key)
public boolean containsTasks(String key)
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCreateTime()
public Timestamp getCreateTime()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;
Returns
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;
Returns
getDefaultInstanceForType()
public MigrationWorkflow getDefaultInstanceForType()
Returns
getDisplayName()
public String getDisplayName()
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()
public ByteString getDisplayNameBytes()
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()
public Timestamp getLastUpdateTime()
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;
Returns
getLastUpdateTimeOrBuilder()
public TimestampOrBuilder getLastUpdateTimeOrBuilder()
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;
Returns
getName()
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()
public ByteString getNameBytes()
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
getParserForType()
public Parser<MigrationWorkflow> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
public MigrationWorkflow.State getState()
Output only. That status of the workflow.
.google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getStateValue()
public int getStateValue()
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()
public Map<String,MigrationTask> getTasks()
Returns
getTasksCount()
public int getTasksCount()
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
getTasksMap()
public Map<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
getTasksOrDefault(String key, MigrationTask defaultValue)
public MigrationTask getTasksOrDefault(String key, MigrationTask defaultValue)
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
Returns
getTasksOrThrow(String key)
public MigrationTask getTasksOrThrow(String key)
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
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasCreateTime()
public boolean hasCreateTime()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;
Returns
Type | Description |
boolean | Whether the createTime field is set.
|
hasLastUpdateTime()
public boolean hasLastUpdateTime()
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public MigrationWorkflow.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MigrationWorkflow.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public MigrationWorkflow.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions