Class GetMigrationWorkflowRequest.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetMigrationWorkflowRequest build()
Returns
TypeDescription
GetMigrationWorkflowRequest

buildPartial()

public GetMigrationWorkflowRequest buildPartial()
Returns
TypeDescription
GetMigrationWorkflowRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetMigrationWorkflowRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetMigrationWorkflowRequest.Builder
Overrides

clearReadMask()

public GetMigrationWorkflowRequest.Builder clearReadMask()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
TypeDescription
GetMigrationWorkflowRequest.Builder

clone()

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

getDefaultInstanceForType()

public GetMigrationWorkflowRequest getDefaultInstanceForType()
Returns
TypeDescription
GetMigrationWorkflowRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getReadMask()

public FieldMask getReadMask()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
TypeDescription
FieldMask

The readMask.

getReadMaskBuilder()

public FieldMask.Builder getReadMaskBuilder()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
TypeDescription
Builder

getReadMaskOrBuilder()

public FieldMaskOrBuilder getReadMaskOrBuilder()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasReadMask()

public boolean hasReadMask()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

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

public GetMigrationWorkflowRequest.Builder mergeFrom(GetMigrationWorkflowRequest other)
Parameter
NameDescription
otherGetMigrationWorkflowRequest
Returns
TypeDescription
GetMigrationWorkflowRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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