Class StopMigrationJobRequest.Builder (2.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StopMigrationJobRequest build()
Returns
TypeDescription
StopMigrationJobRequest

buildPartial()

public StopMigrationJobRequest buildPartial()
Returns
TypeDescription
StopMigrationJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public StopMigrationJobRequest.Builder clearName()

Name of the migration job resource to stop.

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

Returns
TypeDescription
StopMigrationJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public StopMigrationJobRequest getDefaultInstanceForType()
Returns
TypeDescription
StopMigrationJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the migration job resource to stop.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the migration job resource to stop.

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

public StopMigrationJobRequest.Builder mergeFrom(StopMigrationJobRequest other)
Parameter
NameDescription
otherStopMigrationJobRequest
Returns
TypeDescription
StopMigrationJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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