Interface MigrationWorkflowOrBuilder (0.55.0)

public interface MigrationWorkflowOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsTasks(String key)

public abstract 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
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

Time when the workflow was created.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Time when the workflow was created.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
TimestampOrBuilder

getDisplayName()

public abstract 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 abstract 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 abstract Timestamp getLastUpdateTime()

Time when the workflow was last updated.

.google.protobuf.Timestamp last_update_time = 5;

Returns
Type Description
Timestamp

The lastUpdateTime.

getLastUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getLastUpdateTimeOrBuilder()

Time when the workflow was last updated.

.google.protobuf.Timestamp last_update_time = 5;

Returns
Type Description
TimestampOrBuilder

getName()

public abstract String getName()

Output only. Immutable. Identifier. 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, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. Immutable. Identifier. 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, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getState()

public abstract 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
Type Description
MigrationWorkflow.State

The state.

getStateValue()

public abstract 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() (deprecated)

public abstract Map<String,MigrationTask> getTasks()

Use #getTasksMap() instead.

Returns
Type Description
Map<String,MigrationTask>

getTasksCount()

public abstract 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
Type Description
int

getTasksMap()

public abstract 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
Type Description
Map<String,MigrationTask>

getTasksOrDefault(String key, MigrationTask defaultValue)

public abstract 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
Name Description
key String
defaultValue MigrationTask
Returns
Type Description
MigrationTask

getTasksOrThrow(String key)

public abstract 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
Name Description
key String
Returns
Type Description
MigrationTask

hasCreateTime()

public abstract 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 abstract 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.