Class ListSkuGroupsResponse (3.36.0)

public final class ListSkuGroupsResponse extends GeneratedMessageV3 implements ListSkuGroupsResponseOrBuilder

Response message for ListSkuGroups.

Protobuf type google.cloud.channel.v1.ListSkuGroupsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SKU_GROUPS_FIELD_NUMBER

public static final int SKU_GROUPS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListSkuGroupsResponse getDefaultInstance()
Returns
TypeDescription
ListSkuGroupsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListSkuGroupsResponse prototype)

public static ListSkuGroupsResponse.Builder newBuilder(ListSkuGroupsResponse prototype)
Parameter
NameDescription
prototypeListSkuGroupsResponse
Returns
TypeDescription
ListSkuGroupsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListSkuGroupsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSkuGroupsResponse

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. Pass to [ListSkuGroups.page_token][] to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. Pass to [ListSkuGroups.page_token][] to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSkuGroups(int index)

public SkuGroup getSkuGroups(int index)

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SkuGroup

getSkuGroupsCount()

public int getSkuGroupsCount()

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Returns
TypeDescription
int

getSkuGroupsList()

public List<SkuGroup> getSkuGroupsList()

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Returns
TypeDescription
List<SkuGroup>

getSkuGroupsOrBuilder(int index)

public SkuGroupOrBuilder getSkuGroupsOrBuilder(int index)

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SkuGroupOrBuilder

getSkuGroupsOrBuilderList()

public List<? extends SkuGroupOrBuilder> getSkuGroupsOrBuilderList()

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

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

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 ListSkuGroupsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSkuGroupsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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