- 1.83.0 (latest)
- 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 DataDiskImageImport.Builder extends GeneratedMessageV3.Builder<DataDiskImageImport.Builder> implements DataDiskImageImportOrBuilderUsed when the image import is not using OS adaptation process.
Protobuf type google.cloud.vmmigration.v1.DataDiskImageImport
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataDiskImageImport.BuilderImplements
DataDiskImageImportOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllGuestOsFeatures(Iterable<String> values)
public DataDiskImageImport.Builder addAllGuestOsFeatures(Iterable<String> values)Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image.
This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features.
For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.
repeated string guest_os_features = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The guestOsFeatures to add. |
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
This builder for chaining. |
addGuestOsFeatures(String value)
public DataDiskImageImport.Builder addGuestOsFeatures(String value)Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image.
This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features.
For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.
repeated string guest_os_features = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe guestOsFeatures to add. |
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
This builder for chaining. |
addGuestOsFeaturesBytes(ByteString value)
public DataDiskImageImport.Builder addGuestOsFeaturesBytes(ByteString value)Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image.
This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features.
For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.
repeated string guest_os_features = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the guestOsFeatures to add. |
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataDiskImageImport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
|
build()
public DataDiskImageImport build()| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport |
|
buildPartial()
public DataDiskImageImport buildPartial()| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport |
|
clear()
public DataDiskImageImport.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public DataDiskImageImport.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
|
clearGuestOsFeatures()
public DataDiskImageImport.Builder clearGuestOsFeatures()Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image.
This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features.
For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.
repeated string guest_os_features = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataDiskImageImport.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
|
clone()
public DataDiskImageImport.Builder clone()| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
|
getDefaultInstanceForType()
public DataDiskImageImport getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGuestOsFeatures(int index)
public String getGuestOsFeatures(int index)Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image.
This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features.
For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.
repeated string guest_os_features = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The guestOsFeatures at the given index. |
getGuestOsFeaturesBytes(int index)
public ByteString getGuestOsFeaturesBytes(int index)Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image.
This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features.
For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.
repeated string guest_os_features = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the guestOsFeatures at the given index. |
getGuestOsFeaturesCount()
public int getGuestOsFeaturesCount()Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image.
This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features.
For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.
repeated string guest_os_features = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of guestOsFeatures. |
getGuestOsFeaturesList()
public ProtocolStringList getGuestOsFeaturesList()Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image.
This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features.
For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.
repeated string guest_os_features = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the guestOsFeatures. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DataDiskImageImport other)
public DataDiskImageImport.Builder mergeFrom(DataDiskImageImport other)| Parameter | |
|---|---|
| Name | Description |
other |
DataDiskImageImport |
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataDiskImageImport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataDiskImageImport.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataDiskImageImport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public DataDiskImageImport.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
|
setGuestOsFeatures(int index, String value)
public DataDiskImageImport.Builder setGuestOsFeatures(int index, String value)Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image.
This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features.
For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.
repeated string guest_os_features = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe guestOsFeatures to set. |
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataDiskImageImport.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DataDiskImageImport.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
|