public static final class ListPurchasableSkusResponse.Builder extends GeneratedMessageV3.Builder<ListPurchasableSkusResponse.Builder> implements ListPurchasableSkusResponseOrBuilder
Response message for ListPurchasableSkus.
Protobuf type google.cloud.channel.v1.ListPurchasableSkusResponse
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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