Interface SkuOrBuilder (0.9.0)

public interface SkuOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfig()

public abstract SkuConfig getConfig()

Output only. Configuration for this SKU.

.google.cloud.gdchardwaremanagement.v1alpha.SkuConfig config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SkuConfig

The config.

getConfigOrBuilder()

public abstract SkuConfigOrBuilder getConfigOrBuilder()

Output only. Configuration for this SKU.

.google.cloud.gdchardwaremanagement.v1alpha.SkuConfig config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SkuConfigOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Time when this SKU was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when this SKU was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

Output only. Description of this SKU.

string description = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Output only. Description of this SKU.

string description = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public abstract String getDisplayName()

Output only. Display name of this SKU.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Output only. Display name of this SKU.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getInstances(int index)

public abstract SkuInstance getInstances(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
SkuInstance

getInstancesCount()

public abstract 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];

Returns
Type Description
int

getInstancesList()

public abstract 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];

Returns
Type Description
List<SkuInstance>

getInstancesOrBuilder(int index)

public abstract SkuInstanceOrBuilder getInstancesOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
SkuInstanceOrBuilder

getInstancesOrBuilderList()

public abstract 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];

Returns
Type Description
List<? extends com.google.cloud.gdchardwaremanagement.v1alpha.SkuInstanceOrBuilder>

getIsActive()

public abstract 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
Type Description
boolean

The isActive.

getName()

public abstract String getName()

Identifier. Name of this SKU. Format: projects/{project}/locations/{location}/skus/{sku}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Name of this SKU. Format: projects/{project}/locations/{location}/skus/{sku}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getRevisionId()

public abstract 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
Type Description
String

The revisionId.

getRevisionIdBytes()

public abstract 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
Type Description
ByteString

The bytes for revisionId.

getType()

public abstract Sku.Type getType()

Output only. Type of this SKU.

.google.cloud.gdchardwaremanagement.v1alpha.Sku.Type type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Output only. Type of this SKU.

.google.cloud.gdchardwaremanagement.v1alpha.Sku.Type type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Time when this SKU was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time when this SKU was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getVcpuCount()

public abstract int getVcpuCount()

Output only. The vCPU count associated with this SKU.

int32 vcpu_count = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The vcpuCount.

hasConfig()

public abstract boolean hasConfig()

Output only. Configuration for this SKU.

.google.cloud.gdchardwaremanagement.v1alpha.SkuConfig config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the config field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Time when this SKU was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Time when this SKU was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.