Class GetMigrationWorkflowRequest.Builder (0.56.0)

public static final class GetMigrationWorkflowRequest.Builder extends GeneratedMessageV3.Builder<GetMigrationWorkflowRequest.Builder> implements GetMigrationWorkflowRequestOrBuilder

A request to get a previously created migration workflow.

Protobuf type google.cloud.bigquery.migration.v2.GetMigrationWorkflowRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetMigrationWorkflowRequest build()
Returns
Type Description
GetMigrationWorkflowRequest

buildPartial()

public GetMigrationWorkflowRequest buildPartial()
Returns
Type Description
GetMigrationWorkflowRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetMigrationWorkflowRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetMigrationWorkflowRequest.Builder
Overrides

clearName()

public GetMigrationWorkflowRequest.Builder clearName()

Required. The unique identifier for the migration workflow. Example: projects/123/locations/us/workflows/1234

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetMigrationWorkflowRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetMigrationWorkflowRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetMigrationWorkflowRequest.Builder
Overrides

clearReadMask()

public GetMigrationWorkflowRequest.Builder clearReadMask()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
Type Description
GetMigrationWorkflowRequest.Builder

clone()

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

getDefaultInstanceForType()

public GetMigrationWorkflowRequest getDefaultInstanceForType()
Returns
Type Description
GetMigrationWorkflowRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The unique identifier for the migration workflow. Example: projects/123/locations/us/workflows/1234

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 workflow. Example: projects/123/locations/us/workflows/1234

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getReadMask()

public FieldMask getReadMask()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
Type Description
FieldMask

The readMask.

getReadMaskBuilder()

public FieldMask.Builder getReadMaskBuilder()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
Type Description
Builder

getReadMaskOrBuilder()

public FieldMaskOrBuilder getReadMaskOrBuilder()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasReadMask()

public boolean hasReadMask()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

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(GetMigrationWorkflowRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public GetMigrationWorkflowRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetMigrationWorkflowRequest.Builder
Overrides

mergeReadMask(FieldMask value)

public GetMigrationWorkflowRequest.Builder mergeReadMask(FieldMask value)

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
GetMigrationWorkflowRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetMigrationWorkflowRequest.Builder setName(String value)

Required. The unique identifier for the migration workflow. Example: projects/123/locations/us/workflows/1234

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetMigrationWorkflowRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetMigrationWorkflowRequest.Builder setNameBytes(ByteString value)

Required. The unique identifier for the migration workflow. Example: projects/123/locations/us/workflows/1234

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
GetMigrationWorkflowRequest.Builder

This builder for chaining.

setReadMask(FieldMask value)

public GetMigrationWorkflowRequest.Builder setReadMask(FieldMask value)

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
GetMigrationWorkflowRequest.Builder

setReadMask(FieldMask.Builder builderForValue)

public GetMigrationWorkflowRequest.Builder setReadMask(FieldMask.Builder builderForValue)

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GetMigrationWorkflowRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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