Package com.google.cloud.notebooks.v1
Class VirtualMachineConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
-
- com.google.cloud.notebooks.v1.VirtualMachineConfig.Builder
-
- All Implemented Interfaces:
VirtualMachineConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- VirtualMachineConfig
public static final class VirtualMachineConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder> implements VirtualMachineConfigOrBuilder
The config settings for virtual machine.
Protobuf typegoogle.cloud.notebooks.v1.VirtualMachineConfig
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
-
clear
public VirtualMachineConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
-
getDefaultInstanceForType
public VirtualMachineConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VirtualMachineConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VirtualMachineConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VirtualMachineConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
-
setField
public VirtualMachineConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
-
clearField
public VirtualMachineConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
-
clearOneof
public VirtualMachineConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
-
setRepeatedField
public VirtualMachineConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
-
addRepeatedField
public VirtualMachineConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
-
mergeFrom
public VirtualMachineConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VirtualMachineConfig.Builder>
-
mergeFrom
public VirtualMachineConfig.Builder mergeFrom(VirtualMachineConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
-
mergeFrom
public VirtualMachineConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VirtualMachineConfig.Builder>
- Throws:
IOException
-
getZone
public String getZone()
Output only. The zone where the virtual machine is located. If using regional request, the notebooks service will pick a location in the corresponding runtime region. On a get request, zone will always be present. Example: * `us-central1-b`
string zone = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getZone
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
Output only. The zone where the virtual machine is located. If using regional request, the notebooks service will pick a location in the corresponding runtime region. On a get request, zone will always be present. Example: * `us-central1-b`
string zone = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getZoneBytes
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The bytes for zone.
-
setZone
public VirtualMachineConfig.Builder setZone(String value)
Output only. The zone where the virtual machine is located. If using regional request, the notebooks service will pick a location in the corresponding runtime region. On a get request, zone will always be present. Example: * `us-central1-b`
string zone = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
public VirtualMachineConfig.Builder clearZone()
Output only. The zone where the virtual machine is located. If using regional request, the notebooks service will pick a location in the corresponding runtime region. On a get request, zone will always be present. Example: * `us-central1-b`
string zone = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setZoneBytes
public VirtualMachineConfig.Builder setZoneBytes(com.google.protobuf.ByteString value)
Output only. The zone where the virtual machine is located. If using regional request, the notebooks service will pick a location in the corresponding runtime region. On a get request, zone will always be present. Example: * `us-central1-b`
string zone = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for zone to set.- Returns:
- This builder for chaining.
-
getMachineType
public String getMachineType()
Required. The Compute Engine machine type used for runtimes. Short name is valid. Examples: * `n1-standard-2` * `e2-standard-8`
string machine_type = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getMachineType
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()
Required. The Compute Engine machine type used for runtimes. Short name is valid. Examples: * `n1-standard-2` * `e2-standard-8`
string machine_type = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getMachineTypeBytes
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The bytes for machineType.
-
setMachineType
public VirtualMachineConfig.Builder setMachineType(String value)
Required. The Compute Engine machine type used for runtimes. Short name is valid. Examples: * `n1-standard-2` * `e2-standard-8`
string machine_type = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The machineType to set.- Returns:
- This builder for chaining.
-
clearMachineType
public VirtualMachineConfig.Builder clearMachineType()
Required. The Compute Engine machine type used for runtimes. Short name is valid. Examples: * `n1-standard-2` * `e2-standard-8`
string machine_type = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setMachineTypeBytes
public VirtualMachineConfig.Builder setMachineTypeBytes(com.google.protobuf.ByteString value)
Required. The Compute Engine machine type used for runtimes. Short name is valid. Examples: * `n1-standard-2` * `e2-standard-8`
string machine_type = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for machineType to set.- Returns:
- This builder for chaining.
-
getContainerImagesList
public List<ContainerImage> getContainerImagesList()
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getContainerImagesList
in interfaceVirtualMachineConfigOrBuilder
-
getContainerImagesCount
public int getContainerImagesCount()
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getContainerImagesCount
in interfaceVirtualMachineConfigOrBuilder
-
getContainerImages
public ContainerImage getContainerImages(int index)
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getContainerImages
in interfaceVirtualMachineConfigOrBuilder
-
setContainerImages
public VirtualMachineConfig.Builder setContainerImages(int index, ContainerImage value)
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
-
setContainerImages
public VirtualMachineConfig.Builder setContainerImages(int index, ContainerImage.Builder builderForValue)
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
-
addContainerImages
public VirtualMachineConfig.Builder addContainerImages(ContainerImage value)
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
-
addContainerImages
public VirtualMachineConfig.Builder addContainerImages(int index, ContainerImage value)
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
-
addContainerImages
public VirtualMachineConfig.Builder addContainerImages(ContainerImage.Builder builderForValue)
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
-
addContainerImages
public VirtualMachineConfig.Builder addContainerImages(int index, ContainerImage.Builder builderForValue)
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
-
addAllContainerImages
public VirtualMachineConfig.Builder addAllContainerImages(Iterable<? extends ContainerImage> values)
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
-
clearContainerImages
public VirtualMachineConfig.Builder clearContainerImages()
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
-
removeContainerImages
public VirtualMachineConfig.Builder removeContainerImages(int index)
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
-
getContainerImagesBuilder
public ContainerImage.Builder getContainerImagesBuilder(int index)
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
-
getContainerImagesOrBuilder
public ContainerImageOrBuilder getContainerImagesOrBuilder(int index)
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getContainerImagesOrBuilder
in interfaceVirtualMachineConfigOrBuilder
-
getContainerImagesOrBuilderList
public List<? extends ContainerImageOrBuilder> getContainerImagesOrBuilderList()
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getContainerImagesOrBuilderList
in interfaceVirtualMachineConfigOrBuilder
-
addContainerImagesBuilder
public ContainerImage.Builder addContainerImagesBuilder()
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
-
addContainerImagesBuilder
public ContainerImage.Builder addContainerImagesBuilder(int index)
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
-
getContainerImagesBuilderList
public List<ContainerImage.Builder> getContainerImagesBuilderList()
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];
-
hasDataDisk
public boolean hasDataDisk()
Required. Data disk option configuration settings.
.google.cloud.notebooks.v1.LocalDisk data_disk = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasDataDisk
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- Whether the dataDisk field is set.
-
getDataDisk
public LocalDisk getDataDisk()
Required. Data disk option configuration settings.
.google.cloud.notebooks.v1.LocalDisk data_disk = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDataDisk
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The dataDisk.
-
setDataDisk
public VirtualMachineConfig.Builder setDataDisk(LocalDisk value)
Required. Data disk option configuration settings.
.google.cloud.notebooks.v1.LocalDisk data_disk = 4 [(.google.api.field_behavior) = REQUIRED];
-
setDataDisk
public VirtualMachineConfig.Builder setDataDisk(LocalDisk.Builder builderForValue)
Required. Data disk option configuration settings.
.google.cloud.notebooks.v1.LocalDisk data_disk = 4 [(.google.api.field_behavior) = REQUIRED];
-
mergeDataDisk
public VirtualMachineConfig.Builder mergeDataDisk(LocalDisk value)
Required. Data disk option configuration settings.
.google.cloud.notebooks.v1.LocalDisk data_disk = 4 [(.google.api.field_behavior) = REQUIRED];
-
clearDataDisk
public VirtualMachineConfig.Builder clearDataDisk()
Required. Data disk option configuration settings.
.google.cloud.notebooks.v1.LocalDisk data_disk = 4 [(.google.api.field_behavior) = REQUIRED];
-
getDataDiskBuilder
public LocalDisk.Builder getDataDiskBuilder()
Required. Data disk option configuration settings.
.google.cloud.notebooks.v1.LocalDisk data_disk = 4 [(.google.api.field_behavior) = REQUIRED];
-
getDataDiskOrBuilder
public LocalDiskOrBuilder getDataDiskOrBuilder()
Required. Data disk option configuration settings.
.google.cloud.notebooks.v1.LocalDisk data_disk = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDataDiskOrBuilder
in interfaceVirtualMachineConfigOrBuilder
-
hasEncryptionConfig
public boolean hasEncryptionConfig()
Optional. Encryption settings for virtual machine data disk.
.google.cloud.notebooks.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasEncryptionConfig
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- Whether the encryptionConfig field is set.
-
getEncryptionConfig
public EncryptionConfig getEncryptionConfig()
Optional. Encryption settings for virtual machine data disk.
.google.cloud.notebooks.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEncryptionConfig
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The encryptionConfig.
-
setEncryptionConfig
public VirtualMachineConfig.Builder setEncryptionConfig(EncryptionConfig value)
Optional. Encryption settings for virtual machine data disk.
.google.cloud.notebooks.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];
-
setEncryptionConfig
public VirtualMachineConfig.Builder setEncryptionConfig(EncryptionConfig.Builder builderForValue)
Optional. Encryption settings for virtual machine data disk.
.google.cloud.notebooks.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];
-
mergeEncryptionConfig
public VirtualMachineConfig.Builder mergeEncryptionConfig(EncryptionConfig value)
Optional. Encryption settings for virtual machine data disk.
.google.cloud.notebooks.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];
-
clearEncryptionConfig
public VirtualMachineConfig.Builder clearEncryptionConfig()
Optional. Encryption settings for virtual machine data disk.
.google.cloud.notebooks.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getEncryptionConfigBuilder
public EncryptionConfig.Builder getEncryptionConfigBuilder()
Optional. Encryption settings for virtual machine data disk.
.google.cloud.notebooks.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getEncryptionConfigOrBuilder
public EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
Optional. Encryption settings for virtual machine data disk.
.google.cloud.notebooks.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEncryptionConfigOrBuilder
in interfaceVirtualMachineConfigOrBuilder
-
hasShieldedInstanceConfig
public boolean hasShieldedInstanceConfig()
Optional. Shielded VM Instance configuration settings.
.google.cloud.notebooks.v1.RuntimeShieldedInstanceConfig shielded_instance_config = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasShieldedInstanceConfig
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- Whether the shieldedInstanceConfig field is set.
-
getShieldedInstanceConfig
public RuntimeShieldedInstanceConfig getShieldedInstanceConfig()
Optional. Shielded VM Instance configuration settings.
.google.cloud.notebooks.v1.RuntimeShieldedInstanceConfig shielded_instance_config = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getShieldedInstanceConfig
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The shieldedInstanceConfig.
-
setShieldedInstanceConfig
public VirtualMachineConfig.Builder setShieldedInstanceConfig(RuntimeShieldedInstanceConfig value)
Optional. Shielded VM Instance configuration settings.
.google.cloud.notebooks.v1.RuntimeShieldedInstanceConfig shielded_instance_config = 6 [(.google.api.field_behavior) = OPTIONAL];
-
setShieldedInstanceConfig
public VirtualMachineConfig.Builder setShieldedInstanceConfig(RuntimeShieldedInstanceConfig.Builder builderForValue)
Optional. Shielded VM Instance configuration settings.
.google.cloud.notebooks.v1.RuntimeShieldedInstanceConfig shielded_instance_config = 6 [(.google.api.field_behavior) = OPTIONAL];
-
mergeShieldedInstanceConfig
public VirtualMachineConfig.Builder mergeShieldedInstanceConfig(RuntimeShieldedInstanceConfig value)
Optional. Shielded VM Instance configuration settings.
.google.cloud.notebooks.v1.RuntimeShieldedInstanceConfig shielded_instance_config = 6 [(.google.api.field_behavior) = OPTIONAL];
-
clearShieldedInstanceConfig
public VirtualMachineConfig.Builder clearShieldedInstanceConfig()
Optional. Shielded VM Instance configuration settings.
.google.cloud.notebooks.v1.RuntimeShieldedInstanceConfig shielded_instance_config = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getShieldedInstanceConfigBuilder
public RuntimeShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder()
Optional. Shielded VM Instance configuration settings.
.google.cloud.notebooks.v1.RuntimeShieldedInstanceConfig shielded_instance_config = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getShieldedInstanceConfigOrBuilder
public RuntimeShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
Optional. Shielded VM Instance configuration settings.
.google.cloud.notebooks.v1.RuntimeShieldedInstanceConfig shielded_instance_config = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getShieldedInstanceConfigOrBuilder
in interfaceVirtualMachineConfigOrBuilder
-
hasAcceleratorConfig
public boolean hasAcceleratorConfig()
Optional. The Compute Engine accelerator configuration for this runtime.
.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasAcceleratorConfig
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- Whether the acceleratorConfig field is set.
-
getAcceleratorConfig
public RuntimeAcceleratorConfig getAcceleratorConfig()
Optional. The Compute Engine accelerator configuration for this runtime.
.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAcceleratorConfig
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The acceleratorConfig.
-
setAcceleratorConfig
public VirtualMachineConfig.Builder setAcceleratorConfig(RuntimeAcceleratorConfig value)
Optional. The Compute Engine accelerator configuration for this runtime.
.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 7 [(.google.api.field_behavior) = OPTIONAL];
-
setAcceleratorConfig
public VirtualMachineConfig.Builder setAcceleratorConfig(RuntimeAcceleratorConfig.Builder builderForValue)
Optional. The Compute Engine accelerator configuration for this runtime.
.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 7 [(.google.api.field_behavior) = OPTIONAL];
-
mergeAcceleratorConfig
public VirtualMachineConfig.Builder mergeAcceleratorConfig(RuntimeAcceleratorConfig value)
Optional. The Compute Engine accelerator configuration for this runtime.
.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 7 [(.google.api.field_behavior) = OPTIONAL];
-
clearAcceleratorConfig
public VirtualMachineConfig.Builder clearAcceleratorConfig()
Optional. The Compute Engine accelerator configuration for this runtime.
.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getAcceleratorConfigBuilder
public RuntimeAcceleratorConfig.Builder getAcceleratorConfigBuilder()
Optional. The Compute Engine accelerator configuration for this runtime.
.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getAcceleratorConfigOrBuilder
public RuntimeAcceleratorConfigOrBuilder getAcceleratorConfigOrBuilder()
Optional. The Compute Engine accelerator configuration for this runtime.
.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAcceleratorConfigOrBuilder
in interfaceVirtualMachineConfigOrBuilder
-
getNetwork
public String getNetwork()
Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork. If neither `network` nor `subnet` is specified, the "default" network of the project is used, if it exists. A full URL or partial URI. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/global/networks/default` * `projects/[project_id]/global/networks/default` Runtimes are managed resources inside Google Infrastructure. Runtimes support the following network configurations: * Google Managed Network (Network & subnet are empty) * Consumer Project VPC (network & subnet are required). Requires configuring Private Service Access. * Shared VPC (network & subnet are required). Requires configuring Private Service Access.
string network = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getNetwork
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork. If neither `network` nor `subnet` is specified, the "default" network of the project is used, if it exists. A full URL or partial URI. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/global/networks/default` * `projects/[project_id]/global/networks/default` Runtimes are managed resources inside Google Infrastructure. Runtimes support the following network configurations: * Google Managed Network (Network & subnet are empty) * Consumer Project VPC (network & subnet are required). Requires configuring Private Service Access. * Shared VPC (network & subnet are required). Requires configuring Private Service Access.
string network = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getNetworkBytes
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The bytes for network.
-
setNetwork
public VirtualMachineConfig.Builder setNetwork(String value)
Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork. If neither `network` nor `subnet` is specified, the "default" network of the project is used, if it exists. A full URL or partial URI. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/global/networks/default` * `projects/[project_id]/global/networks/default` Runtimes are managed resources inside Google Infrastructure. Runtimes support the following network configurations: * Google Managed Network (Network & subnet are empty) * Consumer Project VPC (network & subnet are required). Requires configuring Private Service Access. * Shared VPC (network & subnet are required). Requires configuring Private Service Access.
string network = 8 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
public VirtualMachineConfig.Builder clearNetwork()
Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork. If neither `network` nor `subnet` is specified, the "default" network of the project is used, if it exists. A full URL or partial URI. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/global/networks/default` * `projects/[project_id]/global/networks/default` Runtimes are managed resources inside Google Infrastructure. Runtimes support the following network configurations: * Google Managed Network (Network & subnet are empty) * Consumer Project VPC (network & subnet are required). Requires configuring Private Service Access. * Shared VPC (network & subnet are required). Requires configuring Private Service Access.
string network = 8 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setNetworkBytes
public VirtualMachineConfig.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork. If neither `network` nor `subnet` is specified, the "default" network of the project is used, if it exists. A full URL or partial URI. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/global/networks/default` * `projects/[project_id]/global/networks/default` Runtimes are managed resources inside Google Infrastructure. Runtimes support the following network configurations: * Google Managed Network (Network & subnet are empty) * Consumer Project VPC (network & subnet are required). Requires configuring Private Service Access. * Shared VPC (network & subnet are required). Requires configuring Private Service Access.
string network = 8 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for network to set.- Returns:
- This builder for chaining.
-
getSubnet
public String getSubnet()
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network. A full URL or partial URI are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0`
string subnet = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSubnet
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The subnet.
-
getSubnetBytes
public com.google.protobuf.ByteString getSubnetBytes()
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network. A full URL or partial URI are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0`
string subnet = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSubnetBytes
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The bytes for subnet.
-
setSubnet
public VirtualMachineConfig.Builder setSubnet(String value)
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network. A full URL or partial URI are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0`
string subnet = 9 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The subnet to set.- Returns:
- This builder for chaining.
-
clearSubnet
public VirtualMachineConfig.Builder clearSubnet()
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network. A full URL or partial URI are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0`
string subnet = 9 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setSubnetBytes
public VirtualMachineConfig.Builder setSubnetBytes(com.google.protobuf.ByteString value)
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network. A full URL or partial URI are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0`
string subnet = 9 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for subnet to set.- Returns:
- This builder for chaining.
-
getInternalIpOnly
public boolean getInternalIpOnly()
Optional. If true, runtime will only have internal IP addresses. By default, runtimes are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each vm. This `internal_ip_only` restriction can only be enabled for subnetwork enabled networks, and all dependencies must be configured to be accessible without external IP addresses.
bool internal_ip_only = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getInternalIpOnly
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The internalIpOnly.
-
setInternalIpOnly
public VirtualMachineConfig.Builder setInternalIpOnly(boolean value)
Optional. If true, runtime will only have internal IP addresses. By default, runtimes are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each vm. This `internal_ip_only` restriction can only be enabled for subnetwork enabled networks, and all dependencies must be configured to be accessible without external IP addresses.
bool internal_ip_only = 10 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The internalIpOnly to set.- Returns:
- This builder for chaining.
-
clearInternalIpOnly
public VirtualMachineConfig.Builder clearInternalIpOnly()
Optional. If true, runtime will only have internal IP addresses. By default, runtimes are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each vm. This `internal_ip_only` restriction can only be enabled for subnetwork enabled networks, and all dependencies must be configured to be accessible without external IP addresses.
bool internal_ip_only = 10 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()
Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTagsList
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()
Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTagsCount
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The count of tags.
-
getTags
public String getTags(int index)
Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTags
in interfaceVirtualMachineConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index)
Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTagsBytes
in interfaceVirtualMachineConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
public VirtualMachineConfig.Builder setTags(int index, String value)
Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 13 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index to set the value at.value
- The tags to set.- Returns:
- This builder for chaining.
-
addTags
public VirtualMachineConfig.Builder addTags(String value)
Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 13 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
public VirtualMachineConfig.Builder addAllTags(Iterable<String> values)
Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 13 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
values
- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
public VirtualMachineConfig.Builder clearTags()
Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 13 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
addTagsBytes
public VirtualMachineConfig.Builder addTagsBytes(com.google.protobuf.ByteString value)
Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 13 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
getGuestAttributesCount
public int getGuestAttributesCount()
Description copied from interface:VirtualMachineConfigOrBuilder
Output only. The Compute Engine guest attributes. (see [Project and instance guest attributes](https://cloud.google.com/compute/docs/storing-retrieving-metadata#guest_attributes)).
map<string, string> guest_attributes = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getGuestAttributesCount
in interfaceVirtualMachineConfigOrBuilder
-
containsGuestAttributes
public boolean containsGuestAttributes(String key)
Output only. The Compute Engine guest attributes. (see [Project and instance guest attributes](https://cloud.google.com/compute/docs/storing-retrieving-metadata#guest_attributes)).
map<string, string> guest_attributes = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
containsGuestAttributes
in interfaceVirtualMachineConfigOrBuilder
-
getGuestAttributes
@Deprecated public Map<String,String> getGuestAttributes()
Deprecated.UsegetGuestAttributesMap()
instead.- Specified by:
getGuestAttributes
in interfaceVirtualMachineConfigOrBuilder
-
getGuestAttributesMap
public Map<String,String> getGuestAttributesMap()
Output only. The Compute Engine guest attributes. (see [Project and instance guest attributes](https://cloud.google.com/compute/docs/storing-retrieving-metadata#guest_attributes)).
map<string, string> guest_attributes = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getGuestAttributesMap
in interfaceVirtualMachineConfigOrBuilder
-
getGuestAttributesOrDefault
public String getGuestAttributesOrDefault(String key, String defaultValue)
Output only. The Compute Engine guest attributes. (see [Project and instance guest attributes](https://cloud.google.com/compute/docs/storing-retrieving-metadata#guest_attributes)).
map<string, string> guest_attributes = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getGuestAttributesOrDefault
in interfaceVirtualMachineConfigOrBuilder
-
getGuestAttributesOrThrow
public String getGuestAttributesOrThrow(String key)
Output only. The Compute Engine guest attributes. (see [Project and instance guest attributes](https://cloud.google.com/compute/docs/storing-retrieving-metadata#guest_attributes)).
map<string, string> guest_attributes = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getGuestAttributesOrThrow
in interfaceVirtualMachineConfigOrBuilder
-
clearGuestAttributes
public VirtualMachineConfig.Builder clearGuestAttributes()
-
removeGuestAttributes
public VirtualMachineConfig.Builder removeGuestAttributes(String key)
Output only. The Compute Engine guest attributes. (see [Project and instance guest attributes](https://cloud.google.com/compute/docs/storing-retrieving-metadata#guest_attributes)).
map<string, string> guest_attributes = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMutableGuestAttributes
@Deprecated public Map<String,String> getMutableGuestAttributes()
Deprecated.Use alternate mutation accessors instead.
-
putGuestAttributes
public VirtualMachineConfig.Builder putGuestAttributes(String key, String value)
Output only. The Compute Engine guest attributes. (see [Project and instance guest attributes](https://cloud.google.com/compute/docs/storing-retrieving-metadata#guest_attributes)).
map<string, string> guest_attributes = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
putAllGuestAttributes
public VirtualMachineConfig.Builder putAllGuestAttributes(Map<String,String> values)
Output only. The Compute Engine guest attributes. (see [Project and instance guest attributes](https://cloud.google.com/compute/docs/storing-retrieving-metadata#guest_attributes)).
map<string, string> guest_attributes = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:VirtualMachineConfigOrBuilder
Optional. The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMetadataCount
in interfaceVirtualMachineConfigOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
Optional. The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsMetadata
in interfaceVirtualMachineConfigOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceVirtualMachineConfigOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
Optional. The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMetadataMap
in interfaceVirtualMachineConfigOrBuilder
-
getMetadataOrDefault
public String getMetadataOrDefault(String key, String defaultValue)
Optional. The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMetadataOrDefault
in interfaceVirtualMachineConfigOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
Optional. The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMetadataOrThrow
in interfaceVirtualMachineConfigOrBuilder
-
clearMetadata
public VirtualMachineConfig.Builder clearMetadata()
-
removeMetadata
public VirtualMachineConfig.Builder removeMetadata(String key)
Optional. The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
-
getMutableMetadata
@Deprecated public Map<String,String> getMutableMetadata()
Deprecated.Use alternate mutation accessors instead.
-
putMetadata
public VirtualMachineConfig.Builder putMetadata(String key, String value)
Optional. The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
-
putAllMetadata
public VirtualMachineConfig.Builder putAllMetadata(Map<String,String> values)
Optional. The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:VirtualMachineConfigOrBuilder
Optional. The labels to associate with this runtime. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsCount
in interfaceVirtualMachineConfigOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. The labels to associate with this runtime. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsLabels
in interfaceVirtualMachineConfigOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceVirtualMachineConfigOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. The labels to associate with this runtime. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsMap
in interfaceVirtualMachineConfigOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels to associate with this runtime. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrDefault
in interfaceVirtualMachineConfigOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. The labels to associate with this runtime. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrThrow
in interfaceVirtualMachineConfigOrBuilder
-
clearLabels
public VirtualMachineConfig.Builder clearLabels()
-
removeLabels
public VirtualMachineConfig.Builder removeLabels(String key)
Optional. The labels to associate with this runtime. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public VirtualMachineConfig.Builder putLabels(String key, String value)
Optional. The labels to associate with this runtime. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
-
putAllLabels
public VirtualMachineConfig.Builder putAllLabels(Map<String,String> values)
Optional. The labels to associate with this runtime. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
-
getNicTypeValue
public int getNicTypeValue()
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
.google.cloud.notebooks.v1.VirtualMachineConfig.NicType nic_type = 17 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getNicTypeValue
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The enum numeric value on the wire for nicType.
-
setNicTypeValue
public VirtualMachineConfig.Builder setNicTypeValue(int value)
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
.google.cloud.notebooks.v1.VirtualMachineConfig.NicType nic_type = 17 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The enum numeric value on the wire for nicType to set.- Returns:
- This builder for chaining.
-
getNicType
public VirtualMachineConfig.NicType getNicType()
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
.google.cloud.notebooks.v1.VirtualMachineConfig.NicType nic_type = 17 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getNicType
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The nicType.
-
setNicType
public VirtualMachineConfig.Builder setNicType(VirtualMachineConfig.NicType value)
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
.google.cloud.notebooks.v1.VirtualMachineConfig.NicType nic_type = 17 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The nicType to set.- Returns:
- This builder for chaining.
-
clearNicType
public VirtualMachineConfig.Builder clearNicType()
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
.google.cloud.notebooks.v1.VirtualMachineConfig.NicType nic_type = 17 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
getReservedIpRange
public String getReservedIpRange()
Optional. Reserved IP Range name is used for VPC Peering. The subnetwork allocation will use the range *name* if it's assigned. Example: managed-notebooks-range-c PEERING_RANGE_NAME_3=managed-notebooks-range-c gcloud compute addresses create $PEERING_RANGE_NAME_3 \ --global \ --prefix-length=24 \ --description="Google Cloud Managed Notebooks Range 24 c" \ --network=$NETWORK \ --addresses=192.168.0.0 \ --purpose=VPC_PEERING Field value will be: `managed-notebooks-range-c`
string reserved_ip_range = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getReservedIpRange
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The reservedIpRange.
-
getReservedIpRangeBytes
public com.google.protobuf.ByteString getReservedIpRangeBytes()
Optional. Reserved IP Range name is used for VPC Peering. The subnetwork allocation will use the range *name* if it's assigned. Example: managed-notebooks-range-c PEERING_RANGE_NAME_3=managed-notebooks-range-c gcloud compute addresses create $PEERING_RANGE_NAME_3 \ --global \ --prefix-length=24 \ --description="Google Cloud Managed Notebooks Range 24 c" \ --network=$NETWORK \ --addresses=192.168.0.0 \ --purpose=VPC_PEERING Field value will be: `managed-notebooks-range-c`
string reserved_ip_range = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getReservedIpRangeBytes
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The bytes for reservedIpRange.
-
setReservedIpRange
public VirtualMachineConfig.Builder setReservedIpRange(String value)
Optional. Reserved IP Range name is used for VPC Peering. The subnetwork allocation will use the range *name* if it's assigned. Example: managed-notebooks-range-c PEERING_RANGE_NAME_3=managed-notebooks-range-c gcloud compute addresses create $PEERING_RANGE_NAME_3 \ --global \ --prefix-length=24 \ --description="Google Cloud Managed Notebooks Range 24 c" \ --network=$NETWORK \ --addresses=192.168.0.0 \ --purpose=VPC_PEERING Field value will be: `managed-notebooks-range-c`
string reserved_ip_range = 18 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The reservedIpRange to set.- Returns:
- This builder for chaining.
-
clearReservedIpRange
public VirtualMachineConfig.Builder clearReservedIpRange()
Optional. Reserved IP Range name is used for VPC Peering. The subnetwork allocation will use the range *name* if it's assigned. Example: managed-notebooks-range-c PEERING_RANGE_NAME_3=managed-notebooks-range-c gcloud compute addresses create $PEERING_RANGE_NAME_3 \ --global \ --prefix-length=24 \ --description="Google Cloud Managed Notebooks Range 24 c" \ --network=$NETWORK \ --addresses=192.168.0.0 \ --purpose=VPC_PEERING Field value will be: `managed-notebooks-range-c`
string reserved_ip_range = 18 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setReservedIpRangeBytes
public VirtualMachineConfig.Builder setReservedIpRangeBytes(com.google.protobuf.ByteString value)
Optional. Reserved IP Range name is used for VPC Peering. The subnetwork allocation will use the range *name* if it's assigned. Example: managed-notebooks-range-c PEERING_RANGE_NAME_3=managed-notebooks-range-c gcloud compute addresses create $PEERING_RANGE_NAME_3 \ --global \ --prefix-length=24 \ --description="Google Cloud Managed Notebooks Range 24 c" \ --network=$NETWORK \ --addresses=192.168.0.0 \ --purpose=VPC_PEERING Field value will be: `managed-notebooks-range-c`
string reserved_ip_range = 18 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for reservedIpRange to set.- Returns:
- This builder for chaining.
-
hasBootImage
public boolean hasBootImage()
Optional. Boot image metadata used for runtime upgradeability.
.google.cloud.notebooks.v1.VirtualMachineConfig.BootImage boot_image = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasBootImage
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- Whether the bootImage field is set.
-
getBootImage
public VirtualMachineConfig.BootImage getBootImage()
Optional. Boot image metadata used for runtime upgradeability.
.google.cloud.notebooks.v1.VirtualMachineConfig.BootImage boot_image = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getBootImage
in interfaceVirtualMachineConfigOrBuilder
- Returns:
- The bootImage.
-
setBootImage
public VirtualMachineConfig.Builder setBootImage(VirtualMachineConfig.BootImage value)
Optional. Boot image metadata used for runtime upgradeability.
.google.cloud.notebooks.v1.VirtualMachineConfig.BootImage boot_image = 19 [(.google.api.field_behavior) = OPTIONAL];
-
setBootImage
public VirtualMachineConfig.Builder setBootImage(VirtualMachineConfig.BootImage.Builder builderForValue)
Optional. Boot image metadata used for runtime upgradeability.
.google.cloud.notebooks.v1.VirtualMachineConfig.BootImage boot_image = 19 [(.google.api.field_behavior) = OPTIONAL];
-
mergeBootImage
public VirtualMachineConfig.Builder mergeBootImage(VirtualMachineConfig.BootImage value)
Optional. Boot image metadata used for runtime upgradeability.
.google.cloud.notebooks.v1.VirtualMachineConfig.BootImage boot_image = 19 [(.google.api.field_behavior) = OPTIONAL];
-
clearBootImage
public VirtualMachineConfig.Builder clearBootImage()
Optional. Boot image metadata used for runtime upgradeability.
.google.cloud.notebooks.v1.VirtualMachineConfig.BootImage boot_image = 19 [(.google.api.field_behavior) = OPTIONAL];
-
getBootImageBuilder
public VirtualMachineConfig.BootImage.Builder getBootImageBuilder()
Optional. Boot image metadata used for runtime upgradeability.
.google.cloud.notebooks.v1.VirtualMachineConfig.BootImage boot_image = 19 [(.google.api.field_behavior) = OPTIONAL];
-
getBootImageOrBuilder
public VirtualMachineConfig.BootImageOrBuilder getBootImageOrBuilder()
Optional. Boot image metadata used for runtime upgradeability.
.google.cloud.notebooks.v1.VirtualMachineConfig.BootImage boot_image = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getBootImageOrBuilder
in interfaceVirtualMachineConfigOrBuilder
-
setUnknownFields
public final VirtualMachineConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
-
mergeUnknownFields
public final VirtualMachineConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
-
-