public final class ListPurchasableOffersResponse extends GeneratedMessageV3 implements ListPurchasableOffersResponseOrBuilder
Response message for ListPurchasableOffers.
Protobuf type google.cloud.channel.v1.ListPurchasableOffersResponse
Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
PURCHASABLE_OFFERS_FIELD_NUMBER
public static final int PURCHASABLE_OFFERS_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static ListPurchasableOffersResponse getDefaultInstance()
Returns
getDefaultInstanceForType()
public ListPurchasableOffersResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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.
|
getParserForType()
public Parser<ListPurchasableOffersResponse> getParserForType()
Returns
Overrides
getPurchasableOffers(int index)
public PurchasableOffer getPurchasableOffers(int index)
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
Parameter
Returns
getPurchasableOffersCount()
public int getPurchasableOffersCount()
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
Returns
getPurchasableOffersList()
public List<PurchasableOffer> getPurchasableOffersList()
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
Returns
getPurchasableOffersOrBuilder(int index)
public PurchasableOfferOrBuilder getPurchasableOffersOrBuilder(int index)
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
Parameter
Returns
getPurchasableOffersOrBuilderList()
public List<? extends PurchasableOfferOrBuilder> getPurchasableOffersOrBuilderList()
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
Returns
Type | Description |
List<? extends com.google.cloud.channel.v1.PurchasableOfferOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static ListPurchasableOffersResponse.Builder newBuilder()
Returns
newBuilder(ListPurchasableOffersResponse prototype)
public static ListPurchasableOffersResponse.Builder newBuilder(ListPurchasableOffersResponse prototype)
Parameter
Returns
newBuilderForType()
public ListPurchasableOffersResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListPurchasableOffersResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ListPurchasableOffersResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListPurchasableOffersResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListPurchasableOffersResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListPurchasableOffersResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListPurchasableOffersResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListPurchasableOffersResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListPurchasableOffersResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListPurchasableOffersResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListPurchasableOffersResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListPurchasableOffersResponse> parser()
Returns
toBuilder()
public ListPurchasableOffersResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions