Interface SavedQueryOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    SavedQuery, SavedQuery.Builder

    public interface SavedQueryOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String 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:
        The name.
      • getNameBytes

        com.google.protobuf.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:
        The bytes for name.
      • getDescription

        String getDescription()
         The description of this saved query. This value should be fewer than 255
         characters.
         
        string description = 2;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         The description of this saved query. This value should be fewer than 255
         characters.
         
        string description = 2;
        Returns:
        The bytes for description.
      • hasCreateTime

        boolean hasCreateTime()
         Output only. The create time of this saved query.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         Output only. The create time of this saved query.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The create time of this saved query.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreator

        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:
        The creator.
      • getCreatorBytes

        com.google.protobuf.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:
        The bytes for creator.
      • hasLastUpdateTime

        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:
        Whether the lastUpdateTime field is set.
      • getLastUpdateTime

        com.google.protobuf.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:
        The lastUpdateTime.
      • getLastUpdateTimeOrBuilder

        com.google.protobuf.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

        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:
        The lastUpdater.
      • getLastUpdaterBytes

        com.google.protobuf.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:
        The bytes for lastUpdater.
      • getLabelsCount

        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;
      • containsLabels

        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;
      • getLabelsMap

        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 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;
      • getLabelsOrThrow

        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;
      • hasContent

        boolean hasContent()
         The query content.
         
        .google.cloud.asset.v1.SavedQuery.QueryContent content = 8;
        Returns:
        Whether the content field is set.
      • getContent

        SavedQuery.QueryContent getContent()
         The query content.
         
        .google.cloud.asset.v1.SavedQuery.QueryContent content = 8;
        Returns:
        The content.