Package com.google.cloud.compute.v1
Interface LicenseResourceCommitmentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LicenseResourceCommitment
,LicenseResourceCommitment.Builder
public interface LicenseResourceCommitmentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getAmount()
The number of licenses purchased.String
getCoresPerLicense()
Specifies the core range of the instance for which this license applies.com.google.protobuf.ByteString
getCoresPerLicenseBytes()
Specifies the core range of the instance for which this license applies.String
getLicense()
Any applicable license URI.com.google.protobuf.ByteString
getLicenseBytes()
Any applicable license URI.boolean
hasAmount()
The number of licenses purchased.boolean
hasCoresPerLicense()
Specifies the core range of the instance for which this license applies.boolean
hasLicense()
Any applicable license URI.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasAmount
boolean hasAmount()
The number of licenses purchased.
optional int64 amount = 196759640;
- Returns:
- Whether the amount field is set.
-
getAmount
long getAmount()
The number of licenses purchased.
optional int64 amount = 196759640;
- Returns:
- The amount.
-
hasCoresPerLicense
boolean hasCoresPerLicense()
Specifies the core range of the instance for which this license applies.
optional string cores_per_license = 32482324;
- Returns:
- Whether the coresPerLicense field is set.
-
getCoresPerLicense
String getCoresPerLicense()
Specifies the core range of the instance for which this license applies.
optional string cores_per_license = 32482324;
- Returns:
- The coresPerLicense.
-
getCoresPerLicenseBytes
com.google.protobuf.ByteString getCoresPerLicenseBytes()
Specifies the core range of the instance for which this license applies.
optional string cores_per_license = 32482324;
- Returns:
- The bytes for coresPerLicense.
-
hasLicense
boolean hasLicense()
Any applicable license URI.
optional string license = 166757441;
- Returns:
- Whether the license field is set.
-
getLicense
String getLicense()
Any applicable license URI.
optional string license = 166757441;
- Returns:
- The license.
-
getLicenseBytes
com.google.protobuf.ByteString getLicenseBytes()
Any applicable license URI.
optional string license = 166757441;
- Returns:
- The bytes for license.
-
-