public final class SavedQuery extends GeneratedMessageV3 implements SavedQueryOrBuilder
   
   A saved query which can be shared with others or used later.
 Protobuf type google.cloud.asset.v1.SavedQuery
    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
  
  CONTENT_FIELD_NUMBER
  
    public static final int CONTENT_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  CREATE_TIME_FIELD_NUMBER
  
    public static final int CREATE_TIME_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  CREATOR_FIELD_NUMBER
  
    public static final int CREATOR_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  DESCRIPTION_FIELD_NUMBER
  
    public static final int DESCRIPTION_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  LABELS_FIELD_NUMBER
  
    public static final int LABELS_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  LAST_UPDATER_FIELD_NUMBER
  
    public static final int LAST_UPDATER_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  LAST_UPDATE_TIME_FIELD_NUMBER
  
    public static final int LAST_UPDATE_TIME_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  NAME_FIELD_NUMBER
  
    public static final int NAME_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Static Methods
  
  
  getDefaultInstance()
  
    public static SavedQuery getDefaultInstance()
   
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  
  newBuilder()
  
    public static SavedQuery.Builder newBuilder()
   
  
  
  newBuilder(SavedQuery prototype)
  
    public static SavedQuery.Builder newBuilder(SavedQuery prototype)
   
  
  
  
  
  
    public static SavedQuery parseDelimitedFrom(InputStream input)
   
  
  
  
  
  
  
    public static SavedQuery parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(byte[] data)
  
    public static SavedQuery parseFrom(byte[] data)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
  
    public static SavedQuery parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteString data)
  
    public static SavedQuery parseFrom(ByteString data)
   
  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
  
    public static SavedQuery parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static SavedQuery parseFrom(CodedInputStream input)
   
  
  
  
  
  
  
    public static SavedQuery parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static SavedQuery parseFrom(InputStream input)
   
  
  
  
  
  
  
    public static SavedQuery parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteBuffer data)
  
    public static SavedQuery parseFrom(ByteBuffer data)
   
  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
  
    public static SavedQuery parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parser()
  
    public static Parser<SavedQuery> parser()
   
  
  Methods
  
  
  containsLabels(String key)
  
    public boolean containsLabels(String key)
   
   Labels applied on the resource.
 This value should not contain more than 10 entries. The key and value of
 each entry must be non-empty and fewer than 64 characters.
 map<string, string> labels = 7;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | key | String
 | 
    
  
  
  
  equals(Object obj)
  
    public boolean equals(Object obj)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | obj | Object
 | 
    
  
  
  Overrides
  
  
  getContent()
  
    public SavedQuery.QueryContent getContent()
   
   The query content.
 .google.cloud.asset.v1.SavedQuery.QueryContent content = 8;
getContentOrBuilder()
  
    public SavedQuery.QueryContentOrBuilder getContentOrBuilder()
   
   The query content.
 .google.cloud.asset.v1.SavedQuery.QueryContent content = 8;
getCreateTime()
  
    public Timestamp getCreateTime()
   
   Output only. The create time of this saved query.
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Timestamp | The createTime. | 
    
  
  
  getCreateTimeOrBuilder()
  
    public TimestampOrBuilder getCreateTimeOrBuilder()
   
   Output only. The create time of this saved query.
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getCreator()
  
    public String getCreator()
   
   Output only. The account's email address who has created this saved query.
 string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The creator. | 
    
  
  
  getCreatorBytes()
  
    public ByteString getCreatorBytes()
   
   Output only. The account's email address who has created this saved query.
 string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for creator. | 
    
  
  
  getDefaultInstanceForType()
  
    public SavedQuery getDefaultInstanceForType()
   
  
  
  getDescription()
  
    public String getDescription()
   
   The description of this saved query. This value should be fewer than 255
 characters.
 string description = 2;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The description. | 
    
  
  
  getDescriptionBytes()
  
    public ByteString getDescriptionBytes()
   
   The description of this saved query. This value should be fewer than 255
 characters.
 string description = 2;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for description. | 
    
  
  
  getLabels() (deprecated)
  
    public Map<String,String> getLabels()
   
  
  
  
  getLabelsCount()
  
    public int getLabelsCount()
   
   Labels applied on the resource.
 This value should not contain more than 10 entries. The key and value of
 each entry must be non-empty and fewer than 64 characters.
 map<string, string> labels = 7;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  
  getLabelsMap()
  
    public Map<String,String> getLabelsMap()
   
   Labels applied on the resource.
 This value should not contain more than 10 entries. The key and value of
 each entry must be non-empty and fewer than 64 characters.
 map<string, string> labels = 7;
