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
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
Field Value
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpdateMigrationJobRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpdateMigrationJobRequest.Builder newBuilder()
Returns
newBuilder(UpdateMigrationJobRequest prototype)
public static UpdateMigrationJobRequest.Builder newBuilder(UpdateMigrationJobRequest prototype)
Parameter
Returns
public static UpdateMigrationJobRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateMigrationJobRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpdateMigrationJobRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateMigrationJobRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpdateMigrationJobRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateMigrationJobRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateMigrationJobRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateMigrationJobRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateMigrationJobRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateMigrationJobRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpdateMigrationJobRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateMigrationJobRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpdateMigrationJobRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UpdateMigrationJobRequest getDefaultInstanceForType()
Returns
getMigrationJob()
public MigrationJob getMigrationJob()
Required. The migration job parameters to update.
.google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getMigrationJobOrBuilder()
public MigrationJobOrBuilder getMigrationJobOrBuilder()
Required. The migration job parameters to update.
.google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<UpdateMigrationJobRequest> getParserForType()
Returns
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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];
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UpdateMigrationJobRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateMigrationJobRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UpdateMigrationJobRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions