public static final class StartMigrationWorkflowRequest.Builder extends GeneratedMessageV3.Builder<StartMigrationWorkflowRequest.Builder> implements StartMigrationWorkflowRequestOrBuilder
A request to start a previously created migration workflow.
Protobuf type google.cloud.bigquery.migration.v2.StartMigrationWorkflowRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StartMigrationWorkflowRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StartMigrationWorkflowRequest build()
Returns
buildPartial()
public StartMigrationWorkflowRequest buildPartial()
Returns
clear()
public StartMigrationWorkflowRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public StartMigrationWorkflowRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public StartMigrationWorkflowRequest.Builder clearName()
Required. The unique identifier for the migration workflow.
Example: projects/123/locations/us/workflows/1234
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public StartMigrationWorkflowRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public StartMigrationWorkflowRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public StartMigrationWorkflowRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Required. The unique identifier for the migration workflow.
Example: projects/123/locations/us/workflows/1234
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The unique identifier for the migration workflow.
Example: projects/123/locations/us/workflows/1234
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(StartMigrationWorkflowRequest other)
public StartMigrationWorkflowRequest.Builder mergeFrom(StartMigrationWorkflowRequest other)
Parameter
Returns
public StartMigrationWorkflowRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StartMigrationWorkflowRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StartMigrationWorkflowRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public StartMigrationWorkflowRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public StartMigrationWorkflowRequest.Builder setName(String value)
Required. The unique identifier for the migration workflow.
Example: projects/123/locations/us/workflows/1234
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public StartMigrationWorkflowRequest.Builder setNameBytes(ByteString value)
Required. The unique identifier for the migration workflow.
Example: projects/123/locations/us/workflows/1234
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StartMigrationWorkflowRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StartMigrationWorkflowRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides