Send feedback
  
   
 
  
    
      Class GuestAttributes (1.88.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  GuestAttributes   extends   GeneratedMessageV3   implements   GuestAttributesOrBuilder  
   A guest attributes entry.
 Protobuf type google.cloud.compute.v1.GuestAttributes
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  KIND_FIELD_NUMBER 
  
    
public   static   final   int   KIND_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  QUERY_PATH_FIELD_NUMBER 
  
    
public   static   final   int   QUERY_PATH_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  QUERY_VALUE_FIELD_NUMBER 
  
    
public   static   final   int   QUERY_VALUE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  SELF_LINK_FIELD_NUMBER 
  
    
public   static   final   int   SELF_LINK_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  VARIABLE_KEY_FIELD_NUMBER 
  
    
public   static   final   int   VARIABLE_KEY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  VARIABLE_VALUE_FIELD_NUMBER 
  
    
public   static   final   int   VARIABLE_VALUE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   GuestAttributes   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   GuestAttributes . Builder   newBuilder ()  
  
  newBuilder(GuestAttributes prototype) 
  
    
public   static   GuestAttributes . Builder   newBuilder ( GuestAttributes   prototype )  
  
  
  
    
public   static   GuestAttributes   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   GuestAttributes   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   GuestAttributes   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GuestAttributes   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   GuestAttributes   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GuestAttributes   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   GuestAttributes   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   GuestAttributes   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   GuestAttributes   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   GuestAttributes   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   GuestAttributes   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GuestAttributes   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<GuestAttributes>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   GuestAttributes   getDefaultInstanceForType ()  
  
  getKind() 
  
   [Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.
 optional string kind = 3292052;
    
      
        Returns  
      
        Type Description  
      
        String The kind.
 
     
  
  getKindBytes() 
  
    
public   ByteString   getKindBytes ()  
   [Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.
 optional string kind = 3292052;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for kind.
 
     
  
  getParserForType() 
  
    
public   Parser<GuestAttributes>   getParserForType ()  
  
  Overrides 
  
  getQueryPath() 
  
    
public   String   getQueryPath ()  
   The path to be queried. This can be the default namespace ('') or a nested namespace ('\/') or a specified key ('\/\').
 optional string query_path = 368591164;
    
      
        Returns  
      
        Type Description  
      
        String The queryPath.
 
     
  
  getQueryPathBytes() 
  
    
public   ByteString   getQueryPathBytes ()  
   The path to be queried. This can be the default namespace ('') or a nested namespace ('\/') or a specified key ('\/\').
 optional string query_path = 368591164;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for queryPath.
 
     
  
  getQueryValue() 
  
    
public   GuestAttributesValue   getQueryValue ()  
   [Output Only] The value of the requested queried path.
 optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
getQueryValueOrBuilder() 
  
    
public   GuestAttributesValueOrBuilder   getQueryValueOrBuilder ()  
   [Output Only] The value of the requested queried path.
 optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
getSelfLink() 
  
    
public   String   getSelfLink ()  
   [Output Only] Server-defined URL for this resource.
 optional string self_link = 456214797;
    
      
        Returns  
      
        Type Description  
      
        String The selfLink.
 
     
  
  getSelfLinkBytes() 
  
    
public   ByteString   getSelfLinkBytes ()  
   [Output Only] Server-defined URL for this resource.
 optional string self_link = 456214797;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for selfLink.
 
     
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getVariableKey() 
  
    
public   String   getVariableKey ()  
   The key to search for.
 optional string variable_key = 164364828;
    
      
        Returns  
      
        Type Description  
      
        String The variableKey.
 
     
  
  getVariableKeyBytes() 
  
    
public   ByteString   getVariableKeyBytes ()  
   The key to search for.
 optional string variable_key = 164364828;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for variableKey.
 
     
  
  getVariableValue() 
  
    
public   String   getVariableValue ()  
   [Output Only] The value found for the requested key.
 optional string variable_value = 124582382;
    
      
        Returns  
      
        Type Description  
      
        String The variableValue.
 
     
  
  getVariableValueBytes() 
  
    
public   ByteString   getVariableValueBytes ()  
   [Output Only] The value found for the requested key.
 optional string variable_value = 124582382;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for variableValue.
 
     
  
  hasKind() 
  
   [Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.
 optional string kind = 3292052;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the kind field is set.
 
     
  
  hasQueryPath() 
  
    
public   boolean   hasQueryPath ()  
   The path to be queried. This can be the default namespace ('') or a nested namespace ('\/') or a specified key ('\/\').
 optional string query_path = 368591164;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the queryPath field is set.
 
     
  
  hasQueryValue() 
  
    
public   boolean   hasQueryValue ()  
   [Output Only] The value of the requested queried path.
 optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the queryValue field is set.
 
     
  
  hasSelfLink() 
  
    
public   boolean   hasSelfLink ()  
   [Output Only] Server-defined URL for this resource.
 optional string self_link = 456214797;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the selfLink field is set.
 
     
  
  hasVariableKey() 
  
    
public   boolean   hasVariableKey ()  
   The key to search for.
 optional string variable_key = 164364828;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the variableKey field is set.
 
     
  
  hasVariableValue() 
  
    
public   boolean   hasVariableValue ()  
   [Output Only] The value found for the requested key.
 optional string variable_value = 124582382;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the variableValue field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   GuestAttributes . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   GuestAttributes . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   GuestAttributes . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  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-28 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]