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
@Generated
public interface LicenseResourceCommitmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe number of licenses you plan to purchase.The number of cores per license.com.google.protobuf.ByteStringThe number of cores per license.The applicable license URI.com.google.protobuf.ByteStringThe applicable license URI.booleanThe number of licenses you plan to purchase.booleanThe number of cores per license.booleanThe applicable license URI.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAmount
boolean hasAmount()The number of licenses you plan to purchase.
optional int64 amount = 196759640;- Returns:
- Whether the amount field is set.
-
getAmount
long getAmount()The number of licenses you plan to purchase.
optional int64 amount = 196759640;- Returns:
- The amount.
-
hasCoresPerLicense
boolean hasCoresPerLicense()The number of cores per license.
optional string cores_per_license = 32482324;- Returns:
- Whether the coresPerLicense field is set.
-
getCoresPerLicense
String getCoresPerLicense()The number of cores per license.
optional string cores_per_license = 32482324;- Returns:
- The coresPerLicense.
-
getCoresPerLicenseBytes
com.google.protobuf.ByteString getCoresPerLicenseBytes()The number of cores per license.
optional string cores_per_license = 32482324;- Returns:
- The bytes for coresPerLicense.
-
hasLicense
boolean hasLicense()The applicable license URI.
optional string license = 166757441;- Returns:
- Whether the license field is set.
-
getLicense
String getLicense()The applicable license URI.
optional string license = 166757441;- Returns:
- The license.
-
getLicenseBytes
com.google.protobuf.ByteString getLicenseBytes()The applicable license URI.
optional string license = 166757441;- Returns:
- The bytes for license.
-