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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getResourceId()
Resource identifier.Workload.ResourceInfo.ResourceType
getResourceType()
Indicates the type of resource.int
getResourceTypeValue()
Indicates the type of resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.v1beta1.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.v1beta1.Workload.ResourceInfo.ResourceType resource_type = 2;
- Returns:
- The resourceType.
-
-