Send feedback
Class ListPurchasableSkusResponse.Builder (3.7.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.7.2 keyboard_arrow_down
public static final class ListPurchasableSkusResponse . Builder extends GeneratedMessageV3 . Builder<ListPurchasableSkusResponse . Builder > implements ListPurchasableSkusResponseOrBuilder
Response message for ListPurchasableSkus.
Protobuf type google.cloud.channel.v1.ListPurchasableSkusResponse
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addAllPurchasableSkus(Iterable<? extends PurchasableSku> values)
public ListPurchasableSkusResponse . Builder addAllPurchasableSkus ( Iterable <? extends PurchasableSku > values )
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Parameter
Name Description values Iterable <? extends com.google.cloud.channel.v1.PurchasableSku >
Returns
addPurchasableSkus(PurchasableSku value)
public ListPurchasableSkusResponse . Builder addPurchasableSkus ( PurchasableSku value )
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Parameter
Returns
addPurchasableSkus(PurchasableSku.Builder builderForValue)
public ListPurchasableSkusResponse . Builder addPurchasableSkus ( PurchasableSku . Builder builderForValue )
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Parameter
Returns
addPurchasableSkus(int index, PurchasableSku value)
public ListPurchasableSkusResponse . Builder addPurchasableSkus ( int index , PurchasableSku value )
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Parameters
Returns
addPurchasableSkus(int index, PurchasableSku.Builder builderForValue)
public ListPurchasableSkusResponse . Builder addPurchasableSkus ( int index , PurchasableSku . Builder builderForValue )
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Parameters
Returns
addPurchasableSkusBuilder()
public PurchasableSku . Builder addPurchasableSkusBuilder ()
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Returns
addPurchasableSkusBuilder(int index)
public PurchasableSku . Builder addPurchasableSkusBuilder ( int index )
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableSkusResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ListPurchasableSkusResponse build ()
Returns
buildPartial()
public ListPurchasableSkusResponse buildPartial ()
Returns
clear()
public ListPurchasableSkusResponse . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListPurchasableSkusResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearNextPageToken()
public ListPurchasableSkusResponse . Builder clearNextPageToken ()
A token to retrieve the next page of results.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPurchasableSkusResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearPurchasableSkus()
public ListPurchasableSkusResponse . Builder clearPurchasableSkus ()
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Returns
clone()
public ListPurchasableSkusResponse . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ListPurchasableSkusResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getNextPageToken()
public String getNextPageToken ()
A token to retrieve the next page of results.
string next_page_token = 2;
Returns
Type Description String The nextPageToken.
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes ()
A token to retrieve the next page of results.
string next_page_token = 2;
Returns
Type Description ByteString The bytes for nextPageToken.
getPurchasableSkus(int index)
public PurchasableSku getPurchasableSkus ( int index )
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Parameter
Returns
getPurchasableSkusBuilder(int index)
public PurchasableSku . Builder getPurchasableSkusBuilder ( int index )
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Parameter
Returns
getPurchasableSkusBuilderList()
public List<PurchasableSku . Builder > getPurchasableSkusBuilderList ()
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Returns
getPurchasableSkusCount()
public int getPurchasableSkusCount ()
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Returns
getPurchasableSkusList()
public List<PurchasableSku> getPurchasableSkusList ()
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Returns
getPurchasableSkusOrBuilder(int index)
public PurchasableSkuOrBuilder getPurchasableSkusOrBuilder ( int index )
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Parameter
Returns
getPurchasableSkusOrBuilderList()
public List <? extends PurchasableSkuOrBuilder > getPurchasableSkusOrBuilderList ()
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Returns
Type Description List <? extends com.google.cloud.channel.v1.PurchasableSkuOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ListPurchasableSkusResponse other)
public ListPurchasableSkusResponse . Builder mergeFrom ( ListPurchasableSkusResponse other )
Parameter
Returns
public ListPurchasableSkusResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListPurchasableSkusResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableSkusResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removePurchasableSkus(int index)
public ListPurchasableSkusResponse . Builder removePurchasableSkus ( int index )
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableSkusResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListPurchasableSkusResponse . Builder setNextPageToken ( String value )
A token to retrieve the next page of results.
string next_page_token = 2;
Parameter
Name Description value String
The nextPageToken to set.
Returns
setNextPageTokenBytes(ByteString value)
public ListPurchasableSkusResponse . Builder setNextPageTokenBytes ( ByteString value )
A token to retrieve the next page of results.
string next_page_token = 2;
Parameter
Name Description value ByteString
The bytes for nextPageToken to set.
Returns
setPurchasableSkus(int index, PurchasableSku value)
public ListPurchasableSkusResponse . Builder setPurchasableSkus ( int index , PurchasableSku value )
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Parameters
Returns
setPurchasableSkus(int index, PurchasableSku.Builder builderForValue)
public ListPurchasableSkusResponse . Builder setPurchasableSkus ( int index , PurchasableSku . Builder builderForValue )
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPurchasableSkusResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableSkusResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]