Interface MigrationWorkflowOrBuilder (0.31.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
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

Time when the workflow was created.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Time when the workflow was created.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp

The lastUpdateTime.

getLastUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getLastUpdateTimeOrBuilder()

Time when the workflow was last updated.

.google.protobuf.Timestamp last_update_time = 5;

Returns
TypeDescription
TimestampOrBuilder

getName()

public abstract String 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for state.

getTasks()

public abstract Map<String,MigrationTask> getTasks()

Use #getTasksMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueMigrationTask
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
MigrationTask

hasCreateTime()

public abstract boolean hasCreateTime()

Time when the workflow was created.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the lastUpdateTime field is set.