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 Type
    Method
    Description
    long
    Resource identifier.
    Indicates the type of resource.
    int
    Indicates the type of resource.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       Indicates the type of resource.
       
      .google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType resource_type = 2;
      Returns:
      The resourceType.