- 1.74.0 (latest)
- 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 MachineImageTargetDetails.Builder extends GeneratedMessageV3.Builder<MachineImageTargetDetails.Builder> implements MachineImageTargetDetailsOrBuilder
The target details of the machine image resource that will be created by the image import job.
Protobuf type google.cloud.vmmigration.v1.MachineImageTargetDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MachineImageTargetDetails.BuilderImplements
MachineImageTargetDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAdditionalLicenses(String value)
public MachineImageTargetDetails.Builder addAdditionalLicenses(String value)
Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The additionalLicenses to add. |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
addAdditionalLicensesBytes(ByteString value)
public MachineImageTargetDetails.Builder addAdditionalLicensesBytes(ByteString value)
Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the additionalLicenses to add. |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
addAllAdditionalLicenses(Iterable<String> values)
public MachineImageTargetDetails.Builder addAllAdditionalLicenses(Iterable<String> values)
Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The additionalLicenses to add. |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values)
public MachineImageTargetDetails.Builder addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values)
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.vmmigration.v1.NetworkInterface> |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
addAllTags(Iterable<String> values)
public MachineImageTargetDetails.Builder addAllTags(Iterable<String> values)
Optional. The tags to apply to the instance created by the machine image.
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The tags to add. |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
addNetworkInterfaces(NetworkInterface value)
public MachineImageTargetDetails.Builder addNetworkInterfaces(NetworkInterface value)
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
NetworkInterface |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
addNetworkInterfaces(NetworkInterface.Builder builderForValue)
public MachineImageTargetDetails.Builder addNetworkInterfaces(NetworkInterface.Builder builderForValue)
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
NetworkInterface.Builder |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
addNetworkInterfaces(int index, NetworkInterface value)
public MachineImageTargetDetails.Builder addNetworkInterfaces(int index, NetworkInterface value)
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
NetworkInterface |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
public MachineImageTargetDetails.Builder addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
NetworkInterface.Builder |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
addNetworkInterfacesBuilder()
public NetworkInterface.Builder addNetworkInterfacesBuilder()
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
NetworkInterface.Builder |
addNetworkInterfacesBuilder(int index)
public NetworkInterface.Builder addNetworkInterfacesBuilder(int index)
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
NetworkInterface.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MachineImageTargetDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
addTags(String value)
public MachineImageTargetDetails.Builder addTags(String value)
Optional. The tags to apply to the instance created by the machine image.
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The tags to add. |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
addTagsBytes(ByteString value)
public MachineImageTargetDetails.Builder addTagsBytes(ByteString value)
Optional. The tags to apply to the instance created by the machine image.
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the tags to add. |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
build()
public MachineImageTargetDetails build()
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails |
buildPartial()
public MachineImageTargetDetails buildPartial()
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails |
clear()
public MachineImageTargetDetails.Builder clear()
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
clearAdditionalLicenses()
public MachineImageTargetDetails.Builder clearAdditionalLicenses()
Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
clearDescription()
public MachineImageTargetDetails.Builder clearDescription()
Optional. An optional description of the machine image.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
clearEncryption()
public MachineImageTargetDetails.Builder clearEncryption()
Immutable. The encryption to apply to the machine image. If the Image Import resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 6 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
clearField(Descriptors.FieldDescriptor field)
public MachineImageTargetDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
clearLabels()
public MachineImageTargetDetails.Builder clearLabels()
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
clearMachineImageName()
public MachineImageTargetDetails.Builder clearMachineImageName()
Required. The name of the machine image to be created.
string machine_image_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
clearMachineImageParametersOverrides()
public MachineImageTargetDetails.Builder clearMachineImageParametersOverrides()
Optional. Parameters overriding decisions based on the source machine image configurations.
.google.cloud.vmmigration.v1.MachineImageParametersOverrides machine_image_parameters_overrides = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
clearNetworkInterfaces()
public MachineImageTargetDetails.Builder clearNetworkInterfaces()
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MachineImageTargetDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
clearOsAdaptationConfig()
public MachineImageTargetDetails.Builder clearOsAdaptationConfig()
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
clearOsAdaptationParameters()
public MachineImageTargetDetails.Builder clearOsAdaptationParameters()
Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
clearServiceAccount()
public MachineImageTargetDetails.Builder clearServiceAccount()
Optional. The service account to assign to the instance created by the machine image.
.google.cloud.vmmigration.v1.ServiceAccount service_account = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
clearShieldedInstanceConfig()
public MachineImageTargetDetails.Builder clearShieldedInstanceConfig()
Optional. Shielded instance configuration.
.google.cloud.vmmigration.v1.ShieldedInstanceConfig shielded_instance_config = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
clearSingleRegionStorage()
public MachineImageTargetDetails.Builder clearSingleRegionStorage()
Optional. Set to true to set the machine image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
bool single_region_storage = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
clearSkipOsAdaptation()
public MachineImageTargetDetails.Builder clearSkipOsAdaptation()
Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.SkipOsAdaptation skip_os_adaptation = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
clearTags()
public MachineImageTargetDetails.Builder clearTags()
Optional. The tags to apply to the instance created by the machine image.
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
clearTargetProject()
public MachineImageTargetDetails.Builder clearTargetProject()
Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
string target_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
clone()
public MachineImageTargetDetails.Builder clone()
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. The labels to apply to the instance created by the machine image.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getAdditionalLicenses(int index)
public String getAdditionalLicenses(int index)
Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The additionalLicenses at the given index. |
getAdditionalLicensesBytes(int index)
public ByteString getAdditionalLicensesBytes(int index)
Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the additionalLicenses at the given index. |
getAdditionalLicensesCount()
public int getAdditionalLicensesCount()
Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of additionalLicenses. |
getAdditionalLicensesList()
public ProtocolStringList getAdditionalLicensesList()
Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the additionalLicenses. |
getDefaultInstanceForType()
public MachineImageTargetDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails |
getDescription()
public String getDescription()
Optional. An optional description of the machine image.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. An optional description of the machine image.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEncryption()
public Encryption getEncryption()
Immutable. The encryption to apply to the machine image. If the Image Import resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 6 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Encryption |
The encryption. |
getEncryptionBuilder()
public Encryption.Builder getEncryptionBuilder()
Immutable. The encryption to apply to the machine image. If the Image Import resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 6 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Encryption.Builder |
getEncryptionOrBuilder()
public EncryptionOrBuilder getEncryptionOrBuilder()
Immutable. The encryption to apply to the machine image. If the Image Import resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 6 [(.google.api.field_behavior) = IMMUTABLE];
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. The labels to apply to the instance created by the machine image.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. The labels to apply to the instance created by the machine image.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels to apply to the instance created by the machine image.
map<string, string> labels = 10 [(.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. The labels to apply to the instance created by the machine image.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getMachineImageName()
public String getMachineImageName()
Required. The name of the machine image to be created.
string machine_image_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The machineImageName. |
getMachineImageNameBytes()
public ByteString getMachineImageNameBytes()
Required. The name of the machine image to be created.
string machine_image_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for machineImageName. |
getMachineImageParametersOverrides()
public MachineImageParametersOverrides getMachineImageParametersOverrides()
Optional. Parameters overriding decisions based on the source machine image configurations.
.google.cloud.vmmigration.v1.MachineImageParametersOverrides machine_image_parameters_overrides = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MachineImageParametersOverrides |
The machineImageParametersOverrides. |
getMachineImageParametersOverridesBuilder()
public MachineImageParametersOverrides.Builder getMachineImageParametersOverridesBuilder()
Optional. Parameters overriding decisions based on the source machine image configurations.
.google.cloud.vmmigration.v1.MachineImageParametersOverrides machine_image_parameters_overrides = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MachineImageParametersOverrides.Builder |
getMachineImageParametersOverridesOrBuilder()
public MachineImageParametersOverridesOrBuilder getMachineImageParametersOverridesOrBuilder()
Optional. Parameters overriding decisions based on the source machine image configurations.
.google.cloud.vmmigration.v1.MachineImageParametersOverrides machine_image_parameters_overrides = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MachineImageParametersOverridesOrBuilder |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getNetworkInterfaces(int index)
public NetworkInterface getNetworkInterfaces(int index)
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
NetworkInterface |
getNetworkInterfacesBuilder(int index)
public NetworkInterface.Builder getNetworkInterfacesBuilder(int index)
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
NetworkInterface.Builder |
getNetworkInterfacesBuilderList()
public List<NetworkInterface.Builder> getNetworkInterfacesBuilderList()
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getNetworkInterfacesCount()
public int getNetworkInterfacesCount()
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getNetworkInterfacesList()
public List<NetworkInterface> getNetworkInterfacesList()
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<NetworkInterface> |
getNetworkInterfacesOrBuilder(int index)
public NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
NetworkInterfaceOrBuilder |
getNetworkInterfacesOrBuilderList()
public List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> |
getOsAdaptationConfigCase()
public MachineImageTargetDetails.OsAdaptationConfigCase getOsAdaptationConfigCase()
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.OsAdaptationConfigCase |
getOsAdaptationParameters()
public ImageImportOsAdaptationParameters getOsAdaptationParameters()
Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ImageImportOsAdaptationParameters |
The osAdaptationParameters. |
getOsAdaptationParametersBuilder()
public ImageImportOsAdaptationParameters.Builder getOsAdaptationParametersBuilder()
Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ImageImportOsAdaptationParameters.Builder |
getOsAdaptationParametersOrBuilder()
public ImageImportOsAdaptationParametersOrBuilder getOsAdaptationParametersOrBuilder()
Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ImageImportOsAdaptationParametersOrBuilder |
getServiceAccount()
public ServiceAccount getServiceAccount()
Optional. The service account to assign to the instance created by the machine image.
.google.cloud.vmmigration.v1.ServiceAccount service_account = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ServiceAccount |
The serviceAccount. |
getServiceAccountBuilder()
public ServiceAccount.Builder getServiceAccountBuilder()
Optional. The service account to assign to the instance created by the machine image.
.google.cloud.vmmigration.v1.ServiceAccount service_account = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ServiceAccount.Builder |
getServiceAccountOrBuilder()
public ServiceAccountOrBuilder getServiceAccountOrBuilder()
Optional. The service account to assign to the instance created by the machine image.
.google.cloud.vmmigration.v1.ServiceAccount service_account = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ServiceAccountOrBuilder |
getShieldedInstanceConfig()
public ShieldedInstanceConfig getShieldedInstanceConfig()
Optional. Shielded instance configuration.
.google.cloud.vmmigration.v1.ShieldedInstanceConfig shielded_instance_config = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfig |
The shieldedInstanceConfig. |
getShieldedInstanceConfigBuilder()
public ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder()
Optional. Shielded instance configuration.
.google.cloud.vmmigration.v1.ShieldedInstanceConfig shielded_instance_config = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfig.Builder |
getShieldedInstanceConfigOrBuilder()
public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
Optional. Shielded instance configuration.
.google.cloud.vmmigration.v1.ShieldedInstanceConfig shielded_instance_config = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfigOrBuilder |
getSingleRegionStorage()
public boolean getSingleRegionStorage()
Optional. Set to true to set the machine image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
bool single_region_storage = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The singleRegionStorage. |
getSkipOsAdaptation()
public SkipOsAdaptation getSkipOsAdaptation()
Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.SkipOsAdaptation skip_os_adaptation = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SkipOsAdaptation |
The skipOsAdaptation. |
getSkipOsAdaptationBuilder()
public SkipOsAdaptation.Builder getSkipOsAdaptationBuilder()
Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.SkipOsAdaptation skip_os_adaptation = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SkipOsAdaptation.Builder |
getSkipOsAdaptationOrBuilder()
public SkipOsAdaptationOrBuilder getSkipOsAdaptationOrBuilder()
Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.SkipOsAdaptation skip_os_adaptation = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SkipOsAdaptationOrBuilder |
getTags(int index)
public String getTags(int index)
Optional. The tags to apply to the instance created by the machine image.
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The tags at the given index. |
getTagsBytes(int index)
public ByteString getTagsBytes(int index)
Optional. The tags to apply to the instance created by the machine image.
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the tags at the given index. |
getTagsCount()
public int getTagsCount()
Optional. The tags to apply to the instance created by the machine image.
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of tags. |
getTagsList()
public ProtocolStringList getTagsList()
Optional. The tags to apply to the instance created by the machine image.
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the tags. |
getTargetProject()
public String getTargetProject()
Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
string target_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The targetProject. |
getTargetProjectBytes()
public ByteString getTargetProjectBytes()
Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
string target_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for targetProject. |
hasEncryption()
public boolean hasEncryption()
Immutable. The encryption to apply to the machine image. If the Image Import resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 6 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
boolean |
Whether the encryption field is set. |
hasMachineImageParametersOverrides()
public boolean hasMachineImageParametersOverrides()
Optional. Parameters overriding decisions based on the source machine image configurations.
.google.cloud.vmmigration.v1.MachineImageParametersOverrides machine_image_parameters_overrides = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the machineImageParametersOverrides field is set. |
hasOsAdaptationParameters()
public boolean hasOsAdaptationParameters()
Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the osAdaptationParameters field is set. |
hasServiceAccount()
public boolean hasServiceAccount()
Optional. The service account to assign to the instance created by the machine image.
.google.cloud.vmmigration.v1.ServiceAccount service_account = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the serviceAccount field is set. |
hasShieldedInstanceConfig()
public boolean hasShieldedInstanceConfig()
Optional. Shielded instance configuration.
.google.cloud.vmmigration.v1.ShieldedInstanceConfig shielded_instance_config = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the shieldedInstanceConfig field is set. |
hasSkipOsAdaptation()
public boolean hasSkipOsAdaptation()
Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.SkipOsAdaptation skip_os_adaptation = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the skipOsAdaptation field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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 MachineImageTargetDetails.Builder mergeEncryption(Encryption value)
Immutable. The encryption to apply to the machine image. If the Image Import resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 6 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
Encryption |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
mergeFrom(MachineImageTargetDetails other)
public MachineImageTargetDetails.Builder mergeFrom(MachineImageTargetDetails other)
Parameter | |
---|---|
Name | Description |
other |
MachineImageTargetDetails |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MachineImageTargetDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MachineImageTargetDetails.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
mergeMachineImageParametersOverrides(MachineImageParametersOverrides value)
public MachineImageTargetDetails.Builder mergeMachineImageParametersOverrides(MachineImageParametersOverrides value)
Optional. Parameters overriding decisions based on the source machine image configurations.
.google.cloud.vmmigration.v1.MachineImageParametersOverrides machine_image_parameters_overrides = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
MachineImageParametersOverrides |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
mergeOsAdaptationParameters(ImageImportOsAdaptationParameters value)
public MachineImageTargetDetails.Builder mergeOsAdaptationParameters(ImageImportOsAdaptationParameters value)
Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ImageImportOsAdaptationParameters |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
mergeServiceAccount(ServiceAccount value)
public MachineImageTargetDetails.Builder mergeServiceAccount(ServiceAccount value)
Optional. The service account to assign to the instance created by the machine image.
.google.cloud.vmmigration.v1.ServiceAccount service_account = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ServiceAccount |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
public MachineImageTargetDetails.Builder mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
Optional. Shielded instance configuration.
.google.cloud.vmmigration.v1.ShieldedInstanceConfig shielded_instance_config = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ShieldedInstanceConfig |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
mergeSkipOsAdaptation(SkipOsAdaptation value)
public MachineImageTargetDetails.Builder mergeSkipOsAdaptation(SkipOsAdaptation value)
Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.SkipOsAdaptation skip_os_adaptation = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
SkipOsAdaptation |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MachineImageTargetDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
putAllLabels(Map<String,String> values)
public MachineImageTargetDetails.Builder putAllLabels(Map<String,String> values)
Optional. The labels to apply to the instance created by the machine image.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
putLabels(String key, String value)
public MachineImageTargetDetails.Builder putLabels(String key, String value)
Optional. The labels to apply to the instance created by the machine image.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
removeLabels(String key)
public MachineImageTargetDetails.Builder removeLabels(String key)
Optional. The labels to apply to the instance created by the machine image.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
removeNetworkInterfaces(int index)
public MachineImageTargetDetails.Builder removeNetworkInterfaces(int index)
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setAdditionalLicenses(int index, String value)
public MachineImageTargetDetails.Builder setAdditionalLicenses(int index, String value)
Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The additionalLicenses to set. |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
setDescription(String value)
public MachineImageTargetDetails.Builder setDescription(String value)
Optional. An optional description of the machine image.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public MachineImageTargetDetails.Builder setDescriptionBytes(ByteString value)
Optional. An optional description of the machine image.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
setEncryption(Encryption value)
public MachineImageTargetDetails.Builder setEncryption(Encryption value)
Immutable. The encryption to apply to the machine image. If the Image Import resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 6 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
Encryption |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setEncryption(Encryption.Builder builderForValue)
public MachineImageTargetDetails.Builder setEncryption(Encryption.Builder builderForValue)
Immutable. The encryption to apply to the machine image. If the Image Import resource has an encryption, this field must be set to the same encryption key.
.google.cloud.vmmigration.v1.Encryption encryption = 6 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
builderForValue |
Encryption.Builder |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MachineImageTargetDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setMachineImageName(String value)
public MachineImageTargetDetails.Builder setMachineImageName(String value)
Required. The name of the machine image to be created.
string machine_image_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The machineImageName to set. |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
setMachineImageNameBytes(ByteString value)
public MachineImageTargetDetails.Builder setMachineImageNameBytes(ByteString value)
Required. The name of the machine image to be created.
string machine_image_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for machineImageName to set. |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
setMachineImageParametersOverrides(MachineImageParametersOverrides value)
public MachineImageTargetDetails.Builder setMachineImageParametersOverrides(MachineImageParametersOverrides value)
Optional. Parameters overriding decisions based on the source machine image configurations.
.google.cloud.vmmigration.v1.MachineImageParametersOverrides machine_image_parameters_overrides = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
MachineImageParametersOverrides |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setMachineImageParametersOverrides(MachineImageParametersOverrides.Builder builderForValue)
public MachineImageTargetDetails.Builder setMachineImageParametersOverrides(MachineImageParametersOverrides.Builder builderForValue)
Optional. Parameters overriding decisions based on the source machine image configurations.
.google.cloud.vmmigration.v1.MachineImageParametersOverrides machine_image_parameters_overrides = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
MachineImageParametersOverrides.Builder |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setNetworkInterfaces(int index, NetworkInterface value)
public MachineImageTargetDetails.Builder setNetworkInterfaces(int index, NetworkInterface value)
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
NetworkInterface |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
public MachineImageTargetDetails.Builder setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
NetworkInterface.Builder |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setOsAdaptationParameters(ImageImportOsAdaptationParameters value)
public MachineImageTargetDetails.Builder setOsAdaptationParameters(ImageImportOsAdaptationParameters value)
Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ImageImportOsAdaptationParameters |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setOsAdaptationParameters(ImageImportOsAdaptationParameters.Builder builderForValue)
public MachineImageTargetDetails.Builder setOsAdaptationParameters(ImageImportOsAdaptationParameters.Builder builderForValue)
Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
ImageImportOsAdaptationParameters.Builder |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MachineImageTargetDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setServiceAccount(ServiceAccount value)
public MachineImageTargetDetails.Builder setServiceAccount(ServiceAccount value)
Optional. The service account to assign to the instance created by the machine image.
.google.cloud.vmmigration.v1.ServiceAccount service_account = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ServiceAccount |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setServiceAccount(ServiceAccount.Builder builderForValue)
public MachineImageTargetDetails.Builder setServiceAccount(ServiceAccount.Builder builderForValue)
Optional. The service account to assign to the instance created by the machine image.
.google.cloud.vmmigration.v1.ServiceAccount service_account = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
ServiceAccount.Builder |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setShieldedInstanceConfig(ShieldedInstanceConfig value)
public MachineImageTargetDetails.Builder setShieldedInstanceConfig(ShieldedInstanceConfig value)
Optional. Shielded instance configuration.
.google.cloud.vmmigration.v1.ShieldedInstanceConfig shielded_instance_config = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ShieldedInstanceConfig |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
public MachineImageTargetDetails.Builder setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
Optional. Shielded instance configuration.
.google.cloud.vmmigration.v1.ShieldedInstanceConfig shielded_instance_config = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
ShieldedInstanceConfig.Builder |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setSingleRegionStorage(boolean value)
public MachineImageTargetDetails.Builder setSingleRegionStorage(boolean value)
Optional. Set to true to set the machine image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
bool single_region_storage = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The singleRegionStorage to set. |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
setSkipOsAdaptation(SkipOsAdaptation value)
public MachineImageTargetDetails.Builder setSkipOsAdaptation(SkipOsAdaptation value)
Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.SkipOsAdaptation skip_os_adaptation = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
SkipOsAdaptation |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setSkipOsAdaptation(SkipOsAdaptation.Builder builderForValue)
public MachineImageTargetDetails.Builder setSkipOsAdaptation(SkipOsAdaptation.Builder builderForValue)
Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.SkipOsAdaptation skip_os_adaptation = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
SkipOsAdaptation.Builder |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
setTags(int index, String value)
public MachineImageTargetDetails.Builder setTags(int index, String value)
Optional. The tags to apply to the instance created by the machine image.
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The tags to set. |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
setTargetProject(String value)
public MachineImageTargetDetails.Builder setTargetProject(String value)
Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
string target_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The targetProject to set. |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
setTargetProjectBytes(ByteString value)
public MachineImageTargetDetails.Builder setTargetProjectBytes(ByteString value)
Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
string target_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for targetProject to set. |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MachineImageTargetDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MachineImageTargetDetails.Builder |