Class PromoteMigrationJobRequest.Builder (2.6.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.6.0keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[]]