Package com.google.cloud.notebooks.v2
Class GceSetup.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
-
- com.google.cloud.notebooks.v2.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 typegoogle.cloud.notebooks.v2.GceSetup
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
-
clear
public GceSetup.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
-
getDefaultInstanceForType
public GceSetup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GceSetup build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GceSetup buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GceSetup.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
-
setField
public GceSetup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
-
clearField
public GceSetup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
-
clearOneof
public GceSetup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
-
setRepeatedField
public GceSetup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
-
addRepeatedField
public GceSetup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
-
mergeFrom
public GceSetup.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GceSetup.Builder>
-
mergeFrom
public GceSetup.Builder mergeFrom(GceSetup other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GceSetup.Builder>
- Throws:
IOException
-
getImageCase
public GceSetup.ImageCase getImageCase()
- Specified by:
getImageCase
in interfaceGceSetupOrBuilder
-
clearImage
public GceSetup.Builder clearImage()
-
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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
- 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];
-
getBootDiskOrBuilder
public BootDiskOrBuilder getBootDiskOrBuilder()
Optional. The boot disk for the VM.
.google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getBootDiskOrBuilder
in interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
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 interfaceGceSetupOrBuilder
-
clearMetadata
public GceSetup.Builder clearMetadata()
-
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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
- 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 interfaceGceSetupOrBuilder
- 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];
-
getGpuDriverConfigOrBuilder
public GPUDriverConfigOrBuilder getGpuDriverConfigOrBuilder()
Optional. Configuration for GPU drivers.
.google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getGpuDriverConfigOrBuilder
in interfaceGceSetupOrBuilder
-
setUnknownFields
public final GceSetup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
-
mergeUnknownFields
public final GceSetup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GceSetup.Builder>
-
-