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.v2alpha.MigrationWorkflow
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LAST_UPDATE_TIME_FIELD_NUMBER
public static final int LAST_UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TASKS_FIELD_NUMBER
public static final int TASKS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static MigrationWorkflow getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MigrationWorkflow.Builder newBuilder()
newBuilder(MigrationWorkflow prototype)
public static MigrationWorkflow.Builder newBuilder(MigrationWorkflow prototype)
public static MigrationWorkflow parseDelimitedFrom(InputStream input)
public static MigrationWorkflow parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MigrationWorkflow parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MigrationWorkflow parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MigrationWorkflow parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationWorkflow parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationWorkflow parseFrom(CodedInputStream input)
public static MigrationWorkflow parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MigrationWorkflow parseFrom(InputStream input)
public static MigrationWorkflow parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MigrationWorkflow parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MigrationWorkflow parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MigrationWorkflow> parser()
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.v2alpha.MigrationTask> tasks = 2;
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCreateTime()
public Timestamp getCreateTime()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;
getDefaultInstanceForType()
public MigrationWorkflow getDefaultInstanceForType()
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 |
---|
Type | Description |
Timestamp | The lastUpdateTime.
|
getLastUpdateTimeOrBuilder()
public TimestampOrBuilder getLastUpdateTimeOrBuilder()
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<MigrationWorkflow> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getState()
public 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];
getStateValue()
public 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 |
---|
Type | Description |
int | The enum numeric value on the wire for state.
|
getTasks()
public Map<String,MigrationTask> getTasks()
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.v2alpha.MigrationTask> tasks = 2;
Returns |
---|
Type | Description |
int | |
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.v2alpha.MigrationTask> tasks = 2;
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.v2alpha.MigrationTask> tasks = 2;
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.v2alpha.MigrationTask> tasks = 2;
Parameter |
---|
Name | Description |
key | String
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MigrationWorkflow.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MigrationWorkflow.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public MigrationWorkflow.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides