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
public interface RelatedResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAssetType()
The type of the asset.com.google.protobuf.ByteString
getAssetTypeBytes()
The type of the asset.String
getFullResourceName()
The full resource name of the related resource.com.google.protobuf.ByteString
getFullResourceNameBytes()
The full resource name of the related 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 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.
-
-