public interface LicensePoolOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAvailableLicenseCount()
public abstract int getAvailableLicenseCount()Output only. Licenses count that are available to be assigned.
int32 available_license_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The availableLicenseCount. |
getLicenseAssignmentProtocol()
public abstract 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 | |
|---|---|
| Type | Description |
AssignmentProtocol |
The licenseAssignmentProtocol. |
getLicenseAssignmentProtocolOrBuilder()
public abstract 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];
| Returns | |
|---|---|
| Type | Description |
AssignmentProtocolOrBuilder |
|
getName()
public abstract String getName() Identifier. Format:
billingAccounts/{billing_account}/orders/{order}/licensePool
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() Identifier. Format:
billingAccounts/{billing_account}/orders/{order}/licensePool
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getTotalLicenseCount()
public abstract int getTotalLicenseCount()Output only. Total number of licenses in the pool.
int32 total_license_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The totalLicenseCount. |
hasLicenseAssignmentProtocol()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the licenseAssignmentProtocol field is set. |