Interface SavedQueryOrBuilder (3.6.0)

Stay organized with collections Save and categorize content based on your preferences.
public interface SavedQueryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
boolean

getContent()

public abstract SavedQuery.QueryContent getContent()

The query content.

.google.cloud.asset.v1.SavedQuery.QueryContent content = 8;

Returns
TypeDescription
SavedQuery.QueryContent

The content.

getContentOrBuilder()

public abstract SavedQuery.QueryContentOrBuilder getContentOrBuilder()

The query content.

.google.cloud.asset.v1.SavedQuery.QueryContent content = 8;

Returns
TypeDescription
SavedQuery.QueryContentOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The create time of this saved query.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The create time of this saved query.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getCreator()

public abstract 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
TypeDescription
String

The creator.

getCreatorBytes()

public abstract 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
TypeDescription
ByteString

The bytes for creator.

getDescription()

public abstract String getDescription()

The description of this saved query. This value should be fewer than 255 characters.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The description of this saved query. This value should be fewer than 255 characters.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract 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
TypeDescription
int

getLabelsMap()

public abstract 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;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract 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;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
String

getLastUpdateTime()

public abstract 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
TypeDescription
Timestamp

The lastUpdateTime.

getLastUpdateTimeOrBuilder()

public abstract 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];

Returns
TypeDescription
TimestampOrBuilder

getLastUpdater()

public abstract 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
TypeDescription
String

The lastUpdater.

getLastUpdaterBytes()

public abstract 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
TypeDescription
ByteString

The bytes for lastUpdater.

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

hasContent()

public abstract boolean hasContent()

The query content.

.google.cloud.asset.v1.SavedQuery.QueryContent content = 8;

Returns
TypeDescription
boolean

Whether the content field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The create time of this saved query.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasLastUpdateTime()

public abstract 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
TypeDescription
boolean

Whether the lastUpdateTime field is set.