Interface WorkstationConfig.Host.GceInstanceOrBuilder (0.9.0)

public static interface WorkstationConfig.Host.GceInstanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccelerators(int index)

public abstract WorkstationConfig.Host.GceInstance.Accelerator getAccelerators(int index)

A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.Accelerator accelerators = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkstationConfig.Host.GceInstance.Accelerator

getAcceleratorsCount()

public abstract int getAcceleratorsCount()

A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.Accelerator accelerators = 11;

Returns
TypeDescription
int

getAcceleratorsList()

public abstract List<WorkstationConfig.Host.GceInstance.Accelerator> getAcceleratorsList()

A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.Accelerator accelerators = 11;

Returns
TypeDescription
List<Accelerator>

getAcceleratorsOrBuilder(int index)

public abstract WorkstationConfig.Host.GceInstance.AcceleratorOrBuilder getAcceleratorsOrBuilder(int index)

A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.Accelerator accelerators = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkstationConfig.Host.GceInstance.AcceleratorOrBuilder

getAcceleratorsOrBuilderList()

public abstract List<? extends WorkstationConfig.Host.GceInstance.AcceleratorOrBuilder> getAcceleratorsOrBuilderList()

A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.Accelerator accelerators = 11;

Returns
TypeDescription
List<? extends com.google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.AcceleratorOrBuilder>

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.v1beta.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.v1beta.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.

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 startup.

int32 pool_size = 5;

Returns
TypeDescription
int

The poolSize.

getPooledInstances()

public abstract int getPooledInstances()

Output only. Number of instances currently available in the pool for faster workstation startup.

int32 pooled_instances = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The pooledInstances.

getServiceAccount()

public abstract String getServiceAccount()

Email address of the service account used on VM instances used to support this configuration. If not set, VMs 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 used on VM instances used to support this configuration. If not set, VMs 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.v1beta.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.v1beta.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.v1beta.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.v1beta.WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig shielded_instance_config = 8;

Returns
TypeDescription
boolean

Whether the shieldedInstanceConfig field is set.