Class ListTransferableOffersResponse (3.14.0)

public final class ListTransferableOffersResponse extends GeneratedMessageV3 implements ListTransferableOffersResponseOrBuilder

Response message for CloudChannelService.ListTransferableOffers.

Protobuf type google.cloud.channel.v1.ListTransferableOffersResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListTransferableOffersResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSFERABLE_OFFERS_FIELD_NUMBER

public static final int TRANSFERABLE_OFFERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListTransferableOffersResponse getDefaultInstance()
Returns
TypeDescription
ListTransferableOffersResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListTransferableOffersResponse prototype)

public static ListTransferableOffersResponse.Builder newBuilder(ListTransferableOffersResponse prototype)
Parameter
NameDescription
prototypeListTransferableOffersResponse
Returns
TypeDescription
ListTransferableOffersResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListTransferableOffersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTransferableOffersResponse

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. Pass to ListTransferableOffersRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. Pass to ListTransferableOffersRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTransferableOffers(int index)

public TransferableOffer getTransferableOffers(int index)

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransferableOffer

getTransferableOffersCount()

public int getTransferableOffersCount()

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Returns
TypeDescription
int

getTransferableOffersList()

public List<TransferableOffer> getTransferableOffersList()

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Returns
TypeDescription
List<TransferableOffer>

getTransferableOffersOrBuilder(int index)

public TransferableOfferOrBuilder getTransferableOffersOrBuilder(int index)

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransferableOfferOrBuilder

getTransferableOffersOrBuilderList()

public List<? extends TransferableOfferOrBuilder> getTransferableOffersOrBuilderList()

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 ListTransferableOffersResponse.Builder newBuilderForType()
Returns
TypeDescription
ListTransferableOffersResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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