public static final class ResourceSearchResult.Builder extends GeneratedMessageV3.Builder<ResourceSearchResult.Builder> implements ResourceSearchResultOrBuilder
A result of Resource Search, containing information of a cloud resource. Next ID: 29Protobuf type
google.cloud.asset.v1.ResourceSearchResult
Modifier and Type | Method and Description |
---|---|
ResourceSearchResult.Builder |
addAllAttachedResources(Iterable<? extends AttachedResource> values)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
addAllFolders(Iterable<String> values)
The folder(s) that this resource belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
ResourceSearchResult.Builder |
addAllNetworkTags(Iterable<String> values)
Network tags associated with this resource.
|
ResourceSearchResult.Builder |
addAllTagKeys(Iterable<String> values)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
|
ResourceSearchResult.Builder |
addAllTagValueIds(Iterable<String> values)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
|
ResourceSearchResult.Builder |
addAllTagValues(Iterable<String> values)
TagValue namespaced names, in the format of
{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
|
ResourceSearchResult.Builder |
addAllVersionedResources(Iterable<? extends VersionedResource> values)
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
addAttachedResources(AttachedResource.Builder builderForValue)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
addAttachedResources(AttachedResource value)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
addAttachedResources(int index,
AttachedResource.Builder builderForValue)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
addAttachedResources(int index,
AttachedResource value)
Attached resources of this resource.
|
AttachedResource.Builder |
addAttachedResourcesBuilder()
Attached resources of this resource.
|
AttachedResource.Builder |
addAttachedResourcesBuilder(int index)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
addFolders(String value)
The folder(s) that this resource belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
ResourceSearchResult.Builder |
addFoldersBytes(ByteString value)
The folder(s) that this resource belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
ResourceSearchResult.Builder |
addNetworkTags(String value)
Network tags associated with this resource.
|
ResourceSearchResult.Builder |
addNetworkTagsBytes(ByteString value)
Network tags associated with this resource.
|
ResourceSearchResult.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ResourceSearchResult.Builder |
addTagKeys(String value)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
|
ResourceSearchResult.Builder |
addTagKeysBytes(ByteString value)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
|
ResourceSearchResult.Builder |
addTagValueIds(String value)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
|
ResourceSearchResult.Builder |
addTagValueIdsBytes(ByteString value)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
|
ResourceSearchResult.Builder |
addTagValues(String value)
TagValue namespaced names, in the format of
{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
|
ResourceSearchResult.Builder |
addTagValuesBytes(ByteString value)
TagValue namespaced names, in the format of
{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
|
ResourceSearchResult.Builder |
addVersionedResources(int index,
VersionedResource.Builder builderForValue)
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
addVersionedResources(int index,
VersionedResource value)
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
addVersionedResources(VersionedResource.Builder builderForValue)
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
addVersionedResources(VersionedResource value)
Versioned resource representations of this resource.
|
VersionedResource.Builder |
addVersionedResourcesBuilder()
Versioned resource representations of this resource.
|
VersionedResource.Builder |
addVersionedResourcesBuilder(int index)
Versioned resource representations of this resource.
|
ResourceSearchResult |
build() |
ResourceSearchResult |
buildPartial() |
ResourceSearchResult.Builder |
clear() |
ResourceSearchResult.Builder |
clearAdditionalAttributes()
The additional searchable attributes of this resource.
|
ResourceSearchResult.Builder |
clearAssetType()
The type of this resource.
|
ResourceSearchResult.Builder |
clearAttachedResources()
Attached resources of this resource.
|
ResourceSearchResult.Builder |
clearCreateTime()
The create timestamp of this resource, at which the resource was created.
|
ResourceSearchResult.Builder |
clearDescription()
One or more paragraphs of text description of this resource.
|
ResourceSearchResult.Builder |
clearDisplayName()
The display name of this resource.
|
ResourceSearchResult.Builder |
clearField(Descriptors.FieldDescriptor field) |
ResourceSearchResult.Builder |
clearFolders()
The folder(s) that this resource belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
ResourceSearchResult.Builder |
clearKmsKey()
The Cloud KMS
[CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
name or
[CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions)
name.
|
ResourceSearchResult.Builder |
clearLabels() |
ResourceSearchResult.Builder |
clearLocation()
Location can be `global`, regional like `us-east1`, or zonal like
`us-west1-b`.
|
ResourceSearchResult.Builder |
clearName()
The full resource name of this resource.
|
ResourceSearchResult.Builder |
clearNetworkTags()
Network tags associated with this resource.
|
ResourceSearchResult.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ResourceSearchResult.Builder |
clearOrganization()
The organization that this resource belongs to, in the form of
organizations/{ORGANIZATION_NUMBER}.
|
ResourceSearchResult.Builder |
clearParentAssetType()
The type of this resource's immediate parent, if there is one.
|
ResourceSearchResult.Builder |
clearParentFullResourceName()
The full resource name of this resource's parent, if it has one.
|
ResourceSearchResult.Builder |
clearProject()
The project that this resource belongs to, in the form of
projects/{PROJECT_NUMBER}.
|
ResourceSearchResult.Builder |
clearRelationships() |
ResourceSearchResult.Builder |
clearState()
The state of this resource.
|
ResourceSearchResult.Builder |
clearTagKeys()
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
|
ResourceSearchResult.Builder |
clearTagValueIds()
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
|
ResourceSearchResult.Builder |
clearTagValues()
TagValue namespaced names, in the format of
{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
|
ResourceSearchResult.Builder |
clearUpdateTime()
The last update timestamp of this resource, at which the resource was last
modified or deleted.
|
ResourceSearchResult.Builder |
clearVersionedResources()
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
clone() |
boolean |
containsLabels(String key)
Labels associated with this resource.
|
boolean |
containsRelationships(String key)
A map of related resources of this resource, keyed by the
relationship type.
|
Struct |
getAdditionalAttributes()
The additional searchable attributes of this resource.
|
Struct.Builder |
getAdditionalAttributesBuilder()
The additional searchable attributes of this resource.
|
StructOrBuilder |
getAdditionalAttributesOrBuilder()
The additional searchable attributes of this resource.
|
String |
getAssetType()
The type of this resource.
|
ByteString |
getAssetTypeBytes()
The type of this resource.
|
AttachedResource |
getAttachedResources(int index)
Attached resources of this resource.
|
AttachedResource.Builder |
getAttachedResourcesBuilder(int index)
Attached resources of this resource.
|
List<AttachedResource.Builder> |
getAttachedResourcesBuilderList()
Attached resources of this resource.
|
int |
getAttachedResourcesCount()
Attached resources of this resource.
|
List<AttachedResource> |
getAttachedResourcesList()
Attached resources of this resource.
|
AttachedResourceOrBuilder |
getAttachedResourcesOrBuilder(int index)
Attached resources of this resource.
|
List<? extends AttachedResourceOrBuilder> |
getAttachedResourcesOrBuilderList()
Attached resources of this resource.
|
Timestamp |
getCreateTime()
The create timestamp of this resource, at which the resource was created.
|
Timestamp.Builder |
getCreateTimeBuilder()
The create timestamp of this resource, at which the resource was created.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
The create timestamp of this resource, at which the resource was created.
|
ResourceSearchResult |
getDefaultInstanceForType() |
String |
getDescription()
One or more paragraphs of text description of this resource.
|
ByteString |
getDescriptionBytes()
One or more paragraphs of text description of this resource.
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
The display name of this resource.
|
ByteString |
getDisplayNameBytes()
The display name of this resource.
|
String |
getFolders(int index)
The folder(s) that this resource belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
ByteString |
getFoldersBytes(int index)
The folder(s) that this resource belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
int |
getFoldersCount()
The folder(s) that this resource belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
ProtocolStringList |
getFoldersList()
The folder(s) that this resource belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
String |
getKmsKey()
The Cloud KMS
[CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
name or
[CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions)
name.
|
ByteString |
getKmsKeyBytes()
The Cloud KMS
[CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
name or
[CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions)
name.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with this resource.
|
Map<String,String> |
getLabelsMap()
Labels associated with this resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with this resource.
|
String |
getLabelsOrThrow(String key)
Labels associated with this resource.
|
String |
getLocation()
Location can be `global`, regional like `us-east1`, or zonal like
`us-west1-b`.
|
ByteString |
getLocationBytes()
Location can be `global`, regional like `us-east1`, or zonal like
`us-west1-b`.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
Map<String,RelatedResources> |
getMutableRelationships()
Deprecated.
|
String |
getName()
The full resource name of this resource.
|
ByteString |
getNameBytes()
The full resource name of this resource.
|
String |
getNetworkTags(int index)
Network tags associated with this resource.
|
ByteString |
getNetworkTagsBytes(int index)
Network tags associated with this resource.
|
int |
getNetworkTagsCount()
Network tags associated with this resource.
|
ProtocolStringList |
getNetworkTagsList()
Network tags associated with this resource.
|
String |
getOrganization()
The organization that this resource belongs to, in the form of
organizations/{ORGANIZATION_NUMBER}.
|
ByteString |
getOrganizationBytes()
The organization that this resource belongs to, in the form of
organizations/{ORGANIZATION_NUMBER}.
|
String |
getParentAssetType()
The type of this resource's immediate parent, if there is one.
|
ByteString |
getParentAssetTypeBytes()
The type of this resource's immediate parent, if there is one.
|
String |
getParentFullResourceName()
The full resource name of this resource's parent, if it has one.
|
ByteString |
getParentFullResourceNameBytes()
The full resource name of this resource's parent, if it has one.
|
String |
getProject()
The project that this resource belongs to, in the form of
projects/{PROJECT_NUMBER}.
|
ByteString |
getProjectBytes()
The project that this resource belongs to, in the form of
projects/{PROJECT_NUMBER}.
|
Map<String,RelatedResources> |
getRelationships()
Deprecated.
|
int |
getRelationshipsCount()
A map of related resources of this resource, keyed by the
relationship type.
|
Map<String,RelatedResources> |
getRelationshipsMap()
A map of related resources of this resource, keyed by the
relationship type.
|
RelatedResources |
getRelationshipsOrDefault(String key,
RelatedResources defaultValue)
A map of related resources of this resource, keyed by the
relationship type.
|
RelatedResources |
getRelationshipsOrThrow(String key)
A map of related resources of this resource, keyed by the
relationship type.
|
String |
getState()
The state of this resource.
|
ByteString |
getStateBytes()
The state of this resource.
|
String |
getTagKeys(int index)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
|
ByteString |
getTagKeysBytes(int index)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
|
int |
getTagKeysCount()
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
|
ProtocolStringList |
getTagKeysList()
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
|
String |
getTagValueIds(int index)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
|
ByteString |
getTagValueIdsBytes(int index)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
|
int |
getTagValueIdsCount()
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
|
ProtocolStringList |
getTagValueIdsList()
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
|
String |
getTagValues(int index)
TagValue namespaced names, in the format of
{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
|
ByteString |
getTagValuesBytes(int index)
TagValue namespaced names, in the format of
{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
|
int |
getTagValuesCount()
TagValue namespaced names, in the format of
{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
|
ProtocolStringList |
getTagValuesList()
TagValue namespaced names, in the format of
{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
|
Timestamp |
getUpdateTime()
The last update timestamp of this resource, at which the resource was last
modified or deleted.
|
Timestamp.Builder |
getUpdateTimeBuilder()
The last update timestamp of this resource, at which the resource was last
modified or deleted.
|
TimestampOrBuilder |
getUpdateTimeOrBuilder()
The last update timestamp of this resource, at which the resource was last
modified or deleted.
|
VersionedResource |
getVersionedResources(int index)
Versioned resource representations of this resource.
|
VersionedResource.Builder |
getVersionedResourcesBuilder(int index)
Versioned resource representations of this resource.
|
List<VersionedResource.Builder> |
getVersionedResourcesBuilderList()
Versioned resource representations of this resource.
|
int |
getVersionedResourcesCount()
Versioned resource representations of this resource.
|
List<VersionedResource> |
getVersionedResourcesList()
Versioned resource representations of this resource.
|
VersionedResourceOrBuilder |
getVersionedResourcesOrBuilder(int index)
Versioned resource representations of this resource.
|
List<? extends VersionedResourceOrBuilder> |
getVersionedResourcesOrBuilderList()
Versioned resource representations of this resource.
|
boolean |
hasAdditionalAttributes()
The additional searchable attributes of this resource.
|
boolean |
hasCreateTime()
The create timestamp of this resource, at which the resource was created.
|
boolean |
hasUpdateTime()
The last update timestamp of this resource, at which the resource was last
modified or deleted.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
protected MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
ResourceSearchResult.Builder |
mergeAdditionalAttributes(Struct value)
The additional searchable attributes of this resource.
|
ResourceSearchResult.Builder |
mergeCreateTime(Timestamp value)
The create timestamp of this resource, at which the resource was created.
|
ResourceSearchResult.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ResourceSearchResult.Builder |
mergeFrom(Message other) |
ResourceSearchResult.Builder |
mergeFrom(ResourceSearchResult other) |
ResourceSearchResult.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ResourceSearchResult.Builder |
mergeUpdateTime(Timestamp value)
The last update timestamp of this resource, at which the resource was last
modified or deleted.
|
ResourceSearchResult.Builder |
putAllLabels(Map<String,String> values)
Labels associated with this resource.
|
ResourceSearchResult.Builder |
putAllRelationships(Map<String,RelatedResources> values)
A map of related resources of this resource, keyed by the
relationship type.
|
ResourceSearchResult.Builder |
putLabels(String key,
String value)
Labels associated with this resource.
|
ResourceSearchResult.Builder |
putRelationships(String key,
RelatedResources value)
A map of related resources of this resource, keyed by the
relationship type.
|
ResourceSearchResult.Builder |
removeAttachedResources(int index)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
removeLabels(String key)
Labels associated with this resource.
|
ResourceSearchResult.Builder |
removeRelationships(String key)
A map of related resources of this resource, keyed by the
relationship type.
|
ResourceSearchResult.Builder |
removeVersionedResources(int index)
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
setAdditionalAttributes(Struct.Builder builderForValue)
The additional searchable attributes of this resource.
|
ResourceSearchResult.Builder |
setAdditionalAttributes(Struct value)
The additional searchable attributes of this resource.
|
ResourceSearchResult.Builder |
setAssetType(String value)
The type of this resource.
|
ResourceSearchResult.Builder |
setAssetTypeBytes(ByteString value)
The type of this resource.
|
ResourceSearchResult.Builder |
setAttachedResources(int index,
AttachedResource.Builder builderForValue)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
setAttachedResources(int index,
AttachedResource value)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
setCreateTime(Timestamp.Builder builderForValue)
The create timestamp of this resource, at which the resource was created.
|
ResourceSearchResult.Builder |
setCreateTime(Timestamp value)
The create timestamp of this resource, at which the resource was created.
|
ResourceSearchResult.Builder |
setDescription(String value)
One or more paragraphs of text description of this resource.
|
ResourceSearchResult.Builder |
setDescriptionBytes(ByteString value)
One or more paragraphs of text description of this resource.
|
ResourceSearchResult.Builder |
setDisplayName(String value)
The display name of this resource.
|
ResourceSearchResult.Builder |
setDisplayNameBytes(ByteString value)
The display name of this resource.
|
ResourceSearchResult.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ResourceSearchResult.Builder |
setFolders(int index,
String value)
The folder(s) that this resource belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
ResourceSearchResult.Builder |
setKmsKey(String value)
The Cloud KMS
[CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
name or
[CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions)
name.
|
ResourceSearchResult.Builder |
setKmsKeyBytes(ByteString value)
The Cloud KMS
[CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
name or
[CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions)
name.
|
ResourceSearchResult.Builder |
setLocation(String value)
Location can be `global`, regional like `us-east1`, or zonal like
`us-west1-b`.
|
ResourceSearchResult.Builder |
setLocationBytes(ByteString value)
Location can be `global`, regional like `us-east1`, or zonal like
`us-west1-b`.
|
ResourceSearchResult.Builder |
setName(String value)
The full resource name of this resource.
|
ResourceSearchResult.Builder |
setNameBytes(ByteString value)
The full resource name of this resource.
|
ResourceSearchResult.Builder |
setNetworkTags(int index,
String value)
Network tags associated with this resource.
|
ResourceSearchResult.Builder |
setOrganization(String value)
The organization that this resource belongs to, in the form of
organizations/{ORGANIZATION_NUMBER}.
|
ResourceSearchResult.Builder |
setOrganizationBytes(ByteString value)
The organization that this resource belongs to, in the form of
organizations/{ORGANIZATION_NUMBER}.
|
ResourceSearchResult.Builder |
setParentAssetType(String value)
The type of this resource's immediate parent, if there is one.
|
ResourceSearchResult.Builder |
setParentAssetTypeBytes(ByteString value)
The type of this resource's immediate parent, if there is one.
|
ResourceSearchResult.Builder |
setParentFullResourceName(String value)
The full resource name of this resource's parent, if it has one.
|
ResourceSearchResult.Builder |
setParentFullResourceNameBytes(ByteString value)
The full resource name of this resource's parent, if it has one.
|
ResourceSearchResult.Builder |
setProject(String value)
The project that this resource belongs to, in the form of
projects/{PROJECT_NUMBER}.
|
ResourceSearchResult.Builder |
setProjectBytes(ByteString value)
The project that this resource belongs to, in the form of
projects/{PROJECT_NUMBER}.
|
ResourceSearchResult.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ResourceSearchResult.Builder |
setState(String value)
The state of this resource.
|
ResourceSearchResult.Builder |
setStateBytes(ByteString value)
The state of this resource.
|
ResourceSearchResult.Builder |
setTagKeys(int index,
String value)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
|
ResourceSearchResult.Builder |
setTagValueIds(int index,
String value)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
|
ResourceSearchResult.Builder |
setTagValues(int index,
String value)
TagValue namespaced names, in the format of
{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
|
ResourceSearchResult.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
ResourceSearchResult.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
The last update timestamp of this resource, at which the resource was last
modified or deleted.
|
ResourceSearchResult.Builder |
setUpdateTime(Timestamp value)
The last update timestamp of this resource, at which the resource was last
modified or deleted.
|
ResourceSearchResult.Builder |
setVersionedResources(int index,
VersionedResource.Builder builderForValue)
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
setVersionedResources(int index,
VersionedResource value)
Versioned resource representations of this resource.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<ResourceSearchResult.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<ResourceSearchResult.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ResourceSearchResult.Builder>
public ResourceSearchResult.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ResourceSearchResult.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ResourceSearchResult.Builder>
public ResourceSearchResult getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ResourceSearchResult build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ResourceSearchResult buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ResourceSearchResult.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ResourceSearchResult.Builder>
public ResourceSearchResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ResourceSearchResult.Builder>
public ResourceSearchResult.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ResourceSearchResult.Builder>
public ResourceSearchResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ResourceSearchResult.Builder>
public ResourceSearchResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ResourceSearchResult.Builder>
public ResourceSearchResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ResourceSearchResult.Builder>
public ResourceSearchResult.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ResourceSearchResult.Builder>
public ResourceSearchResult.Builder mergeFrom(ResourceSearchResult other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ResourceSearchResult.Builder>
public ResourceSearchResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ResourceSearchResult.Builder>
IOException
public String getName()
The full resource name of this resource. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/resource-name-format) for more information. To search against the `name`: * use a field query. Example: `name:instance1` * use a free text query. Example: `instance1`
string name = 1;
getName
in interface ResourceSearchResultOrBuilder
public ByteString getNameBytes()
The full resource name of this resource. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/resource-name-format) for more information. To search against the `name`: * use a field query. Example: `name:instance1` * use a free text query. Example: `instance1`
string name = 1;
getNameBytes
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setName(String value)
The full resource name of this resource. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/resource-name-format) for more information. To search against the `name`: * use a field query. Example: `name:instance1` * use a free text query. Example: `instance1`
string name = 1;
value
- The name to set.public ResourceSearchResult.Builder clearName()
The full resource name of this resource. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/resource-name-format) for more information. To search against the `name`: * use a field query. Example: `name:instance1` * use a free text query. Example: `instance1`
string name = 1;
public ResourceSearchResult.Builder setNameBytes(ByteString value)
The full resource name of this resource. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/resource-name-format) for more information. To search against the `name`: * use a field query. Example: `name:instance1` * use a free text query. Example: `instance1`
string name = 1;
value
- The bytes for name to set.public String getAssetType()
The type of this resource. Example: `compute.googleapis.com/Disk`. To search against the `asset_type`: * specify the `asset_type` field in your search request.
string asset_type = 2;
getAssetType
in interface ResourceSearchResultOrBuilder
public ByteString getAssetTypeBytes()
The type of this resource. Example: `compute.googleapis.com/Disk`. To search against the `asset_type`: * specify the `asset_type` field in your search request.
string asset_type = 2;
getAssetTypeBytes
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setAssetType(String value)
The type of this resource. Example: `compute.googleapis.com/Disk`. To search against the `asset_type`: * specify the `asset_type` field in your search request.
string asset_type = 2;
value
- The assetType to set.public ResourceSearchResult.Builder clearAssetType()
The type of this resource. Example: `compute.googleapis.com/Disk`. To search against the `asset_type`: * specify the `asset_type` field in your search request.
string asset_type = 2;
public ResourceSearchResult.Builder setAssetTypeBytes(ByteString value)
The type of this resource. Example: `compute.googleapis.com/Disk`. To search against the `asset_type`: * specify the `asset_type` field in your search request.
string asset_type = 2;
value
- The bytes for assetType to set.public String getProject()
The project that this resource belongs to, in the form of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project. To search against `project`: * use a field query. Example: `project:12345` * use a free text query. Example: `12345` * specify the `scope` field as this project in your search request.
string project = 3;
getProject
in interface ResourceSearchResultOrBuilder
public ByteString getProjectBytes()
The project that this resource belongs to, in the form of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project. To search against `project`: * use a field query. Example: `project:12345` * use a free text query. Example: `12345` * specify the `scope` field as this project in your search request.
string project = 3;
getProjectBytes
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setProject(String value)
The project that this resource belongs to, in the form of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project. To search against `project`: * use a field query. Example: `project:12345` * use a free text query. Example: `12345` * specify the `scope` field as this project in your search request.
string project = 3;
value
- The project to set.public ResourceSearchResult.Builder clearProject()
The project that this resource belongs to, in the form of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project. To search against `project`: * use a field query. Example: `project:12345` * use a free text query. Example: `12345` * specify the `scope` field as this project in your search request.
string project = 3;
public ResourceSearchResult.Builder setProjectBytes(ByteString value)
The project that this resource belongs to, in the form of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project. To search against `project`: * use a field query. Example: `project:12345` * use a free text query. Example: `12345` * specify the `scope` field as this project in your search request.
string project = 3;
value
- The bytes for project to set.public ProtocolStringList getFoldersList()
The folder(s) that this resource belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the resource belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 17;
getFoldersList
in interface ResourceSearchResultOrBuilder
public int getFoldersCount()
The folder(s) that this resource belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the resource belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 17;
getFoldersCount
in interface ResourceSearchResultOrBuilder
public String getFolders(int index)
The folder(s) that this resource belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the resource belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 17;
getFolders
in interface ResourceSearchResultOrBuilder
index
- The index of the element to return.public ByteString getFoldersBytes(int index)
The folder(s) that this resource belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the resource belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 17;
getFoldersBytes
in interface ResourceSearchResultOrBuilder
index
- The index of the value to return.public ResourceSearchResult.Builder setFolders(int index, String value)
The folder(s) that this resource belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the resource belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 17;
index
- The index to set the value at.value
- The folders to set.public ResourceSearchResult.Builder addFolders(String value)
The folder(s) that this resource belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the resource belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 17;
value
- The folders to add.public ResourceSearchResult.Builder addAllFolders(Iterable<String> values)
The folder(s) that this resource belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the resource belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 17;
values
- The folders to add.public ResourceSearchResult.Builder clearFolders()
The folder(s) that this resource belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the resource belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 17;
public ResourceSearchResult.Builder addFoldersBytes(ByteString value)
The folder(s) that this resource belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the resource belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 17;
value
- The bytes of the folders to add.public String getOrganization()
The organization that this resource belongs to, in the form of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs to an organization. To search against `organization`: * use a field query. Example: `organization:123` * use a free text query. Example: `123` * specify the `scope` field as this organization in your search request.
string organization = 18;
getOrganization
in interface ResourceSearchResultOrBuilder
public ByteString getOrganizationBytes()
The organization that this resource belongs to, in the form of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs to an organization. To search against `organization`: * use a field query. Example: `organization:123` * use a free text query. Example: `123` * specify the `scope` field as this organization in your search request.
string organization = 18;
getOrganizationBytes
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setOrganization(String value)
The organization that this resource belongs to, in the form of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs to an organization. To search against `organization`: * use a field query. Example: `organization:123` * use a free text query. Example: `123` * specify the `scope` field as this organization in your search request.
string organization = 18;
value
- The organization to set.public ResourceSearchResult.Builder clearOrganization()
The organization that this resource belongs to, in the form of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs to an organization. To search against `organization`: * use a field query. Example: `organization:123` * use a free text query. Example: `123` * specify the `scope` field as this organization in your search request.
string organization = 18;
public ResourceSearchResult.Builder setOrganizationBytes(ByteString value)
The organization that this resource belongs to, in the form of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs to an organization. To search against `organization`: * use a field query. Example: `organization:123` * use a free text query. Example: `123` * specify the `scope` field as this organization in your search request.
string organization = 18;
value
- The bytes for organization to set.public String getDisplayName()
The display name of this resource. This field is available only when the resource's Protobuf contains it. To search against the `display_name`: * use a field query. Example: `displayName:"My Instance"` * use a free text query. Example: `"My Instance"`
string display_name = 4;
getDisplayName
in interface ResourceSearchResultOrBuilder
public ByteString getDisplayNameBytes()
The display name of this resource. This field is available only when the resource's Protobuf contains it. To search against the `display_name`: * use a field query. Example: `displayName:"My Instance"` * use a free text query. Example: `"My Instance"`
string display_name = 4;
getDisplayNameBytes
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setDisplayName(String value)
The display name of this resource. This field is available only when the resource's Protobuf contains it. To search against the `display_name`: * use a field query. Example: `displayName:"My Instance"` * use a free text query. Example: `"My Instance"`
string display_name = 4;
value
- The displayName to set.public ResourceSearchResult.Builder clearDisplayName()
The display name of this resource. This field is available only when the resource's Protobuf contains it. To search against the `display_name`: * use a field query. Example: `displayName:"My Instance"` * use a free text query. Example: `"My Instance"`
string display_name = 4;
public ResourceSearchResult.Builder setDisplayNameBytes(ByteString value)
The display name of this resource. This field is available only when the resource's Protobuf contains it. To search against the `display_name`: * use a field query. Example: `displayName:"My Instance"` * use a free text query. Example: `"My Instance"`
string display_name = 4;
value
- The bytes for displayName to set.public String getDescription()
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes. This field is available only when the resource's Protobuf contains it. To search against the `description`: * use a field query. Example: `description:"important instance"` * use a free text query. Example: `"important instance"`
string description = 5;
getDescription
in interface ResourceSearchResultOrBuilder
public ByteString getDescriptionBytes()
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes. This field is available only when the resource's Protobuf contains it. To search against the `description`: * use a field query. Example: `description:"important instance"` * use a free text query. Example: `"important instance"`
string description = 5;
getDescriptionBytes
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setDescription(String value)
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes. This field is available only when the resource's Protobuf contains it. To search against the `description`: * use a field query. Example: `description:"important instance"` * use a free text query. Example: `"important instance"`
string description = 5;
value
- The description to set.public ResourceSearchResult.Builder clearDescription()
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes. This field is available only when the resource's Protobuf contains it. To search against the `description`: * use a field query. Example: `description:"important instance"` * use a free text query. Example: `"important instance"`
string description = 5;
public ResourceSearchResult.Builder setDescriptionBytes(ByteString value)
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes. This field is available only when the resource's Protobuf contains it. To search against the `description`: * use a field query. Example: `description:"important instance"` * use a free text query. Example: `"important instance"`
string description = 5;
value
- The bytes for description to set.public String getLocation()
Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`. This field is available only when the resource's Protobuf contains it. To search against the `location`: * use a field query. Example: `location:us-west*` * use a free text query. Example: `us-west*`
string location = 6;
getLocation
in interface ResourceSearchResultOrBuilder
public ByteString getLocationBytes()
Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`. This field is available only when the resource's Protobuf contains it. To search against the `location`: * use a field query. Example: `location:us-west*` * use a free text query. Example: `us-west*`
string location = 6;
getLocationBytes
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setLocation(String value)
Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`. This field is available only when the resource's Protobuf contains it. To search against the `location`: * use a field query. Example: `location:us-west*` * use a free text query. Example: `us-west*`
string location = 6;
value
- The location to set.public ResourceSearchResult.Builder clearLocation()
Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`. This field is available only when the resource's Protobuf contains it. To search against the `location`: * use a field query. Example: `location:us-west*` * use a free text query. Example: `us-west*`
string location = 6;
public ResourceSearchResult.Builder setLocationBytes(ByteString value)
Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`. This field is available only when the resource's Protobuf contains it. To search against the `location`: * use a field query. Example: `location:us-west*` * use a free text query. Example: `us-west*`
string location = 6;
value
- The bytes for location to set.public int getLabelsCount()
ResourceSearchResultOrBuilder
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `labels`: * use a field query: - query on any label's key or value. Example: `labels:prod` - query by a given label. Example: `labels.env:prod` - query by a given label's existence. Example: `labels.env:*` * use a free text query. Example: `prod`
map<string, string> labels = 7;
getLabelsCount
in interface ResourceSearchResultOrBuilder
public boolean containsLabels(String key)
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `labels`: * use a field query: - query on any label's key or value. Example: `labels:prod` - query by a given label. Example: `labels.env:prod` - query by a given label's existence. Example: `labels.env:*` * use a free text query. Example: `prod`
map<string, string> labels = 7;
containsLabels
in interface ResourceSearchResultOrBuilder
@Deprecated public Map<String,String> getLabels()
getLabelsMap()
instead.getLabels
in interface ResourceSearchResultOrBuilder
public Map<String,String> getLabelsMap()
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `labels`: * use a field query: - query on any label's key or value. Example: `labels:prod` - query by a given label. Example: `labels.env:prod` - query by a given label's existence. Example: `labels.env:*` * use a free text query. Example: `prod`
map<string, string> labels = 7;
getLabelsMap
in interface ResourceSearchResultOrBuilder
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `labels`: * use a field query: - query on any label's key or value. Example: `labels:prod` - query by a given label. Example: `labels.env:prod` - query by a given label's existence. Example: `labels.env:*` * use a free text query. Example: `prod`
map<string, string> labels = 7;
getLabelsOrDefault
in interface ResourceSearchResultOrBuilder
public String getLabelsOrThrow(String key)
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `labels`: * use a field query: - query on any label's key or value. Example: `labels:prod` - query by a given label. Example: `labels.env:prod` - query by a given label's existence. Example: `labels.env:*` * use a free text query. Example: `prod`
map<string, string> labels = 7;
getLabelsOrThrow
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder clearLabels()
public ResourceSearchResult.Builder removeLabels(String key)
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `labels`: * use a field query: - query on any label's key or value. Example: `labels:prod` - query by a given label. Example: `labels.env:prod` - query by a given label's existence. Example: `labels.env:*` * use a free text query. Example: `prod`
map<string, string> labels = 7;
@Deprecated public Map<String,String> getMutableLabels()
public ResourceSearchResult.Builder putLabels(String key, String value)
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `labels`: * use a field query: - query on any label's key or value. Example: `labels:prod` - query by a given label. Example: `labels.env:prod` - query by a given label's existence. Example: `labels.env:*` * use a free text query. Example: `prod`
map<string, string> labels = 7;
public ResourceSearchResult.Builder putAllLabels(Map<String,String> values)
Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `labels`: * use a field query: - query on any label's key or value. Example: `labels:prod` - query by a given label. Example: `labels.env:prod` - query by a given label's existence. Example: `labels.env:*` * use a free text query. Example: `prod`
map<string, string> labels = 7;
public ProtocolStringList getNetworkTagsList()
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `network_tags`: * use a field query. Example: `networkTags:internal` * use a free text query. Example: `internal`
repeated string network_tags = 8;
getNetworkTagsList
in interface ResourceSearchResultOrBuilder
public int getNetworkTagsCount()
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `network_tags`: * use a field query. Example: `networkTags:internal` * use a free text query. Example: `internal`
repeated string network_tags = 8;
getNetworkTagsCount
in interface ResourceSearchResultOrBuilder
public String getNetworkTags(int index)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `network_tags`: * use a field query. Example: `networkTags:internal` * use a free text query. Example: `internal`
repeated string network_tags = 8;
getNetworkTags
in interface ResourceSearchResultOrBuilder
index
- The index of the element to return.public ByteString getNetworkTagsBytes(int index)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `network_tags`: * use a field query. Example: `networkTags:internal` * use a free text query. Example: `internal`
repeated string network_tags = 8;
getNetworkTagsBytes
in interface ResourceSearchResultOrBuilder
index
- The index of the value to return.public ResourceSearchResult.Builder setNetworkTags(int index, String value)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `network_tags`: * use a field query. Example: `networkTags:internal` * use a free text query. Example: `internal`
repeated string network_tags = 8;
index
- The index to set the value at.value
- The networkTags to set.public ResourceSearchResult.Builder addNetworkTags(String value)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `network_tags`: * use a field query. Example: `networkTags:internal` * use a free text query. Example: `internal`
repeated string network_tags = 8;
value
- The networkTags to add.public ResourceSearchResult.Builder addAllNetworkTags(Iterable<String> values)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `network_tags`: * use a field query. Example: `networkTags:internal` * use a free text query. Example: `internal`
repeated string network_tags = 8;
values
- The networkTags to add.public ResourceSearchResult.Builder clearNetworkTags()
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `network_tags`: * use a field query. Example: `networkTags:internal` * use a free text query. Example: `internal`
repeated string network_tags = 8;
public ResourceSearchResult.Builder addNetworkTagsBytes(ByteString value)
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `network_tags`: * use a field query. Example: `networkTags:internal` * use a free text query. Example: `internal`
repeated string network_tags = 8;
value
- The bytes of the networkTags to add.public String getKmsKey()
The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) name or [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) name. This field is available only when the resource's Protobuf contains it. To search against the `kms_key`: * use a field query. Example: `kmsKey:key` * use a free text query. Example: `key`
string kms_key = 10;
getKmsKey
in interface ResourceSearchResultOrBuilder
public ByteString getKmsKeyBytes()
The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) name or [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) name. This field is available only when the resource's Protobuf contains it. To search against the `kms_key`: * use a field query. Example: `kmsKey:key` * use a free text query. Example: `key`
string kms_key = 10;
getKmsKeyBytes
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setKmsKey(String value)
The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) name or [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) name. This field is available only when the resource's Protobuf contains it. To search against the `kms_key`: * use a field query. Example: `kmsKey:key` * use a free text query. Example: `key`
string kms_key = 10;
value
- The kmsKey to set.public ResourceSearchResult.Builder clearKmsKey()
The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) name or [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) name. This field is available only when the resource's Protobuf contains it. To search against the `kms_key`: * use a field query. Example: `kmsKey:key` * use a free text query. Example: `key`
string kms_key = 10;
public ResourceSearchResult.Builder setKmsKeyBytes(ByteString value)
The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) name or [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) name. This field is available only when the resource's Protobuf contains it. To search against the `kms_key`: * use a field query. Example: `kmsKey:key` * use a free text query. Example: `key`
string kms_key = 10;
value
- The bytes for kmsKey to set.public boolean hasCreateTime()
The create timestamp of this resource, at which the resource was created. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `create_time`: * use a field query. - value in seconds since unix epoch. Example: `createTime > 1609459200` - value in date string. Example: `createTime > 2021-01-01` - value in date-time string (must be quoted). Example: `createTime > "2021-01-01T00:00:00"`
.google.protobuf.Timestamp create_time = 11;
hasCreateTime
in interface ResourceSearchResultOrBuilder
public Timestamp getCreateTime()
The create timestamp of this resource, at which the resource was created. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `create_time`: * use a field query. - value in seconds since unix epoch. Example: `createTime > 1609459200` - value in date string. Example: `createTime > 2021-01-01` - value in date-time string (must be quoted). Example: `createTime > "2021-01-01T00:00:00"`
.google.protobuf.Timestamp create_time = 11;
getCreateTime
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setCreateTime(Timestamp value)
The create timestamp of this resource, at which the resource was created. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `create_time`: * use a field query. - value in seconds since unix epoch. Example: `createTime > 1609459200` - value in date string. Example: `createTime > 2021-01-01` - value in date-time string (must be quoted). Example: `createTime > "2021-01-01T00:00:00"`
.google.protobuf.Timestamp create_time = 11;
public ResourceSearchResult.Builder setCreateTime(Timestamp.Builder builderForValue)
The create timestamp of this resource, at which the resource was created. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `create_time`: * use a field query. - value in seconds since unix epoch. Example: `createTime > 1609459200` - value in date string. Example: `createTime > 2021-01-01` - value in date-time string (must be quoted). Example: `createTime > "2021-01-01T00:00:00"`
.google.protobuf.Timestamp create_time = 11;
public ResourceSearchResult.Builder mergeCreateTime(Timestamp value)
The create timestamp of this resource, at which the resource was created. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `create_time`: * use a field query. - value in seconds since unix epoch. Example: `createTime > 1609459200` - value in date string. Example: `createTime > 2021-01-01` - value in date-time string (must be quoted). Example: `createTime > "2021-01-01T00:00:00"`
.google.protobuf.Timestamp create_time = 11;
public ResourceSearchResult.Builder clearCreateTime()
The create timestamp of this resource, at which the resource was created. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `create_time`: * use a field query. - value in seconds since unix epoch. Example: `createTime > 1609459200` - value in date string. Example: `createTime > 2021-01-01` - value in date-time string (must be quoted). Example: `createTime > "2021-01-01T00:00:00"`
.google.protobuf.Timestamp create_time = 11;
public Timestamp.Builder getCreateTimeBuilder()
The create timestamp of this resource, at which the resource was created. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `create_time`: * use a field query. - value in seconds since unix epoch. Example: `createTime > 1609459200` - value in date string. Example: `createTime > 2021-01-01` - value in date-time string (must be quoted). Example: `createTime > "2021-01-01T00:00:00"`
.google.protobuf.Timestamp create_time = 11;
public TimestampOrBuilder getCreateTimeOrBuilder()
The create timestamp of this resource, at which the resource was created. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `create_time`: * use a field query. - value in seconds since unix epoch. Example: `createTime > 1609459200` - value in date string. Example: `createTime > 2021-01-01` - value in date-time string (must be quoted). Example: `createTime > "2021-01-01T00:00:00"`
.google.protobuf.Timestamp create_time = 11;
getCreateTimeOrBuilder
in interface ResourceSearchResultOrBuilder
public boolean hasUpdateTime()
The last update timestamp of this resource, at which the resource was last modified or deleted. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `update_time`: * use a field query. - value in seconds since unix epoch. Example: `updateTime < 1609459200` - value in date string. Example: `updateTime < 2021-01-01` - value in date-time string (must be quoted). Example: `updateTime < "2021-01-01T00:00:00"`
.google.protobuf.Timestamp update_time = 12;
hasUpdateTime
in interface ResourceSearchResultOrBuilder
public Timestamp getUpdateTime()
The last update timestamp of this resource, at which the resource was last modified or deleted. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `update_time`: * use a field query. - value in seconds since unix epoch. Example: `updateTime < 1609459200` - value in date string. Example: `updateTime < 2021-01-01` - value in date-time string (must be quoted). Example: `updateTime < "2021-01-01T00:00:00"`
.google.protobuf.Timestamp update_time = 12;
getUpdateTime
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setUpdateTime(Timestamp value)
The last update timestamp of this resource, at which the resource was last modified or deleted. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `update_time`: * use a field query. - value in seconds since unix epoch. Example: `updateTime < 1609459200` - value in date string. Example: `updateTime < 2021-01-01` - value in date-time string (must be quoted). Example: `updateTime < "2021-01-01T00:00:00"`
.google.protobuf.Timestamp update_time = 12;
public ResourceSearchResult.Builder setUpdateTime(Timestamp.Builder builderForValue)
The last update timestamp of this resource, at which the resource was last modified or deleted. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `update_time`: * use a field query. - value in seconds since unix epoch. Example: `updateTime < 1609459200` - value in date string. Example: `updateTime < 2021-01-01` - value in date-time string (must be quoted). Example: `updateTime < "2021-01-01T00:00:00"`
.google.protobuf.Timestamp update_time = 12;
public ResourceSearchResult.Builder mergeUpdateTime(Timestamp value)
The last update timestamp of this resource, at which the resource was last modified or deleted. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `update_time`: * use a field query. - value in seconds since unix epoch. Example: `updateTime < 1609459200` - value in date string. Example: `updateTime < 2021-01-01` - value in date-time string (must be quoted). Example: `updateTime < "2021-01-01T00:00:00"`
.google.protobuf.Timestamp update_time = 12;
public ResourceSearchResult.Builder clearUpdateTime()
The last update timestamp of this resource, at which the resource was last modified or deleted. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `update_time`: * use a field query. - value in seconds since unix epoch. Example: `updateTime < 1609459200` - value in date string. Example: `updateTime < 2021-01-01` - value in date-time string (must be quoted). Example: `updateTime < "2021-01-01T00:00:00"`
.google.protobuf.Timestamp update_time = 12;
public Timestamp.Builder getUpdateTimeBuilder()
The last update timestamp of this resource, at which the resource was last modified or deleted. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `update_time`: * use a field query. - value in seconds since unix epoch. Example: `updateTime < 1609459200` - value in date string. Example: `updateTime < 2021-01-01` - value in date-time string (must be quoted). Example: `updateTime < "2021-01-01T00:00:00"`
.google.protobuf.Timestamp update_time = 12;
public TimestampOrBuilder getUpdateTimeOrBuilder()
The last update timestamp of this resource, at which the resource was last modified or deleted. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `update_time`: * use a field query. - value in seconds since unix epoch. Example: `updateTime < 1609459200` - value in date string. Example: `updateTime < 2021-01-01` - value in date-time string (must be quoted). Example: `updateTime < "2021-01-01T00:00:00"`
.google.protobuf.Timestamp update_time = 12;
getUpdateTimeOrBuilder
in interface ResourceSearchResultOrBuilder
public String getState()
The state of this resource. Different resources types have different state definitions that are mapped from various fields of different resource types. This field is available only when the resource's Protobuf contains it. Example: If the resource is an instance provided by Compute Engine, its state will include PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition in [API Reference](https://cloud.google.com/compute/docs/reference/rest/v1/instances). If the resource is a project provided by Cloud Resource Manager, its state will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and DELETE_IN_PROGRESS. See `lifecycleState` definition in [API Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects). To search against the `state`: * use a field query. Example: `state:RUNNING` * use a free text query. Example: `RUNNING`
string state = 13;
getState
in interface ResourceSearchResultOrBuilder
public ByteString getStateBytes()
The state of this resource. Different resources types have different state definitions that are mapped from various fields of different resource types. This field is available only when the resource's Protobuf contains it. Example: If the resource is an instance provided by Compute Engine, its state will include PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition in [API Reference](https://cloud.google.com/compute/docs/reference/rest/v1/instances). If the resource is a project provided by Cloud Resource Manager, its state will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and DELETE_IN_PROGRESS. See `lifecycleState` definition in [API Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects). To search against the `state`: * use a field query. Example: `state:RUNNING` * use a free text query. Example: `RUNNING`
string state = 13;
getStateBytes
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setState(String value)
The state of this resource. Different resources types have different state definitions that are mapped from various fields of different resource types. This field is available only when the resource's Protobuf contains it. Example: If the resource is an instance provided by Compute Engine, its state will include PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition in [API Reference](https://cloud.google.com/compute/docs/reference/rest/v1/instances). If the resource is a project provided by Cloud Resource Manager, its state will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and DELETE_IN_PROGRESS. See `lifecycleState` definition in [API Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects). To search against the `state`: * use a field query. Example: `state:RUNNING` * use a free text query. Example: `RUNNING`
string state = 13;
value
- The state to set.public ResourceSearchResult.Builder clearState()
The state of this resource. Different resources types have different state definitions that are mapped from various fields of different resource types. This field is available only when the resource's Protobuf contains it. Example: If the resource is an instance provided by Compute Engine, its state will include PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition in [API Reference](https://cloud.google.com/compute/docs/reference/rest/v1/instances). If the resource is a project provided by Cloud Resource Manager, its state will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and DELETE_IN_PROGRESS. See `lifecycleState` definition in [API Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects). To search against the `state`: * use a field query. Example: `state:RUNNING` * use a free text query. Example: `RUNNING`
string state = 13;
public ResourceSearchResult.Builder setStateBytes(ByteString value)
The state of this resource. Different resources types have different state definitions that are mapped from various fields of different resource types. This field is available only when the resource's Protobuf contains it. Example: If the resource is an instance provided by Compute Engine, its state will include PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition in [API Reference](https://cloud.google.com/compute/docs/reference/rest/v1/instances). If the resource is a project provided by Cloud Resource Manager, its state will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and DELETE_IN_PROGRESS. See `lifecycleState` definition in [API Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects). To search against the `state`: * use a field query. Example: `state:RUNNING` * use a free text query. Example: `RUNNING`
string state = 13;
value
- The bytes for state to set.public boolean hasAdditionalAttributes()
The additional searchable attributes of this resource. The attributes may vary from one resource type to another. Examples: `projectId` for Project, `dnsName` for DNS ManagedZone. This field contains a subset of the resource metadata fields that are returned by the List or Get APIs provided by the corresponding GCP service (e.g., Compute Engine). see [API references and supported searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) to see which fields are included. You can search values of these fields through free text search. However, you should not consume the field programically as the field names and values may change as the GCP service updates to a new incompatible API version. To search against the `additional_attributes`: * use a free text query to match the attributes values. Example: to search `additional_attributes = { dnsName: "foobar" }`, you can issue a query `foobar`.
.google.protobuf.Struct additional_attributes = 9;
hasAdditionalAttributes
in interface ResourceSearchResultOrBuilder
public Struct getAdditionalAttributes()
The additional searchable attributes of this resource. The attributes may vary from one resource type to another. Examples: `projectId` for Project, `dnsName` for DNS ManagedZone. This field contains a subset of the resource metadata fields that are returned by the List or Get APIs provided by the corresponding GCP service (e.g., Compute Engine). see [API references and supported searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) to see which fields are included. You can search values of these fields through free text search. However, you should not consume the field programically as the field names and values may change as the GCP service updates to a new incompatible API version. To search against the `additional_attributes`: * use a free text query to match the attributes values. Example: to search `additional_attributes = { dnsName: "foobar" }`, you can issue a query `foobar`.
.google.protobuf.Struct additional_attributes = 9;
getAdditionalAttributes
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setAdditionalAttributes(Struct value)
The additional searchable attributes of this resource. The attributes may vary from one resource type to another. Examples: `projectId` for Project, `dnsName` for DNS ManagedZone. This field contains a subset of the resource metadata fields that are returned by the List or Get APIs provided by the corresponding GCP service (e.g., Compute Engine). see [API references and supported searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) to see which fields are included. You can search values of these fields through free text search. However, you should not consume the field programically as the field names and values may change as the GCP service updates to a new incompatible API version. To search against the `additional_attributes`: * use a free text query to match the attributes values. Example: to search `additional_attributes = { dnsName: "foobar" }`, you can issue a query `foobar`.
.google.protobuf.Struct additional_attributes = 9;
public ResourceSearchResult.Builder setAdditionalAttributes(Struct.Builder builderForValue)
The additional searchable attributes of this resource. The attributes may vary from one resource type to another. Examples: `projectId` for Project, `dnsName` for DNS ManagedZone. This field contains a subset of the resource metadata fields that are returned by the List or Get APIs provided by the corresponding GCP service (e.g., Compute Engine). see [API references and supported searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) to see which fields are included. You can search values of these fields through free text search. However, you should not consume the field programically as the field names and values may change as the GCP service updates to a new incompatible API version. To search against the `additional_attributes`: * use a free text query to match the attributes values. Example: to search `additional_attributes = { dnsName: "foobar" }`, you can issue a query `foobar`.
.google.protobuf.Struct additional_attributes = 9;
public ResourceSearchResult.Builder mergeAdditionalAttributes(Struct value)
The additional searchable attributes of this resource. The attributes may vary from one resource type to another. Examples: `projectId` for Project, `dnsName` for DNS ManagedZone. This field contains a subset of the resource metadata fields that are returned by the List or Get APIs provided by the corresponding GCP service (e.g., Compute Engine). see [API references and supported searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) to see which fields are included. You can search values of these fields through free text search. However, you should not consume the field programically as the field names and values may change as the GCP service updates to a new incompatible API version. To search against the `additional_attributes`: * use a free text query to match the attributes values. Example: to search `additional_attributes = { dnsName: "foobar" }`, you can issue a query `foobar`.
.google.protobuf.Struct additional_attributes = 9;
public ResourceSearchResult.Builder clearAdditionalAttributes()
The additional searchable attributes of this resource. The attributes may vary from one resource type to another. Examples: `projectId` for Project, `dnsName` for DNS ManagedZone. This field contains a subset of the resource metadata fields that are returned by the List or Get APIs provided by the corresponding GCP service (e.g., Compute Engine). see [API references and supported searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) to see which fields are included. You can search values of these fields through free text search. However, you should not consume the field programically as the field names and values may change as the GCP service updates to a new incompatible API version. To search against the `additional_attributes`: * use a free text query to match the attributes values. Example: to search `additional_attributes = { dnsName: "foobar" }`, you can issue a query `foobar`.
.google.protobuf.Struct additional_attributes = 9;
public Struct.Builder getAdditionalAttributesBuilder()
The additional searchable attributes of this resource. The attributes may vary from one resource type to another. Examples: `projectId` for Project, `dnsName` for DNS ManagedZone. This field contains a subset of the resource metadata fields that are returned by the List or Get APIs provided by the corresponding GCP service (e.g., Compute Engine). see [API references and supported searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) to see which fields are included. You can search values of these fields through free text search. However, you should not consume the field programically as the field names and values may change as the GCP service updates to a new incompatible API version. To search against the `additional_attributes`: * use a free text query to match the attributes values. Example: to search `additional_attributes = { dnsName: "foobar" }`, you can issue a query `foobar`.
.google.protobuf.Struct additional_attributes = 9;
public StructOrBuilder getAdditionalAttributesOrBuilder()
The additional searchable attributes of this resource. The attributes may vary from one resource type to another. Examples: `projectId` for Project, `dnsName` for DNS ManagedZone. This field contains a subset of the resource metadata fields that are returned by the List or Get APIs provided by the corresponding GCP service (e.g., Compute Engine). see [API references and supported searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) to see which fields are included. You can search values of these fields through free text search. However, you should not consume the field programically as the field names and values may change as the GCP service updates to a new incompatible API version. To search against the `additional_attributes`: * use a free text query to match the attributes values. Example: to search `additional_attributes = { dnsName: "foobar" }`, you can issue a query `foobar`.
.google.protobuf.Struct additional_attributes = 9;
getAdditionalAttributesOrBuilder
in interface ResourceSearchResultOrBuilder
public String getParentFullResourceName()
The full resource name of this resource's parent, if it has one. To search against the `parent_full_resource_name`: * use a field query. Example: `parentFullResourceName:"project-name"` * use a free text query. Example: `project-name`
string parent_full_resource_name = 19;
getParentFullResourceName
in interface ResourceSearchResultOrBuilder
public ByteString getParentFullResourceNameBytes()
The full resource name of this resource's parent, if it has one. To search against the `parent_full_resource_name`: * use a field query. Example: `parentFullResourceName:"project-name"` * use a free text query. Example: `project-name`
string parent_full_resource_name = 19;
getParentFullResourceNameBytes
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setParentFullResourceName(String value)
The full resource name of this resource's parent, if it has one. To search against the `parent_full_resource_name`: * use a field query. Example: `parentFullResourceName:"project-name"` * use a free text query. Example: `project-name`
string parent_full_resource_name = 19;
value
- The parentFullResourceName to set.public ResourceSearchResult.Builder clearParentFullResourceName()
The full resource name of this resource's parent, if it has one. To search against the `parent_full_resource_name`: * use a field query. Example: `parentFullResourceName:"project-name"` * use a free text query. Example: `project-name`
string parent_full_resource_name = 19;
public ResourceSearchResult.Builder setParentFullResourceNameBytes(ByteString value)
The full resource name of this resource's parent, if it has one. To search against the `parent_full_resource_name`: * use a field query. Example: `parentFullResourceName:"project-name"` * use a free text query. Example: `project-name`
string parent_full_resource_name = 19;
value
- The bytes for parentFullResourceName to set.public List<VersionedResource> getVersionedResourcesList()
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
getVersionedResourcesList
in interface ResourceSearchResultOrBuilder
public int getVersionedResourcesCount()
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
getVersionedResourcesCount
in interface ResourceSearchResultOrBuilder
public VersionedResource getVersionedResources(int index)
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
getVersionedResources
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setVersionedResources(int index, VersionedResource value)
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
public ResourceSearchResult.Builder setVersionedResources(int index, VersionedResource.Builder builderForValue)
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
public ResourceSearchResult.Builder addVersionedResources(VersionedResource value)
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
public ResourceSearchResult.Builder addVersionedResources(int index, VersionedResource value)
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
public ResourceSearchResult.Builder addVersionedResources(VersionedResource.Builder builderForValue)
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
public ResourceSearchResult.Builder addVersionedResources(int index, VersionedResource.Builder builderForValue)
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
public ResourceSearchResult.Builder addAllVersionedResources(Iterable<? extends VersionedResource> values)
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
public ResourceSearchResult.Builder clearVersionedResources()
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
public ResourceSearchResult.Builder removeVersionedResources(int index)
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
public VersionedResource.Builder getVersionedResourcesBuilder(int index)
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
public VersionedResourceOrBuilder getVersionedResourcesOrBuilder(int index)
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
getVersionedResourcesOrBuilder
in interface ResourceSearchResultOrBuilder
public List<? extends VersionedResourceOrBuilder> getVersionedResourcesOrBuilderList()
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
getVersionedResourcesOrBuilderList
in interface ResourceSearchResultOrBuilder
public VersionedResource.Builder addVersionedResourcesBuilder()
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
public VersionedResource.Builder addVersionedResourcesBuilder(int index)
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
public List<VersionedResource.Builder> getVersionedResourcesBuilderList()
Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
public List<AttachedResource> getAttachedResourcesList()
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
getAttachedResourcesList
in interface ResourceSearchResultOrBuilder
public int getAttachedResourcesCount()
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
getAttachedResourcesCount
in interface ResourceSearchResultOrBuilder
public AttachedResource getAttachedResources(int index)
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
getAttachedResources
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setAttachedResources(int index, AttachedResource value)
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
public ResourceSearchResult.Builder setAttachedResources(int index, AttachedResource.Builder builderForValue)
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
public ResourceSearchResult.Builder addAttachedResources(AttachedResource value)
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
public ResourceSearchResult.Builder addAttachedResources(int index, AttachedResource value)
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
public ResourceSearchResult.Builder addAttachedResources(AttachedResource.Builder builderForValue)
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
public ResourceSearchResult.Builder addAttachedResources(int index, AttachedResource.Builder builderForValue)
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
public ResourceSearchResult.Builder addAllAttachedResources(Iterable<? extends AttachedResource> values)
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
public ResourceSearchResult.Builder clearAttachedResources()
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
public ResourceSearchResult.Builder removeAttachedResources(int index)
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
public AttachedResource.Builder getAttachedResourcesBuilder(int index)
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
public AttachedResourceOrBuilder getAttachedResourcesOrBuilder(int index)
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
getAttachedResourcesOrBuilder
in interface ResourceSearchResultOrBuilder
public List<? extends AttachedResourceOrBuilder> getAttachedResourcesOrBuilderList()
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
getAttachedResourcesOrBuilderList
in interface ResourceSearchResultOrBuilder
public AttachedResource.Builder addAttachedResourcesBuilder()
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
public AttachedResource.Builder addAttachedResourcesBuilder(int index)
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
public List<AttachedResource.Builder> getAttachedResourcesBuilderList()
Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.
repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
public int getRelationshipsCount()
ResourceSearchResultOrBuilder
A map of related resources of this resource, keyed by the relationship type. A relationship type is in the format of {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`, `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`. See [supported relationship types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types).
map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
getRelationshipsCount
in interface ResourceSearchResultOrBuilder
public boolean containsRelationships(String key)
A map of related resources of this resource, keyed by the relationship type. A relationship type is in the format of {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`, `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`. See [supported relationship types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types).
map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
containsRelationships
in interface ResourceSearchResultOrBuilder
@Deprecated public Map<String,RelatedResources> getRelationships()
getRelationshipsMap()
instead.getRelationships
in interface ResourceSearchResultOrBuilder
public Map<String,RelatedResources> getRelationshipsMap()
A map of related resources of this resource, keyed by the relationship type. A relationship type is in the format of {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`, `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`. See [supported relationship types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types).
map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
getRelationshipsMap
in interface ResourceSearchResultOrBuilder
public RelatedResources getRelationshipsOrDefault(String key, RelatedResources defaultValue)
A map of related resources of this resource, keyed by the relationship type. A relationship type is in the format of {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`, `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`. See [supported relationship types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types).
map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
getRelationshipsOrDefault
in interface ResourceSearchResultOrBuilder
public RelatedResources getRelationshipsOrThrow(String key)
A map of related resources of this resource, keyed by the relationship type. A relationship type is in the format of {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`, `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`. See [supported relationship types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types).
map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
getRelationshipsOrThrow
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder clearRelationships()
public ResourceSearchResult.Builder removeRelationships(String key)
A map of related resources of this resource, keyed by the relationship type. A relationship type is in the format of {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`, `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`. See [supported relationship types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types).
map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
@Deprecated public Map<String,RelatedResources> getMutableRelationships()
public ResourceSearchResult.Builder putRelationships(String key, RelatedResources value)
A map of related resources of this resource, keyed by the relationship type. A relationship type is in the format of {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`, `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`. See [supported relationship types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types).
map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
public ResourceSearchResult.Builder putAllRelationships(Map<String,RelatedResources> values)
A map of related resources of this resource, keyed by the relationship type. A relationship type is in the format of {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`, `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`. See [supported relationship types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types).
map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
public ProtocolStringList getTagKeysList()
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. To search against the `tagKeys`: * use a field query. Example: - `tagKeys:"123456789/env*"` - `tagKeys="123456789/env"` - `tagKeys:"env"` * use a free text query. Example: - `env`
repeated string tag_keys = 23;
getTagKeysList
in interface ResourceSearchResultOrBuilder
public int getTagKeysCount()
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. To search against the `tagKeys`: * use a field query. Example: - `tagKeys:"123456789/env*"` - `tagKeys="123456789/env"` - `tagKeys:"env"` * use a free text query. Example: - `env`
repeated string tag_keys = 23;
getTagKeysCount
in interface ResourceSearchResultOrBuilder
public String getTagKeys(int index)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. To search against the `tagKeys`: * use a field query. Example: - `tagKeys:"123456789/env*"` - `tagKeys="123456789/env"` - `tagKeys:"env"` * use a free text query. Example: - `env`
repeated string tag_keys = 23;
getTagKeys
in interface ResourceSearchResultOrBuilder
index
- The index of the element to return.public ByteString getTagKeysBytes(int index)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. To search against the `tagKeys`: * use a field query. Example: - `tagKeys:"123456789/env*"` - `tagKeys="123456789/env"` - `tagKeys:"env"` * use a free text query. Example: - `env`
repeated string tag_keys = 23;
getTagKeysBytes
in interface ResourceSearchResultOrBuilder
index
- The index of the value to return.public ResourceSearchResult.Builder setTagKeys(int index, String value)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. To search against the `tagKeys`: * use a field query. Example: - `tagKeys:"123456789/env*"` - `tagKeys="123456789/env"` - `tagKeys:"env"` * use a free text query. Example: - `env`
repeated string tag_keys = 23;
index
- The index to set the value at.value
- The tagKeys to set.public ResourceSearchResult.Builder addTagKeys(String value)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. To search against the `tagKeys`: * use a field query. Example: - `tagKeys:"123456789/env*"` - `tagKeys="123456789/env"` - `tagKeys:"env"` * use a free text query. Example: - `env`
repeated string tag_keys = 23;
value
- The tagKeys to add.public ResourceSearchResult.Builder addAllTagKeys(Iterable<String> values)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. To search against the `tagKeys`: * use a field query. Example: - `tagKeys:"123456789/env*"` - `tagKeys="123456789/env"` - `tagKeys:"env"` * use a free text query. Example: - `env`
repeated string tag_keys = 23;
values
- The tagKeys to add.public ResourceSearchResult.Builder clearTagKeys()
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. To search against the `tagKeys`: * use a field query. Example: - `tagKeys:"123456789/env*"` - `tagKeys="123456789/env"` - `tagKeys:"env"` * use a free text query. Example: - `env`
repeated string tag_keys = 23;
public ResourceSearchResult.Builder addTagKeysBytes(ByteString value)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. To search against the `tagKeys`: * use a field query. Example: - `tagKeys:"123456789/env*"` - `tagKeys="123456789/env"` - `tagKeys:"env"` * use a free text query. Example: - `env`
repeated string tag_keys = 23;
value
- The bytes of the tagKeys to add.public ProtocolStringList getTagValuesList()
TagValue namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. To search against the `tagValues`: * use a field query. Example: - `tagValues:"env"` - `tagValues:"env/prod"` - `tagValues:"123456789/env/prod*"` - `tagValues="123456789/env/prod"` * use a free text query. Example: - `prod`
repeated string tag_values = 25;
getTagValuesList
in interface ResourceSearchResultOrBuilder
public int getTagValuesCount()
TagValue namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. To search against the `tagValues`: * use a field query. Example: - `tagValues:"env"` - `tagValues:"env/prod"` - `tagValues:"123456789/env/prod*"` - `tagValues="123456789/env/prod"` * use a free text query. Example: - `prod`
repeated string tag_values = 25;
getTagValuesCount
in interface ResourceSearchResultOrBuilder
public String getTagValues(int index)
TagValue namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. To search against the `tagValues`: * use a field query. Example: - `tagValues:"env"` - `tagValues:"env/prod"` - `tagValues:"123456789/env/prod*"` - `tagValues="123456789/env/prod"` * use a free text query. Example: - `prod`
repeated string tag_values = 25;
getTagValues
in interface ResourceSearchResultOrBuilder
index
- The index of the element to return.public ByteString getTagValuesBytes(int index)
TagValue namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. To search against the `tagValues`: * use a field query. Example: - `tagValues:"env"` - `tagValues:"env/prod"` - `tagValues:"123456789/env/prod*"` - `tagValues="123456789/env/prod"` * use a free text query. Example: - `prod`
repeated string tag_values = 25;
getTagValuesBytes
in interface ResourceSearchResultOrBuilder
index
- The index of the value to return.public ResourceSearchResult.Builder setTagValues(int index, String value)
TagValue namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. To search against the `tagValues`: * use a field query. Example: - `tagValues:"env"` - `tagValues:"env/prod"` - `tagValues:"123456789/env/prod*"` - `tagValues="123456789/env/prod"` * use a free text query. Example: - `prod`
repeated string tag_values = 25;
index
- The index to set the value at.value
- The tagValues to set.public ResourceSearchResult.Builder addTagValues(String value)
TagValue namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. To search against the `tagValues`: * use a field query. Example: - `tagValues:"env"` - `tagValues:"env/prod"` - `tagValues:"123456789/env/prod*"` - `tagValues="123456789/env/prod"` * use a free text query. Example: - `prod`
repeated string tag_values = 25;
value
- The tagValues to add.public ResourceSearchResult.Builder addAllTagValues(Iterable<String> values)
TagValue namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. To search against the `tagValues`: * use a field query. Example: - `tagValues:"env"` - `tagValues:"env/prod"` - `tagValues:"123456789/env/prod*"` - `tagValues="123456789/env/prod"` * use a free text query. Example: - `prod`
repeated string tag_values = 25;
values
- The tagValues to add.public ResourceSearchResult.Builder clearTagValues()
TagValue namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. To search against the `tagValues`: * use a field query. Example: - `tagValues:"env"` - `tagValues:"env/prod"` - `tagValues:"123456789/env/prod*"` - `tagValues="123456789/env/prod"` * use a free text query. Example: - `prod`
repeated string tag_values = 25;
public ResourceSearchResult.Builder addTagValuesBytes(ByteString value)
TagValue namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. To search against the `tagValues`: * use a field query. Example: - `tagValues:"env"` - `tagValues:"env/prod"` - `tagValues:"123456789/env/prod*"` - `tagValues="123456789/env/prod"` * use a free text query. Example: - `prod`
repeated string tag_values = 25;
value
- The bytes of the tagValues to add.public ProtocolStringList getTagValueIdsList()
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. To search against the `tagValueIds`: * use a field query. Example: - `tagValueIds:"456"` - `tagValueIds="tagValues/456"` * use a free text query. Example: - `456`
repeated string tag_value_ids = 26;
getTagValueIdsList
in interface ResourceSearchResultOrBuilder
public int getTagValueIdsCount()
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. To search against the `tagValueIds`: * use a field query. Example: - `tagValueIds:"456"` - `tagValueIds="tagValues/456"` * use a free text query. Example: - `456`
repeated string tag_value_ids = 26;
getTagValueIdsCount
in interface ResourceSearchResultOrBuilder
public String getTagValueIds(int index)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. To search against the `tagValueIds`: * use a field query. Example: - `tagValueIds:"456"` - `tagValueIds="tagValues/456"` * use a free text query. Example: - `456`
repeated string tag_value_ids = 26;
getTagValueIds
in interface ResourceSearchResultOrBuilder
index
- The index of the element to return.public ByteString getTagValueIdsBytes(int index)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. To search against the `tagValueIds`: * use a field query. Example: - `tagValueIds:"456"` - `tagValueIds="tagValues/456"` * use a free text query. Example: - `456`
repeated string tag_value_ids = 26;
getTagValueIdsBytes
in interface ResourceSearchResultOrBuilder
index
- The index of the value to return.public ResourceSearchResult.Builder setTagValueIds(int index, String value)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. To search against the `tagValueIds`: * use a field query. Example: - `tagValueIds:"456"` - `tagValueIds="tagValues/456"` * use a free text query. Example: - `456`
repeated string tag_value_ids = 26;
index
- The index to set the value at.value
- The tagValueIds to set.public ResourceSearchResult.Builder addTagValueIds(String value)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. To search against the `tagValueIds`: * use a field query. Example: - `tagValueIds:"456"` - `tagValueIds="tagValues/456"` * use a free text query. Example: - `456`
repeated string tag_value_ids = 26;
value
- The tagValueIds to add.public ResourceSearchResult.Builder addAllTagValueIds(Iterable<String> values)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. To search against the `tagValueIds`: * use a field query. Example: - `tagValueIds:"456"` - `tagValueIds="tagValues/456"` * use a free text query. Example: - `456`
repeated string tag_value_ids = 26;
values
- The tagValueIds to add.public ResourceSearchResult.Builder clearTagValueIds()
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. To search against the `tagValueIds`: * use a field query. Example: - `tagValueIds:"456"` - `tagValueIds="tagValues/456"` * use a free text query. Example: - `456`
repeated string tag_value_ids = 26;
public ResourceSearchResult.Builder addTagValueIdsBytes(ByteString value)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. To search against the `tagValueIds`: * use a field query. Example: - `tagValueIds:"456"` - `tagValueIds="tagValues/456"` * use a free text query. Example: - `456`
repeated string tag_value_ids = 26;
value
- The bytes of the tagValueIds to add.public String getParentAssetType()
The type of this resource's immediate parent, if there is one. To search against the `parent_asset_type`: * use a field query. Example: `parentAssetType:"cloudresourcemanager.googleapis.com/Project"` * use a free text query. Example: `cloudresourcemanager.googleapis.com/Project`
string parent_asset_type = 103;
getParentAssetType
in interface ResourceSearchResultOrBuilder
public ByteString getParentAssetTypeBytes()
The type of this resource's immediate parent, if there is one. To search against the `parent_asset_type`: * use a field query. Example: `parentAssetType:"cloudresourcemanager.googleapis.com/Project"` * use a free text query. Example: `cloudresourcemanager.googleapis.com/Project`
string parent_asset_type = 103;
getParentAssetTypeBytes
in interface ResourceSearchResultOrBuilder
public ResourceSearchResult.Builder setParentAssetType(String value)
The type of this resource's immediate parent, if there is one. To search against the `parent_asset_type`: * use a field query. Example: `parentAssetType:"cloudresourcemanager.googleapis.com/Project"` * use a free text query. Example: `cloudresourcemanager.googleapis.com/Project`
string parent_asset_type = 103;
value
- The parentAssetType to set.public ResourceSearchResult.Builder clearParentAssetType()
The type of this resource's immediate parent, if there is one. To search against the `parent_asset_type`: * use a field query. Example: `parentAssetType:"cloudresourcemanager.googleapis.com/Project"` * use a free text query. Example: `cloudresourcemanager.googleapis.com/Project`
string parent_asset_type = 103;
public ResourceSearchResult.Builder setParentAssetTypeBytes(ByteString value)
The type of this resource's immediate parent, if there is one. To search against the `parent_asset_type`: * use a field query. Example: `parentAssetType:"cloudresourcemanager.googleapis.com/Project"` * use a free text query. Example: `cloudresourcemanager.googleapis.com/Project`
string parent_asset_type = 103;
value
- The bytes for parentAssetType to set.public final ResourceSearchResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ResourceSearchResult.Builder>
public final ResourceSearchResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ResourceSearchResult.Builder>
Copyright © 2022 Google LLC. All rights reserved.