Class ResumeMigrationJobRequest.Builder (2.14.0)

public static final class ResumeMigrationJobRequest.Builder extends GeneratedMessageV3.Builder<ResumeMigrationJobRequest.Builder> implements ResumeMigrationJobRequestOrBuilder

Request message for 'ResumeMigrationJob' request.

Protobuf type google.cloud.clouddms.v1.ResumeMigrationJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResumeMigrationJobRequest build()
Returns
TypeDescription
ResumeMigrationJobRequest

buildPartial()

public ResumeMigrationJobRequest buildPartial()
Returns
TypeDescription
ResumeMigrationJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ResumeMigrationJobRequest.Builder clearName()

Name of the migration job resource to resume.

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

Returns
TypeDescription
ResumeMigrationJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ResumeMigrationJobRequest getDefaultInstanceForType()
Returns
TypeDescription
ResumeMigrationJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the migration job resource to resume.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the migration job resource to resume.

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

public ResumeMigrationJobRequest.Builder mergeFrom(ResumeMigrationJobRequest other)
Parameter
NameDescription
otherResumeMigrationJobRequest
Returns
TypeDescription
ResumeMigrationJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ResumeMigrationJobRequest.Builder setName(String value)

Name of the migration job resource to resume.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ResumeMigrationJobRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ResumeMigrationJobRequest.Builder setNameBytes(ByteString value)

Name of the migration job resource to resume.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ResumeMigrationJobRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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