Class SkuGroup (0.1.0)

public final class SkuGroup extends GeneratedMessage implements SkuGroupOrBuilder

Message describing SkuGroup resource

Protobuf type google.cloud.commerceproducer.v1beta.SkuGroup

Implements

SkuGroupOrBuilder

Static Fields

CLOUD_BILLING_SKUS_FIELD_NUMBER

public static final int CLOUD_BILLING_SKUS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SKUS_FIELD_NUMBER

public static final int SKUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SkuGroup getDefaultInstance()
Returns
Type Description
SkuGroup

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SkuGroup.Builder newBuilder()
Returns
Type Description
SkuGroup.Builder

newBuilder(SkuGroup prototype)

public static SkuGroup.Builder newBuilder(SkuGroup prototype)
Parameter
Name Description
prototype SkuGroup
Returns
Type Description
SkuGroup.Builder

parseDelimitedFrom(InputStream input)

public static SkuGroup parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SkuGroup
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SkuGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkuGroup
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SkuGroup parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SkuGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SkuGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkuGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SkuGroup parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SkuGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SkuGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkuGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SkuGroup parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SkuGroup
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SkuGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkuGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SkuGroup parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SkuGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SkuGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkuGroup
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SkuGroup parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SkuGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SkuGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkuGroup
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SkuGroup> parser()
Returns
Type Description
Parser<SkuGroup>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCloudBillingSkus(int index)

public String getCloudBillingSkus(int index)

Output only. Google SKUs included in the SkuGroup.

Used for partner products sold by Google, such as Premium Operating System Images sold for use in Compute Engine. This is not common. SKUs of this type are not present on this API and can instead be found on the Cloud Billing API or at https://cloud.google.com/skus.

Format: services/{service}/skus/{sku}

repeated string cloud_billing_skus = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The cloudBillingSkus at the given index.

getCloudBillingSkusBytes(int index)

public ByteString getCloudBillingSkusBytes(int index)

Output only. Google SKUs included in the SkuGroup.

Used for partner products sold by Google, such as Premium Operating System Images sold for use in Compute Engine. This is not common. SKUs of this type are not present on this API and can instead be found on the Cloud Billing API or at https://cloud.google.com/skus.

Format: services/{service}/skus/{sku}

repeated string cloud_billing_skus = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the cloudBillingSkus at the given index.

getCloudBillingSkusCount()

public int getCloudBillingSkusCount()

Output only. Google SKUs included in the SkuGroup.

Used for partner products sold by Google, such as Premium Operating System Images sold for use in Compute Engine. This is not common. SKUs of this type are not present on this API and can instead be found on the Cloud Billing API or at https://cloud.google.com/skus.

Format: services/{service}/skus/{sku}

repeated string cloud_billing_skus = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of cloudBillingSkus.

getCloudBillingSkusList()

public ProtocolStringList getCloudBillingSkusList()

Output only. Google SKUs included in the SkuGroup.

Used for partner products sold by Google, such as Premium Operating System Images sold for use in Compute Engine. This is not common. SKUs of this type are not present on this API and can instead be found on the Cloud Billing API or at https://cloud.google.com/skus.

Format: services/{service}/skus/{sku}

repeated string cloud_billing_skus = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the cloudBillingSkus.

getDefaultInstanceForType()

public SkuGroup getDefaultInstanceForType()
Returns
Type Description
SkuGroup

getName()

public String getName()

Output only. Identifier. Name of the SkuGroup.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Identifier. Name of the SkuGroup.

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

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<SkuGroup> getParserForType()
Returns
Type Description
Parser<SkuGroup>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkus(int index)

public String getSkus(int index)

Output only. Partner SKUs included in the SkuGroup. Format: projects/{project}/locations/{location}/services/{service}/skus/{sku}

repeated string skus = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The skus at the given index.

getSkusBytes(int index)

public ByteString getSkusBytes(int index)

Output only. Partner SKUs included in the SkuGroup. Format: projects/{project}/locations/{location}/services/{service}/skus/{sku}

repeated string skus = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the skus at the given index.

getSkusCount()

public int getSkusCount()

Output only. Partner SKUs included in the SkuGroup. Format: projects/{project}/locations/{location}/services/{service}/skus/{sku}

repeated string skus = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of skus.

getSkusList()

public ProtocolStringList getSkusList()

Output only. Partner SKUs included in the SkuGroup. Format: projects/{project}/locations/{location}/services/{service}/skus/{sku}

repeated string skus = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the skus.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SkuGroup.Builder newBuilderForType()
Returns
Type Description
SkuGroup.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SkuGroup.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SkuGroup.Builder
Overrides

toBuilder()

public SkuGroup.Builder toBuilder()
Returns
Type Description
SkuGroup.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException