public static final class WorkstationConfig.Host.GceInstance extends GeneratedMessageV3 implements WorkstationConfig.Host.GceInstanceOrBuilder
A runtime using a Compute Engine instance.
Protobuf type google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ACCELERATORS_FIELD_NUMBER
public static final int ACCELERATORS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
BOOT_DISK_SIZE_GB_FIELD_NUMBER
public static final int BOOT_DISK_SIZE_GB_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CONFIDENTIAL_INSTANCE_CONFIG_FIELD_NUMBER
public static final int CONFIDENTIAL_INSTANCE_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISABLE_PUBLIC_IP_ADDRESSES_FIELD_NUMBER
public static final int DISABLE_PUBLIC_IP_ADDRESSES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
POOLED_INSTANCES_FIELD_NUMBER
public static final int POOLED_INSTANCES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
POOL_SIZE_FIELD_NUMBER
public static final int POOL_SIZE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER
public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TAGS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static WorkstationConfig.Host.GceInstance getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WorkstationConfig.Host.GceInstance.Builder newBuilder()
newBuilder(WorkstationConfig.Host.GceInstance prototype)
public static WorkstationConfig.Host.GceInstance.Builder newBuilder(WorkstationConfig.Host.GceInstance prototype)
public static WorkstationConfig.Host.GceInstance parseDelimitedFrom(InputStream input)
public static WorkstationConfig.Host.GceInstance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WorkstationConfig.Host.GceInstance parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.Host.GceInstance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WorkstationConfig.Host.GceInstance parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.Host.GceInstance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.Host.GceInstance parseFrom(CodedInputStream input)
public static WorkstationConfig.Host.GceInstance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.Host.GceInstance parseFrom(InputStream input)
public static WorkstationConfig.Host.GceInstance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WorkstationConfig.Host.GceInstance parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.Host.GceInstance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WorkstationConfig.Host.GceInstance> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAccelerators(int index)
public 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
|
getAcceleratorsCount()
public 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 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;
getAcceleratorsOrBuilder(int index)
public 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
|
getAcceleratorsOrBuilderList()
public 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 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 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;
getConfidentialInstanceConfigOrBuilder()
public 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;
getDefaultInstanceForType()
public WorkstationConfig.Host.GceInstance getDefaultInstanceForType()
getDisablePublicIpAddresses()
public boolean getDisablePublicIpAddresses()
Whether instances have no public IP address.
bool disable_public_ip_addresses = 6;
Returns |
---|
Type | Description |
boolean | The disablePublicIpAddresses.
|
getMachineType()
public String getMachineType()
The name of a Compute Engine machine type.
string machine_type = 1;
Returns |
---|
Type | Description |
String | The machineType.
|
getMachineTypeBytes()
public ByteString getMachineTypeBytes()
The name of a Compute Engine machine type.
string machine_type = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for machineType.
|
getParserForType()
public Parser<WorkstationConfig.Host.GceInstance> getParserForType()
Overrides
getPoolSize()
Number of instances to pool for faster workstation startup.
int32 pool_size = 5;
Returns |
---|
Type | Description |
int | The poolSize.
|
getPooledInstances()
public 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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getServiceAccount()
public 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 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 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;
getShieldedInstanceConfigOrBuilder()
public 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;
public 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.
|
public 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.
|
public 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.
|
public ProtocolStringList getTagsList()
Network tags to add to the Compute Engine machines backing the
Workstations.
repeated string tags = 4;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasConfidentialInstanceConfig()
public 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 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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public WorkstationConfig.Host.GceInstance.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WorkstationConfig.Host.GceInstance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public WorkstationConfig.Host.GceInstance.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides