Class ListOffersResponse (3.40.0)

public final class ListOffersResponse extends GeneratedMessageV3 implements ListOffersResponseOrBuilder

Response message for ListOffers.

Protobuf type google.cloud.channel.v1.ListOffersResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

OFFERS_FIELD_NUMBER

public static final int OFFERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListOffersResponse getDefaultInstance()
Returns
TypeDescription
ListOffersResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListOffersResponse.Builder newBuilder()
Returns
TypeDescription
ListOffersResponse.Builder

newBuilder(ListOffersResponse prototype)

public static ListOffersResponse.Builder newBuilder(ListOffersResponse prototype)
Parameter
NameDescription
prototypeListOffersResponse
Returns
TypeDescription
ListOffersResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListOffersResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListOffersResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListOffersResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOffersResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListOffersResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListOffersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListOffersResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOffersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListOffersResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListOffersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListOffersResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOffersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListOffersResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListOffersResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListOffersResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOffersResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListOffersResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListOffersResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListOffersResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOffersResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListOffersResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListOffersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListOffersResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOffersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListOffersResponse> parser()
Returns
TypeDescription
Parser<ListOffersResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListOffersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListOffersResponse

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.

getOffers(int index)

public Offer getOffers(int index)

The list of Offers requested.

repeated .google.cloud.channel.v1.Offer offers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Offer

getOffersCount()

public int getOffersCount()

The list of Offers requested.

repeated .google.cloud.channel.v1.Offer offers = 1;

Returns
TypeDescription
int

getOffersList()

public List<Offer> getOffersList()

The list of Offers requested.

repeated .google.cloud.channel.v1.Offer offers = 1;

Returns
TypeDescription
List<Offer>

getOffersOrBuilder(int index)

public OfferOrBuilder getOffersOrBuilder(int index)

The list of Offers requested.

repeated .google.cloud.channel.v1.Offer offers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OfferOrBuilder

getOffersOrBuilderList()

public List<? extends OfferOrBuilder> getOffersOrBuilderList()

The list of Offers requested.

repeated .google.cloud.channel.v1.Offer offers = 1;

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

getParserForType()

public Parser<ListOffersResponse> getParserForType()
Returns
TypeDescription
Parser<ListOffersResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListOffersResponse.Builder newBuilderForType()
Returns
TypeDescription
ListOffersResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListOffersResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListOffersResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListOffersResponse.Builder toBuilder()
Returns
TypeDescription
ListOffersResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException