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
@Generated
public interface AttachedResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe type of this attached resource.com.google.protobuf.ByteStringThe type of this attached resource.getVersionedResources(int index) Versioned resource representations of this attached resource.intVersioned resource representations of this attached resource.Versioned resource representations of this attached resource.getVersionedResourcesOrBuilder(int index) Versioned resource representations of this attached resource.List<? extends VersionedResourceOrBuilder>Versioned resource representations of this attached resource.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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`
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`
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
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
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;
-