public static final class PromoteMigrationJobRequest.Builder extends GeneratedMessageV3.Builder<PromoteMigrationJobRequest.Builder> implements PromoteMigrationJobRequestOrBuilder
Request message for 'PromoteMigrationJob' request.
Protobuf type google.cloud.clouddms.v1.PromoteMigrationJobRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public PromoteMigrationJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public PromoteMigrationJobRequest build()
Returns
public PromoteMigrationJobRequest buildPartial()
Returns
public PromoteMigrationJobRequest.Builder clear()
Returns
Overrides
public PromoteMigrationJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public PromoteMigrationJobRequest.Builder clearName()
Name of the migration job resource to promote.
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
public PromoteMigrationJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public PromoteMigrationJobRequest.Builder clone()
Returns
Overrides
public PromoteMigrationJobRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Name of the migration job resource to promote.
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Name of the migration job resource to promote.
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public PromoteMigrationJobRequest.Builder mergeFrom(PromoteMigrationJobRequest other)
Parameter
Returns
public PromoteMigrationJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public PromoteMigrationJobRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final PromoteMigrationJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public PromoteMigrationJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public PromoteMigrationJobRequest.Builder setName(String value)
Name of the migration job resource to promote.
string name = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
public PromoteMigrationJobRequest.Builder setNameBytes(ByteString value)
Name of the migration job resource to promote.
string name = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
public PromoteMigrationJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final PromoteMigrationJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides