Class StandardOffer.PriceModel.SkuGroupList (0.1.0)

public static final class StandardOffer.PriceModel.SkuGroupList extends GeneratedMessage implements StandardOffer.PriceModel.SkuGroupListOrBuilder

A collection of SkuGroups.

Protobuf type google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuGroupList

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > StandardOffer.PriceModel.SkuGroupList

Static Fields

SKU_GROUPS_FIELD_NUMBER

public static final int SKU_GROUPS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StandardOffer.PriceModel.SkuGroupList getDefaultInstance()
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList

getDescriptor()

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

newBuilder()

public static StandardOffer.PriceModel.SkuGroupList.Builder newBuilder()
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList.Builder

newBuilder(StandardOffer.PriceModel.SkuGroupList prototype)

public static StandardOffer.PriceModel.SkuGroupList.Builder newBuilder(StandardOffer.PriceModel.SkuGroupList prototype)
Parameter
Name Description
prototype StandardOffer.PriceModel.SkuGroupList
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList.Builder

parseDelimitedFrom(InputStream input)

public static StandardOffer.PriceModel.SkuGroupList parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StandardOffer.PriceModel.SkuGroupList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StandardOffer.PriceModel.SkuGroupList parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StandardOffer.PriceModel.SkuGroupList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StandardOffer.PriceModel.SkuGroupList parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StandardOffer.PriceModel.SkuGroupList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StandardOffer.PriceModel.SkuGroupList parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StandardOffer.PriceModel.SkuGroupList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StandardOffer.PriceModel.SkuGroupList parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StandardOffer.PriceModel.SkuGroupList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StandardOffer.PriceModel.SkuGroupList parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StandardOffer.PriceModel.SkuGroupList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StandardOffer.PriceModel.SkuGroupList> parser()
Returns
Type Description
Parser<SkuGroupList>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public StandardOffer.PriceModel.SkuGroupList getDefaultInstanceForType()
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList

getParserForType()

public Parser<StandardOffer.PriceModel.SkuGroupList> getParserForType()
Returns
Type Description
Parser<SkuGroupList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkuGroups(int index)

public String getSkuGroups(int index)

Output only. List of SkuGroups by name.

repeated string sku_groups = 1 [(.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 skuGroups at the given index.

getSkuGroupsBytes(int index)

public ByteString getSkuGroupsBytes(int index)

Output only. List of SkuGroups by name.

repeated string sku_groups = 1 [(.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 skuGroups at the given index.

getSkuGroupsCount()

public int getSkuGroupsCount()

Output only. List of SkuGroups by name.

repeated string sku_groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of skuGroups.

getSkuGroupsList()

public ProtocolStringList getSkuGroupsList()

Output only. List of SkuGroups by name.

repeated string sku_groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the skuGroups.

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 StandardOffer.PriceModel.SkuGroupList.Builder newBuilderForType()
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected StandardOffer.PriceModel.SkuGroupList.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList.Builder
Overrides

toBuilder()

public StandardOffer.PriceModel.SkuGroupList.Builder toBuilder()
Returns
Type Description
StandardOffer.PriceModel.SkuGroupList.Builder

writeTo(CodedOutputStream output)

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