public final class ListOffersResponse extends GeneratedMessageV3 implements ListOffersResponseOrBuilder
Response message for ListOffers.
Protobuf type google.cloud.channel.v1.ListOffersResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
OFFERS_FIELD_NUMBER
public static final int OFFERS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ListOffersResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ListOffersResponse.Builder newBuilder()
newBuilder(ListOffersResponse prototype)
public static ListOffersResponse.Builder newBuilder(ListOffersResponse prototype)
public static ListOffersResponse parseDelimitedFrom(InputStream input)
public static ListOffersResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ListOffersResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListOffersResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ListOffersResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListOffersResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListOffersResponse parseFrom(CodedInputStream input)
public static ListOffersResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListOffersResponse parseFrom(InputStream input)
public static ListOffersResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ListOffersResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListOffersResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ListOffersResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ListOffersResponse getDefaultInstanceForType()
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 |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Offer | |
getOffersCount()
public int getOffersCount()
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Returns |
---|
Type | Description |
int | |
getOffersList()
public List<Offer> getOffersList()
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
getOffersOrBuilder(int index)
public OfferOrBuilder getOffersOrBuilder(int index)
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ListOffersResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListOffersResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ListOffersResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides