- 1.85.0 (latest)
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.76.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.5
- 1.2.0
- 1.1.1
- 1.0.5
public static final class DiskMigrationJobTargetDetails.Builder extends GeneratedMessage.Builder<DiskMigrationJobTargetDetails.Builder> implements DiskMigrationJobTargetDetailsOrBuilderDetails of the target disk in Compute Engine.
Protobuf type google.cloud.vmmigration.v1.DiskMigrationJobTargetDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DiskMigrationJobTargetDetails.BuilderImplements
DiskMigrationJobTargetDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DiskMigrationJobTargetDetails build()| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails |
|
buildPartial()
public DiskMigrationJobTargetDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails |
|
clear()
public DiskMigrationJobTargetDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
clearEncryption()
public DiskMigrationJobTargetDetails.Builder clearEncryption()Optional. The encryption to apply to the disk. If the DiskMigrationJob parent Source resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
clearLabels()
public DiskMigrationJobTargetDetails.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
clearTargetDisk()
public DiskMigrationJobTargetDetails.Builder clearTargetDisk()Required. The target disk.
.google.cloud.vmmigration.v1.ComputeEngineDisk target_disk = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
clearTargetProject()
public DiskMigrationJobTargetDetails.Builder clearTargetProject()Required. The name of the resource of type TargetProject which represents the Compute Engine project in which to create the disk. Should be of the form: projects/{project}/locations/global/targetProjects/{target-project}
string target_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
This builder for chaining. |
clearTargetStorage()
public DiskMigrationJobTargetDetails.Builder clearTargetStorage()| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
containsLabels(String key)
public boolean containsLabels(String key)Optional. A map of labels to associate with the disk.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public DiskMigrationJobTargetDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEncryption()
public Encryption getEncryption()Optional. The encryption to apply to the disk. If the DiskMigrationJob parent Source resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Encryption |
The encryption. |
getEncryptionBuilder()
public Encryption.Builder getEncryptionBuilder()Optional. The encryption to apply to the disk. If the DiskMigrationJob parent Source resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Encryption.Builder |
|
getEncryptionOrBuilder()
public EncryptionOrBuilder getEncryptionOrBuilder()Optional. The encryption to apply to the disk. If the DiskMigrationJob parent Source resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EncryptionOrBuilder |
|
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount()Optional. A map of labels to associate with the disk.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()Optional. A map of labels to associate with the disk.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Optional. A map of labels to associate with the disk.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Optional. A map of labels to associate with the disk.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getTargetDisk()
public ComputeEngineDisk getTargetDisk()Required. The target disk.
.google.cloud.vmmigration.v1.ComputeEngineDisk target_disk = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ComputeEngineDisk |
The targetDisk. |
getTargetDiskBuilder()
public ComputeEngineDisk.Builder getTargetDiskBuilder()Required. The target disk.
.google.cloud.vmmigration.v1.ComputeEngineDisk target_disk = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ComputeEngineDisk.Builder |
|
getTargetDiskOrBuilder()
public ComputeEngineDiskOrBuilder getTargetDiskOrBuilder()Required. The target disk.
.google.cloud.vmmigration.v1.ComputeEngineDisk target_disk = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ComputeEngineDiskOrBuilder |
|
getTargetProject()
public String getTargetProject()Required. The name of the resource of type TargetProject which represents the Compute Engine project in which to create the disk. Should be of the form: projects/{project}/locations/global/targetProjects/{target-project}
string target_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The targetProject. |
getTargetProjectBytes()
public ByteString getTargetProjectBytes()Required. The name of the resource of type TargetProject which represents the Compute Engine project in which to create the disk. Should be of the form: projects/{project}/locations/global/targetProjects/{target-project}
string target_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for targetProject. |
getTargetStorageCase()
public DiskMigrationJobTargetDetails.TargetStorageCase getTargetStorageCase()| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.TargetStorageCase |
|
hasEncryption()
public boolean hasEncryption()Optional. The encryption to apply to the disk. If the DiskMigrationJob parent Source resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the encryption field is set. |
hasTargetDisk()
public boolean hasTargetDisk()Required. The target disk.
.google.cloud.vmmigration.v1.ComputeEngineDisk target_disk = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the targetDisk field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEncryption(Encryption value)
public DiskMigrationJobTargetDetails.Builder mergeEncryption(Encryption value)Optional. The encryption to apply to the disk. If the DiskMigrationJob parent Source resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Encryption |
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
mergeFrom(DiskMigrationJobTargetDetails other)
public DiskMigrationJobTargetDetails.Builder mergeFrom(DiskMigrationJobTargetDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
DiskMigrationJobTargetDetails |
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiskMigrationJobTargetDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DiskMigrationJobTargetDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
mergeTargetDisk(ComputeEngineDisk value)
public DiskMigrationJobTargetDetails.Builder mergeTargetDisk(ComputeEngineDisk value)Required. The target disk.
.google.cloud.vmmigration.v1.ComputeEngineDisk target_disk = 8 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ComputeEngineDisk |
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
putAllLabels(Map<String,String> values)
public DiskMigrationJobTargetDetails.Builder putAllLabels(Map<String,String> values)Optional. A map of labels to associate with the disk.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
putLabels(String key, String value)
public DiskMigrationJobTargetDetails.Builder putLabels(String key, String value)Optional. A map of labels to associate with the disk.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
removeLabels(String key)
public DiskMigrationJobTargetDetails.Builder removeLabels(String key)Optional. A map of labels to associate with the disk.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
setEncryption(Encryption value)
public DiskMigrationJobTargetDetails.Builder setEncryption(Encryption value)Optional. The encryption to apply to the disk. If the DiskMigrationJob parent Source resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Encryption |
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
setEncryption(Encryption.Builder builderForValue)
public DiskMigrationJobTargetDetails.Builder setEncryption(Encryption.Builder builderForValue)Optional. The encryption to apply to the disk. If the DiskMigrationJob parent Source resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Encryption.Builder |
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
setTargetDisk(ComputeEngineDisk value)
public DiskMigrationJobTargetDetails.Builder setTargetDisk(ComputeEngineDisk value)Required. The target disk.
.google.cloud.vmmigration.v1.ComputeEngineDisk target_disk = 8 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ComputeEngineDisk |
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
setTargetDisk(ComputeEngineDisk.Builder builderForValue)
public DiskMigrationJobTargetDetails.Builder setTargetDisk(ComputeEngineDisk.Builder builderForValue)Required. The target disk.
.google.cloud.vmmigration.v1.ComputeEngineDisk target_disk = 8 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ComputeEngineDisk.Builder |
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
|
setTargetProject(String value)
public DiskMigrationJobTargetDetails.Builder setTargetProject(String value)Required. The name of the resource of type TargetProject which represents the Compute Engine project in which to create the disk. Should be of the form: projects/{project}/locations/global/targetProjects/{target-project}
string target_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetProject to set. |
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
This builder for chaining. |
setTargetProjectBytes(ByteString value)
public DiskMigrationJobTargetDetails.Builder setTargetProjectBytes(ByteString value)Required. The name of the resource of type TargetProject which represents the Compute Engine project in which to create the disk. Should be of the form: projects/{project}/locations/global/targetProjects/{target-project}
string target_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetProject to set. |
| Returns | |
|---|---|
| Type | Description |
DiskMigrationJobTargetDetails.Builder |
This builder for chaining. |