Interface VirtualMachineConfigOrBuilder (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
public interface VirtualMachineConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsGuestAttributes(String key)

public abstract boolean containsGuestAttributes(String key)

Output only. The Compute Engine guest attributes. (see Project and instance guest attributes).

map<string, string> guest_attributes = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsLabels(String key)

public abstract boolean containsLabels(String key)

Optional. The labels to associate with this runtime. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.

map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsMetadata(String key)

public abstract boolean containsMetadata(String key)

Optional. The Compute Engine metadata entries to add to virtual machine. (see Project and instance metadata).

map<string, string> metadata = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAcceleratorConfig()

public abstract RuntimeAcceleratorConfig getAcceleratorConfig()

Optional. The Compute Engine accelerator configuration for this runtime.

.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
RuntimeAcceleratorConfig

The acceleratorConfig.

getAcceleratorConfigOrBuilder()

public abstract RuntimeAcceleratorConfigOrBuilder getAcceleratorConfigOrBuilder()

Optional. The Compute Engine accelerator configuration for this runtime.

.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
RuntimeAcceleratorConfigOrBuilder

getBootImage()

public abstract VirtualMachineConfig.BootImage getBootImage()

Optional. Boot image metadata used for runtime upgradeability.

.google.cloud.notebooks.v1.VirtualMachineConfig.BootImage boot_image = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
VirtualMachineConfig.BootImage

The bootImage.

getBootImageOrBuilder()

public abstract VirtualMachineConfig.BootImageOrBuilder getBootImageOrBuilder()

Optional. Boot image metadata used for runtime upgradeability.

.google.cloud.notebooks.v1.VirtualMachineConfig.BootImage boot_image = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
VirtualMachineConfig.BootImageOrBuilder

getContainerImages(int index)

public abstract ContainerImage getContainerImages(int index)

Optional. Use a list of container images to use as Kernels in the notebook instance.

repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
ContainerImage

getContainerImagesCount()

public abstract int getContainerImagesCount()

Optional. Use a list of container images to use as Kernels in the notebook instance.

repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getContainerImagesList()

public abstract List<ContainerImage> getContainerImagesList()

Optional. Use a list of container images to use as Kernels in the notebook instance.

repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<ContainerImage>

getContainerImagesOrBuilder(int index)

public abstract ContainerImageOrBuilder getContainerImagesOrBuilder(int index)

Optional. Use a list of container images to use as Kernels in the notebook instance.

repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
ContainerImageOrBuilder

getContainerImagesOrBuilderList()

public abstract List<? extends ContainerImageOrBuilder> getContainerImagesOrBuilderList()

Optional. Use a list of container images to use as Kernels in the notebook instance.

repeated .google.cloud.notebooks.v1.ContainerImage container_images = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.notebooks.v1.ContainerImageOrBuilder>

getDataDisk()

public abstract LocalDisk getDataDisk()

Required. Data disk option configuration settings.

.google.cloud.notebooks.v1.LocalDisk data_disk = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
LocalDisk

The dataDisk.

getDataDiskOrBuilder()

public abstract LocalDiskOrBuilder getDataDiskOrBuilder()

Required. Data disk option configuration settings.

.google.cloud.notebooks.v1.LocalDisk data_disk = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
LocalDiskOrBuilder

getEncryptionConfig()

public abstract EncryptionConfig getEncryptionConfig()

Optional. Encryption settings for virtual machine data disk.

.google.cloud.notebooks.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EncryptionConfig

The encryptionConfig.

getEncryptionConfigOrBuilder()

public abstract EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()

Optional. Encryption settings for virtual machine data disk.

.google.cloud.notebooks.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EncryptionConfigOrBuilder

getGuestAttributes()

public abstract Map<String,String> getGuestAttributes()
Returns
TypeDescription
Map<String,String>

getGuestAttributesCount()

public abstract int getGuestAttributesCount()

Output only. The Compute Engine guest attributes. (see Project and instance guest attributes).

map<string, string> guest_attributes = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getGuestAttributesMap()

public abstract Map<String,String> getGuestAttributesMap()

Output only. The Compute Engine guest attributes. (see Project and instance guest attributes).

map<string, string> guest_attributes = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Map<String,String>

getGuestAttributesOrDefault(String key, String defaultValue)

public abstract String getGuestAttributesOrDefault(String key, String defaultValue)

Output only. The Compute Engine guest attributes. (see Project and instance guest attributes).

map<string, string> guest_attributes = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getGuestAttributesOrThrow(String key)

public abstract String getGuestAttributesOrThrow(String key)

Output only. The Compute Engine guest attributes. (see Project and instance guest attributes).

map<string, string> guest_attributes = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getInternalIpOnly()

public abstract boolean getInternalIpOnly()

Optional. If true, runtime will only have internal IP addresses. By default, runtimes are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each vm. This internal_ip_only restriction can only be enabled for subnetwork enabled networks, and all dependencies must be configured to be accessible without external IP addresses.

bool internal_ip_only = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The internalIpOnly.

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Optional. The labels to associate with this runtime. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.

map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Optional. The labels to associate with this runtime. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.

map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Optional. The labels to associate with this runtime. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.

map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Optional. The labels to associate with this runtime. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.

map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMachineType()

public abstract String getMachineType()

Required. The Compute Engine machine type used for runtimes. Short name is valid. Examples:

  • n1-standard-2
  • e2-standard-8

string machine_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The machineType.

getMachineTypeBytes()

public abstract ByteString getMachineTypeBytes()

Required. The Compute Engine machine type used for runtimes. Short name is valid. Examples:

  • n1-standard-2
  • e2-standard-8

string machine_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for machineType.

getMetadata()

public abstract Map<String,String> getMetadata()

Use #getMetadataMap() instead.

Returns
TypeDescription
Map<String,String>

getMetadataCount()

public abstract int getMetadataCount()

Optional. The Compute Engine metadata entries to add to virtual machine. (see Project and instance metadata).

map<string, string> metadata = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getMetadataMap()

public abstract Map<String,String> getMetadataMap()

Optional. The Compute Engine metadata entries to add to virtual machine. (see Project and instance metadata).