Interface LicenseResourceCommitmentOrBuilder (1.57.0)

public interface LicenseResourceCommitmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAmount()

public abstract long getAmount()

The number of licenses purchased.

optional int64 amount = 196759640;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for coresPerLicense.

getLicense()

public abstract String getLicense()

Any applicable license URI.

optional string license = 166757441;

Returns
Type Description
String

The license.

getLicenseBytes()

public abstract ByteString getLicenseBytes()

Any applicable license URI.

optional string license = 166757441;

Returns
Type Description
ByteString

The bytes for license.

hasAmount()

public abstract boolean hasAmount()

The number of licenses purchased.

optional int64 amount = 196759640;

Returns
Type Description
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
Type Description
boolean

Whether the coresPerLicense field is set.

hasLicense()

public abstract boolean hasLicense()

Any applicable license URI.

optional string license = 166757441;

Returns
Type Description
boolean

Whether the license field is set.