Class PromoteMigrationJobRequest.Builder (2.51.0)

public static final class PromoteMigrationJobRequest.Builder extends GeneratedMessageV3.Builder<PromoteMigrationJobRequest.Builder> implements PromoteMigrationJobRequestOrBuilder

Request message for 'PromoteMigrationJob' request.

Protobuf type google.cloud.clouddms.v1.PromoteMigrationJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PromoteMigrationJobRequest build()
Returns
Type Description
PromoteMigrationJobRequest

buildPartial()

public PromoteMigrationJobRequest buildPartial()
Returns
Type Description
PromoteMigrationJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public PromoteMigrationJobRequest.Builder clearName()

Name of the migration job resource to promote.

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

Returns
Type Description
PromoteMigrationJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PromoteMigrationJobRequest getDefaultInstanceForType()
Returns
Type Description
PromoteMigrationJobRequest

getDescriptorForType()

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

getName()

public String getName()

Name of the migration job resource to promote.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the migration job resource to promote.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PromoteMigrationJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public PromoteMigrationJobRequest.Builder setName(String value)

Name of the migration job resource to promote.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
PromoteMigrationJobRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PromoteMigrationJobRequest.Builder setNameBytes(ByteString value)

Name of the migration job resource to promote.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
PromoteMigrationJobRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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