Class GetMigrationJobRequest.Builder (2.18.0)

public static final class GetMigrationJobRequest.Builder extends GeneratedMessageV3.Builder<GetMigrationJobRequest.Builder> implements GetMigrationJobRequestOrBuilder

Request message for 'GetMigrationJob' request.

Protobuf type google.cloud.clouddms.v1.GetMigrationJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetMigrationJobRequest build()
Returns
TypeDescription
GetMigrationJobRequest

buildPartial()

public GetMigrationJobRequest buildPartial()
Returns
TypeDescription
GetMigrationJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetMigrationJobRequest.Builder clearName()

Required. Name of the migration job resource to get.

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

Returns
TypeDescription
GetMigrationJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetMigrationJobRequest getDefaultInstanceForType()
Returns
TypeDescription
GetMigrationJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the migration job resource to get.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the migration job resource to get.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.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(GetMigrationJobRequest other)

public GetMigrationJobRequest.Builder mergeFrom(GetMigrationJobRequest other)
Parameter
NameDescription
otherGetMigrationJobRequest
Returns
TypeDescription
GetMigrationJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetMigrationJobRequest.Builder setName(String value)

Required. Name of the migration job resource to get.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetMigrationJobRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetMigrationJobRequest.Builder setNameBytes(ByteString value)

Required. Name of the migration job resource to get.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetMigrationJobRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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