public final class MigrationWorkflow extends com.google.protobuf.GeneratedMessageV3 implements MigrationWorkflowOrBuilder
A migration workflow which specifies what needs to be done for an EDW migration.Protobuf type
google.cloud.bigquery.migration.v2.MigrationWorkflow| Modifier and Type | Class and Description |
|---|---|
static class |
MigrationWorkflow.Builder
A migration workflow which specifies what needs to be done for an EDW
migration.
|
static class |
MigrationWorkflow.State
Possible migration workflow states.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
LAST_UPDATE_TIME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TASKS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsTasks(String key)
The tasks in a workflow in a named map.
|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Time when the workflow was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Time when the workflow was created.
|
static MigrationWorkflow |
getDefaultInstance() |
MigrationWorkflow |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
The display name of the workflow.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The display name of the workflow.
|
com.google.protobuf.Timestamp |
getLastUpdateTime()
Time when the workflow was last updated.
|
com.google.protobuf.TimestampOrBuilder |
getLastUpdateTimeOrBuilder()
Time when the workflow was last updated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<MigrationWorkflow> |
getParserForType() |
int |
getSerializedSize() |
MigrationWorkflow.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
Map<String,MigrationTask> |
getTasks()
Deprecated.
|
int |
getTasksCount()
The tasks in a workflow in a named map.
|
Map<String,MigrationTask> |
getTasksMap()
The tasks in a workflow in a named map.
|
MigrationTask |
getTasksOrDefault(String key,
MigrationTask defaultValue)
The tasks in a workflow in a named map.
|
MigrationTask |
getTasksOrThrow(String key)
The tasks in a workflow in a named map.
|
boolean |
hasCreateTime()
Time when the workflow was created.
|
int |
hashCode() |
boolean |
hasLastUpdateTime()
Time when the workflow was last updated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static MigrationWorkflow.Builder |
newBuilder() |
static MigrationWorkflow.Builder |
newBuilder(MigrationWorkflow prototype) |
MigrationWorkflow.Builder |
newBuilderForType() |
protected MigrationWorkflow.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MigrationWorkflow |
parseDelimitedFrom(InputStream input) |
static MigrationWorkflow |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MigrationWorkflow |
parseFrom(byte[] data) |
static MigrationWorkflow |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MigrationWorkflow |
parseFrom(ByteBuffer data) |
static MigrationWorkflow |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MigrationWorkflow |
parseFrom(com.google.protobuf.ByteString data) |
static MigrationWorkflow |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MigrationWorkflow |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MigrationWorkflow |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MigrationWorkflow |
parseFrom(InputStream input) |
static MigrationWorkflow |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MigrationWorkflow> |
parser() |
MigrationWorkflow.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int TASKS_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int LAST_UPDATE_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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];
getName in interface MigrationWorkflowOrBuilderpublic 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];
getNameBytes in interface MigrationWorkflowOrBuilderpublic 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;getDisplayName in interface MigrationWorkflowOrBuilderpublic 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;getDisplayNameBytes in interface MigrationWorkflowOrBuilderpublic int getTasksCount()
MigrationWorkflowOrBuilderThe 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;getTasksCount in interface MigrationWorkflowOrBuilderpublic 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;containsTasks in interface MigrationWorkflowOrBuilder@Deprecated public Map<String,MigrationTask> getTasks()
getTasksMap() instead.getTasks in interface MigrationWorkflowOrBuilderpublic 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;getTasksMap in interface MigrationWorkflowOrBuilderpublic 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;getTasksOrDefault in interface MigrationWorkflowOrBuilderpublic 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;getTasksOrThrow in interface MigrationWorkflowOrBuilderpublic int getStateValue()
Output only. That status of the workflow.
.google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface MigrationWorkflowOrBuilderpublic 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];
getState in interface MigrationWorkflowOrBuilderpublic boolean hasCreateTime()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;hasCreateTime in interface MigrationWorkflowOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;getCreateTime in interface MigrationWorkflowOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;getCreateTimeOrBuilder in interface MigrationWorkflowOrBuilderpublic boolean hasLastUpdateTime()
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;hasLastUpdateTime in interface MigrationWorkflowOrBuilderpublic com.google.protobuf.Timestamp getLastUpdateTime()
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;getLastUpdateTime in interface MigrationWorkflowOrBuilderpublic com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;getLastUpdateTimeOrBuilder in interface MigrationWorkflowOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MigrationWorkflow parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MigrationWorkflow parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MigrationWorkflow parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MigrationWorkflow parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MigrationWorkflow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MigrationWorkflow parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MigrationWorkflow parseFrom(InputStream input) throws IOException
IOExceptionpublic static MigrationWorkflow parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MigrationWorkflow parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MigrationWorkflow parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MigrationWorkflow parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MigrationWorkflow parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MigrationWorkflow.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MigrationWorkflow.Builder newBuilder()
public static MigrationWorkflow.Builder newBuilder(MigrationWorkflow prototype)
public MigrationWorkflow.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MigrationWorkflow.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MigrationWorkflow getDefaultInstance()
public static com.google.protobuf.Parser<MigrationWorkflow> parser()
public com.google.protobuf.Parser<MigrationWorkflow> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MigrationWorkflow getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.