Package com.google.cloud.asset.v1
Interface AttachedResourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AttachedResource
,AttachedResource.Builder
public interface AttachedResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAssetType()
The type of this attached resource.com.google.protobuf.ByteString
getAssetTypeBytes()
The type of this attached resource.VersionedResource
getVersionedResources(int index)
Versioned resource representations of this attached resource.int
getVersionedResourcesCount()
Versioned resource representations of this attached resource.List<VersionedResource>
getVersionedResourcesList()
Versioned resource representations of this attached resource.VersionedResourceOrBuilder
getVersionedResourcesOrBuilder(int index)
Versioned resource representations of this attached resource.List<? extends VersionedResourceOrBuilder>
getVersionedResourcesOrBuilderList()
Versioned resource representations of this attached resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAssetType
String getAssetType()
The type of this attached resource. Example: `osconfig.googleapis.com/Inventory` You can find the supported attached asset types of each resource in this table: `https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types`
string asset_type = 1;
- Returns:
- The assetType.
-
getAssetTypeBytes
com.google.protobuf.ByteString getAssetTypeBytes()
The type of this attached resource. Example: `osconfig.googleapis.com/Inventory` You can find the supported attached asset types of each resource in this table: `https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types`
string asset_type = 1;
- Returns:
- The bytes for assetType.
-
getVersionedResourcesList
List<VersionedResource> getVersionedResourcesList()
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
-
getVersionedResources
VersionedResource getVersionedResources(int index)
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
-
getVersionedResourcesCount
int getVersionedResourcesCount()
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
-
getVersionedResourcesOrBuilderList
List<? extends VersionedResourceOrBuilder> getVersionedResourcesOrBuilderList()
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
-
getVersionedResourcesOrBuilder
VersionedResourceOrBuilder getVersionedResourcesOrBuilder(int index)
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
-
-