public static final class MigrationWorkflow.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MigrationWorkflow.Builder> implements MigrationWorkflowOrBuilder
A migration workflow which specifies what needs to be done for an EDW migration.Protobuf type
google.cloud.bigquery.migration.v2alpha.MigrationWorkflow| Modifier and Type | Method and Description |
|---|---|
MigrationWorkflow.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MigrationWorkflow |
build() |
MigrationWorkflow |
buildPartial() |
MigrationWorkflow.Builder |
clear() |
MigrationWorkflow.Builder |
clearCreateTime()
Time when the workflow was created.
|
MigrationWorkflow.Builder |
clearDisplayName()
The display name of the workflow.
|
MigrationWorkflow.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MigrationWorkflow.Builder |
clearLastUpdateTime()
Time when the workflow was last updated.
|
MigrationWorkflow.Builder |
clearName()
Output only.
|
MigrationWorkflow.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MigrationWorkflow.Builder |
clearState()
Output only.
|
MigrationWorkflow.Builder |
clearTasks() |
MigrationWorkflow.Builder |
clone() |
boolean |
containsTasks(String key)
The tasks in a workflow in a named map.
|
com.google.protobuf.Timestamp |
getCreateTime()
Time when the workflow was created.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Time when the workflow was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Time when the workflow was created.
|
MigrationWorkflow |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.Timestamp.Builder |
getLastUpdateTimeBuilder()
Time when the workflow was last updated.
|
com.google.protobuf.TimestampOrBuilder |
getLastUpdateTimeOrBuilder()
Time when the workflow was last updated.
|
Map<String,MigrationTask> |
getMutableTasks()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
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.
|
boolean |
hasLastUpdateTime()
Time when the workflow was last updated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
MigrationWorkflow.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Time when the workflow was created.
|
MigrationWorkflow.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MigrationWorkflow.Builder |
mergeFrom(com.google.protobuf.Message other) |
MigrationWorkflow.Builder |
mergeFrom(MigrationWorkflow other) |
MigrationWorkflow.Builder |
mergeLastUpdateTime(com.google.protobuf.Timestamp value)
Time when the workflow was last updated.
|
MigrationWorkflow.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MigrationWorkflow.Builder |
putAllTasks(Map<String,MigrationTask> values)
The tasks in a workflow in a named map.
|
MigrationWorkflow.Builder |
putTasks(String key,
MigrationTask value)
The tasks in a workflow in a named map.
|
MigrationWorkflow.Builder |
removeTasks(String key)
The tasks in a workflow in a named map.
|
MigrationWorkflow.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time when the workflow was created.
|
MigrationWorkflow.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Time when the workflow was created.
|
MigrationWorkflow.Builder |
setDisplayName(String value)
The display name of the workflow.
|
MigrationWorkflow.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
The display name of the workflow.
|
MigrationWorkflow.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MigrationWorkflow.Builder |
setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time when the workflow was last updated.
|
MigrationWorkflow.Builder |
setLastUpdateTime(com.google.protobuf.Timestamp value)
Time when the workflow was last updated.
|
MigrationWorkflow.Builder |
setName(String value)
Output only.
|
MigrationWorkflow.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
MigrationWorkflow.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MigrationWorkflow.Builder |
setState(MigrationWorkflow.State value)
Output only.
|
MigrationWorkflow.Builder |
setStateValue(int value)
Output only.
|
MigrationWorkflow.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationWorkflow.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationWorkflow.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationWorkflow.Builder>public MigrationWorkflow.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationWorkflow.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationWorkflow.Builder>public MigrationWorkflow getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MigrationWorkflow build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MigrationWorkflow buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MigrationWorkflow.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationWorkflow.Builder>public MigrationWorkflow.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationWorkflow.Builder>public MigrationWorkflow.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationWorkflow.Builder>public MigrationWorkflow.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationWorkflow.Builder>public MigrationWorkflow.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationWorkflow.Builder>public MigrationWorkflow.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationWorkflow.Builder>public MigrationWorkflow.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MigrationWorkflow.Builder>public MigrationWorkflow.Builder mergeFrom(MigrationWorkflow other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationWorkflow.Builder>public MigrationWorkflow.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MigrationWorkflow.Builder>IOExceptionpublic 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 MigrationWorkflow.Builder setName(String value)
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];
value - The name to set.public MigrationWorkflow.Builder clearName()
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];
public MigrationWorkflow.Builder setNameBytes(com.google.protobuf.ByteString value)
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];
value - The bytes for name to set.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;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 MigrationWorkflow.Builder setDisplayName(String value)
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;value - The displayName to set.public MigrationWorkflow.Builder clearDisplayName()
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;public MigrationWorkflow.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for displayName to set.public 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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.MigrationTask> tasks = 2;
getTasksOrThrow in interface MigrationWorkflowOrBuilderpublic MigrationWorkflow.Builder clearTasks()
public MigrationWorkflow.Builder removeTasks(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;
@Deprecated public Map<String,MigrationTask> getMutableTasks()
public MigrationWorkflow.Builder putTasks(String key, MigrationTask value)
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;
public MigrationWorkflow.Builder putAllTasks(Map<String,MigrationTask> values)
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;
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];
getStateValue in interface MigrationWorkflowOrBuilderpublic MigrationWorkflow.Builder setStateValue(int value)
Output only. That status of the workflow.
.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.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];
getState in interface MigrationWorkflowOrBuilderpublic MigrationWorkflow.Builder setState(MigrationWorkflow.State value)
Output only. That status of the workflow.
.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public MigrationWorkflow.Builder clearState()
Output only. That status of the workflow.
.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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 MigrationWorkflow.Builder setCreateTime(com.google.protobuf.Timestamp value)
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;public MigrationWorkflow.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;public MigrationWorkflow.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;public MigrationWorkflow.Builder clearCreateTime()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;public 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 MigrationWorkflow.Builder setLastUpdateTime(com.google.protobuf.Timestamp value)
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;public MigrationWorkflow.Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;public MigrationWorkflow.Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value)
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;public MigrationWorkflow.Builder clearLastUpdateTime()
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder()
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;getLastUpdateTimeOrBuilder in interface MigrationWorkflowOrBuilderpublic final MigrationWorkflow.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationWorkflow.Builder>public final MigrationWorkflow.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationWorkflow.Builder>Copyright © 2024 Google LLC. All rights reserved.