Interface MigrationWorkflowOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MigrationWorkflow,MigrationWorkflow.Builder
@Generated
public interface MigrationWorkflowOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsTasks(String key) The tasks in a workflow in a named map.com.google.protobuf.TimestampTime when the workflow was created.com.google.protobuf.TimestampOrBuilderTime when the workflow was created.The display name of the workflow.com.google.protobuf.ByteStringThe display name of the workflow.com.google.protobuf.TimestampTime when the workflow was last updated.com.google.protobuf.TimestampOrBuilderTime when the workflow was last updated.getName()Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.getTasks()Deprecated.intThe tasks in a workflow in a named map.The tasks in a workflow in a named map.getTasksOrDefault(String key, MigrationTask defaultValue) The tasks in a workflow in a named map.getTasksOrThrow(String key) The tasks in a workflow in a named map.booleanTime when the workflow was created.booleanTime when the workflow was last updated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- 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.v2.MigrationTask> tasks = 2; -
containsTasks
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; -
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.v2.MigrationTask> tasks = 2; -
getTasksOrDefault
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; -
getTasksOrThrow
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; -
getStateValue
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:
- The enum numeric value on the wire for state.
-
getState
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:
- 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;
-