public final class ListOffersResponse extends GeneratedMessageV3 implements ListOffersResponseOrBuilder
Response message for ListOffers.
Protobuf type google.cloud.channel.v1.ListOffersResponse
Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
OFFERS_FIELD_NUMBER
public static final int OFFERS_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static ListOffersResponse getDefaultInstance()
Returns
getDefaultInstanceForType()
public ListOffersResponse 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.
|
getOffers(int index)
public Offer getOffers(int index)
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Parameter
Returns
getOffersCount()
public int getOffersCount()
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Returns
getOffersList()
public List<Offer> getOffersList()
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Returns
getOffersOrBuilder(int index)
public OfferOrBuilder getOffersOrBuilder(int index)
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Parameter
Returns
getOffersOrBuilderList()
public List<? extends OfferOrBuilder> getOffersOrBuilderList()
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Returns
Type | Description |
List<? extends com.google.cloud.channel.v1.OfferOrBuilder> | |
getParserForType()
public Parser<ListOffersResponse> getParserForType()
Returns
Overrides
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 ListOffersResponse.Builder newBuilder()
Returns
newBuilder(ListOffersResponse prototype)
public static ListOffersResponse.Builder newBuilder(ListOffersResponse prototype)
Parameter
Returns
newBuilderForType()
public ListOffersResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListOffersResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ListOffersResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListOffersResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListOffersResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListOffersResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListOffersResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListOffersResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListOffersResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListOffersResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListOffersResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListOffersResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListOffersResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListOffersResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListOffersResponse> parser()
Returns
toBuilder()
public ListOffersResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions