- 0.58.0 (latest)
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.2
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.4
public static final class MigrationWorkflow.Builder extends 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.v2.MigrationWorkflow
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MigrationWorkflow.BuilderImplements
MigrationWorkflowOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MigrationWorkflow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
build()
public MigrationWorkflow build()
Returns | |
---|---|
Type | Description |
MigrationWorkflow |
buildPartial()
public MigrationWorkflow buildPartial()
Returns | |
---|---|
Type | Description |
MigrationWorkflow |
clear()
public MigrationWorkflow.Builder clear()
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
clearCreateTime()
public MigrationWorkflow.Builder clearCreateTime()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
clearDisplayName()
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;
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MigrationWorkflow.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
clearLastUpdateTime()
public MigrationWorkflow.Builder clearLastUpdateTime()
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
clearName()
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];
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MigrationWorkflow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
clearState()
public MigrationWorkflow.Builder clearState()
Output only. That status of the workflow.
.google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder | This builder for chaining. |
clearTasks()
public MigrationWorkflow.Builder clearTasks()
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
clone()
public MigrationWorkflow.Builder clone()
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
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.v2.MigrationTask> tasks = 2;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public MigrationWorkflow getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MigrationWorkflow |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
getLastUpdateTimeBuilder()
public Timestamp.Builder getLastUpdateTimeBuilder()
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;
Returns | |
---|---|
Type | Description |
Builder |
getLastUpdateTimeOrBuilder()
public TimestampOrBuilder getLastUpdateTimeOrBuilder()
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getMutableTasks() (deprecated)
public Map<String,MigrationTask> getMutableTasks()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,MigrationTask> |
getName()
public 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 | |
---|---|
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. |
getState()
public 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 | |
---|---|
Type | Description |
MigrationWorkflow.State | The state. |
getStateValue()
public 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 | |
---|---|
Type | Description |
int | The enum numeric value on the wire for state. |
getTasks() (deprecated)
public Map<String,MigrationTask> getTasks()
Use #getTasksMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,MigrationTask> |
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.v2.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.v2.MigrationTask> tasks = 2;
Returns | |
---|---|
Type | Description |
Map<String,MigrationTask> |
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.v2.MigrationTask> tasks = 2;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | MigrationTask |
Returns | |
---|---|
Type | Description |
MigrationTask |
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.v2.MigrationTask> tasks = 2;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
MigrationTask |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public MigrationWorkflow.Builder mergeCreateTime(Timestamp value)
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
mergeFrom(MigrationWorkflow other)
public MigrationWorkflow.Builder mergeFrom(MigrationWorkflow other)
Parameter | |
---|---|
Name | Description |
other | MigrationWorkflow |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MigrationWorkflow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MigrationWorkflow.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
mergeLastUpdateTime(Timestamp value)
public MigrationWorkflow.Builder mergeLastUpdateTime(Timestamp value)
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MigrationWorkflow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
putAllTasks(Map<String,MigrationTask> values)
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.v2.MigrationTask> tasks = 2;
Parameter | |
---|---|
Name | Description |
values | Map<String,MigrationTask> |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
putTasks(String key, MigrationTask value)
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.v2.MigrationTask> tasks = 2;
Parameters | |
---|---|
Name | Description |
key | String |
value | MigrationTask |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
removeTasks(String key)
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.v2.MigrationTask> tasks = 2;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
setCreateTime(Timestamp value)
public MigrationWorkflow.Builder setCreateTime(Timestamp value)
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public MigrationWorkflow.Builder setCreateTime(Timestamp.Builder builderForValue)
Time when the workflow was created.
.google.protobuf.Timestamp create_time = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
setDisplayName(String value)
public 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;
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public MigrationWorkflow.Builder setDisplayNameBytes(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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MigrationWorkflow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
setLastUpdateTime(Timestamp value)
public MigrationWorkflow.Builder setLastUpdateTime(Timestamp value)
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
setLastUpdateTime(Timestamp.Builder builderForValue)
public MigrationWorkflow.Builder setLastUpdateTime(Timestamp.Builder builderForValue)
Time when the workflow was last updated.
.google.protobuf.Timestamp last_update_time = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
setName(String value)
public 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];
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public MigrationWorkflow.Builder setNameBytes(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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MigrationWorkflow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |
setState(MigrationWorkflow.State value)
public MigrationWorkflow.Builder setState(MigrationWorkflow.State value)
Output only. That status of the workflow.
.google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | MigrationWorkflow.State The state to set. |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder | This builder for chaining. |
setStateValue(int value)
public MigrationWorkflow.Builder setStateValue(int value)
Output only. That status of the workflow.
.google.cloud.bigquery.migration.v2.MigrationWorkflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MigrationWorkflow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MigrationWorkflow.Builder |