Class PromoteMigrationJobRequest.Builder (2.82.0)

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

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

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.

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

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.