Class GetMigrationSubtaskRequest.Builder (0.49.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.v2alpha.GetMigrationSubtaskRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetMigrationSubtaskRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetMigrationSubtaskRequest.Builder
Overrides

build()

public GetMigrationSubtaskRequest build()
Returns
Type Description
GetMigrationSubtaskRequest

buildPartial()

public GetMigrationSubtaskRequest buildPartial()
Returns
Type Description
GetMigrationSubtaskRequest

clear()

public GetMigrationSubtaskRequest.Builder clear()
Returns
Type Description
GetMigrationSubtaskRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetMigrationSubtaskRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
GetMigrationSubtaskRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetMigrationSubtaskRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
GetMigrationSubtaskRequest.Builder

clone()

public GetMigrationSubtaskRequest.Builder clone()
Returns
Type Description
GetMigrationSubtaskRequest.Builder
Overrides

getDefaultInstanceForType()

public GetMigrationSubtaskRequest getDefaultInstanceForType()
Returns
Type Description
GetMigrationSubtaskRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
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
Type Description
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
Type Description
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
Type Description
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
Type Description
FieldMaskOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetMigrationSubtaskRequest other)

public GetMigrationSubtaskRequest.Builder mergeFrom(GetMigrationSubtaskRequest other)
Parameter
Name Description
other GetMigrationSubtaskRequest
Returns
Type Description
GetMigrationSubtaskRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetMigrationSubtaskRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetMigrationSubtaskRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetMigrationSubtaskRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetMigrationSubtaskRequest.Builder
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
Name Description
value FieldMask
Returns
Type Description
GetMigrationSubtaskRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetMigrationSubtaskRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetMigrationSubtaskRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetMigrationSubtaskRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetMigrationSubtaskRequest.Builder
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
Type Description
GetMigrationSubtaskRequest.Builder

This builder for chaining.

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
Type Description
GetMigrationSubtaskRequest.Builder

This builder for chaining.

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
Name Description
value FieldMask
Returns
Type Description
GetMigrationSubtaskRequest.Builder

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
Type Description
GetMigrationSubtaskRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetMigrationSubtaskRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetMigrationSubtaskRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetMigrationSubtaskRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetMigrationSubtaskRequest.Builder
Overrides