Class GetMigrationSubtaskRequest.Builder (0.5.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];

Returns
TypeDescription
boolean

Whether the readMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetMigrationSubtaskRequest other)

public GetMigrationSubtaskRequest.Builder mergeFrom(GetMigrationSubtaskRequest other)
Parameter
NameDescription
otherGetMigrationSubtaskRequest
Returns
TypeDescription
GetMigrationSubtaskRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetMigrationSubtaskRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetMigrationSubtaskRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetMigrationSubtaskRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
GetMigrationSubtaskRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetMigrationSubtaskRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetMigrationSubtaskRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetMigrationSubtaskRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
GetMigrationSubtaskRequest.Builder

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

public GetMigrationSubtaskRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetMigrationSubtaskRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetMigrationSubtaskRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetMigrationSubtaskRequest.Builder
Overrides