Class WorkstationConfig.Host.GceInstance (0.1.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 0.1.0keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
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
 
  
  
  
  Static Fields
   
  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  
         
       
     
  
  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 
  
   
  getBootDiskSizeGb() 
  
    
public   int   getBootDiskSizeGb ()  
   
   Size of the boot disk in GB.
 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 starup.
 int32 pool_size = 5;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
        The poolSize.
 
       
     
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  getServiceAccount() 
  
    
public   String   getServiceAccount ()  
   
   Email address of the service account that will be used on VM instances
 used to support this config. This service account must have permission
 to pull the specified container image. If not set, VMs will run without
 a service account, in which case 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 that will be used on VM instances
 used to support this config. This service account must have permission
 to pull the specified container image. If not set, VMs will run without
 a service account, in which case 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 )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  toBuilder() 
  
    
public   WorkstationConfig . Host . GceInstance . Builder   toBuilder ()  
   
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]