Interface SkuOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Sku,Sku.Builder
@Generated
public interface SkuOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getHardwareCountRanges(int index) Output only.intOutput only.Output only.getHardwareCountRangesOrBuilder(int index) Output only.List<? extends Sku.RangeOrBuilder>Output only.getInstances(int index) Output only.intOutput only.Output only.getInstancesOrBuilder(int index) Output only.List<? extends SkuInstanceOrBuilder>Output only.booleanOutput only.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Output only.com.google.protobuf.ByteStringOutput only.getType()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.intOutput only.booleanOutput only.booleanOutput only.booleanOutput only.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
-
getName
String getName()Identifier. Name of this SKU. Format: `projects/{project}/locations/{location}/skus/{sku}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. Name of this SKU. Format: `projects/{project}/locations/{location}/skus/{sku}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()Output only. Display name of this SKU.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Output only. Display name of this SKU.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for displayName.
-
hasCreateTime
boolean hasCreateTime()Output only. Time when this SKU was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Time when this SKU was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time when this SKU was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Time when this SKU was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Time when this SKU was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time when this SKU was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasConfig
boolean hasConfig()Output only. Configuration for this SKU.
.google.cloud.gdchardwaremanagement.v1alpha.SkuConfig config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the config field is set.
-
getConfig
SkuConfig getConfig()Output only. Configuration for this SKU.
.google.cloud.gdchardwaremanagement.v1alpha.SkuConfig config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The config.
-
getConfigOrBuilder
SkuConfigOrBuilder getConfigOrBuilder()Output only. Configuration for this SKU.
.google.cloud.gdchardwaremanagement.v1alpha.SkuConfig config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInstancesList
List<SkuInstance> getInstancesList()Output only. Available instances of this SKU. This field should be used for checking availability of a SKU.
repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInstances
Output only. Available instances of this SKU. This field should be used for checking availability of a SKU.
repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInstancesCount
int getInstancesCount()Output only. Available instances of this SKU. This field should be used for checking availability of a SKU.
repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInstancesOrBuilderList
List<? extends SkuInstanceOrBuilder> getInstancesOrBuilderList()Output only. Available instances of this SKU. This field should be used for checking availability of a SKU.
repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInstancesOrBuilder
Output only. Available instances of this SKU. This field should be used for checking availability of a SKU.
repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDescription
String getDescription()Output only. Description of this SKU.
string description = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Output only. Description of this SKU.
string description = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for description.
-
getRevisionId
String getRevisionId()Output only. The SKU revision ID. A new revision is created whenever `config` is updated. The format is an 8-character hexadecimal string.
string revision_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The revisionId.
-
getRevisionIdBytes
com.google.protobuf.ByteString getRevisionIdBytes()Output only. The SKU revision ID. A new revision is created whenever `config` is updated. The format is an 8-character hexadecimal string.
string revision_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for revisionId.
-
getIsActive
boolean getIsActive()Output only. Flag to indicate whether or not this revision is active. Only an active revision can be used in a new Order.
bool is_active = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The isActive.
-
getTypeValue
int getTypeValue()Output only. Type of this SKU.
.google.cloud.gdchardwaremanagement.v1alpha.Sku.Type type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for type.
-
getType
Sku.Type getType()Output only. Type of this SKU.
.google.cloud.gdchardwaremanagement.v1alpha.Sku.Type type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The type.
-
getVcpuCount
int getVcpuCount()Output only. The vCPU count associated with this SKU.
int32 vcpu_count = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The vcpuCount.
-
getHardwareCountRangesList
Output only. The inclusive ranges of hardware counts that are allowed in a zone using this SKU.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getHardwareCountRanges
Output only. The inclusive ranges of hardware counts that are allowed in a zone using this SKU.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getHardwareCountRangesCount
int getHardwareCountRangesCount()Output only. The inclusive ranges of hardware counts that are allowed in a zone using this SKU.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getHardwareCountRangesOrBuilderList
List<? extends Sku.RangeOrBuilder> getHardwareCountRangesOrBuilderList()Output only. The inclusive ranges of hardware counts that are allowed in a zone using this SKU.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getHardwareCountRangesOrBuilder
Output only. The inclusive ranges of hardware counts that are allowed in a zone using this SKU.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-