Class ListSkusResponse (3.25.0)

public final class ListSkusResponse extends GeneratedMessageV3 implements ListSkusResponseOrBuilder

Response message for ListSkus.

Protobuf type google.cloud.channel.v1.ListSkusResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SKUS_FIELD_NUMBER

public static final int SKUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListSkusResponse getDefaultInstance()
Returns
TypeDescription
ListSkusResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListSkusResponse.Builder newBuilder()
Returns
TypeDescription
ListSkusResponse.Builder

newBuilder(ListSkusResponse prototype)

public static ListSkusResponse.Builder newBuilder(ListSkusResponse prototype)
Parameter
NameDescription
prototypeListSkusResponse
Returns
TypeDescription
ListSkusResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListSkusResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSkusResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSkusResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSkusResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListSkusResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListSkusResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListSkusResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSkusResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListSkusResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListSkusResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListSkusResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSkusResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListSkusResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListSkusResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSkusResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSkusResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListSkusResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSkusResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSkusResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSkusResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListSkusResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListSkusResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListSkusResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSkusResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListSkusResponse> parser()
Returns
TypeDescription
Parser<ListSkusResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListSkusResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSkusResponse

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListSkusResponse> getParserForType()
Returns
TypeDescription
Parser<ListSkusResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSkus(int index)

public Sku getSkus(int index)

The list of SKUs requested.

repeated .google.cloud.channel.v1.Sku skus = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Sku

getSkusCount()

public int getSkusCount()

The list of SKUs requested.

repeated .google.cloud.channel.v1.Sku skus = 1;

Returns
TypeDescription
int

getSkusList()

public List<Sku> getSkusList()

The list of SKUs requested.

repeated .google.cloud.channel.v1.Sku skus = 1;

Returns
TypeDescription
List<Sku>

getSkusOrBuilder(int index)

public SkuOrBuilder getSkusOrBuilder(int index)

The list of SKUs requested.

repeated .google.cloud.channel.v1.Sku skus = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SkuOrBuilder

getSkusOrBuilderList()

public List<? extends SkuOrBuilder> getSkusOrBuilderList()

The list of SKUs requested.

repeated .google.cloud.channel.v1.Sku skus = 1;

Returns
TypeDescription
List<? extends com.google.cloud.channel.v1.SkuOrBuilder>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListSkusResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSkusResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListSkusResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListSkusResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListSkusResponse.Builder toBuilder()
Returns
TypeDescription
ListSkusResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException