public static final class PrivateOffer.ResellerContact.Builder extends GeneratedMessage.Builder<PrivateOffer.ResellerContact.Builder> implements PrivateOffer.ResellerContactOrBuilderContact information for a reseller.
Protobuf type google.cloud.commerceproducer.v1beta.PrivateOffer.ResellerContact
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PrivateOffer.ResellerContact.BuilderImplements
PrivateOffer.ResellerContactOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PrivateOffer.ResellerContact build()| Returns | |
|---|---|
| Type | Description |
PrivateOffer.ResellerContact |
|
buildPartial()
public PrivateOffer.ResellerContact buildPartial()| Returns | |
|---|---|
| Type | Description |
PrivateOffer.ResellerContact |
|
clear()
public PrivateOffer.ResellerContact.Builder clear()| Returns | |
|---|---|
| Type | Description |
PrivateOffer.ResellerContact.Builder |
|
clearContact()
public PrivateOffer.ResellerContact.Builder clearContact()Output only. The name of the reseller contact for this offer.
string contact = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.ResellerContact.Builder |
This builder for chaining. |
clearEmail()
public PrivateOffer.ResellerContact.Builder clearEmail()Output only. The email of the reseller contact for this offer.
string email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.ResellerContact.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PrivateOffer.ResellerContact other)
public PrivateOffer.ResellerContact.Builder mergeFrom(PrivateOffer.ResellerContact other)| Parameter | |
|---|---|
| Name | Description |
other |
PrivateOffer.ResellerContact |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.ResellerContact.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PrivateOffer.ResellerContact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.ResellerContact.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PrivateOffer.ResellerContact.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.ResellerContact.Builder |
|
setContact(String value)
public PrivateOffer.ResellerContact.Builder setContact(String value)Output only. The name of the reseller contact for this offer.
string contact = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe contact to set. |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.ResellerContact.Builder |
This builder for chaining. |
setContactBytes(ByteString value)
public PrivateOffer.ResellerContact.Builder setContactBytes(ByteString value)Output only. The name of the reseller contact for this offer.
string contact = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for contact to set. |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.ResellerContact.Builder |
This builder for chaining. |
setEmail(String value)
public PrivateOffer.ResellerContact.Builder setEmail(String value)Output only. The email of the reseller contact for this offer.
string email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe email to set. |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.ResellerContact.Builder |
This builder for chaining. |
setEmailBytes(ByteString value)
public PrivateOffer.ResellerContact.Builder setEmailBytes(ByteString value)Output only. The email of the reseller contact for this offer.
string email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for email to set. |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.ResellerContact.Builder |
This builder for chaining. |