Class StandardOffer.PriceModel.SkuList (0.1.0)

public static final class StandardOffer.PriceModel.SkuList extends GeneratedMessage implements StandardOffer.PriceModel.SkuListOrBuilder

A collection of SKUs.

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

Inheritance

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

Static Fields

SKUS_FIELD_NUMBER

public static final int SKUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(StandardOffer.PriceModel.SkuList prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkus(int index)

public String getSkus(int index)

Output only. List of SKUs by name.

repeated string skus = 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 skus at the given index.

getSkusBytes(int index)

public ByteString getSkusBytes(int index)

Output only. List of SKUs by name.

repeated string skus = 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 skus at the given index.

getSkusCount()

public int getSkusCount()

Output only. List of SKUs by name.

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

Returns
Type Description
int

The count of skus.

getSkusList()

public ProtocolStringList getSkusList()

Output only. List of SKUs by name.

repeated string skus = 1 [(.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 StandardOffer.PriceModel.SkuList.Builder newBuilderForType()
Returns
Type Description
StandardOffer.PriceModel.SkuList.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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