Interface LicensePoolOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LicensePool, LicensePool.Builder

@Generated public interface LicensePoolOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Identifier. Format:
       `billingAccounts/{billing_account}/orders/{order}/licensePool`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. Format:
       `billingAccounts/{billing_account}/orders/{order}/licensePool`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • hasLicenseAssignmentProtocol

      boolean hasLicenseAssignmentProtocol()
       Required. Assignment protocol for the license pool.
       
      .google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol license_assignment_protocol = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the licenseAssignmentProtocol field is set.
    • getLicenseAssignmentProtocol

      AssignmentProtocol getLicenseAssignmentProtocol()
       Required. Assignment protocol for the license pool.
       
      .google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol license_assignment_protocol = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The licenseAssignmentProtocol.
    • getLicenseAssignmentProtocolOrBuilder

      AssignmentProtocolOrBuilder getLicenseAssignmentProtocolOrBuilder()
       Required. Assignment protocol for the license pool.
       
      .google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol license_assignment_protocol = 2 [(.google.api.field_behavior) = REQUIRED];
    • getAvailableLicenseCount

      int getAvailableLicenseCount()
       Output only. Licenses count that are available to be assigned.
       
      int32 available_license_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The availableLicenseCount.
    • getTotalLicenseCount

      int getTotalLicenseCount()
       Output only. Total number of licenses in the pool.
       
      int32 total_license_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The totalLicenseCount.