Class ListPurchasableSkusResponse.Builder (3.5.1)

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
TypeDescription
Descriptor

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
NameDescription
valuesIterable<? extends com.google.cloud.channel.v1.PurchasableSku>
Returns
TypeDescription
ListPurchasableSkusResponse.Builder

addPurchasableSkus(PurchasableSku value)

public ListPurchasableSkusResponse.Builder addPurchasableSkus(PurchasableSku value)

The list of SKUs requested.

repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;

Parameter
NameDescription
valuePurchasableSku
Returns
TypeDescription
ListPurchasableSkusResponse.Builder

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
NameDescription
builderForValuePurchasableSku.Builder
Returns
TypeDescription
ListPurchasableSkusResponse.Builder

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
NameDescription
indexint
valuePurchasableSku
Returns
TypeDescription
ListPurchasableSkusResponse.Builder

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
NameDescription
indexint
builderForValuePurchasableSku.Builder
Returns
TypeDescription
ListPurchasableSkusResponse.Builder

addPurchasableSkusBuilder()

public PurchasableSku.Builder addPurchasableSkusBuilder()

The list of SKUs requested.

repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;

Returns
TypeDescription
PurchasableSku.Builder

addPurchasableSkusBuilder(int index)

public PurchasableSku.Builder addPurchasableSkusBuilder(int index)

The list of SKUs requested.

repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PurchasableSku.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListPurchasableSkusResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListPurchasableSkusResponse.Builder
Overrides

build()

public ListPurchasableSkusResponse build()
Returns
TypeDescription
ListPurchasableSkusResponse

buildPartial()

public ListPurchasableSkusResponse buildPartial()
Returns
TypeDescription
ListPurchasableSkusResponse

clear()

public ListPurchasableSkusResponse.Builder clear()
Returns
TypeDescription
ListPurchasableSkusResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListPurchasableSkusResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListPurchasableSkusResponse.Builder
Overrides

clearNextPageToken()

public ListPurchasableSkusResponse.Builder clearNextPageToken()

A token to retrieve the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ListPurchasableSkusResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPurchasableSkusResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListPurchasableSkusResponse.Builder
Overrides

clearPurchasableSkus()

public ListPurchasableSkusResponse.Builder clearPurchasableSkus()

The list of SKUs requested.

repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;

Returns
TypeDescription
ListPurchasableSkusResponse.Builder

clone()

public ListPurchasableSkusResponse.Builder clone()
Returns
TypeDescription
ListPurchasableSkusResponse.Builder
Overrides

getDefaultInstanceForType()

public ListPurchasableSkusResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPurchasableSkusResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getPurchasableSkus(int index)

public PurchasableSku getPurchasableSkus(int index)

The list of SKUs requested.

repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PurchasableSku

getPurchasableSkusBuilder(int index)

public PurchasableSku.Builder getPurchasableSkusBuilder(int index)

The list of SKUs requested.

repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PurchasableSku.Builder

getPurchasableSkusBuilderList()

public List<PurchasableSku.Builder> getPurchasableSkusBuilderList()

The list of SKUs requested.

repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;

Returns
TypeDescription
List<Builder>

getPurchasableSkusCount()

public int getPurchasableSkusCount()

The list of SKUs requested.

repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;

Returns
TypeDescription
int

getPurchasableSkusList()

public List<PurchasableSku> getPurchasableSkusList()

The list of SKUs requested.

repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;

Returns
TypeDescription
List<PurchasableSku>

getPurchasableSkusOrBuilder(int index)

public PurchasableSkuOrBuilder getPurchasableSkusOrBuilder(int index)

The list of SKUs requested.

repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PurchasableSkuOrBuilder

getPurchasableSkusOrBuilderList()

public List<? extends PurchasableSkuOrBuilder> getPurchasableSkusOrBuilderList()

The list of SKUs requested.

repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListPurchasableSkusResponse other)

public ListPurchasableSkusResponse.Builder mergeFrom(ListPurchasableSkusResponse other)
Parameter
NameDescription
otherListPurchasableSkusResponse
Returns
TypeDescription
ListPurchasableSkusResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListPurchasableSkusResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPurchasableSkusResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListPurchasableSkusResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListPurchasableSkusResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPurchasableSkusResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListPurchasableSkusResponse.Builder
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
NameDescription
indexint
Returns
TypeDescription
ListPurchasableSkusResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPurchasableSkusResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListPurchasableSkusResponse.Builder
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListPurchasableSkusResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListPurchasableSkusResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListPurchasableSkusResponse.Builder

This builder for chaining.

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
NameDescription
indexint
valuePurchasableSku
Returns
TypeDescription
ListPurchasableSkusResponse.Builder

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
NameDescription
indexint
builderForValuePurchasableSku.Builder
Returns
TypeDescription
ListPurchasableSkusResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListPurchasableSkusResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListPurchasableSkusResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListPurchasableSkusResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListPurchasableSkusResponse.Builder
Overrides