public static final class Instance.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder> implements InstanceOrBuilder
The definition of a notebook instance.Protobuf type
google.cloud.notebooks.v1beta1.Instance| Modifier and Type | Method and Description |
|---|---|
Instance.Builder |
addAllInstanceOwners(Iterable<String> values)
Input only.
|
Instance.Builder |
addInstanceOwners(String value)
Input only.
|
Instance.Builder |
addInstanceOwnersBytes(com.google.protobuf.ByteString value)
Input only.
|
Instance.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Instance |
build() |
Instance |
buildPartial() |
Instance.Builder |
clear() |
Instance.Builder |
clearAcceleratorConfig()
The hardware accelerator used on this instance.
|
Instance.Builder |
clearBootDiskSizeGb()
Input only.
|
Instance.Builder |
clearBootDiskType()
Input only.
|
Instance.Builder |
clearCanIpForward()
Optional.
|
Instance.Builder |
clearContainerImage()
Use a container image to start the notebook instance.
|
Instance.Builder |
clearCreateTime()
Output only.
|
Instance.Builder |
clearCustomGpuDriverPath()
Specify a custom Cloud Storage path where the GPU driver is stored.
|
Instance.Builder |
clearDataDiskSizeGb()
Input only.
|
Instance.Builder |
clearDataDiskType()
Input only.
|
Instance.Builder |
clearDiskEncryption()
Input only.
|
Instance.Builder |
clearEnvironment() |
Instance.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Instance.Builder |
clearInstallGpuDriver()
Whether the end user authorizes Google Cloud to install GPU driver
on this instance.
|
Instance.Builder |
clearInstanceOwners()
Input only.
|
Instance.Builder |
clearKmsKey()
Input only.
|
Instance.Builder |
clearLabels() |
Instance.Builder |
clearMachineType()
Required.
|
Instance.Builder |
clearMetadata() |
Instance.Builder |
clearName()
Output only.
|
Instance.Builder |
clearNetwork()
The name of the VPC that this instance is in.
|
Instance.Builder |
clearNicType()
Optional.
|
Instance.Builder |
clearNoProxyAccess()
If true, the notebook instance will not register with the proxy.
|
Instance.Builder |
clearNoPublicIp()
If true, no public IP will be assigned to this instance.
|
Instance.Builder |
clearNoRemoveDataDisk()
Input only.
|
Instance.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Instance.Builder |
clearPostStartupScript()
Path to a Bash script that automatically runs after a notebook instance
fully boots up.
|
Instance.Builder |
clearProxyUri()
Output only.
|
Instance.Builder |
clearReservationAffinity()
Optional.
|
Instance.Builder |
clearServiceAccount()
The service account on this instance, giving access to other Google
Cloud services.
|
Instance.Builder |
clearState()
Output only.
|
Instance.Builder |
clearSubnet()
The name of the subnet that this instance is in.
|
Instance.Builder |
clearUpdateTime()
Output only.
|
Instance.Builder |
clearVmImage()
Use a Compute Engine VM image to start the notebook instance.
|
Instance.Builder |
clone() |
boolean |
containsLabels(String key)
Labels to apply to this instance.
|
boolean |
containsMetadata(String key)
Custom metadata to apply to this instance.
|
Instance.AcceleratorConfig |
getAcceleratorConfig()
The hardware accelerator used on this instance.
|
Instance.AcceleratorConfig.Builder |
getAcceleratorConfigBuilder()
The hardware accelerator used on this instance.
|
Instance.AcceleratorConfigOrBuilder |
getAcceleratorConfigOrBuilder()
The hardware accelerator used on this instance.
|
long |
getBootDiskSizeGb()
Input only.
|
Instance.DiskType |
getBootDiskType()
Input only.
|
int |
getBootDiskTypeValue()
Input only.
|
boolean |
getCanIpForward()
Optional.
|
ContainerImage |
getContainerImage()
Use a container image to start the notebook instance.
|
ContainerImage.Builder |
getContainerImageBuilder()
Use a container image to start the notebook instance.
|
ContainerImageOrBuilder |
getContainerImageOrBuilder()
Use a container image to start the notebook instance.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getCustomGpuDriverPath()
Specify a custom Cloud Storage path where the GPU driver is stored.
|
com.google.protobuf.ByteString |
getCustomGpuDriverPathBytes()
Specify a custom Cloud Storage path where the GPU driver is stored.
|
long |
getDataDiskSizeGb()
Input only.
|
Instance.DiskType |
getDataDiskType()
Input only.
|
int |
getDataDiskTypeValue()
Input only.
|
Instance |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Instance.DiskEncryption |
getDiskEncryption()
Input only.
|
int |
getDiskEncryptionValue()
Input only.
|
Instance.EnvironmentCase |
getEnvironmentCase() |
boolean |
getInstallGpuDriver()
Whether the end user authorizes Google Cloud to install GPU driver
on this instance.
|
String |
getInstanceOwners(int index)
Input only.
|
com.google.protobuf.ByteString |
getInstanceOwnersBytes(int index)
Input only.
|
int |
getInstanceOwnersCount()
Input only.
|
com.google.protobuf.ProtocolStringList |
getInstanceOwnersList()
Input only.
|
String |
getKmsKey()
Input only.
|
com.google.protobuf.ByteString |
getKmsKeyBytes()
Input only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels to apply to this instance.
|
Map<String,String> |
getLabelsMap()
Labels to apply to this instance.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels to apply to this instance.
|
String |
getLabelsOrThrow(String key)
Labels to apply to this instance.
|
String |
getMachineType()
Required.
|
com.google.protobuf.ByteString |
getMachineTypeBytes()
Required.
|
Map<String,String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
Custom metadata to apply to this instance.
|
Map<String,String> |
getMetadataMap()
Custom metadata to apply to this instance.
|
String |
getMetadataOrDefault(String key,
String defaultValue)
Custom metadata to apply to this instance.
|
String |
getMetadataOrThrow(String key)
Custom metadata to apply to this instance.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
Map<String,String> |
getMutableMetadata()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
String |
getNetwork()
The name of the VPC that this instance is in.
|
com.google.protobuf.ByteString |
getNetworkBytes()
The name of the VPC that this instance is in.
|
Instance.NicType |
getNicType()
Optional.
|
int |
getNicTypeValue()
Optional.
|
boolean |
getNoProxyAccess()
If true, the notebook instance will not register with the proxy.
|
boolean |
getNoPublicIp()
If true, no public IP will be assigned to this instance.
|
boolean |
getNoRemoveDataDisk()
Input only.
|
String |
getPostStartupScript()
Path to a Bash script that automatically runs after a notebook instance
fully boots up.
|
com.google.protobuf.ByteString |
getPostStartupScriptBytes()
Path to a Bash script that automatically runs after a notebook instance
fully boots up.
|
String |
getProxyUri()
Output only.
|
com.google.protobuf.ByteString |
getProxyUriBytes()
Output only.
|
ReservationAffinity |
getReservationAffinity()
Optional.
|
ReservationAffinity.Builder |
getReservationAffinityBuilder()
Optional.
|
ReservationAffinityOrBuilder |
getReservationAffinityOrBuilder()
Optional.
|
String |
getServiceAccount()
The service account on this instance, giving access to other Google
Cloud services.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
The service account on this instance, giving access to other Google
Cloud services.
|
Instance.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
String |
getSubnet()
The name of the subnet that this instance is in.
|
com.google.protobuf.ByteString |
getSubnetBytes()
The name of the subnet that this instance is in.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
VmImage |
getVmImage()
Use a Compute Engine VM image to start the notebook instance.
|
VmImage.Builder |
getVmImageBuilder()
Use a Compute Engine VM image to start the notebook instance.
|
VmImageOrBuilder |
getVmImageOrBuilder()
Use a Compute Engine VM image to start the notebook instance.
|
boolean |
hasAcceleratorConfig()
The hardware accelerator used on this instance.
|
boolean |
hasContainerImage()
Use a container image to start the notebook instance.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasReservationAffinity()
Optional.
|
boolean |
hasUpdateTime()
Output only.
|
boolean |
hasVmImage()
Use a Compute Engine VM image to start the notebook instance.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Instance.Builder |
mergeAcceleratorConfig(Instance.AcceleratorConfig value)
The hardware accelerator used on this instance.
|
Instance.Builder |
mergeContainerImage(ContainerImage value)
Use a container image to start the notebook instance.
|
Instance.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Instance.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Instance.Builder |
mergeFrom(Instance other) |
Instance.Builder |
mergeFrom(com.google.protobuf.Message other) |
Instance.Builder |
mergeReservationAffinity(ReservationAffinity value)
Optional.
|
Instance.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Instance.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Instance.Builder |
mergeVmImage(VmImage value)
Use a Compute Engine VM image to start the notebook instance.
|
Instance.Builder |
putAllLabels(Map<String,String> values)
Labels to apply to this instance.
|
Instance.Builder |
putAllMetadata(Map<String,String> values)
Custom metadata to apply to this instance.
|
Instance.Builder |
putLabels(String key,
String value)
Labels to apply to this instance.
|
Instance.Builder |
putMetadata(String key,
String value)
Custom metadata to apply to this instance.
|
Instance.Builder |
removeLabels(String key)
Labels to apply to this instance.
|
Instance.Builder |
removeMetadata(String key)
Custom metadata to apply to this instance.
|
Instance.Builder |
setAcceleratorConfig(Instance.AcceleratorConfig.Builder builderForValue)
The hardware accelerator used on this instance.
|
Instance.Builder |
setAcceleratorConfig(Instance.AcceleratorConfig value)
The hardware accelerator used on this instance.
|
Instance.Builder |
setBootDiskSizeGb(long value)
Input only.
|
Instance.Builder |
setBootDiskType(Instance.DiskType value)
Input only.
|
Instance.Builder |
setBootDiskTypeValue(int value)
Input only.
|
Instance.Builder |
setCanIpForward(boolean value)
Optional.
|
Instance.Builder |
setContainerImage(ContainerImage.Builder builderForValue)
Use a container image to start the notebook instance.
|
Instance.Builder |
setContainerImage(ContainerImage value)
Use a container image to start the notebook instance.
|
Instance.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Instance.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Instance.Builder |
setCustomGpuDriverPath(String value)
Specify a custom Cloud Storage path where the GPU driver is stored.
|
Instance.Builder |
setCustomGpuDriverPathBytes(com.google.protobuf.ByteString value)
Specify a custom Cloud Storage path where the GPU driver is stored.
|
Instance.Builder |
setDataDiskSizeGb(long value)
Input only.
|
Instance.Builder |
setDataDiskType(Instance.DiskType value)
Input only.
|
Instance.Builder |
setDataDiskTypeValue(int value)
Input only.
|
Instance.Builder |
setDiskEncryption(Instance.DiskEncryption value)
Input only.
|
Instance.Builder |
setDiskEncryptionValue(int value)
Input only.
|
Instance.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Instance.Builder |
setInstallGpuDriver(boolean value)
Whether the end user authorizes Google Cloud to install GPU driver
on this instance.
|
Instance.Builder |
setInstanceOwners(int index,
String value)
Input only.
|
Instance.Builder |
setKmsKey(String value)
Input only.
|
Instance.Builder |
setKmsKeyBytes(com.google.protobuf.ByteString value)
Input only.
|
Instance.Builder |
setMachineType(String value)
Required.
|
Instance.Builder |
setMachineTypeBytes(com.google.protobuf.ByteString value)
Required.
|
Instance.Builder |
setName(String value)
Output only.
|
Instance.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Instance.Builder |
setNetwork(String value)
The name of the VPC that this instance is in.
|
Instance.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
The name of the VPC that this instance is in.
|
Instance.Builder |
setNicType(Instance.NicType value)
Optional.
|
Instance.Builder |
setNicTypeValue(int value)
Optional.
|
Instance.Builder |
setNoProxyAccess(boolean value)
If true, the notebook instance will not register with the proxy.
|
Instance.Builder |
setNoPublicIp(boolean value)
If true, no public IP will be assigned to this instance.
|
Instance.Builder |
setNoRemoveDataDisk(boolean value)
Input only.
|
Instance.Builder |
setPostStartupScript(String value)
Path to a Bash script that automatically runs after a notebook instance
fully boots up.
|
Instance.Builder |
setPostStartupScriptBytes(com.google.protobuf.ByteString value)
Path to a Bash script that automatically runs after a notebook instance
fully boots up.
|
Instance.Builder |
setProxyUri(String value)
Output only.
|
Instance.Builder |
setProxyUriBytes(com.google.protobuf.ByteString value)
Output only.
|
Instance.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Instance.Builder |
setReservationAffinity(ReservationAffinity.Builder builderForValue)
Optional.
|
Instance.Builder |
setReservationAffinity(ReservationAffinity value)
Optional.
|
Instance.Builder |
setServiceAccount(String value)
The service account on this instance, giving access to other Google
Cloud services.
|
Instance.Builder |
setServiceAccountBytes(com.google.protobuf.ByteString value)
The service account on this instance, giving access to other Google
Cloud services.
|
Instance.Builder |
setState(Instance.State value)
Output only.
|
Instance.Builder |
setStateValue(int value)
Output only.
|
Instance.Builder |
setSubnet(String value)
The name of the subnet that this instance is in.
|
Instance.Builder |
setSubnetBytes(com.google.protobuf.ByteString value)
The name of the subnet that this instance is in.
|
Instance.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Instance.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Instance.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Instance.Builder |
setVmImage(VmImage.Builder builderForValue)
Use a Compute Engine VM image to start the notebook instance.
|
Instance.Builder |
setVmImage(VmImage value)
Use a Compute Engine VM image to start the notebook instance.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Instance build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Instance buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Instance.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Builder>public Instance.Builder mergeFrom(Instance other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Builder>IOExceptionpublic Instance.EnvironmentCase getEnvironmentCase()
getEnvironmentCase in interface InstanceOrBuilderpublic Instance.Builder clearEnvironment()
public String getName()
Output only. The name of this notebook instance. Format:
`projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The name of this notebook instance. Format:
`projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface InstanceOrBuilderpublic Instance.Builder setName(String value)
Output only. The name of this notebook instance. Format:
`projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Instance.Builder clearName()
Output only. The name of this notebook instance. Format:
`projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Instance.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name of this notebook instance. Format:
`projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public boolean hasVmImage()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 2;hasVmImage in interface InstanceOrBuilderpublic VmImage getVmImage()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 2;getVmImage in interface InstanceOrBuilderpublic Instance.Builder setVmImage(VmImage value)
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 2;public Instance.Builder setVmImage(VmImage.Builder builderForValue)
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 2;public Instance.Builder mergeVmImage(VmImage value)
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 2;public Instance.Builder clearVmImage()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 2;public VmImage.Builder getVmImageBuilder()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 2;public VmImageOrBuilder getVmImageOrBuilder()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 2;getVmImageOrBuilder in interface InstanceOrBuilderpublic boolean hasContainerImage()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 3;hasContainerImage in interface InstanceOrBuilderpublic ContainerImage getContainerImage()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 3;getContainerImage in interface InstanceOrBuilderpublic Instance.Builder setContainerImage(ContainerImage value)
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 3;public Instance.Builder setContainerImage(ContainerImage.Builder builderForValue)
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 3;public Instance.Builder mergeContainerImage(ContainerImage value)
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 3;public Instance.Builder clearContainerImage()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 3;public ContainerImage.Builder getContainerImageBuilder()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 3;public ContainerImageOrBuilder getContainerImageOrBuilder()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 3;getContainerImageOrBuilder in interface InstanceOrBuilderpublic String getPostStartupScript()
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (`gs://path-to-file/file-name`).
string post_startup_script = 4;getPostStartupScript in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getPostStartupScriptBytes()
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (`gs://path-to-file/file-name`).
string post_startup_script = 4;getPostStartupScriptBytes in interface InstanceOrBuilderpublic Instance.Builder setPostStartupScript(String value)
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (`gs://path-to-file/file-name`).
string post_startup_script = 4;value - The postStartupScript to set.public Instance.Builder clearPostStartupScript()
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (`gs://path-to-file/file-name`).
string post_startup_script = 4;public Instance.Builder setPostStartupScriptBytes(com.google.protobuf.ByteString value)
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (`gs://path-to-file/file-name`).
string post_startup_script = 4;value - The bytes for postStartupScript to set.public String getProxyUri()
Output only. The proxy endpoint that is used to access the Jupyter notebook.
string proxy_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getProxyUri in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getProxyUriBytes()
Output only. The proxy endpoint that is used to access the Jupyter notebook.
string proxy_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getProxyUriBytes in interface InstanceOrBuilderpublic Instance.Builder setProxyUri(String value)
Output only. The proxy endpoint that is used to access the Jupyter notebook.
string proxy_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The proxyUri to set.public Instance.Builder clearProxyUri()
Output only. The proxy endpoint that is used to access the Jupyter notebook.
string proxy_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];public Instance.Builder setProxyUriBytes(com.google.protobuf.ByteString value)
Output only. The proxy endpoint that is used to access the Jupyter notebook.
string proxy_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for proxyUri to set.public com.google.protobuf.ProtocolStringList getInstanceOwnersList()
Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.
repeated string instance_owners = 6 [(.google.api.field_behavior) = INPUT_ONLY];getInstanceOwnersList in interface InstanceOrBuilderpublic int getInstanceOwnersCount()
Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.
repeated string instance_owners = 6 [(.google.api.field_behavior) = INPUT_ONLY];getInstanceOwnersCount in interface InstanceOrBuilderpublic String getInstanceOwners(int index)
Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.
repeated string instance_owners = 6 [(.google.api.field_behavior) = INPUT_ONLY];getInstanceOwners in interface InstanceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getInstanceOwnersBytes(int index)
Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.
repeated string instance_owners = 6 [(.google.api.field_behavior) = INPUT_ONLY];getInstanceOwnersBytes in interface InstanceOrBuilderindex - The index of the value to return.public Instance.Builder setInstanceOwners(int index, String value)
Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.
repeated string instance_owners = 6 [(.google.api.field_behavior) = INPUT_ONLY];index - The index to set the value at.value - The instanceOwners to set.public Instance.Builder addInstanceOwners(String value)
Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.
repeated string instance_owners = 6 [(.google.api.field_behavior) = INPUT_ONLY];value - The instanceOwners to add.public Instance.Builder addAllInstanceOwners(Iterable<String> values)
Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.
repeated string instance_owners = 6 [(.google.api.field_behavior) = INPUT_ONLY];values - The instanceOwners to add.public Instance.Builder clearInstanceOwners()
Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.
repeated string instance_owners = 6 [(.google.api.field_behavior) = INPUT_ONLY];public Instance.Builder addInstanceOwnersBytes(com.google.protobuf.ByteString value)
Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.
repeated string instance_owners = 6 [(.google.api.field_behavior) = INPUT_ONLY];value - The bytes of the instanceOwners to add.public String getServiceAccount()
The service account on this instance, giving access to other Google Cloud services. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.
string service_account = 7;getServiceAccount in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getServiceAccountBytes()
The service account on this instance, giving access to other Google Cloud services. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.
string service_account = 7;getServiceAccountBytes in interface InstanceOrBuilderpublic Instance.Builder setServiceAccount(String value)
The service account on this instance, giving access to other Google Cloud services. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.
string service_account = 7;value - The serviceAccount to set.public Instance.Builder clearServiceAccount()
The service account on this instance, giving access to other Google Cloud services. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.
string service_account = 7;public Instance.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
The service account on this instance, giving access to other Google Cloud services. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.
string service_account = 7;value - The bytes for serviceAccount to set.public String getMachineType()
Required. The [Compute Engine machine type](https://cloud.google.com/compute/docs/machine-types) of this instance.
string machine_type = 8 [(.google.api.field_behavior) = REQUIRED];getMachineType in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getMachineTypeBytes()
Required. The [Compute Engine machine type](https://cloud.google.com/compute/docs/machine-types) of this instance.
string machine_type = 8 [(.google.api.field_behavior) = REQUIRED];getMachineTypeBytes in interface InstanceOrBuilderpublic Instance.Builder setMachineType(String value)
Required. The [Compute Engine machine type](https://cloud.google.com/compute/docs/machine-types) of this instance.
string machine_type = 8 [(.google.api.field_behavior) = REQUIRED];value - The machineType to set.public Instance.Builder clearMachineType()
Required. The [Compute Engine machine type](https://cloud.google.com/compute/docs/machine-types) of this instance.
string machine_type = 8 [(.google.api.field_behavior) = REQUIRED];public Instance.Builder setMachineTypeBytes(com.google.protobuf.ByteString value)
Required. The [Compute Engine machine type](https://cloud.google.com/compute/docs/machine-types) of this instance.
string machine_type = 8 [(.google.api.field_behavior) = REQUIRED];value - The bytes for machineType to set.public boolean hasAcceleratorConfig()
The hardware accelerator 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).
.google.cloud.notebooks.v1beta1.Instance.AcceleratorConfig accelerator_config = 9;
hasAcceleratorConfig in interface InstanceOrBuilderpublic Instance.AcceleratorConfig getAcceleratorConfig()
The hardware accelerator 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).
.google.cloud.notebooks.v1beta1.Instance.AcceleratorConfig accelerator_config = 9;
getAcceleratorConfig in interface InstanceOrBuilderpublic Instance.Builder setAcceleratorConfig(Instance.AcceleratorConfig value)
The hardware accelerator 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).
.google.cloud.notebooks.v1beta1.Instance.AcceleratorConfig accelerator_config = 9;
public Instance.Builder setAcceleratorConfig(Instance.AcceleratorConfig.Builder builderForValue)
The hardware accelerator 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).
.google.cloud.notebooks.v1beta1.Instance.AcceleratorConfig accelerator_config = 9;
public Instance.Builder mergeAcceleratorConfig(Instance.AcceleratorConfig value)
The hardware accelerator 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).
.google.cloud.notebooks.v1beta1.Instance.AcceleratorConfig accelerator_config = 9;
public Instance.Builder clearAcceleratorConfig()
The hardware accelerator 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).
.google.cloud.notebooks.v1beta1.Instance.AcceleratorConfig accelerator_config = 9;
public Instance.AcceleratorConfig.Builder getAcceleratorConfigBuilder()
The hardware accelerator 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).
.google.cloud.notebooks.v1beta1.Instance.AcceleratorConfig accelerator_config = 9;
public Instance.AcceleratorConfigOrBuilder getAcceleratorConfigOrBuilder()
The hardware accelerator 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).
.google.cloud.notebooks.v1beta1.Instance.AcceleratorConfig accelerator_config = 9;
getAcceleratorConfigOrBuilder in interface InstanceOrBuilderpublic int getStateValue()
Output only. The state of this instance.
.google.cloud.notebooks.v1beta1.Instance.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface InstanceOrBuilderpublic Instance.Builder setStateValue(int value)
Output only. The state of this instance.
.google.cloud.notebooks.v1beta1.Instance.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public Instance.State getState()
Output only. The state of this instance.
.google.cloud.notebooks.v1beta1.Instance.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface InstanceOrBuilderpublic Instance.Builder setState(Instance.State value)
Output only. The state of this instance.
.google.cloud.notebooks.v1beta1.Instance.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public Instance.Builder clearState()
Output only. The state of this instance.
.google.cloud.notebooks.v1beta1.Instance.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean getInstallGpuDriver()
Whether the end user authorizes Google Cloud to install GPU driver on this instance. If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs.
bool install_gpu_driver = 11;getInstallGpuDriver in interface InstanceOrBuilderpublic Instance.Builder setInstallGpuDriver(boolean value)
Whether the end user authorizes Google Cloud to install GPU driver on this instance. If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs.
bool install_gpu_driver = 11;value - The installGpuDriver to set.public Instance.Builder clearInstallGpuDriver()
Whether the end user authorizes Google Cloud to install GPU driver on this instance. If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs.
bool install_gpu_driver = 11;public String getCustomGpuDriverPath()
Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
string custom_gpu_driver_path = 12;getCustomGpuDriverPath in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getCustomGpuDriverPathBytes()
Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
string custom_gpu_driver_path = 12;getCustomGpuDriverPathBytes in interface InstanceOrBuilderpublic Instance.Builder setCustomGpuDriverPath(String value)
Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
string custom_gpu_driver_path = 12;value - The customGpuDriverPath to set.public Instance.Builder clearCustomGpuDriverPath()
Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
string custom_gpu_driver_path = 12;public Instance.Builder setCustomGpuDriverPathBytes(com.google.protobuf.ByteString value)
Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
string custom_gpu_driver_path = 12;value - The bytes for customGpuDriverPath to set.public int getBootDiskTypeValue()
Input only. The type of the boot disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`).
.google.cloud.notebooks.v1beta1.Instance.DiskType boot_disk_type = 13 [(.google.api.field_behavior) = INPUT_ONLY];
getBootDiskTypeValue in interface InstanceOrBuilderpublic Instance.Builder setBootDiskTypeValue(int value)
Input only. The type of the boot disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`).
.google.cloud.notebooks.v1beta1.Instance.DiskType boot_disk_type = 13 [(.google.api.field_behavior) = INPUT_ONLY];
value - The enum numeric value on the wire for bootDiskType to set.public Instance.DiskType getBootDiskType()
Input only. The type of the boot disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`).
.google.cloud.notebooks.v1beta1.Instance.DiskType boot_disk_type = 13 [(.google.api.field_behavior) = INPUT_ONLY];
getBootDiskType in interface InstanceOrBuilderpublic Instance.Builder setBootDiskType(Instance.DiskType value)
Input only. The type of the boot disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`).
.google.cloud.notebooks.v1beta1.Instance.DiskType boot_disk_type = 13 [(.google.api.field_behavior) = INPUT_ONLY];
value - The bootDiskType to set.public Instance.Builder clearBootDiskType()
Input only. The type of the boot disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`).
.google.cloud.notebooks.v1beta1.Instance.DiskType boot_disk_type = 13 [(.google.api.field_behavior) = INPUT_ONLY];
public long getBootDiskSizeGb()
Input only. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). The minimum recommended value is 100 GB. If not specified, this defaults to 100.
int64 boot_disk_size_gb = 14 [(.google.api.field_behavior) = INPUT_ONLY];getBootDiskSizeGb in interface InstanceOrBuilderpublic Instance.Builder setBootDiskSizeGb(long value)
Input only. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). The minimum recommended value is 100 GB. If not specified, this defaults to 100.
int64 boot_disk_size_gb = 14 [(.google.api.field_behavior) = INPUT_ONLY];value - The bootDiskSizeGb to set.public Instance.Builder clearBootDiskSizeGb()
Input only. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). The minimum recommended value is 100 GB. If not specified, this defaults to 100.
int64 boot_disk_size_gb = 14 [(.google.api.field_behavior) = INPUT_ONLY];public int getDataDiskTypeValue()
Input only. The type of the data disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`).
.google.cloud.notebooks.v1beta1.Instance.DiskType data_disk_type = 25 [(.google.api.field_behavior) = INPUT_ONLY];
getDataDiskTypeValue in interface InstanceOrBuilderpublic Instance.Builder setDataDiskTypeValue(int value)
Input only. The type of the data disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`).
.google.cloud.notebooks.v1beta1.Instance.DiskType data_disk_type = 25 [(.google.api.field_behavior) = INPUT_ONLY];
value - The enum numeric value on the wire for dataDiskType to set.public Instance.DiskType getDataDiskType()
Input only. The type of the data disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`).
.google.cloud.notebooks.v1beta1.Instance.DiskType data_disk_type = 25 [(.google.api.field_behavior) = INPUT_ONLY];
getDataDiskType in interface InstanceOrBuilderpublic Instance.Builder setDataDiskType(Instance.DiskType value)
Input only. The type of the data disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`).
.google.cloud.notebooks.v1beta1.Instance.DiskType data_disk_type = 25 [(.google.api.field_behavior) = INPUT_ONLY];
value - The dataDiskType to set.public Instance.Builder clearDataDiskType()
Input only. The type of the data disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`).
.google.cloud.notebooks.v1beta1.Instance.DiskType data_disk_type = 25 [(.google.api.field_behavior) = INPUT_ONLY];
public long getDataDiskSizeGb()
Input only. The size of the data disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). You can choose the size of the data disk based on how big your notebooks and data are. If not specified, this defaults to 100.
int64 data_disk_size_gb = 26 [(.google.api.field_behavior) = INPUT_ONLY];getDataDiskSizeGb in interface InstanceOrBuilderpublic Instance.Builder setDataDiskSizeGb(long value)
Input only. The size of the data disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). You can choose the size of the data disk based on how big your notebooks and data are. If not specified, this defaults to 100.
int64 data_disk_size_gb = 26 [(.google.api.field_behavior) = INPUT_ONLY];value - The dataDiskSizeGb to set.public Instance.Builder clearDataDiskSizeGb()
Input only. The size of the data disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). You can choose the size of the data disk based on how big your notebooks and data are. If not specified, this defaults to 100.
int64 data_disk_size_gb = 26 [(.google.api.field_behavior) = INPUT_ONLY];public boolean getNoRemoveDataDisk()
Input only. If true, the data disk will not be auto deleted when deleting the instance.
bool no_remove_data_disk = 27 [(.google.api.field_behavior) = INPUT_ONLY];getNoRemoveDataDisk in interface InstanceOrBuilderpublic Instance.Builder setNoRemoveDataDisk(boolean value)
Input only. If true, the data disk will not be auto deleted when deleting the instance.
bool no_remove_data_disk = 27 [(.google.api.field_behavior) = INPUT_ONLY];value - The noRemoveDataDisk to set.public Instance.Builder clearNoRemoveDataDisk()
Input only. If true, the data disk will not be auto deleted when deleting the instance.
bool no_remove_data_disk = 27 [(.google.api.field_behavior) = INPUT_ONLY];public int getDiskEncryptionValue()
Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
.google.cloud.notebooks.v1beta1.Instance.DiskEncryption disk_encryption = 15 [(.google.api.field_behavior) = INPUT_ONLY];
getDiskEncryptionValue in interface InstanceOrBuilderpublic Instance.Builder setDiskEncryptionValue(int value)
Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
.google.cloud.notebooks.v1beta1.Instance.DiskEncryption disk_encryption = 15 [(.google.api.field_behavior) = INPUT_ONLY];
value - The enum numeric value on the wire for diskEncryption to set.public Instance.DiskEncryption getDiskEncryption()
Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
.google.cloud.notebooks.v1beta1.Instance.DiskEncryption disk_encryption = 15 [(.google.api.field_behavior) = INPUT_ONLY];
getDiskEncryption in interface InstanceOrBuilderpublic Instance.Builder setDiskEncryption(Instance.DiskEncryption value)
Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
.google.cloud.notebooks.v1beta1.Instance.DiskEncryption disk_encryption = 15 [(.google.api.field_behavior) = INPUT_ONLY];
value - The diskEncryption to set.public Instance.Builder clearDiskEncryption()
Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
.google.cloud.notebooks.v1beta1.Instance.DiskEncryption disk_encryption = 15 [(.google.api.field_behavior) = INPUT_ONLY];
public String getKmsKey()
Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption
is CMEK.
Format:
`projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}`
Learn more about [using your own encryption
keys](https://cloud.google.com/kms/docs/quickstart).
string kms_key = 16 [(.google.api.field_behavior) = INPUT_ONLY];getKmsKey in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getKmsKeyBytes()
Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption
is CMEK.
Format:
`projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}`
Learn more about [using your own encryption
keys](https://cloud.google.com/kms/docs/quickstart).
string kms_key = 16 [(.google.api.field_behavior) = INPUT_ONLY];getKmsKeyBytes in interface InstanceOrBuilderpublic Instance.Builder setKmsKey(String value)
Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption
is CMEK.
Format:
`projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}`
Learn more about [using your own encryption
keys](https://cloud.google.com/kms/docs/quickstart).
string kms_key = 16 [(.google.api.field_behavior) = INPUT_ONLY];value - The kmsKey to set.public Instance.Builder clearKmsKey()
Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption
is CMEK.
Format:
`projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}`
Learn more about [using your own encryption
keys](https://cloud.google.com/kms/docs/quickstart).
string kms_key = 16 [(.google.api.field_behavior) = INPUT_ONLY];public Instance.Builder setKmsKeyBytes(com.google.protobuf.ByteString value)
Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption
is CMEK.
Format:
`projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}`
Learn more about [using your own encryption
keys](https://cloud.google.com/kms/docs/quickstart).
string kms_key = 16 [(.google.api.field_behavior) = INPUT_ONLY];value - The bytes for kmsKey to set.public boolean getNoPublicIp()
If true, no public IP will be assigned to this instance.
bool no_public_ip = 17;getNoPublicIp in interface InstanceOrBuilderpublic Instance.Builder setNoPublicIp(boolean value)
If true, no public IP will be assigned to this instance.
bool no_public_ip = 17;value - The noPublicIp to set.public Instance.Builder clearNoPublicIp()
If true, no public IP will be assigned to this instance.
bool no_public_ip = 17;public boolean getNoProxyAccess()
If true, the notebook instance will not register with the proxy.
bool no_proxy_access = 18;getNoProxyAccess in interface InstanceOrBuilderpublic Instance.Builder setNoProxyAccess(boolean value)
If true, the notebook instance will not register with the proxy.
bool no_proxy_access = 18;value - The noProxyAccess to set.public Instance.Builder clearNoProxyAccess()
If true, the notebook instance will not register with the proxy.
bool no_proxy_access = 18;public String getNetwork()
The name of the VPC that this instance is in.
Format:
`projects/{project_id}/global/networks/{network_id}`
string network = 19;getNetwork in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
The name of the VPC that this instance is in.
Format:
`projects/{project_id}/global/networks/{network_id}`
string network = 19;getNetworkBytes in interface InstanceOrBuilderpublic Instance.Builder setNetwork(String value)
The name of the VPC that this instance is in.
Format:
`projects/{project_id}/global/networks/{network_id}`
string network = 19;value - The network to set.public Instance.Builder clearNetwork()
The name of the VPC that this instance is in.
Format:
`projects/{project_id}/global/networks/{network_id}`
string network = 19;public Instance.Builder setNetworkBytes(com.google.protobuf.ByteString value)
The name of the VPC that this instance is in.
Format:
`projects/{project_id}/global/networks/{network_id}`
string network = 19;value - The bytes for network to set.public String getSubnet()
The name of the subnet that this instance is in.
Format:
`projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
string subnet = 20;getSubnet in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getSubnetBytes()
The name of the subnet that this instance is in.
Format:
`projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
string subnet = 20;getSubnetBytes in interface InstanceOrBuilderpublic Instance.Builder setSubnet(String value)
The name of the subnet that this instance is in.
Format:
`projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
string subnet = 20;value - The subnet to set.public Instance.Builder clearSubnet()
The name of the subnet that this instance is in.
Format:
`projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
string subnet = 20;public Instance.Builder setSubnetBytes(com.google.protobuf.ByteString value)
The name of the subnet that this instance is in.
Format:
`projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
string subnet = 20;value - The bytes for subnet to set.public int getLabelsCount()
InstanceOrBuilderLabels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 21;getLabelsCount in interface InstanceOrBuilderpublic boolean containsLabels(String key)
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 21;containsLabels in interface InstanceOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface InstanceOrBuilderpublic Map<String,String> getLabelsMap()
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 21;getLabelsMap in interface InstanceOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 21;getLabelsOrDefault in interface InstanceOrBuilderpublic String getLabelsOrThrow(String key)
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 21;getLabelsOrThrow in interface InstanceOrBuilderpublic Instance.Builder clearLabels()
public Instance.Builder removeLabels(String key)
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 21;@Deprecated public Map<String,String> getMutableLabels()
public Instance.Builder putLabels(String key, String value)
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 21;public Instance.Builder putAllLabels(Map<String,String> values)
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 21;public int getMetadataCount()
InstanceOrBuilderCustom metadata to apply to this instance.
map<string, string> metadata = 22;getMetadataCount in interface InstanceOrBuilderpublic boolean containsMetadata(String key)
Custom metadata to apply to this instance.
map<string, string> metadata = 22;containsMetadata in interface InstanceOrBuilder@Deprecated public Map<String,String> getMetadata()
getMetadataMap() instead.getMetadata in interface InstanceOrBuilderpublic Map<String,String> getMetadataMap()
Custom metadata to apply to this instance.
map<string, string> metadata = 22;getMetadataMap in interface InstanceOrBuilderpublic String getMetadataOrDefault(String key, String defaultValue)
Custom metadata to apply to this instance.
map<string, string> metadata = 22;getMetadataOrDefault in interface InstanceOrBuilderpublic String getMetadataOrThrow(String key)
Custom metadata to apply to this instance.
map<string, string> metadata = 22;getMetadataOrThrow in interface InstanceOrBuilderpublic Instance.Builder clearMetadata()
public Instance.Builder removeMetadata(String key)
Custom metadata to apply to this instance.
map<string, string> metadata = 22;@Deprecated public Map<String,String> getMutableMetadata()
public Instance.Builder putMetadata(String key, String value)
Custom metadata to apply to this instance.
map<string, string> metadata = 22;public Instance.Builder putAllMetadata(Map<String,String> values)
Custom metadata to apply to this instance.
map<string, string> metadata = 22;public int getNicTypeValue()
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
.google.cloud.notebooks.v1beta1.Instance.NicType nic_type = 28 [(.google.api.field_behavior) = OPTIONAL];
getNicTypeValue in interface InstanceOrBuilderpublic Instance.Builder setNicTypeValue(int value)
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
.google.cloud.notebooks.v1beta1.Instance.NicType nic_type = 28 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for nicType to set.public Instance.NicType getNicType()
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
.google.cloud.notebooks.v1beta1.Instance.NicType nic_type = 28 [(.google.api.field_behavior) = OPTIONAL];
getNicType in interface InstanceOrBuilderpublic Instance.Builder setNicType(Instance.NicType value)
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
.google.cloud.notebooks.v1beta1.Instance.NicType nic_type = 28 [(.google.api.field_behavior) = OPTIONAL];
value - The nicType to set.public Instance.Builder clearNicType()
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
.google.cloud.notebooks.v1beta1.Instance.NicType nic_type = 28 [(.google.api.field_behavior) = OPTIONAL];
public boolean hasReservationAffinity()
Optional. The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this notebook instance.
.google.cloud.notebooks.v1beta1.ReservationAffinity reservation_affinity = 29 [(.google.api.field_behavior) = OPTIONAL];
hasReservationAffinity in interface InstanceOrBuilderpublic ReservationAffinity getReservationAffinity()
Optional. The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this notebook instance.
.google.cloud.notebooks.v1beta1.ReservationAffinity reservation_affinity = 29 [(.google.api.field_behavior) = OPTIONAL];
getReservationAffinity in interface InstanceOrBuilderpublic Instance.Builder setReservationAffinity(ReservationAffinity value)
Optional. The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this notebook instance.
.google.cloud.notebooks.v1beta1.ReservationAffinity reservation_affinity = 29 [(.google.api.field_behavior) = OPTIONAL];
public Instance.Builder setReservationAffinity(ReservationAffinity.Builder builderForValue)
Optional. The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this notebook instance.
.google.cloud.notebooks.v1beta1.ReservationAffinity reservation_affinity = 29 [(.google.api.field_behavior) = OPTIONAL];
public Instance.Builder mergeReservationAffinity(ReservationAffinity value)
Optional. The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this notebook instance.
.google.cloud.notebooks.v1beta1.ReservationAffinity reservation_affinity = 29 [(.google.api.field_behavior) = OPTIONAL];
public Instance.Builder clearReservationAffinity()
Optional. The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this notebook instance.
.google.cloud.notebooks.v1beta1.ReservationAffinity reservation_affinity = 29 [(.google.api.field_behavior) = OPTIONAL];
public ReservationAffinity.Builder getReservationAffinityBuilder()
Optional. The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this notebook instance.
.google.cloud.notebooks.v1beta1.ReservationAffinity reservation_affinity = 29 [(.google.api.field_behavior) = OPTIONAL];
public ReservationAffinityOrBuilder getReservationAffinityOrBuilder()
Optional. The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this notebook instance.
.google.cloud.notebooks.v1beta1.ReservationAffinity reservation_affinity = 29 [(.google.api.field_behavior) = OPTIONAL];
getReservationAffinityOrBuilder in interface InstanceOrBuilderpublic boolean getCanIpForward()
Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
bool can_ip_forward = 31 [(.google.api.field_behavior) = OPTIONAL];getCanIpForward in interface InstanceOrBuilderpublic Instance.Builder setCanIpForward(boolean value)
Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
bool can_ip_forward = 31 [(.google.api.field_behavior) = OPTIONAL];value - The canIpForward to set.public Instance.Builder clearCanIpForward()
Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
bool can_ip_forward = 31 [(.google.api.field_behavior) = OPTIONAL];public boolean hasCreateTime()
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface InstanceOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface InstanceOrBuilderpublic Instance.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder clearCreateTime()
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface InstanceOrBuilderpublic boolean hasUpdateTime()
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface InstanceOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface InstanceOrBuilderpublic Instance.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder clearUpdateTime()
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface InstanceOrBuilderpublic final Instance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public final Instance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>Copyright © 2024 Google LLC. All rights reserved.