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()
Methods
public PromoteMigrationJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public PromoteMigrationJobRequest build()
public PromoteMigrationJobRequest buildPartial()
public PromoteMigrationJobRequest.Builder clear()
Overrides
public PromoteMigrationJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public PromoteMigrationJobRequest.Builder clearName()
Name of the migration job resource to promote.
string name = 1 [(.google.api.resource_reference) = { ... }
public PromoteMigrationJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public PromoteMigrationJobRequest.Builder clone()
Overrides
public PromoteMigrationJobRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public PromoteMigrationJobRequest.Builder mergeFrom(PromoteMigrationJobRequest other)
public PromoteMigrationJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public PromoteMigrationJobRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final PromoteMigrationJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public PromoteMigrationJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public PromoteMigrationJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final PromoteMigrationJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides