Package com.google.cloud.asset.v1
Interface RelatedResourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RelatedResource,RelatedResource.Builder
@Generated
public interface RelatedResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe type of the asset.com.google.protobuf.ByteStringThe type of the asset.The full resource name of the related resource.com.google.protobuf.ByteStringThe full resource name of the related 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 the asset. Example: `compute.googleapis.com/Instance`
string asset_type = 1;- Returns:
- The assetType.
-
getAssetTypeBytes
com.google.protobuf.ByteString getAssetTypeBytes()The type of the asset. Example: `compute.googleapis.com/Instance`
string asset_type = 1;- Returns:
- The bytes for assetType.
-
getFullResourceName
String getFullResourceName()The full resource name of the related resource. Example: `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
string full_resource_name = 2;- Returns:
- The fullResourceName.
-
getFullResourceNameBytes
com.google.protobuf.ByteString getFullResourceNameBytes()The full resource name of the related resource. Example: `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
string full_resource_name = 2;- Returns:
- The bytes for fullResourceName.
-