Class GceSetup.Builder

  • All Implemented Interfaces:
    GceSetupOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    GceSetup

    public static final class GceSetup.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
    implements GceSetupOrBuilder
     The definition of how to configure a VM instance outside of Resources and
     Identity.
     
    Protobuf type google.cloud.notebooks.v2.GceSetup
    • 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<GceSetup.Builder>
      • internalGetMutableMapField

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

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

        public GceSetup.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<GceSetup.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<GceSetup.Builder>
      • getDefaultInstanceForType

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

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

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

        public GceSetup.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<GceSetup.Builder>
      • setField

        public GceSetup.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<GceSetup.Builder>
      • clearField

        public GceSetup.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<GceSetup.Builder>
      • clearOneof

        public GceSetup.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<GceSetup.Builder>
      • setRepeatedField

        public GceSetup.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<GceSetup.Builder>
      • addRepeatedField

        public GceSetup.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<GceSetup.Builder>
      • mergeFrom

        public GceSetup.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GceSetup.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
      • mergeFrom

        public GceSetup.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<GceSetup.Builder>
        Throws:
        IOException
      • getMachineType

        public String getMachineType()
         Optional. The machine type of the VM instance.
         https://cloud.google.com/compute/docs/machine-resource
         
        string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMachineType in interface GceSetupOrBuilder
        Returns:
        The machineType.
      • getMachineTypeBytes

        public com.google.protobuf.ByteString getMachineTypeBytes()
         Optional. The machine type of the VM instance.
         https://cloud.google.com/compute/docs/machine-resource
         
        string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMachineTypeBytes in interface GceSetupOrBuilder
        Returns:
        The bytes for machineType.
      • setMachineType

        public GceSetup.Builder setMachineType​(String value)
         Optional. The machine type of the VM instance.
         https://cloud.google.com/compute/docs/machine-resource
         
        string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The machineType to set.
        Returns:
        This builder for chaining.
      • clearMachineType

        public GceSetup.Builder clearMachineType()
         Optional. The machine type of the VM instance.
         https://cloud.google.com/compute/docs/machine-resource
         
        string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setMachineTypeBytes

        public GceSetup.Builder setMachineTypeBytes​(com.google.protobuf.ByteString value)
         Optional. The machine type of the VM instance.
         https://cloud.google.com/compute/docs/machine-resource
         
        string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for machineType to set.
        Returns:
        This builder for chaining.
      • getAcceleratorConfigsList

        public List<AcceleratorConfig> getAcceleratorConfigsList()
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAcceleratorConfigsList in interface GceSetupOrBuilder
      • getAcceleratorConfigsCount

        public int getAcceleratorConfigsCount()
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAcceleratorConfigsCount in interface GceSetupOrBuilder
      • getAcceleratorConfigs

        public AcceleratorConfig getAcceleratorConfigs​(int index)
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAcceleratorConfigs in interface GceSetupOrBuilder
      • setAcceleratorConfigs

        public GceSetup.Builder setAcceleratorConfigs​(int index,
                                                      AcceleratorConfig value)
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
      • setAcceleratorConfigs

        public GceSetup.Builder setAcceleratorConfigs​(int index,
                                                      AcceleratorConfig.Builder builderForValue)
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
      • addAcceleratorConfigs

        public GceSetup.Builder addAcceleratorConfigs​(AcceleratorConfig value)
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
      • addAcceleratorConfigs

        public GceSetup.Builder addAcceleratorConfigs​(int index,
                                                      AcceleratorConfig value)
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
      • addAcceleratorConfigs

        public GceSetup.Builder addAcceleratorConfigs​(AcceleratorConfig.Builder builderForValue)
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
      • addAcceleratorConfigs

        public GceSetup.Builder addAcceleratorConfigs​(int index,
                                                      AcceleratorConfig.Builder builderForValue)
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
      • addAllAcceleratorConfigs

        public GceSetup.Builder addAllAcceleratorConfigs​(Iterable<? extends AcceleratorConfig> values)
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
      • clearAcceleratorConfigs

        public GceSetup.Builder clearAcceleratorConfigs()
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
      • removeAcceleratorConfigs

        public GceSetup.Builder removeAcceleratorConfigs​(int index)
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
      • getAcceleratorConfigsBuilder

        public AcceleratorConfig.Builder getAcceleratorConfigsBuilder​(int index)
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
      • getAcceleratorConfigsOrBuilder

        public AcceleratorConfigOrBuilder getAcceleratorConfigsOrBuilder​(int index)
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAcceleratorConfigsOrBuilder in interface GceSetupOrBuilder
      • getAcceleratorConfigsOrBuilderList

        public List<? extends AcceleratorConfigOrBuilder> getAcceleratorConfigsOrBuilderList()
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAcceleratorConfigsOrBuilderList in interface GceSetupOrBuilder
      • addAcceleratorConfigsBuilder

        public AcceleratorConfig.Builder addAcceleratorConfigsBuilder()
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
      • addAcceleratorConfigsBuilder

        public AcceleratorConfig.Builder addAcceleratorConfigsBuilder​(int index)
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
      • getAcceleratorConfigsBuilderList

        public List<AcceleratorConfig.Builder> getAcceleratorConfigsBuilderList()
         Optional. The hardware accelerators used on this instance. If you use
         accelerators, make sure that your configuration has
         [enough vCPUs and memory to support the `machine_type` you have
         selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         Currently supports only one accelerator configuration.
         
        repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
      • getServiceAccountsList

        public List<ServiceAccount> getServiceAccountsList()
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getServiceAccountsList in interface GceSetupOrBuilder
      • getServiceAccountsCount

        public int getServiceAccountsCount()
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getServiceAccountsCount in interface GceSetupOrBuilder
      • getServiceAccounts

        public ServiceAccount getServiceAccounts​(int index)
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getServiceAccounts in interface GceSetupOrBuilder
      • setServiceAccounts

        public GceSetup.Builder setServiceAccounts​(int index,
                                                   ServiceAccount value)
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
      • setServiceAccounts

        public GceSetup.Builder setServiceAccounts​(int index,
                                                   ServiceAccount.Builder builderForValue)
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
      • addServiceAccounts

        public GceSetup.Builder addServiceAccounts​(ServiceAccount value)
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
      • addServiceAccounts

        public GceSetup.Builder addServiceAccounts​(int index,
                                                   ServiceAccount value)
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
      • addServiceAccounts

        public GceSetup.Builder addServiceAccounts​(ServiceAccount.Builder builderForValue)
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
      • addServiceAccounts

        public GceSetup.Builder addServiceAccounts​(int index,
                                                   ServiceAccount.Builder builderForValue)
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
      • addAllServiceAccounts

        public GceSetup.Builder addAllServiceAccounts​(Iterable<? extends ServiceAccount> values)
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
      • clearServiceAccounts

        public GceSetup.Builder clearServiceAccounts()
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
      • removeServiceAccounts

        public GceSetup.Builder removeServiceAccounts​(int index)
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getServiceAccountsBuilder

        public ServiceAccount.Builder getServiceAccountsBuilder​(int index)
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getServiceAccountsOrBuilder

        public ServiceAccountOrBuilder getServiceAccountsOrBuilder​(int index)
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getServiceAccountsOrBuilder in interface GceSetupOrBuilder
      • getServiceAccountsOrBuilderList

        public List<? extends ServiceAccountOrBuilder> getServiceAccountsOrBuilderList()
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getServiceAccountsOrBuilderList in interface GceSetupOrBuilder
      • addServiceAccountsBuilder

        public ServiceAccount.Builder addServiceAccountsBuilder()
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
      • addServiceAccountsBuilder

        public ServiceAccount.Builder addServiceAccountsBuilder​(int index)
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getServiceAccountsBuilderList

        public List<ServiceAccount.Builder> getServiceAccountsBuilderList()
         Optional. The service account that serves as an identity for the VM
         instance. Currently supports only one service account.
         
        repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
      • hasVmImage

        public boolean hasVmImage()
         Optional. Use a Compute Engine VM image to start the notebook instance.
         
        .google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasVmImage in interface GceSetupOrBuilder
        Returns:
        Whether the vmImage field is set.
      • getVmImage

        public VmImage getVmImage()
         Optional. Use a Compute Engine VM image to start the notebook instance.
         
        .google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getVmImage in interface GceSetupOrBuilder
        Returns:
        The vmImage.
      • setVmImage

        public GceSetup.Builder setVmImage​(VmImage value)
         Optional. Use a Compute Engine VM image to start the notebook instance.
         
        .google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
      • setVmImage

        public GceSetup.Builder setVmImage​(VmImage.Builder builderForValue)
         Optional. Use a Compute Engine VM image to start the notebook instance.
         
        .google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
      • mergeVmImage

        public GceSetup.Builder mergeVmImage​(VmImage value)
         Optional. Use a Compute Engine VM image to start the notebook instance.
         
        .google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
      • clearVmImage

        public GceSetup.Builder clearVmImage()
         Optional. Use a Compute Engine VM image to start the notebook instance.
         
        .google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getVmImageBuilder

        public VmImage.Builder getVmImageBuilder()
         Optional. Use a Compute Engine VM image to start the notebook instance.
         
        .google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getVmImageOrBuilder

        public VmImageOrBuilder getVmImageOrBuilder()
         Optional. Use a Compute Engine VM image to start the notebook instance.
         
        .google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getVmImageOrBuilder in interface GceSetupOrBuilder
      • hasContainerImage

        public boolean hasContainerImage()
         Optional. Use a container image to start the notebook instance.
         
        .google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasContainerImage in interface GceSetupOrBuilder
        Returns:
        Whether the containerImage field is set.
      • getContainerImage

        public ContainerImage getContainerImage()
         Optional. Use a container image to start the notebook instance.
         
        .google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getContainerImage in interface GceSetupOrBuilder
        Returns:
        The containerImage.
      • setContainerImage

        public GceSetup.Builder setContainerImage​(ContainerImage value)
         Optional. Use a container image to start the notebook instance.
         
        .google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
      • setContainerImage

        public GceSetup.Builder setContainerImage​(ContainerImage.Builder builderForValue)
         Optional. Use a container image to start the notebook instance.
         
        .google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
      • mergeContainerImage

        public GceSetup.Builder mergeContainerImage​(ContainerImage value)
         Optional. Use a container image to start the notebook instance.
         
        .google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
      • clearContainerImage

        public GceSetup.Builder clearContainerImage()
         Optional. Use a container image to start the notebook instance.
         
        .google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getContainerImageBuilder

        public ContainerImage.Builder getContainerImageBuilder()
         Optional. Use a container image to start the notebook instance.
         
        .google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
      • getContainerImageOrBuilder

        public ContainerImageOrBuilder getContainerImageOrBuilder()
         Optional. Use a container image to start the notebook instance.
         
        .google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getContainerImageOrBuilder in interface GceSetupOrBuilder
      • hasBootDisk

        public boolean hasBootDisk()
         Optional. The boot disk for the VM.
         
        .google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasBootDisk in interface GceSetupOrBuilder
        Returns:
        Whether the bootDisk field is set.
      • getBootDisk

        public BootDisk getBootDisk()
         Optional. The boot disk for the VM.
         
        .google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getBootDisk in interface GceSetupOrBuilder
        Returns:
        The bootDisk.
      • setBootDisk

        public GceSetup.Builder setBootDisk​(BootDisk value)
         Optional. The boot disk for the VM.
         
        .google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
      • setBootDisk

        public GceSetup.Builder setBootDisk​(BootDisk.Builder builderForValue)
         Optional. The boot disk for the VM.
         
        .google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
      • mergeBootDisk

        public GceSetup.Builder mergeBootDisk​(BootDisk value)
         Optional. The boot disk for the VM.
         
        .google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
      • clearBootDisk

        public GceSetup.Builder clearBootDisk()
         Optional. The boot disk for the VM.
         
        .google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
      • getBootDiskBuilder

        public BootDisk.Builder getBootDiskBuilder()
         Optional. The boot disk for the VM.
         
        .google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
      • getDataDisksList

        public List<DataDisk> getDataDisksList()
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDataDisksList in interface GceSetupOrBuilder
      • getDataDisksCount

        public int getDataDisksCount()
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDataDisksCount in interface GceSetupOrBuilder
      • getDataDisks

        public DataDisk getDataDisks​(int index)
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDataDisks in interface GceSetupOrBuilder
      • setDataDisks

        public GceSetup.Builder setDataDisks​(int index,
                                             DataDisk value)
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
      • setDataDisks

        public GceSetup.Builder setDataDisks​(int index,
                                             DataDisk.Builder builderForValue)
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
      • addDataDisks

        public GceSetup.Builder addDataDisks​(DataDisk value)
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
      • addDataDisks

        public GceSetup.Builder addDataDisks​(int index,
                                             DataDisk value)
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
      • addDataDisks

        public GceSetup.Builder addDataDisks​(DataDisk.Builder builderForValue)
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
      • addDataDisks

        public GceSetup.Builder addDataDisks​(int index,
                                             DataDisk.Builder builderForValue)
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
      • addAllDataDisks

        public GceSetup.Builder addAllDataDisks​(Iterable<? extends DataDisk> values)
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
      • clearDataDisks

        public GceSetup.Builder clearDataDisks()
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
      • removeDataDisks

        public GceSetup.Builder removeDataDisks​(int index)
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
      • getDataDisksBuilder

        public DataDisk.Builder getDataDisksBuilder​(int index)
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
      • getDataDisksOrBuilder

        public DataDiskOrBuilder getDataDisksOrBuilder​(int index)
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDataDisksOrBuilder in interface GceSetupOrBuilder
      • getDataDisksOrBuilderList

        public List<? extends DataDiskOrBuilder> getDataDisksOrBuilderList()
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDataDisksOrBuilderList in interface GceSetupOrBuilder
      • addDataDisksBuilder

        public DataDisk.Builder addDataDisksBuilder()
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
      • addDataDisksBuilder

        public DataDisk.Builder addDataDisksBuilder​(int index)
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
      • getDataDisksBuilderList

        public List<DataDisk.Builder> getDataDisksBuilderList()
         Optional. Data disks attached to the VM instance.
         Currently supports only one data disk.
         
        repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
      • hasShieldedInstanceConfig

        public boolean hasShieldedInstanceConfig()
         Optional. Shielded VM configuration.
         [Images using supported Shielded VM
         features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
         
        .google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasShieldedInstanceConfig in interface GceSetupOrBuilder
        Returns:
        Whether the shieldedInstanceConfig field is set.
      • getShieldedInstanceConfig

        public ShieldedInstanceConfig getShieldedInstanceConfig()
         Optional. Shielded VM configuration.
         [Images using supported Shielded VM
         features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
         
        .google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getShieldedInstanceConfig in interface GceSetupOrBuilder
        Returns:
        The shieldedInstanceConfig.
      • setShieldedInstanceConfig

        public GceSetup.Builder setShieldedInstanceConfig​(ShieldedInstanceConfig value)
         Optional. Shielded VM configuration.
         [Images using supported Shielded VM
         features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
         
        .google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      • setShieldedInstanceConfig

        public GceSetup.Builder setShieldedInstanceConfig​(ShieldedInstanceConfig.Builder builderForValue)
         Optional. Shielded VM configuration.
         [Images using supported Shielded VM
         features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
         
        .google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      • mergeShieldedInstanceConfig

        public GceSetup.Builder mergeShieldedInstanceConfig​(ShieldedInstanceConfig value)
         Optional. Shielded VM configuration.
         [Images using supported Shielded VM
         features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
         
        .google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      • clearShieldedInstanceConfig

        public GceSetup.Builder clearShieldedInstanceConfig()
         Optional. Shielded VM configuration.
         [Images using supported Shielded VM
         features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
         
        .google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      • getShieldedInstanceConfigBuilder

        public ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder()
         Optional. Shielded VM configuration.
         [Images using supported Shielded VM
         features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
         
        .google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      • getShieldedInstanceConfigOrBuilder

        public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
         Optional. Shielded VM configuration.
         [Images using supported Shielded VM
         features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
         
        .google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getShieldedInstanceConfigOrBuilder in interface GceSetupOrBuilder
      • getNetworkInterfacesList

        public List<NetworkInterface> getNetworkInterfacesList()
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getNetworkInterfacesList in interface GceSetupOrBuilder
      • getNetworkInterfacesCount

        public int getNetworkInterfacesCount()
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getNetworkInterfacesCount in interface GceSetupOrBuilder
      • getNetworkInterfaces

        public NetworkInterface getNetworkInterfaces​(int index)
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getNetworkInterfaces in interface GceSetupOrBuilder
      • setNetworkInterfaces

        public GceSetup.Builder setNetworkInterfaces​(int index,
                                                     NetworkInterface value)
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
      • setNetworkInterfaces

        public GceSetup.Builder setNetworkInterfaces​(int index,
                                                     NetworkInterface.Builder builderForValue)
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
      • addNetworkInterfaces

        public GceSetup.Builder addNetworkInterfaces​(NetworkInterface value)
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
      • addNetworkInterfaces

        public GceSetup.Builder addNetworkInterfaces​(int index,
                                                     NetworkInterface value)
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
      • addNetworkInterfaces

        public GceSetup.Builder addNetworkInterfaces​(NetworkInterface.Builder builderForValue)
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
      • addNetworkInterfaces

        public GceSetup.Builder addNetworkInterfaces​(int index,
                                                     NetworkInterface.Builder builderForValue)
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
      • addAllNetworkInterfaces

        public GceSetup.Builder addAllNetworkInterfaces​(Iterable<? extends NetworkInterface> values)
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
      • clearNetworkInterfaces

        public GceSetup.Builder clearNetworkInterfaces()
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
      • removeNetworkInterfaces

        public GceSetup.Builder removeNetworkInterfaces​(int index)
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
      • getNetworkInterfacesBuilder

        public NetworkInterface.Builder getNetworkInterfacesBuilder​(int index)
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
      • getNetworkInterfacesOrBuilder

        public NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder​(int index)
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getNetworkInterfacesOrBuilder in interface GceSetupOrBuilder
      • getNetworkInterfacesOrBuilderList

        public List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getNetworkInterfacesOrBuilderList in interface GceSetupOrBuilder
      • addNetworkInterfacesBuilder

        public NetworkInterface.Builder addNetworkInterfacesBuilder()
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
      • addNetworkInterfacesBuilder

        public NetworkInterface.Builder addNetworkInterfacesBuilder​(int index)
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
      • getNetworkInterfacesBuilderList

        public List<NetworkInterface.Builder> getNetworkInterfacesBuilderList()
         Optional. The network interfaces for the VM.
         Supports only one interface.
         
        repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
      • getDisablePublicIp

        public boolean getDisablePublicIp()
         Optional. If true, no external IP will be assigned to this VM instance.
         
        bool disable_public_ip = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDisablePublicIp in interface GceSetupOrBuilder
        Returns:
        The disablePublicIp.
      • setDisablePublicIp

        public GceSetup.Builder setDisablePublicIp​(boolean value)
         Optional. If true, no external IP will be assigned to this VM instance.
         
        bool disable_public_ip = 10 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The disablePublicIp to set.
        Returns:
        This builder for chaining.
      • clearDisablePublicIp

        public GceSetup.Builder clearDisablePublicIp()
         Optional. If true, no external IP will be assigned to this VM instance.
         
        bool disable_public_ip = 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 = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTagsList in interface GceSetupOrBuilder
        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 = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTagsCount in interface GceSetupOrBuilder
        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 = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTags in interface GceSetupOrBuilder
        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 = 11 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTagsBytes in interface GceSetupOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tags at the given index.
      • setTags

        public GceSetup.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 = 11 [(.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 GceSetup.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 = 11 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The tags to add.
        Returns:
        This builder for chaining.
      • addAllTags

        public GceSetup.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 = 11 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        values - The tags to add.
        Returns:
        This builder for chaining.
      • clearTags

        public GceSetup.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 = 11 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • addTagsBytes

        public GceSetup.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 = 11 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes of the tags to add.
        Returns:
        This builder for chaining.
      • getMetadataCount

        public int getMetadataCount()
        Description copied from interface: GceSetupOrBuilder
         Optional. Custom metadata to apply to this instance.
         
        map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMetadataCount in interface GceSetupOrBuilder
      • containsMetadata

        public boolean containsMetadata​(String key)
         Optional. Custom metadata to apply to this instance.
         
        map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsMetadata in interface GceSetupOrBuilder
      • getMetadataMap

        public Map<String,​String> getMetadataMap()
         Optional. Custom metadata to apply to this instance.
         
        map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMetadataMap in interface GceSetupOrBuilder
      • getMetadataOrDefault

        public String getMetadataOrDefault​(String key,
                                           String defaultValue)
         Optional. Custom metadata to apply to this instance.
         
        map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMetadataOrDefault in interface GceSetupOrBuilder
      • getMetadataOrThrow

        public String getMetadataOrThrow​(String key)
         Optional. Custom metadata to apply to this instance.
         
        map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMetadataOrThrow in interface GceSetupOrBuilder
      • removeMetadata

        public GceSetup.Builder removeMetadata​(String key)
         Optional. Custom metadata to apply to this instance.
         
        map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
      • getMutableMetadata

        @Deprecated
        public Map<String,​String> getMutableMetadata()
        Deprecated.
        Use alternate mutation accessors instead.
      • putMetadata

        public GceSetup.Builder putMetadata​(String key,
                                            String value)
         Optional. Custom metadata to apply to this instance.
         
        map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
      • putAllMetadata

        public GceSetup.Builder putAllMetadata​(Map<String,​String> values)
         Optional. Custom metadata to apply to this instance.
         
        map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
      • getEnableIpForwarding

        public boolean getEnableIpForwarding()
         Optional. Flag to enable ip forwarding or not, default false/off.
         https://cloud.google.com/vpc/docs/using-routes#canipforward
         
        bool enable_ip_forwarding = 13 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getEnableIpForwarding in interface GceSetupOrBuilder
        Returns:
        The enableIpForwarding.
      • setEnableIpForwarding

        public GceSetup.Builder setEnableIpForwarding​(boolean value)
         Optional. Flag to enable ip forwarding or not, default false/off.
         https://cloud.google.com/vpc/docs/using-routes#canipforward
         
        bool enable_ip_forwarding = 13 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The enableIpForwarding to set.
        Returns:
        This builder for chaining.
      • clearEnableIpForwarding

        public GceSetup.Builder clearEnableIpForwarding()
         Optional. Flag to enable ip forwarding or not, default false/off.
         https://cloud.google.com/vpc/docs/using-routes#canipforward
         
        bool enable_ip_forwarding = 13 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • hasGpuDriverConfig

        public boolean hasGpuDriverConfig()
         Optional. Configuration for GPU drivers.
         
        .google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasGpuDriverConfig in interface GceSetupOrBuilder
        Returns:
        Whether the gpuDriverConfig field is set.
      • getGpuDriverConfig

        public GPUDriverConfig getGpuDriverConfig()
         Optional. Configuration for GPU drivers.
         
        .google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getGpuDriverConfig in interface GceSetupOrBuilder
        Returns:
        The gpuDriverConfig.
      • setGpuDriverConfig

        public GceSetup.Builder setGpuDriverConfig​(GPUDriverConfig value)
         Optional. Configuration for GPU drivers.
         
        .google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
      • setGpuDriverConfig

        public GceSetup.Builder setGpuDriverConfig​(GPUDriverConfig.Builder builderForValue)
         Optional. Configuration for GPU drivers.
         
        .google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
      • mergeGpuDriverConfig

        public GceSetup.Builder mergeGpuDriverConfig​(GPUDriverConfig value)
         Optional. Configuration for GPU drivers.
         
        .google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
      • clearGpuDriverConfig

        public GceSetup.Builder clearGpuDriverConfig()
         Optional. Configuration for GPU drivers.
         
        .google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
      • getGpuDriverConfigBuilder

        public GPUDriverConfig.Builder getGpuDriverConfigBuilder()
         Optional. Configuration for GPU drivers.
         
        .google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
      • setUnknownFields

        public final GceSetup.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<GceSetup.Builder>
      • mergeUnknownFields

        public final GceSetup.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<GceSetup.Builder>