public static final class SourceInstanceParams.Builder extends GeneratedMessageV3.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.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceInstanceParams.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
clearField(Descriptors.FieldDescriptor field)
public SourceInstanceParams.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceInstanceParams.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SourceInstanceParams.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceInstanceParams.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public SourceInstanceParams.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceInstanceParams.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceInstanceParams.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides