public static interface WorkstationConfig.Host.GceInstanceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfigOrBuilder |
getDisablePublicIpAddresses()
public abstract boolean getDisablePublicIpAddresses()
Whether instances have no public IP address.
bool disable_public_ip_addresses = 6;
Returns | |
---|---|
Type | Description |
boolean | The disablePublicIpAddresses. |
getMachineType()
public abstract String getMachineType()
The name of a Compute Engine machine type.
string machine_type = 1;
Returns | |
---|---|
Type | Description |
String | The machineType. |
getMachineTypeBytes()
public abstract ByteString getMachineTypeBytes()
The name of a Compute Engine machine type.
string machine_type = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for machineType. |
getPoolSize()
public abstract int getPoolSize()
Number of instances to pool for faster workstation startup.
int32 pool_size = 5;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the shieldedInstanceConfig field is set. |