Class StartMigrationJobRequest.Builder (2.3.0)

public static final class StartMigrationJobRequest.Builder extends GeneratedMessageV3.Builder<StartMigrationJobRequest.Builder> implements StartMigrationJobRequestOrBuilder

Request message for 'StartMigrationJob' request.

Protobuf type google.cloud.clouddms.v1.StartMigrationJobRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StartMigrationJobRequest build()
Returns
TypeDescription
StartMigrationJobRequest

buildPartial()

public StartMigrationJobRequest buildPartial()
Returns
TypeDescription
StartMigrationJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public StartMigrationJobRequest.Builder clearName()

Name of the migration job resource to start.

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

Returns
TypeDescription
StartMigrationJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public StartMigrationJobRequest getDefaultInstanceForType()
Returns
TypeDescription
StartMigrationJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the migration job resource to start.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the migration job resource to start.

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

public StartMigrationJobRequest.Builder mergeFrom(StartMigrationJobRequest other)
Parameter
NameDescription
otherStartMigrationJobRequest
Returns
TypeDescription
StartMigrationJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public StartMigrationJobRequest.Builder setName(String value)

Name of the migration job resource to start.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
StartMigrationJobRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public StartMigrationJobRequest.Builder setNameBytes(ByteString value)

Name of the migration job resource to start.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
StartMigrationJobRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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