getLabelsOrDefault(String key, String defaultValue)
  
    public String getLabelsOrDefault(String key, String defaultValue)
   
   Labels applied on the resource.
 This value should not contain more than 10 entries. The key and value of
 each entry must be non-empty and fewer than 64 characters.
 map<string, string> labels = 7;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String |  | 
    
  
  
  getLabelsOrThrow(String key)
  
    public String getLabelsOrThrow(String key)
   
   Labels applied on the resource.
 This value should not contain more than 10 entries. The key and value of
 each entry must be non-empty and fewer than 64 characters.
 map<string, string> labels = 7;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | key | String
 | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String |  | 
    
  
  
  getLastUpdateTime()
  
    public Timestamp getLastUpdateTime()
   
   Output only. The last update time of this saved query.
 
 .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Timestamp | The lastUpdateTime. | 
    
  
  
  getLastUpdateTimeOrBuilder()
  
    public TimestampOrBuilder getLastUpdateTimeOrBuilder()
   
   Output only. The last update time of this saved query.
 
 .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getLastUpdater()
  
    public String getLastUpdater()
   
   Output only. The account's email address who has updated this saved query
 most recently.
 string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The lastUpdater. | 
    
  
  
  getLastUpdaterBytes()
  
    public ByteString getLastUpdaterBytes()
   
   Output only. The account's email address who has updated this saved query
 most recently.
 string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for lastUpdater. | 
    
  
  
  getName()
  
   The resource name of the saved query. The format must be:
- projects/project_number/savedQueries/saved_query_id
- folders/folder_number/savedQueries/saved_query_id
- organizations/organization_number/savedQueries/saved_query_id
 string name = 1;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The name. | 
    
  
  
  getNameBytes()
  
    public ByteString getNameBytes()
   
   The resource name of the saved query. The format must be:
- projects/project_number/savedQueries/saved_query_id
- folders/folder_number/savedQueries/saved_query_id
- organizations/organization_number/savedQueries/saved_query_id
 string name = 1;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for name. | 
    
  
  
  getParserForType()
  
    public Parser<SavedQuery> getParserForType()
   
  
  Overrides
  
  
  getSerializedSize()
  
    public int getSerializedSize()
   
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  hasContent()
  
    public boolean hasContent()
   
   The query content.
 .google.cloud.asset.v1.SavedQuery.QueryContent content = 8;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the content field is set. | 
    
  
  
  hasCreateTime()
  
    public boolean hasCreateTime()
   
   Output only. The create time of this saved query.
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the createTime field is set. | 
    
  
  
  hasLastUpdateTime()
  
    public boolean hasLastUpdateTime()
   
   Output only. The last update time of this saved query.
 
 .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the lastUpdateTime field is set. | 
    
  
  
  hashCode()
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  internalGetMapFieldReflection(int number)
  
    protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | number | int
 | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | com.google.protobuf.MapFieldReflectionAccessor |  | 
    
  
  Overrides
  com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  newBuilderForType()
  
    public SavedQuery.Builder newBuilderForType()
   
  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent)
  
    protected SavedQuery.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  
  
  Overrides
  
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Object |  | 
    
  
  Overrides
  
  
  toBuilder()
  
    public SavedQuery.Builder toBuilder()
   
  
  
  writeTo(CodedOutputStream output)
  
    public void writeTo(CodedOutputStream output)
   
  
  Overrides