public final class UpdateMigrationJobRequest extends GeneratedMessageV3 implements UpdateMigrationJobRequestOrBuilder
Request message for 'UpdateMigrationJob' request.
Protobuf type google.cloud.clouddms.v1.UpdateMigrationJobRequest
Static Fields
MIGRATION_JOB_FIELD_NUMBER
public static final int MIGRATION_JOB_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static UpdateMigrationJobRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateMigrationJobRequest.Builder newBuilder()
newBuilder(UpdateMigrationJobRequest prototype)
public static UpdateMigrationJobRequest.Builder newBuilder(UpdateMigrationJobRequest prototype)
public static UpdateMigrationJobRequest parseDelimitedFrom(InputStream input)
public static UpdateMigrationJobRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateMigrationJobRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateMigrationJobRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateMigrationJobRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateMigrationJobRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateMigrationJobRequest parseFrom(CodedInputStream input)
public static UpdateMigrationJobRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateMigrationJobRequest parseFrom(InputStream input)
public static UpdateMigrationJobRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateMigrationJobRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateMigrationJobRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateMigrationJobRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public UpdateMigrationJobRequest getDefaultInstanceForType()
getMigrationJob()
public MigrationJob getMigrationJob()
Required. The migration job parameters to update.
.google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];
getMigrationJobOrBuilder()
public MigrationJobOrBuilder getMigrationJobOrBuilder()
Required. The migration job parameters to update.
.google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];
getParserForType()
public Parser<UpdateMigrationJobRequest> getParserForType()
Overrides
getRequestId()
public String getRequestId()
A unique id used to identify the request. If the server receives two
requests with the same id, then the second request will be ignored.
It is recommended to always set this value to a UUID.
The id must contain only letters (a-z, A-Z), numbers (0-9), underscores
(_), and hyphens (-). The maximum length is 40 characters.
string request_id = 3;
Returns |
---|
Type | Description |
String | The requestId.
|
getRequestIdBytes()
public ByteString getRequestIdBytes()
A unique id used to identify the request. If the server receives two
requests with the same id, then the second request will be ignored.
It is recommended to always set this value to a UUID.
The id must contain only letters (a-z, A-Z), numbers (0-9), underscores
(_), and hyphens (-). The maximum length is 40 characters.
string request_id = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for requestId.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Required. Field mask is used to specify the fields to be overwritten in the
migration job resource by the update.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Field mask is used to specify the fields to be overwritten in the
migration job resource by the update.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
hasMigrationJob()
public boolean hasMigrationJob()
Required. The migration job parameters to update.
.google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the migrationJob field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. Field mask is used to specify the fields to be overwritten in the
migration job resource by the update.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateMigrationJobRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateMigrationJobRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public UpdateMigrationJobRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides