Class StopMigrationJobRequest.Builder (2.51.0)

public static final class StopMigrationJobRequest.Builder extends GeneratedMessageV3.Builder<StopMigrationJobRequest.Builder> implements StopMigrationJobRequestOrBuilder

Request message for 'StopMigrationJob' request.

Protobuf type google.cloud.clouddms.v1.StopMigrationJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StopMigrationJobRequest build()
Returns
Type Description
StopMigrationJobRequest

buildPartial()

public StopMigrationJobRequest buildPartial()
Returns
Type Description
StopMigrationJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public StopMigrationJobRequest.Builder clearName()

Name of the migration job resource to stop.

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

Returns
Type Description
StopMigrationJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public StopMigrationJobRequest getDefaultInstanceForType()
Returns
Type Description
StopMigrationJobRequest

getDescriptorForType()

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

getName()

public String getName()

Name of the migration job resource to stop.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the migration job resource to stop.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public StopMigrationJobRequest.Builder setName(String value)

Name of the migration job resource to stop.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
StopMigrationJobRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public StopMigrationJobRequest.Builder setNameBytes(ByteString value)

Name of the migration job resource to stop.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
StopMigrationJobRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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