public static final class ListPurchasableSkusResponse.Builder extends GeneratedMessageV3.Builder<ListPurchasableSkusResponse.Builder> implements ListPurchasableSkusResponseOrBuilder
Response message for ListPurchasableSkus.
Protobuf type google.cloud.channel.v1.ListPurchasableSkusResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addPurchasableSkus(PurchasableSku value)
public ListPurchasableSkusResponse.Builder addPurchasableSkus(PurchasableSku value)
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
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;
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;
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;
addPurchasableSkusBuilder()
public PurchasableSku.Builder addPurchasableSkusBuilder()
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
addPurchasableSkusBuilder(int index)
public PurchasableSku.Builder addPurchasableSkusBuilder(int index)
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableSkusResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListPurchasableSkusResponse build()
buildPartial()
public ListPurchasableSkusResponse buildPartial()
clear()
public ListPurchasableSkusResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListPurchasableSkusResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListPurchasableSkusResponse.Builder clearNextPageToken()
A token to retrieve the next page of results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPurchasableSkusResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPurchasableSkus()
public ListPurchasableSkusResponse.Builder clearPurchasableSkus()
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
clone()
public ListPurchasableSkusResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListPurchasableSkusResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Name |
Description |
index |
int
|
getPurchasableSkusBuilder(int index)
public PurchasableSku.Builder getPurchasableSkusBuilder(int index)
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Parameter |
Name |
Description |
index |
int
|
getPurchasableSkusBuilderList()
public List<PurchasableSku.Builder> getPurchasableSkusBuilderList()
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
getPurchasableSkusCount()
public int getPurchasableSkusCount()
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Returns |
Type |
Description |
int |
|
getPurchasableSkusList()
public List<PurchasableSku> getPurchasableSkusList()
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
getPurchasableSkusOrBuilder(int index)
public PurchasableSkuOrBuilder getPurchasableSkusOrBuilder(int index)
The list of SKUs requested.
repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;
Parameter |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListPurchasableSkusResponse other)
public ListPurchasableSkusResponse.Builder mergeFrom(ListPurchasableSkusResponse other)
public ListPurchasableSkusResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListPurchasableSkusResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableSkusResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableSkusResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPurchasableSkusResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableSkusResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides