Class PrivateOffer.ResellerContact (0.1.0)

public static final class PrivateOffer.ResellerContact extends GeneratedMessage implements PrivateOffer.ResellerContactOrBuilder

Contact information for a reseller.

Protobuf type google.cloud.commerceproducer.v1beta.PrivateOffer.ResellerContact

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > PrivateOffer.ResellerContact

Static Fields

CONTACT_FIELD_NUMBER

public static final int CONTACT_FIELD_NUMBER
Field Value
Type Description
int

EMAIL_FIELD_NUMBER

public static final int EMAIL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PrivateOffer.ResellerContact getDefaultInstance()
Returns
Type Description
PrivateOffer.ResellerContact

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PrivateOffer.ResellerContact.Builder newBuilder()
Returns
Type Description
PrivateOffer.ResellerContact.Builder

newBuilder(PrivateOffer.ResellerContact prototype)

public static PrivateOffer.ResellerContact.Builder newBuilder(PrivateOffer.ResellerContact prototype)
Parameter
Name Description
prototype PrivateOffer.ResellerContact
Returns
Type Description
PrivateOffer.ResellerContact.Builder

parseDelimitedFrom(InputStream input)

public static PrivateOffer.ResellerContact parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivateOffer.ResellerContact
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivateOffer.ResellerContact parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateOffer.ResellerContact
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PrivateOffer.ResellerContact parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PrivateOffer.ResellerContact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivateOffer.ResellerContact parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateOffer.ResellerContact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivateOffer.ResellerContact parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PrivateOffer.ResellerContact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivateOffer.ResellerContact parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateOffer.ResellerContact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivateOffer.ResellerContact parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PrivateOffer.ResellerContact
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivateOffer.ResellerContact parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateOffer.ResellerContact
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PrivateOffer.ResellerContact parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivateOffer.ResellerContact
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivateOffer.ResellerContact parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateOffer.ResellerContact
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PrivateOffer.ResellerContact parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PrivateOffer.ResellerContact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivateOffer.ResellerContact parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateOffer.ResellerContact
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PrivateOffer.ResellerContact> parser()
Returns
Type Description
Parser<ResellerContact>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getContact()

public String getContact()

Output only. The name of the reseller contact for this offer.

string contact = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The contact.

getContactBytes()

public ByteString getContactBytes()

Output only. The name of the reseller contact for this offer.

string contact = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for contact.

getDefaultInstanceForType()

public PrivateOffer.ResellerContact getDefaultInstanceForType()
Returns
Type Description
PrivateOffer.ResellerContact

getEmail()

public String getEmail()

Output only. The email of the reseller contact for this offer.

string email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Output only. The email of the reseller contact for this offer.

string email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for email.

getParserForType()

public Parser<PrivateOffer.ResellerContact> getParserForType()
Returns
Type Description
Parser<ResellerContact>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PrivateOffer.ResellerContact.Builder newBuilderForType()
Returns
Type Description
PrivateOffer.ResellerContact.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected PrivateOffer.ResellerContact.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PrivateOffer.ResellerContact.Builder
Overrides

toBuilder()

public PrivateOffer.ResellerContact.Builder toBuilder()
Returns
Type Description
PrivateOffer.ResellerContact.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException