Class GetMigrationSubtaskRequest.Builder (0.86.0)

public static final class GetMigrationSubtaskRequest.Builder extends GeneratedMessage.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

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

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.

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

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 GeneratedMessage.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

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