Class VirtualMachineConfig.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
      • clear

        public VirtualMachineConfig.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
      • getDefaultInstanceForType

        public VirtualMachineConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public VirtualMachineConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public VirtualMachineConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public VirtualMachineConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
      • setField

        public VirtualMachineConfig.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
      • clearField

        public VirtualMachineConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
      • clearOneof

        public VirtualMachineConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
      • addRepeatedField

        public VirtualMachineConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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];
      • 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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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];
      • 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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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];
      • 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 interface VirtualMachineConfigOrBuilder
        Returns:
        Whether the shieldedInstanceConfig field is set.
      • 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];
      • 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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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];
      • 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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
      • 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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        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 interface VirtualMachineConfigOrBuilder
        Returns:
        Whether the bootImage field is set.
      • 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];
      • setUnknownFields

        public final VirtualMachineConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>
      • mergeUnknownFields

        public final VirtualMachineConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VirtualMachineConfig.Builder>