public static final class SourceInstanceParams.Builder extends GeneratedMessage.Builder<SourceInstanceParams.Builder> implements SourceInstanceParamsOrBuilder
A specification of the parameters to use when creating the instance template
from a source instance.
Protobuf type google.cloud.compute.v1.SourceInstanceParams
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllDiskConfigs(Iterable<? extends DiskInstantiationConfig> values)
public SourceInstanceParams.Builder addAllDiskConfigs(Iterable<? extends DiskInstantiationConfig> values)
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.compute.v1.DiskInstantiationConfig>
|
addDiskConfigs(DiskInstantiationConfig value)
public SourceInstanceParams.Builder addDiskConfigs(DiskInstantiationConfig value)
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
addDiskConfigs(DiskInstantiationConfig.Builder builderForValue)
public SourceInstanceParams.Builder addDiskConfigs(DiskInstantiationConfig.Builder builderForValue)
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
addDiskConfigs(int index, DiskInstantiationConfig value)
public SourceInstanceParams.Builder addDiskConfigs(int index, DiskInstantiationConfig value)
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
addDiskConfigs(int index, DiskInstantiationConfig.Builder builderForValue)
public SourceInstanceParams.Builder addDiskConfigs(int index, DiskInstantiationConfig.Builder builderForValue)
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
addDiskConfigsBuilder()
public DiskInstantiationConfig.Builder addDiskConfigsBuilder()
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
addDiskConfigsBuilder(int index)
public DiskInstantiationConfig.Builder addDiskConfigsBuilder(int index)
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
| Parameter |
| Name |
Description |
index |
int
|
build()
public SourceInstanceParams build()
buildPartial()
public SourceInstanceParams buildPartial()
clear()
public SourceInstanceParams.Builder clear()
Overrides
clearDiskConfigs()
public SourceInstanceParams.Builder clearDiskConfigs()
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
getDefaultInstanceForType()
public SourceInstanceParams getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDiskConfigs(int index)
public DiskInstantiationConfig getDiskConfigs(int index)
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
| Parameter |
| Name |
Description |
index |
int
|
getDiskConfigsBuilder(int index)
public DiskInstantiationConfig.Builder getDiskConfigsBuilder(int index)
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
| Parameter |
| Name |
Description |
index |
int
|
getDiskConfigsBuilderList()
public List<DiskInstantiationConfig.Builder> getDiskConfigsBuilderList()
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
getDiskConfigsCount()
public int getDiskConfigsCount()
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
| Returns |
| Type |
Description |
int |
|
getDiskConfigsList()
public List<DiskInstantiationConfig> getDiskConfigsList()
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
getDiskConfigsOrBuilder(int index)
public DiskInstantiationConfigOrBuilder getDiskConfigsOrBuilder(int index)
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
| Parameter |
| Name |
Description |
index |
int
|
getDiskConfigsOrBuilderList()
public List<? extends DiskInstantiationConfigOrBuilder> getDiskConfigsOrBuilderList()
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.DiskInstantiationConfigOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SourceInstanceParams other)
public SourceInstanceParams.Builder mergeFrom(SourceInstanceParams other)
public SourceInstanceParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SourceInstanceParams.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeDiskConfigs(int index)
public SourceInstanceParams.Builder removeDiskConfigs(int index)
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
| Parameter |
| Name |
Description |
index |
int
|
setDiskConfigs(int index, DiskInstantiationConfig value)
public SourceInstanceParams.Builder setDiskConfigs(int index, DiskInstantiationConfig value)
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;
setDiskConfigs(int index, DiskInstantiationConfig.Builder builderForValue)
public SourceInstanceParams.Builder setDiskConfigs(int index, DiskInstantiationConfig.Builder builderForValue)
Attached disks configuration. If not provided, defaults are applied:
For boot disk and any other R/W disks, the source images for each disk
will be used. For read-only disks, they will be attached in read-only
mode. Local SSD disks will be created as blank volumes.
repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623;