Class TransferableOffer (3.7.0)

public final class TransferableOffer extends GeneratedMessageV3 implements TransferableOfferOrBuilder

TransferableOffer represents an Offer that can be used in Transfer. Read-only.

Protobuf type google.cloud.channel.v1.TransferableOffer

Static Fields

OFFER_FIELD_NUMBER

public static final int OFFER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransferableOffer getDefaultInstance()
Returns
TypeDescription
TransferableOffer

getDescriptor()

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

newBuilder()

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

newBuilder(TransferableOffer prototype)

public static TransferableOffer.Builder newBuilder(TransferableOffer prototype)
Parameter
NameDescription
prototypeTransferableOffer
Returns
TypeDescription
TransferableOffer.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TransferableOffer getDefaultInstanceForType()
Returns
TypeDescription
TransferableOffer

getOffer()

public Offer getOffer()

Offer with parameter constraints updated to allow the Transfer.

.google.cloud.channel.v1.Offer offer = 1;

Returns
TypeDescription
Offer

The offer.

getOfferOrBuilder()

public OfferOrBuilder getOfferOrBuilder()

Offer with parameter constraints updated to allow the Transfer.

.google.cloud.channel.v1.Offer offer = 1;

Returns
TypeDescription
OfferOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasOffer()

public boolean hasOffer()

Offer with parameter constraints updated to allow the Transfer.

.google.cloud.channel.v1.Offer offer = 1;

Returns
TypeDescription
boolean

Whether the offer field is set.

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 TransferableOffer.Builder newBuilderForType()
Returns
TypeDescription
TransferableOffer.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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