Interface Workload.ResourceInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Workload.ResourceInfo,Workload.ResourceInfo.Builder
- Enclosing class:
- Workload
public static interface Workload.ResourceInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongResource identifier.Indicates the type of resource.intIndicates the type of 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
-
getResourceId
long getResourceId()Resource identifier. For a project this represents project_number.
int64 resource_id = 1;- Returns:
- The resourceId.
-
getResourceTypeValue
int getResourceTypeValue()Indicates the type of resource.
.google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType resource_type = 2;- Returns:
- The enum numeric value on the wire for resourceType.
-
getResourceType
Workload.ResourceInfo.ResourceType getResourceType()Indicates the type of resource.
.google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType resource_type = 2;- Returns:
- The resourceType.
-