Interface MigrationWorkflowOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MigrationWorkflow,MigrationWorkflow.Builder
public interface MigrationWorkflowOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsTasks(String key)The tasks in a workflow in a named map.com.google.protobuf.TimestampgetCreateTime()Time when the workflow was created.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Time when the workflow was created.StringgetDisplayName()The display name of the workflow.com.google.protobuf.ByteStringgetDisplayNameBytes()The display name of the workflow.com.google.protobuf.TimestampgetLastUpdateTime()Time when the workflow was last updated.com.google.protobuf.TimestampOrBuildergetLastUpdateTimeOrBuilder()Time when the workflow was last updated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.MigrationWorkflow.StategetState()Output only.intgetStateValue()Output only.Map<String,MigrationTask>getTasks()Deprecated.intgetTasksCount()The tasks in a workflow in a named map.Map<String,MigrationTask>getTasksMap()The tasks in a workflow in a named map.MigrationTaskgetTasksOrDefault(String key, MigrationTask defaultValue)The tasks in a workflow in a named map.MigrationTaskgetTasksOrThrow(String key)The tasks in a workflow in a named map.booleanhasCreateTime()Time when the workflow was created.booleanhasLastUpdateTime()Time when the workflow was last updated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getDisplayName
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:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.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:
- The bytes for displayName.
-
getTasksCount
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.v2alpha.MigrationTask> tasks = 2;
-
containsTasks
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.v2alpha.MigrationTask> tasks = 2;
-
getTasks
@Deprecated Map<String,MigrationTask> getTasks()
Deprecated.UsegetTasksMap()instead.
-
getTasksMap
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.v2alpha.MigrationTask> tasks = 2;
-
getTasksOrDefault
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.v2alpha.MigrationTask> tasks = 2;
-
getTasksOrThrow
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.v2alpha.MigrationTask> tasks = 2;
-
getStateValue
int getStateValue()
Output only. That status of the workflow.
.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
MigrationWorkflow.State getState()
Output only. That status of the workflow.
.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
hasCreateTime
boolean hasCreateTime()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;
-
hasLastUpdateTime
boolean hasLastUpdateTime()
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;- Returns:
- Whether the lastUpdateTime field is set.
-
getLastUpdateTime
com.google.protobuf.Timestamp getLastUpdateTime()
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;- Returns:
- The lastUpdateTime.
-
getLastUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;
-
-