Package com.google.cloud.asset.v1
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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Labels applied on the resource.SavedQuery.QueryContentgetContent()The query content.SavedQuery.QueryContentOrBuildergetContentOrBuilder()The query content.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetCreator()Output only.com.google.protobuf.ByteStringgetCreatorBytes()Output only.StringgetDescription()The description of this saved query.com.google.protobuf.ByteStringgetDescriptionBytes()The description of this saved query.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels applied on the resource.Map<String,String>getLabelsMap()Labels applied on the resource.StringgetLabelsOrDefault(String key, String defaultValue)Labels applied on the resource.StringgetLabelsOrThrow(String key)Labels applied on the resource.StringgetLastUpdater()Output only.com.google.protobuf.ByteStringgetLastUpdaterBytes()Output only.com.google.protobuf.TimestampgetLastUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetLastUpdateTimeOrBuilder()Output only.StringgetName()The resource name of the saved query.com.google.protobuf.ByteStringgetNameBytes()The resource name of the saved query.booleanhasContent()The query content.booleanhasCreateTime()Output only.booleanhasLastUpdateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
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.
-
getContentOrBuilder
SavedQuery.QueryContentOrBuilder getContentOrBuilder()
The query content.
.google.cloud.asset.v1.SavedQuery.QueryContent content = 8;
-
-