Class RestartMigrationJobRequest.Builder (2.21.0)

public static final class RestartMigrationJobRequest.Builder extends GeneratedMessageV3.Builder<RestartMigrationJobRequest.Builder> implements RestartMigrationJobRequestOrBuilder

Request message for 'RestartMigrationJob' request.

Protobuf type google.cloud.clouddms.v1.RestartMigrationJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RestartMigrationJobRequest build()
Returns
TypeDescription
RestartMigrationJobRequest

buildPartial()

public RestartMigrationJobRequest buildPartial()
Returns
TypeDescription
RestartMigrationJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public RestartMigrationJobRequest.Builder clearName()

Name of the migration job resource to restart.

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

Returns
TypeDescription
RestartMigrationJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RestartMigrationJobRequest getDefaultInstanceForType()
Returns
TypeDescription
RestartMigrationJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the migration job resource to restart.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the migration job resource to restart.

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

public RestartMigrationJobRequest.Builder mergeFrom(RestartMigrationJobRequest other)
Parameter
NameDescription
otherRestartMigrationJobRequest
Returns
TypeDescription
RestartMigrationJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public RestartMigrationJobRequest.Builder setName(String value)

Name of the migration job resource to restart.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
RestartMigrationJobRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RestartMigrationJobRequest.Builder setNameBytes(ByteString value)

Name of the migration job resource to restart.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
RestartMigrationJobRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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