Package com.google.cloud.notebooks.v1
Class Instance.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
- com.google.cloud.notebooks.v1.Instance.Builder
-
- All Implemented Interfaces:
InstanceOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Instance
public static final class Instance.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder> implements InstanceOrBuilder
The definition of a notebook instance.
Protobuf typegoogle.cloud.notebooks.v1.Instance
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Instance.Builder
addAllDisks(Iterable<? extends Instance.Disk> values)
Output only.Instance.Builder
addAllInstanceOwners(Iterable<String> values)
Input only.Instance.Builder
addAllServiceAccountScopes(Iterable<String> values)
Optional.Instance.Builder
addAllTags(Iterable<String> values)
Optional.Instance.Builder
addAllUpgradeHistory(Iterable<? extends Instance.UpgradeHistoryEntry> values)
The upgrade history of this instance.Instance.Builder
addDisks(int index, Instance.Disk value)
Output only.Instance.Builder
addDisks(int index, Instance.Disk.Builder builderForValue)
Output only.Instance.Builder
addDisks(Instance.Disk value)
Output only.Instance.Builder
addDisks(Instance.Disk.Builder builderForValue)
Output only.Instance.Disk.Builder
addDisksBuilder()
Output only.Instance.Disk.Builder
addDisksBuilder(int index)
Output 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.Builder
addServiceAccountScopes(String value)
Optional.Instance.Builder
addServiceAccountScopesBytes(com.google.protobuf.ByteString value)
Optional.Instance.Builder
addTags(String value)
Optional.Instance.Builder
addTagsBytes(com.google.protobuf.ByteString value)
Optional.Instance.Builder
addUpgradeHistory(int index, Instance.UpgradeHistoryEntry value)
The upgrade history of this instance.Instance.Builder
addUpgradeHistory(int index, Instance.UpgradeHistoryEntry.Builder builderForValue)
The upgrade history of this instance.Instance.Builder
addUpgradeHistory(Instance.UpgradeHistoryEntry value)
The upgrade history of this instance.Instance.Builder
addUpgradeHistory(Instance.UpgradeHistoryEntry.Builder builderForValue)
The upgrade history of this instance.Instance.UpgradeHistoryEntry.Builder
addUpgradeHistoryBuilder()
The upgrade history of this instance.Instance.UpgradeHistoryEntry.Builder
addUpgradeHistoryBuilder(int index)
The upgrade history of this instance.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
clearCreator()
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
clearDisks()
Output 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
clearServiceAccountScopes()
Optional.Instance.Builder
clearShieldedInstanceConfig()
Optional.Instance.Builder
clearState()
Output only.Instance.Builder
clearSubnet()
The name of the subnet that this instance is in.Instance.Builder
clearTags()
Optional.Instance.Builder
clearUpdateTime()
Output only.Instance.Builder
clearUpgradeHistory()
The upgrade history of this instance.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
getCreator()
Output only.com.google.protobuf.ByteString
getCreatorBytes()
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.Disk
getDisks(int index)
Output only.Instance.Disk.Builder
getDisksBuilder(int index)
Output only.List<Instance.Disk.Builder>
getDisksBuilderList()
Output only.int
getDisksCount()
Output only.List<Instance.Disk>
getDisksList()
Output only.Instance.DiskOrBuilder
getDisksOrBuilder(int index)
Output only.List<? extends Instance.DiskOrBuilder>
getDisksOrBuilderList()
Output 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.String
getServiceAccountScopes(int index)
Optional.com.google.protobuf.ByteString
getServiceAccountScopesBytes(int index)
Optional.int
getServiceAccountScopesCount()
Optional.com.google.protobuf.ProtocolStringList
getServiceAccountScopesList()
Optional.Instance.ShieldedInstanceConfig
getShieldedInstanceConfig()
Optional.Instance.ShieldedInstanceConfig.Builder
getShieldedInstanceConfigBuilder()
Optional.Instance.ShieldedInstanceConfigOrBuilder
getShieldedInstanceConfigOrBuilder()
Optional.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.String
getTags(int index)
Optional.com.google.protobuf.ByteString
getTagsBytes(int index)
Optional.int
getTagsCount()
Optional.com.google.protobuf.ProtocolStringList
getTagsList()
Optional.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.Instance.UpgradeHistoryEntry
getUpgradeHistory(int index)
The upgrade history of this instance.Instance.UpgradeHistoryEntry.Builder
getUpgradeHistoryBuilder(int index)
The upgrade history of this instance.List<Instance.UpgradeHistoryEntry.Builder>
getUpgradeHistoryBuilderList()
The upgrade history of this instance.int
getUpgradeHistoryCount()
The upgrade history of this instance.List<Instance.UpgradeHistoryEntry>
getUpgradeHistoryList()
The upgrade history of this instance.Instance.UpgradeHistoryEntryOrBuilder
getUpgradeHistoryOrBuilder(int index)
The upgrade history of this instance.List<? extends Instance.UpgradeHistoryEntryOrBuilder>
getUpgradeHistoryOrBuilderList()
The upgrade history of this instance.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
hasShieldedInstanceConfig()
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(Instance other)
Instance.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Instance.Builder
mergeFrom(com.google.protobuf.Message other)
Instance.Builder
mergeReservationAffinity(ReservationAffinity value)
Optional.Instance.Builder
mergeShieldedInstanceConfig(Instance.ShieldedInstanceConfig 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
removeDisks(int index)
Output only.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
removeUpgradeHistory(int index)
The upgrade history of this instance.Instance.Builder
setAcceleratorConfig(Instance.AcceleratorConfig value)
The hardware accelerator used on this instance.Instance.Builder
setAcceleratorConfig(Instance.AcceleratorConfig.Builder builderForValue)
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 value)
Use a container image to start the notebook instance.Instance.Builder
setContainerImage(ContainerImage.Builder builderForValue)
Use a container image to start the notebook instance.Instance.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Instance.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Instance.Builder
setCreator(String value)
Output only.Instance.Builder
setCreatorBytes(com.google.protobuf.ByteString 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
setDisks(int index, Instance.Disk value)
Output only.Instance.Builder
setDisks(int index, Instance.Disk.Builder builderForValue)
Output 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 value)
Optional.Instance.Builder
setReservationAffinity(ReservationAffinity.Builder builderForValue)
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
setServiceAccountScopes(int index, String value)
Optional.Instance.Builder
setShieldedInstanceConfig(Instance.ShieldedInstanceConfig value)
Optional.Instance.Builder
setShieldedInstanceConfig(Instance.ShieldedInstanceConfig.Builder builderForValue)
Optional.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
setTags(int index, String value)
Optional.Instance.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Instance.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Instance.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Instance.Builder
setUpgradeHistory(int index, Instance.UpgradeHistoryEntry value)
The upgrade history of this instance.Instance.Builder
setUpgradeHistory(int index, Instance.UpgradeHistoryEntry.Builder builderForValue)
The upgrade history of this instance.Instance.Builder
setVmImage(VmImage value)
Use a Compute Engine VM image to start the notebook instance.Instance.Builder
setVmImage(VmImage.Builder builderForValue)
Use a Compute Engine VM image to start the notebook instance.-
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<Instance.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clear
public Instance.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<Instance.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<Instance.Builder>
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Instance build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Instance buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Instance.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<Instance.Builder>
-
setField
public Instance.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<Instance.Builder>
-
clearField
public Instance.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<Instance.Builder>
-
clearOneof
public Instance.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<Instance.Builder>
-
setRepeatedField
public Instance.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<Instance.Builder>
-
addRepeatedField
public Instance.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<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(Instance other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeFrom
public Instance.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<Instance.Builder>
- Throws:
IOException
-
getEnvironmentCase
public Instance.EnvironmentCase getEnvironmentCase()
- Specified by:
getEnvironmentCase
in interfaceInstanceOrBuilder
-
clearEnvironment
public Instance.Builder clearEnvironment()
-
getName
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];
- Specified by:
getName
in interfaceInstanceOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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];
- Specified by:
getNameBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for name.
-
setName
public 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];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
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];
- Returns:
- This builder for chaining.
-
setNameBytes
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];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasVmImage
public boolean hasVmImage()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1.VmImage vm_image = 2;
- Specified by:
hasVmImage
in interfaceInstanceOrBuilder
- Returns:
- Whether the vmImage field is set.
-
getVmImage
public VmImage getVmImage()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1.VmImage vm_image = 2;
- Specified by:
getVmImage
in interfaceInstanceOrBuilder
- Returns:
- The vmImage.
-
setVmImage
public Instance.Builder setVmImage(VmImage value)
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1.VmImage vm_image = 2;
-
setVmImage
public Instance.Builder setVmImage(VmImage.Builder builderForValue)
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1.VmImage vm_image = 2;
-
mergeVmImage
public Instance.Builder mergeVmImage(VmImage value)
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1.VmImage vm_image = 2;
-
clearVmImage
public Instance.Builder clearVmImage()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1.VmImage vm_image = 2;
-
getVmImageBuilder
public VmImage.Builder getVmImageBuilder()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1.VmImage vm_image = 2;
-
getVmImageOrBuilder
public VmImageOrBuilder getVmImageOrBuilder()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1.VmImage vm_image = 2;
- Specified by:
getVmImageOrBuilder
in interfaceInstanceOrBuilder
-
hasContainerImage
public boolean hasContainerImage()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1.ContainerImage container_image = 3;
- Specified by:
hasContainerImage
in interfaceInstanceOrBuilder
- Returns:
- Whether the containerImage field is set.
-
getContainerImage
public ContainerImage getContainerImage()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1.ContainerImage container_image = 3;
- Specified by:
getContainerImage
in interfaceInstanceOrBuilder
- Returns:
- The containerImage.
-
setContainerImage
public Instance.Builder setContainerImage(ContainerImage value)
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1.ContainerImage container_image = 3;
-
setContainerImage
public Instance.Builder setContainerImage(ContainerImage.Builder builderForValue)
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1.ContainerImage container_image = 3;
-
mergeContainerImage
public Instance.Builder mergeContainerImage(ContainerImage value)
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1.ContainerImage container_image = 3;
-
clearContainerImage
public Instance.Builder clearContainerImage()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1.ContainerImage container_image = 3;
-
getContainerImageBuilder
public ContainerImage.Builder getContainerImageBuilder()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1.ContainerImage container_image = 3;
-
getContainerImageOrBuilder
public ContainerImageOrBuilder getContainerImageOrBuilder()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1.ContainerImage container_image = 3;
- Specified by:
getContainerImageOrBuilder
in interfaceInstanceOrBuilder
-
getPostStartupScript
public 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;
- Specified by:
getPostStartupScript
in interfaceInstanceOrBuilder
- Returns:
- The postStartupScript.
-
getPostStartupScriptBytes
public 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;
- Specified by:
getPostStartupScriptBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for postStartupScript.
-
setPostStartupScript
public 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;
- Parameters:
value
- The postStartupScript to set.- Returns:
- This builder for chaining.
-
clearPostStartupScript
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;
- Returns:
- This builder for chaining.
-
setPostStartupScriptBytes
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;
- Parameters:
value
- The bytes for postStartupScript to set.- Returns:
- This builder for chaining.
-
getProxyUri
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];
- Specified by:
getProxyUri
in interfaceInstanceOrBuilder
- Returns:
- The proxyUri.
-
getProxyUriBytes
public 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];
- Specified by:
getProxyUriBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for proxyUri.
-
setProxyUri
public 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];
- Parameters:
value
- The proxyUri to set.- Returns:
- This builder for chaining.
-
clearProxyUri
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];
- Returns:
- This builder for chaining.
-
setProxyUriBytes
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];
- Parameters:
value
- The bytes for proxyUri to set.- Returns:
- This builder for chaining.
-
getInstanceOwnersList
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];
- Specified by:
getInstanceOwnersList
in interfaceInstanceOrBuilder
- Returns:
- A list containing the instanceOwners.
-
getInstanceOwnersCount
public 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];
- Specified by:
getInstanceOwnersCount
in interfaceInstanceOrBuilder
- Returns:
- The count of instanceOwners.
-
getInstanceOwners
public 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];
- Specified by:
getInstanceOwners
in interfaceInstanceOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The instanceOwners at the given index.
-
getInstanceOwnersBytes
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];
- Specified by:
getInstanceOwnersBytes
in interfaceInstanceOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the instanceOwners at the given index.
-
setInstanceOwners
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];
- Parameters:
index
- The index to set the value at.value
- The instanceOwners to set.- Returns:
- This builder for chaining.
-
addInstanceOwners
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];
- Parameters:
value
- The instanceOwners to add.- Returns:
- This builder for chaining.
-
addAllInstanceOwners
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];
- Parameters:
values
- The instanceOwners to add.- Returns:
- This builder for chaining.
-
clearInstanceOwners
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];
- Returns:
- This builder for chaining.
-
addInstanceOwnersBytes
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];
- Parameters:
value
- The bytes of the instanceOwners to add.- Returns:
- This builder for chaining.
-
getServiceAccount
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;
- Specified by:
getServiceAccount
in interfaceInstanceOrBuilder
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public 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;
- Specified by:
getServiceAccountBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
public 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;
- Parameters:
value
- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
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;
- Returns:
- This builder for chaining.
-
setServiceAccountBytes
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;
- Parameters:
value
- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
getServiceAccountScopesList
public com.google.protobuf.ProtocolStringList getServiceAccountScopesList()
Optional. The URIs of service account scopes to be included in Compute Engine instances. If not specified, the following [scopes](https://cloud.google.com/compute/docs/access/service-accounts#accesscopesiam) are defined: - https://www.googleapis.com/auth/cloud-platform - https://www.googleapis.com/auth/userinfo.email If not using default scopes, you need at least: https://www.googleapis.com/auth/compute
repeated string service_account_scopes = 31 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getServiceAccountScopesList
in interfaceInstanceOrBuilder
- Returns:
- A list containing the serviceAccountScopes.
-
getServiceAccountScopesCount
public int getServiceAccountScopesCount()
Optional. The URIs of service account scopes to be included in Compute Engine instances. If not specified, the following [scopes](https://cloud.google.com/compute/docs/access/service-accounts#accesscopesiam) are defined: - https://www.googleapis.com/auth/cloud-platform - https://www.googleapis.com/auth/userinfo.email If not using default scopes, you need at least: https://www.googleapis.com/auth/compute
repeated string service_account_scopes = 31 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getServiceAccountScopesCount
in interfaceInstanceOrBuilder
- Returns:
- The count of serviceAccountScopes.
-
getServiceAccountScopes
public String getServiceAccountScopes(int index)
Optional. The URIs of service account scopes to be included in Compute Engine instances. If not specified, the following [scopes](https://cloud.google.com/compute/docs/access/service-accounts#accesscopesiam) are defined: - https://www.googleapis.com/auth/cloud-platform - https://www.googleapis.com/auth/userinfo.email If not using default scopes, you need at least: https://www.googleapis.com/auth/compute
repeated string service_account_scopes = 31 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getServiceAccountScopes
in interfaceInstanceOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The serviceAccountScopes at the given index.
-
getServiceAccountScopesBytes
public com.google.protobuf.ByteString getServiceAccountScopesBytes(int index)
Optional. The URIs of service account scopes to be included in Compute Engine instances. If not specified, the following [scopes](https://cloud.google.com/compute/docs/access/service-accounts#accesscopesiam) are defined: - https://www.googleapis.com/auth/cloud-platform - https://www.googleapis.com/auth/userinfo.email If not using default scopes, you need at least: https://www.googleapis.com/auth/compute
repeated string service_account_scopes = 31 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getServiceAccountScopesBytes
in interfaceInstanceOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the serviceAccountScopes at the given index.
-
setServiceAccountScopes
public Instance.Builder setServiceAccountScopes(int index, String value)
Optional. The URIs of service account scopes to be included in Compute Engine instances. If not specified, the following [scopes](https://cloud.google.com/compute/docs/access/service-accounts#accesscopesiam) are defined: - https://www.googleapis.com/auth/cloud-platform - https://www.googleapis.com/auth/userinfo.email If not using default scopes, you need at least: https://www.googleapis.com/auth/compute
repeated string service_account_scopes = 31 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index to set the value at.value
- The serviceAccountScopes to set.- Returns:
- This builder for chaining.
-
addServiceAccountScopes
public Instance.Builder addServiceAccountScopes(String value)
Optional. The URIs of service account scopes to be included in Compute Engine instances. If not specified, the following [scopes](https://cloud.google.com/compute/docs/access/service-accounts#accesscopesiam) are defined: - https://www.googleapis.com/auth/cloud-platform - https://www.googleapis.com/auth/userinfo.email If not using default scopes, you need at least: https://www.googleapis.com/auth/compute
repeated string service_account_scopes = 31 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The serviceAccountScopes to add.- Returns:
- This builder for chaining.
-
addAllServiceAccountScopes
public Instance.Builder addAllServiceAccountScopes(Iterable<String> values)
Optional. The URIs of service account scopes to be included in Compute Engine instances. If not specified, the following [scopes](https://cloud.google.com/compute/docs/access/service-accounts#accesscopesiam) are defined: - https://www.googleapis.com/auth/cloud-platform - https://www.googleapis.com/auth/userinfo.email If not using default scopes, you need at least: https://www.googleapis.com/auth/compute
repeated string service_account_scopes = 31 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
values
- The serviceAccountScopes to add.- Returns:
- This builder for chaining.
-
clearServiceAccountScopes
public Instance.Builder clearServiceAccountScopes()
Optional. The URIs of service account scopes to be included in Compute Engine instances. If not specified, the following [scopes](https://cloud.google.com/compute/docs/access/service-accounts#accesscopesiam) are defined: - https://www.googleapis.com/auth/cloud-platform - https://www.googleapis.com/auth/userinfo.email If not using default scopes, you need at least: https://www.googleapis.com/auth/compute
repeated string service_account_scopes = 31 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
addServiceAccountScopesBytes
public Instance.Builder addServiceAccountScopesBytes(com.google.protobuf.ByteString value)
Optional. The URIs of service account scopes to be included in Compute Engine instances. If not specified, the following [scopes](https://cloud.google.com/compute/docs/access/service-accounts#accesscopesiam) are defined: - https://www.googleapis.com/auth/cloud-platform - https://www.googleapis.com/auth/userinfo.email If not using default scopes, you need at least: https://www.googleapis.com/auth/compute
repeated string service_account_scopes = 31 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes of the serviceAccountScopes to add.- Returns:
- This builder for chaining.
-
getMachineType
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];
- Specified by:
getMachineType
in interfaceInstanceOrBuilder
- Returns:
- The machineType.
-
getMachineTypeBytes
public 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];
- Specified by:
getMachineTypeBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for machineType.
-
setMachineType
public 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];
- Parameters:
value
- The machineType to set.- Returns:
- This builder for chaining.
-
clearMachineType
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];
- Returns:
- This builder for chaining.
-
setMachineTypeBytes
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];
- Parameters:
value
- The bytes for machineType to set.- Returns:
- This builder for chaining.
-
hasAcceleratorConfig
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.v1.Instance.AcceleratorConfig accelerator_config = 9;
- Specified by:
hasAcceleratorConfig
in interfaceInstanceOrBuilder
- Returns:
- Whether the acceleratorConfig field is set.
-
getAcceleratorConfig
public 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.v1.Instance.AcceleratorConfig accelerator_config = 9;
- Specified by:
getAcceleratorConfig
in interfaceInstanceOrBuilder
- Returns:
- The acceleratorConfig.
-
setAcceleratorConfig
public 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.v1.Instance.AcceleratorConfig accelerator_config = 9;
-
setAcceleratorConfig
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.v1.Instance.AcceleratorConfig accelerator_config = 9;
-
mergeAcceleratorConfig
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.v1.Instance.AcceleratorConfig accelerator_config = 9;
-
clearAcceleratorConfig
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.v1.Instance.AcceleratorConfig accelerator_config = 9;
-
getAcceleratorConfigBuilder
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.v1.Instance.AcceleratorConfig accelerator_config = 9;
-
getAcceleratorConfigOrBuilder
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.v1.Instance.AcceleratorConfig accelerator_config = 9;
- Specified by:
getAcceleratorConfigOrBuilder
in interfaceInstanceOrBuilder
-
getStateValue
public int getStateValue()
Output only. The state of this instance.
.google.cloud.notebooks.v1.Instance.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceInstanceOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Instance.Builder setStateValue(int value)
Output only. The state of this instance.
.google.cloud.notebooks.v1.Instance.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public Instance.State getState()
Output only. The state of this instance.
.google.cloud.notebooks.v1.Instance.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceInstanceOrBuilder
- Returns:
- The state.
-
setState
public Instance.Builder setState(Instance.State value)
Output only. The state of this instance.
.google.cloud.notebooks.v1.Instance.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Instance.Builder clearState()
Output only. The state of this instance.
.google.cloud.notebooks.v1.Instance.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getInstallGpuDriver
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;
- Specified by:
getInstallGpuDriver
in interfaceInstanceOrBuilder
- Returns:
- The installGpuDriver.
-
setInstallGpuDriver
public 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;
- Parameters:
value
- The installGpuDriver to set.- Returns:
- This builder for chaining.
-
clearInstallGpuDriver
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;
- Returns:
- This builder for chaining.
-
getCustomGpuDriverPath
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;
- Specified by:
getCustomGpuDriverPath
in interfaceInstanceOrBuilder
- Returns:
- The customGpuDriverPath.
-
getCustomGpuDriverPathBytes
public 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;
- Specified by:
getCustomGpuDriverPathBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for customGpuDriverPath.
-
setCustomGpuDriverPath
public 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;
- Parameters:
value
- The customGpuDriverPath to set.- Returns:
- This builder for chaining.
-
clearCustomGpuDriverPath
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;
- Returns:
- This builder for chaining.
-
setCustomGpuDriverPathBytes
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;
- Parameters:
value
- The bytes for customGpuDriverPath to set.- Returns:
- This builder for chaining.
-
getBootDiskTypeValue
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.v1.Instance.DiskType boot_disk_type = 13 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getBootDiskTypeValue
in interfaceInstanceOrBuilder
- Returns:
- The enum numeric value on the wire for bootDiskType.
-
setBootDiskTypeValue
public 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.v1.Instance.DiskType boot_disk_type = 13 [(.google.api.field_behavior) = INPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for bootDiskType to set.- Returns:
- This builder for chaining.
-
getBootDiskType
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.v1.Instance.DiskType boot_disk_type = 13 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getBootDiskType
in interfaceInstanceOrBuilder
- Returns:
- The bootDiskType.
-
setBootDiskType
public 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.v1.Instance.DiskType boot_disk_type = 13 [(.google.api.field_behavior) = INPUT_ONLY];
- Parameters:
value
- The bootDiskType to set.- Returns:
- This builder for chaining.
-
clearBootDiskType
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.v1.Instance.DiskType boot_disk_type = 13 [(.google.api.field_behavior) = INPUT_ONLY];
- Returns:
- This builder for chaining.
-
getBootDiskSizeGb
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];
- Specified by:
getBootDiskSizeGb
in interfaceInstanceOrBuilder
- Returns:
- The bootDiskSizeGb.
-
setBootDiskSizeGb
public 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];
- Parameters:
value
- The bootDiskSizeGb to set.- Returns:
- This builder for chaining.
-
clearBootDiskSizeGb
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];
- Returns:
- This builder for chaining.
-
getDataDiskTypeValue
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.v1.Instance.DiskType data_disk_type = 25 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getDataDiskTypeValue
in interfaceInstanceOrBuilder
- Returns:
- The enum numeric value on the wire for dataDiskType.
-
setDataDiskTypeValue
public 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.v1.Instance.DiskType data_disk_type = 25 [(.google.api.field_behavior) = INPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for dataDiskType to set.- Returns:
- This builder for chaining.
-
getDataDiskType
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.v1.Instance.DiskType data_disk_type = 25 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getDataDiskType
in interfaceInstanceOrBuilder
- Returns:
- The dataDiskType.
-
setDataDiskType
public 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.v1.Instance.DiskType data_disk_type = 25 [(.google.api.field_behavior) = INPUT_ONLY];
- Parameters:
value
- The dataDiskType to set.- Returns:
- This builder for chaining.
-
clearDataDiskType
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.v1.Instance.DiskType data_disk_type = 25 [(.google.api.field_behavior) = INPUT_ONLY];
- Returns:
- This builder for chaining.
-
getDataDiskSizeGb
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];
- Specified by:
getDataDiskSizeGb
in interfaceInstanceOrBuilder
- Returns:
- The dataDiskSizeGb.
-
setDataDiskSizeGb
public 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];
- Parameters:
value
- The dataDiskSizeGb to set.- Returns:
- This builder for chaining.
-
clearDataDiskSizeGb
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];
- Returns:
- This builder for chaining.
-
getNoRemoveDataDisk
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];
- Specified by:
getNoRemoveDataDisk
in interfaceInstanceOrBuilder
- Returns:
- The noRemoveDataDisk.
-
setNoRemoveDataDisk
public 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];
- Parameters:
value
- The noRemoveDataDisk to set.- Returns:
- This builder for chaining.
-
clearNoRemoveDataDisk
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];
- Returns:
- This builder for chaining.
-
getDiskEncryptionValue
public int getDiskEncryptionValue()
Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
.google.cloud.notebooks.v1.Instance.DiskEncryption disk_encryption = 15 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getDiskEncryptionValue
in interfaceInstanceOrBuilder
- Returns:
- The enum numeric value on the wire for diskEncryption.
-
setDiskEncryptionValue
public Instance.Builder setDiskEncryptionValue(int value)
Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
.google.cloud.notebooks.v1.Instance.DiskEncryption disk_encryption = 15 [(.google.api.field_behavior) = INPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for diskEncryption to set.- Returns:
- This builder for chaining.
-
getDiskEncryption
public Instance.DiskEncryption getDiskEncryption()
Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
.google.cloud.notebooks.v1.Instance.DiskEncryption disk_encryption = 15 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getDiskEncryption
in interfaceInstanceOrBuilder
- Returns:
- The diskEncryption.
-
setDiskEncryption
public Instance.Builder setDiskEncryption(Instance.DiskEncryption value)
Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
.google.cloud.notebooks.v1.Instance.DiskEncryption disk_encryption = 15 [(.google.api.field_behavior) = INPUT_ONLY];
- Parameters:
value
- The diskEncryption to set.- Returns:
- This builder for chaining.
-
clearDiskEncryption
public Instance.Builder clearDiskEncryption()
Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
.google.cloud.notebooks.v1.Instance.DiskEncryption disk_encryption = 15 [(.google.api.field_behavior) = INPUT_ONLY];
- Returns:
- This builder for chaining.
-
getKmsKey
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](/kms/docs/quickstart).
string kms_key = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getKmsKey
in interfaceInstanceOrBuilder
- Returns:
- The kmsKey.
-
getKmsKeyBytes
public 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](/kms/docs/quickstart).
string kms_key = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getKmsKeyBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for kmsKey.
-
setKmsKey
public 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](/kms/docs/quickstart).
string kms_key = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Parameters:
value
- The kmsKey to set.- Returns:
- This builder for chaining.
-
clearKmsKey
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](/kms/docs/quickstart).
string kms_key = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Returns:
- This builder for chaining.
-
setKmsKeyBytes
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](/kms/docs/quickstart).
string kms_key = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Parameters:
value
- The bytes for kmsKey to set.- Returns:
- This builder for chaining.
-
getDisksList
public List<Instance.Disk> getDisksList()
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDisksList
in interfaceInstanceOrBuilder
-
getDisksCount
public int getDisksCount()
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDisksCount
in interfaceInstanceOrBuilder
-
getDisks
public Instance.Disk getDisks(int index)
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDisks
in interfaceInstanceOrBuilder
-
setDisks
public Instance.Builder setDisks(int index, Instance.Disk value)
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setDisks
public Instance.Builder setDisks(int index, Instance.Disk.Builder builderForValue)
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addDisks
public Instance.Builder addDisks(Instance.Disk value)
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addDisks
public Instance.Builder addDisks(int index, Instance.Disk value)
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addDisks
public Instance.Builder addDisks(Instance.Disk.Builder builderForValue)
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addDisks
public Instance.Builder addDisks(int index, Instance.Disk.Builder builderForValue)
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllDisks
public Instance.Builder addAllDisks(Iterable<? extends Instance.Disk> values)
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDisks
public Instance.Builder clearDisks()
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeDisks
public Instance.Builder removeDisks(int index)
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDisksBuilder
public Instance.Disk.Builder getDisksBuilder(int index)
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDisksOrBuilder
public Instance.DiskOrBuilder getDisksOrBuilder(int index)
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDisksOrBuilder
in interfaceInstanceOrBuilder
-
getDisksOrBuilderList
public List<? extends Instance.DiskOrBuilder> getDisksOrBuilderList()
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDisksOrBuilderList
in interfaceInstanceOrBuilder
-
addDisksBuilder
public Instance.Disk.Builder addDisksBuilder()
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addDisksBuilder
public Instance.Disk.Builder addDisksBuilder(int index)
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDisksBuilderList
public List<Instance.Disk.Builder> getDisksBuilderList()
Output only. Attached disks to notebook instance.
repeated .google.cloud.notebooks.v1.Instance.Disk disks = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 30 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasShieldedInstanceConfig
in interfaceInstanceOrBuilder
- Returns:
- Whether the shieldedInstanceConfig field is set.
-
getShieldedInstanceConfig
public Instance.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.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 30 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getShieldedInstanceConfig
in interfaceInstanceOrBuilder
- Returns:
- The shieldedInstanceConfig.
-
setShieldedInstanceConfig
public Instance.Builder setShieldedInstanceConfig(Instance.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.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 30 [(.google.api.field_behavior) = OPTIONAL];
-
setShieldedInstanceConfig
public Instance.Builder setShieldedInstanceConfig(Instance.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.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 30 [(.google.api.field_behavior) = OPTIONAL];
-
mergeShieldedInstanceConfig
public Instance.Builder mergeShieldedInstanceConfig(Instance.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.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 30 [(.google.api.field_behavior) = OPTIONAL];
-
clearShieldedInstanceConfig
public Instance.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.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 30 [(.google.api.field_behavior) = OPTIONAL];
-
getShieldedInstanceConfigBuilder
public Instance.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.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 30 [(.google.api.field_behavior) = OPTIONAL];
-
getShieldedInstanceConfigOrBuilder
public Instance.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.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 30 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getShieldedInstanceConfigOrBuilder
in interfaceInstanceOrBuilder
-
getNoPublicIp
public boolean getNoPublicIp()
If true, no public IP will be assigned to this instance.
bool no_public_ip = 17;
- Specified by:
getNoPublicIp
in interfaceInstanceOrBuilder
- Returns:
- The noPublicIp.
-
setNoPublicIp
public Instance.Builder setNoPublicIp(boolean value)
If true, no public IP will be assigned to this instance.
bool no_public_ip = 17;
- Parameters:
value
- The noPublicIp to set.- Returns:
- This builder for chaining.
-
clearNoPublicIp
public Instance.Builder clearNoPublicIp()
If true, no public IP will be assigned to this instance.
bool no_public_ip = 17;
- Returns:
- This builder for chaining.
-
getNoProxyAccess
public boolean getNoProxyAccess()
If true, the notebook instance will not register with the proxy.
bool no_proxy_access = 18;
- Specified by:
getNoProxyAccess
in interfaceInstanceOrBuilder
- Returns:
- The noProxyAccess.
-
setNoProxyAccess
public Instance.Builder setNoProxyAccess(boolean value)
If true, the notebook instance will not register with the proxy.
bool no_proxy_access = 18;
- Parameters:
value
- The noProxyAccess to set.- Returns:
- This builder for chaining.
-
clearNoProxyAccess
public Instance.Builder clearNoProxyAccess()
If true, the notebook instance will not register with the proxy.
bool no_proxy_access = 18;
- Returns:
- This builder for chaining.
-
getNetwork
public String getNetwork()
The name of the VPC that this instance is in. Format: `projects/{project_id}/global/networks/{network_id}`
string network = 19;
- Specified by:
getNetwork
in interfaceInstanceOrBuilder
- Returns:
- The network.
-
getNetworkBytes
public 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;
- Specified by:
getNetworkBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for network.
-
setNetwork
public 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;
- Parameters:
value
- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
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;
- Returns:
- This builder for chaining.
-
setNetworkBytes
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;
- Parameters:
value
- The bytes for network to set.- Returns:
- This builder for chaining.
-
getSubnet
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;
- Specified by:
getSubnet
in interfaceInstanceOrBuilder
- Returns:
- The subnet.
-
getSubnetBytes
public 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;
- Specified by:
getSubnetBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for subnet.
-
setSubnet
public 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;
- Parameters:
value
- The subnet to set.- Returns:
- This builder for chaining.
-
clearSubnet
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;
- Returns:
- This builder for chaining.
-
setSubnetBytes
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;
- Parameters:
value
- The bytes for subnet to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:InstanceOrBuilder
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 21;
- Specified by:
getLabelsCount
in interfaceInstanceOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 21;
- Specified by:
containsLabels
in interfaceInstanceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceInstanceOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 21;
- Specified by:
getLabelsMap
in interfaceInstanceOrBuilder
-
getLabelsOrDefault
public 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;
- Specified by:
getLabelsOrDefault
in interfaceInstanceOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 21;
- Specified by:
getLabelsOrThrow
in interfaceInstanceOrBuilder
-
clearLabels
public Instance.Builder clearLabels()
-
removeLabels
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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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;
-
putAllLabels
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;
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:InstanceOrBuilder
Custom metadata to apply to this instance.
map<string, string> metadata = 22;
- Specified by:
getMetadataCount
in interfaceInstanceOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
Custom metadata to apply to this instance.
map<string, string> metadata = 22;
- Specified by:
containsMetadata
in interfaceInstanceOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceInstanceOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
Custom metadata to apply to this instance.
map<string, string> metadata = 22;
- Specified by:
getMetadataMap
in interfaceInstanceOrBuilder
-
getMetadataOrDefault
public String getMetadataOrDefault(String key, String defaultValue)
Custom metadata to apply to this instance.
map<string, string> metadata = 22;
- Specified by:
getMetadataOrDefault
in interfaceInstanceOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
Custom metadata to apply to this instance.
map<string, string> metadata = 22;
- Specified by:
getMetadataOrThrow
in interfaceInstanceOrBuilder
-
clearMetadata
public Instance.Builder clearMetadata()
-
removeMetadata
public Instance.Builder removeMetadata(String key)
Custom metadata to apply to this instance.
map<string, string> metadata = 22;
-
getMutableMetadata
@Deprecated public Map<String,String> getMutableMetadata()
Deprecated.Use alternate mutation accessors instead.
-
putMetadata
public Instance.Builder putMetadata(String key, String value)
Custom metadata to apply to this instance.
map<string, string> metadata = 22;
-
putAllMetadata
public Instance.Builder putAllMetadata(Map<String,String> values)
Custom metadata to apply to this instance.
map<string, string> metadata = 22;
-
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 = 32 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTagsList
in interfaceInstanceOrBuilder
- 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 = 32 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTagsCount
in interfaceInstanceOrBuilder
- 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 = 32 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTags
in interfaceInstanceOrBuilder
- 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 = 32 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTagsBytes
in interfaceInstanceOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
public Instance.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 = 32 [(.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 Instance.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 = 32 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
public Instance.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 = 32 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
values
- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
public Instance.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 = 32 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
addTagsBytes
public Instance.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 = 32 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
getUpgradeHistoryList
public List<Instance.UpgradeHistoryEntry> getUpgradeHistoryList()
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
- Specified by:
getUpgradeHistoryList
in interfaceInstanceOrBuilder
-
getUpgradeHistoryCount
public int getUpgradeHistoryCount()
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
- Specified by:
getUpgradeHistoryCount
in interfaceInstanceOrBuilder
-
getUpgradeHistory
public Instance.UpgradeHistoryEntry getUpgradeHistory(int index)
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
- Specified by:
getUpgradeHistory
in interfaceInstanceOrBuilder
-
setUpgradeHistory
public Instance.Builder setUpgradeHistory(int index, Instance.UpgradeHistoryEntry value)
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
-
setUpgradeHistory
public Instance.Builder setUpgradeHistory(int index, Instance.UpgradeHistoryEntry.Builder builderForValue)
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
-
addUpgradeHistory
public Instance.Builder addUpgradeHistory(Instance.UpgradeHistoryEntry value)
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
-
addUpgradeHistory
public Instance.Builder addUpgradeHistory(int index, Instance.UpgradeHistoryEntry value)
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
-
addUpgradeHistory
public Instance.Builder addUpgradeHistory(Instance.UpgradeHistoryEntry.Builder builderForValue)
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
-
addUpgradeHistory
public Instance.Builder addUpgradeHistory(int index, Instance.UpgradeHistoryEntry.Builder builderForValue)
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
-
addAllUpgradeHistory
public Instance.Builder addAllUpgradeHistory(Iterable<? extends Instance.UpgradeHistoryEntry> values)
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
-
clearUpgradeHistory
public Instance.Builder clearUpgradeHistory()
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
-
removeUpgradeHistory
public Instance.Builder removeUpgradeHistory(int index)
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
-
getUpgradeHistoryBuilder
public Instance.UpgradeHistoryEntry.Builder getUpgradeHistoryBuilder(int index)
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
-
getUpgradeHistoryOrBuilder
public Instance.UpgradeHistoryEntryOrBuilder getUpgradeHistoryOrBuilder(int index)
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
- Specified by:
getUpgradeHistoryOrBuilder
in interfaceInstanceOrBuilder
-
getUpgradeHistoryOrBuilderList
public List<? extends Instance.UpgradeHistoryEntryOrBuilder> getUpgradeHistoryOrBuilderList()
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
- Specified by:
getUpgradeHistoryOrBuilderList
in interfaceInstanceOrBuilder
-
addUpgradeHistoryBuilder
public Instance.UpgradeHistoryEntry.Builder addUpgradeHistoryBuilder()
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
-
addUpgradeHistoryBuilder
public Instance.UpgradeHistoryEntry.Builder addUpgradeHistoryBuilder(int index)
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
-
getUpgradeHistoryBuilderList
public List<Instance.UpgradeHistoryEntry.Builder> getUpgradeHistoryBuilderList()
The upgrade history of this instance.
repeated .google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry upgrade_history = 29;
-
getNicTypeValue
public int getNicTypeValue()
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
.google.cloud.notebooks.v1.Instance.NicType nic_type = 33 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getNicTypeValue
in interfaceInstanceOrBuilder
- Returns:
- The enum numeric value on the wire for nicType.
-
setNicTypeValue
public 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.v1.Instance.NicType nic_type = 33 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The enum numeric value on the wire for nicType to set.- Returns:
- This builder for chaining.
-
getNicType
public Instance.NicType getNicType()
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
.google.cloud.notebooks.v1.Instance.NicType nic_type = 33 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getNicType
in interfaceInstanceOrBuilder
- Returns:
- The nicType.
-
setNicType
public 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.v1.Instance.NicType nic_type = 33 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The nicType to set.- Returns:
- This builder for chaining.
-
clearNicType
public Instance.Builder clearNicType()
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
.google.cloud.notebooks.v1.Instance.NicType nic_type = 33 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
hasReservationAffinity
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.v1.ReservationAffinity reservation_affinity = 34 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasReservationAffinity
in interfaceInstanceOrBuilder
- Returns:
- Whether the reservationAffinity field is set.
-
getReservationAffinity
public 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.v1.ReservationAffinity reservation_affinity = 34 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getReservationAffinity
in interfaceInstanceOrBuilder
- Returns:
- The reservationAffinity.
-
setReservationAffinity
public 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.v1.ReservationAffinity reservation_affinity = 34 [(.google.api.field_behavior) = OPTIONAL];
-
setReservationAffinity
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.v1.ReservationAffinity reservation_affinity = 34 [(.google.api.field_behavior) = OPTIONAL];
-
mergeReservationAffinity
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.v1.ReservationAffinity reservation_affinity = 34 [(.google.api.field_behavior) = OPTIONAL];
-
clearReservationAffinity
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.v1.ReservationAffinity reservation_affinity = 34 [(.google.api.field_behavior) = OPTIONAL];
-
getReservationAffinityBuilder
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.v1.ReservationAffinity reservation_affinity = 34 [(.google.api.field_behavior) = OPTIONAL];
-
getReservationAffinityOrBuilder
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.v1.ReservationAffinity reservation_affinity = 34 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getReservationAffinityOrBuilder
in interfaceInstanceOrBuilder
-
getCreator
public String getCreator()
Output only. Email address of entity that sent original CreateInstance request.
string creator = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreator
in interfaceInstanceOrBuilder
- Returns:
- The creator.
-
getCreatorBytes
public com.google.protobuf.ByteString getCreatorBytes()
Output only. Email address of entity that sent original CreateInstance request.
string creator = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreatorBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for creator.
-
setCreator
public Instance.Builder setCreator(String value)
Output only. Email address of entity that sent original CreateInstance request.
string creator = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The creator to set.- Returns:
- This builder for chaining.
-
clearCreator
public Instance.Builder clearCreator()
Output only. Email address of entity that sent original CreateInstance request.
string creator = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setCreatorBytes
public Instance.Builder setCreatorBytes(com.google.protobuf.ByteString value)
Output only. Email address of entity that sent original CreateInstance request.
string creator = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for creator to set.- Returns:
- This builder for chaining.
-
getCanIpForward
public 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 = 39 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCanIpForward
in interfaceInstanceOrBuilder
- Returns:
- The canIpForward.
-
setCanIpForward
public 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 = 39 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The canIpForward to set.- Returns:
- This builder for chaining.
-
clearCanIpForward
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 = 39 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceInstanceOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceInstanceOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public 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];
-
setCreateTime
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];
-
mergeCreateTime
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];
-
clearCreateTime
public Instance.Builder clearCreateTime()
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Instance creation time.
.google.protobuf.Timestamp create_time = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceInstanceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceInstanceOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceInstanceOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public 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];
-
setUpdateTime
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];
-
mergeUpdateTime
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];
-
clearUpdateTime
public Instance.Builder clearUpdateTime()
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Instance update time.
.google.protobuf.Timestamp update_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceInstanceOrBuilder
-
setUnknownFields
public final Instance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeUnknownFields
public final Instance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
-