Interface LicenseResourceCommitmentOrBuilder (1.51.0)

public interface LicenseResourceCommitmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAmount()

public abstract long getAmount()

The number of licenses purchased.

optional int64 amount = 196759640;

Returns
TypeDescription
long

The amount.

getCoresPerLicense()

public abstract String getCoresPerLicense()

Specifies the core range of the instance for which this license applies.

optional string cores_per_license = 32482324;

Returns
TypeDescription
String

The coresPerLicense.

getCoresPerLicenseBytes()

public abstract ByteString getCoresPerLicenseBytes()

Specifies the core range of the instance for which this license applies.

optional string cores_per_license = 32482324;

Returns
TypeDescription
ByteString

The bytes for coresPerLicense.

getLicense()

public abstract String getLicense()

Any applicable license URI.

optional string license = 166757441;

Returns
TypeDescription
String

The license.

getLicenseBytes()

public abstract ByteString getLicenseBytes()

Any applicable license URI.

optional string license = 166757441;

Returns
TypeDescription
ByteString

The bytes for license.

hasAmount()

public abstract boolean hasAmount()

The number of licenses purchased.

optional int64 amount = 196759640;

Returns
TypeDescription
boolean

Whether the amount field is set.

hasCoresPerLicense()

public abstract boolean hasCoresPerLicense()

Specifies the core range of the instance for which this license applies.

optional string cores_per_license = 32482324;

Returns
TypeDescription
boolean

Whether the coresPerLicense field is set.

hasLicense()

public abstract boolean hasLicense()

Any applicable license URI.

optional string license = 166757441;

Returns
TypeDescription
boolean

Whether the license field is set.