public static final class GetMigrationSubtaskRequest.Builder extends GeneratedMessageV3.Builder<GetMigrationSubtaskRequest.Builder> implements GetMigrationSubtaskRequestOrBuilder
A request to get a previously created migration subtasks.
Protobuf type google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetMigrationSubtaskRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetMigrationSubtaskRequest build()
Returns
buildPartial()
public GetMigrationSubtaskRequest buildPartial()
Returns
clear()
public GetMigrationSubtaskRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetMigrationSubtaskRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public GetMigrationSubtaskRequest.Builder clearName()
Required. The unique identifier for the migration subtask.
Example: projects/123/locations/us/workflows/1234/subtasks/543
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetMigrationSubtaskRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearReadMask()
public GetMigrationSubtaskRequest.Builder clearReadMask()
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clone()
public GetMigrationSubtaskRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetMigrationSubtaskRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Required. The unique identifier for the migration subtask.
Example: projects/123/locations/us/workflows/1234/subtasks/543
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 subtask.
Example: projects/123/locations/us/workflows/1234/subtasks/543
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getReadMask()
public FieldMask getReadMask()
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getReadMaskBuilder()
public FieldMask.Builder getReadMaskBuilder()
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getReadMaskOrBuilder()
public FieldMaskOrBuilder getReadMaskOrBuilder()
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
hasReadMask()
public boolean hasReadMask()
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the readMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetMigrationSubtaskRequest other)
public GetMigrationSubtaskRequest.Builder mergeFrom(GetMigrationSubtaskRequest other)
Parameter
Returns
public GetMigrationSubtaskRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetMigrationSubtaskRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeReadMask(FieldMask value)
public GetMigrationSubtaskRequest.Builder mergeReadMask(FieldMask value)
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetMigrationSubtaskRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetMigrationSubtaskRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public GetMigrationSubtaskRequest.Builder setName(String value)
Required. The unique identifier for the migration subtask.
Example: projects/123/locations/us/workflows/1234/subtasks/543
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 GetMigrationSubtaskRequest.Builder setNameBytes(ByteString value)
Required. The unique identifier for the migration subtask.
Example: projects/123/locations/us/workflows/1234/subtasks/543
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setReadMask(FieldMask value)
public GetMigrationSubtaskRequest.Builder setReadMask(FieldMask value)
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setReadMask(FieldMask.Builder builderForValue)
public GetMigrationSubtaskRequest.Builder setReadMask(FieldMask.Builder builderForValue)
Optional. The list of fields to be retrieved.
.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetMigrationSubtaskRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetMigrationSubtaskRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides