Class GetMigrationSubtaskRequest.Builder (0.27.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetMigrationSubtaskRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetMigrationSubtaskRequest.Builder
Overrides

build()

public GetMigrationSubtaskRequest build()
Returns
TypeDescription
GetMigrationSubtaskRequest

buildPartial()

public GetMigrationSubtaskRequest buildPartial()
Returns
TypeDescription
GetMigrationSubtaskRequest

clear()

public GetMigrationSubtaskRequest.Builder clear()
Returns
TypeDescription
GetMigrationSubtaskRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetMigrationSubtaskRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetMigrationSubtaskRequest.Builder
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
TypeDescription
GetMigrationSubtaskRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetMigrationSubtaskRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetMigrationSubtaskRequest.Builder
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
TypeDescription
GetMigrationSubtaskRequest.Builder

clone()

public GetMigrationSubtaskRequest.Builder clone()
Returns
TypeDescription
GetMigrationSubtaskRequest.Builder
Overrides

getDefaultInstanceForType()

public GetMigrationSubtaskRequest getDefaultInstanceForType()
Returns
TypeDescription
GetMigrationSubtaskRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String 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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getReadMask()

public FieldMask getReadMask()

Optional. The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FieldMask

The readMask.

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
TypeDescription
Builder

getReadMaskOrBuilder()

public FieldMaskOrBuilder getReadMaskOrBuilder()

Optional. The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FieldMaskOrBuilder

hasReadMask()

public boolean hasReadMask()

Optional. The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];