Interface WorkstationConfig.Host.GceInstanceOrBuilder (0.3.0)

public static interface WorkstationConfig.Host.GceInstanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBootDiskSizeGb()

public abstract int getBootDiskSizeGb()

Size of the boot disk in GB. Defaults to 50.

int32 boot_disk_size_gb = 9;

Returns
TypeDescription
int

The bootDiskSizeGb.

getConfidentialInstanceConfig()

public abstract WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig getConfidentialInstanceConfig()

A set of Compute Engine Confidential VM instance options.

.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig confidential_instance_config = 10;

Returns
TypeDescription
WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig

The confidentialInstanceConfig.

getConfidentialInstanceConfigOrBuilder()

public abstract WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfigOrBuilder getConfidentialInstanceConfigOrBuilder()

A set of Compute Engine Confidential VM instance options.

.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig confidential_instance_config = 10;

Returns
TypeDescription
WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfigOrBuilder

getDisablePublicIpAddresses()

public abstract boolean getDisablePublicIpAddresses()

Whether instances have no public IP address.

bool disable_public_ip_addresses = 6;

Returns
TypeDescription
boolean

The disablePublicIpAddresses.

getEnableNestedVirtualization()

public abstract boolean getEnableNestedVirtualization()

Whether to enable nested virtualization on instances.

bool enable_nested_virtualization = 7;

Returns
TypeDescription
boolean

The enableNestedVirtualization.

getMachineType()

public abstract String getMachineType()

The name of a Compute Engine machine type.

string machine_type = 1;

Returns
TypeDescription
String

The machineType.

getMachineTypeBytes()

public abstract ByteString getMachineTypeBytes()

The name of a Compute Engine machine type.

string machine_type = 1;

Returns
TypeDescription
ByteString

The bytes for machineType.

getPoolSize()

public abstract int getPoolSize()

Number of instances to pool for faster workstation starup.

int32 pool_size = 5;

Returns
TypeDescription
int

The poolSize.

getServiceAccount()

public abstract String getServiceAccount()

Email address of the service account that will be used on VM instances used to support this config. If not set, VMs will run with a Google-managed service account. This service account must have permission to pull the specified container image, otherwise the image must be publicly accessible.

string service_account = 2;

Returns
TypeDescription
String

The serviceAccount.

getServiceAccountBytes()

public abstract ByteString getServiceAccountBytes()

Email address of the service account that will be used on VM instances used to support this config. If not set, VMs will run with a Google-managed service account. This service account must have permission to pull the specified container image, otherwise the image must be publicly accessible.

string service_account = 2;

Returns
TypeDescription
ByteString

The bytes for serviceAccount.

getShieldedInstanceConfig()

public abstract WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig getShieldedInstanceConfig()

A set of Compute Engine Shielded instance options.

.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig shielded_instance_config = 8;

Returns
TypeDescription
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig

The shieldedInstanceConfig.

getShieldedInstanceConfigOrBuilder()

public abstract WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()

A set of Compute Engine Shielded instance options.

.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig shielded_instance_config = 8;

Returns
TypeDescription
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfigOrBuilder

getTags(int index)

public abstract String getTags(int index)

Network tags to add to the Compute Engine machines backing the Workstations.

repeated string tags = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The tags at the given index.

getTagsBytes(int index)

public abstract ByteString getTagsBytes(int index)

Network tags to add to the Compute Engine machines backing the Workstations.

repeated string tags = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the tags at the given index.

getTagsCount()

public abstract int getTagsCount()

Network tags to add to the Compute Engine machines backing the Workstations.

repeated string tags = 4;

Returns
TypeDescription
int

The count of tags.

getTagsList()

public abstract List<String> getTagsList()

Network tags to add to the Compute Engine machines backing the Workstations.

repeated string tags = 4;

Returns
TypeDescription
List<String>

A list containing the tags.

hasConfidentialInstanceConfig()

public abstract boolean hasConfidentialInstanceConfig()

A set of Compute Engine Confidential VM instance options.

.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig confidential_instance_config = 10;

Returns
TypeDescription
boolean

Whether the confidentialInstanceConfig field is set.

hasShieldedInstanceConfig()

public abstract boolean hasShieldedInstanceConfig()

A set of Compute Engine Shielded instance options.

.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig shielded_instance_config = 8;

Returns
TypeDescription
boolean

Whether the shieldedInstanceConfig field is set.