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 Summary
Modifier and TypeMethodDescriptionintOutput only.Required.Required.getName()Identifier.com.google.protobuf.ByteStringIdentifier.intOutput only.booleanRequired.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
-
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.
-