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
@Generated
public interface SavedQueryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels applied on the resource.The query content.The query content.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.The description of this saved query.com.google.protobuf.ByteStringThe description of this saved query.Deprecated.intLabels applied on the resource.Labels applied on the resource.getLabelsOrDefault(String key, String defaultValue) Labels applied on the resource.getLabelsOrThrow(String key) Labels applied on the resource.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getName()The resource name of the saved query.com.google.protobuf.ByteStringThe resource name of the saved query.booleanThe query content.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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.UsegetLabelsMap()instead. -
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
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
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;
-