Class PromoteMigrationJobRequest.Builder (2.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PromoteMigrationJobRequest build()
Returns
TypeDescription
PromoteMigrationJobRequest

buildPartial()

public PromoteMigrationJobRequest buildPartial()
Returns
TypeDescription
PromoteMigrationJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public PromoteMigrationJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PromoteMigrationJobRequest.Builder
Overrides

clearName()

public PromoteMigrationJobRequest.Builder clearName()

Name of the migration job resource to promote.

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

Returns
TypeDescription
PromoteMigrationJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PromoteMigrationJobRequest getDefaultInstanceForType()
Returns
TypeDescription
PromoteMigrationJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the migration job resource to promote.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the migration job resource to promote.

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PromoteMigrationJobRequest other)

public PromoteMigrationJobRequest.Builder mergeFrom(PromoteMigrationJobRequest other)
Parameter
NameDescription
otherPromoteMigrationJobRequest
Returns
TypeDescription
PromoteMigrationJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PromoteMigrationJobRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PromoteMigrationJobRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PromoteMigrationJobRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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