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 longgetAmount()The number of licenses purchased.StringgetCoresPerLicense()Specifies the core range of the instance for which this license applies.com.google.protobuf.ByteStringgetCoresPerLicenseBytes()Specifies the core range of the instance for which this license applies.StringgetLicense()Any applicable license URI.com.google.protobuf.ByteStringgetLicenseBytes()Any applicable license URI.booleanhasAmount()The number of licenses purchased.booleanhasCoresPerLicense()Specifies the core range of the instance for which this license applies.booleanhasLicense()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.
-
-