public static final class ChannelProfile.WhatsAppConfig.Builder extends GeneratedMessage.Builder<ChannelProfile.WhatsAppConfig.Builder> implements ChannelProfile.WhatsAppConfigOrBuilderConfiguration specific to WhatsApp deployments.
Protobuf type google.cloud.ces.v1beta.ChannelProfile.WhatsAppConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ChannelProfile.WhatsAppConfig.BuilderImplements
ChannelProfile.WhatsAppConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ChannelProfile.WhatsAppConfig build()| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig |
|
buildPartial()
public ChannelProfile.WhatsAppConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig |
|
clear()
public ChannelProfile.WhatsAppConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
|
clearDescription()
public ChannelProfile.WhatsAppConfig.Builder clearDescription()Output only. The description of the Meta business page or profile.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
clearDisplayName()
public ChannelProfile.WhatsAppConfig.Builder clearDisplayName()Output only. The fetched Meta business page name.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
clearPhoneNumber()
public ChannelProfile.WhatsAppConfig.Builder clearPhoneNumber()Optional. The phone number in E.164 format.
string phone_number = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
clearPhoneNumberId()
public ChannelProfile.WhatsAppConfig.Builder clearPhoneNumberId()Required. The Meta phone number ID.
string phone_number_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
clearThumbnailUrl()
public ChannelProfile.WhatsAppConfig.Builder clearThumbnailUrl()Output only. The fetched Meta business profile thumbnail URL.
string thumbnail_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
clearWabaId()
public ChannelProfile.WhatsAppConfig.Builder clearWabaId()Required. The WhatsApp Business Account ID.
string waba_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ChannelProfile.WhatsAppConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig |
|
getDescription()
public String getDescription()Output only. The description of the Meta business page or profile.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Output only. The description of the Meta business page or profile.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Output only. The fetched Meta business page name.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Output only. The fetched Meta business page name.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getPhoneNumber()
public String getPhoneNumber()Optional. The phone number in E.164 format.
string phone_number = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The phoneNumber. |
getPhoneNumberBytes()
public ByteString getPhoneNumberBytes()Optional. The phone number in E.164 format.
string phone_number = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for phoneNumber. |
getPhoneNumberId()
public String getPhoneNumberId()Required. The Meta phone number ID.
string phone_number_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The phoneNumberId. |
getPhoneNumberIdBytes()
public ByteString getPhoneNumberIdBytes()Required. The Meta phone number ID.
string phone_number_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for phoneNumberId. |
getThumbnailUrl()
public String getThumbnailUrl()Output only. The fetched Meta business profile thumbnail URL.
string thumbnail_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The thumbnailUrl. |
getThumbnailUrlBytes()
public ByteString getThumbnailUrlBytes()Output only. The fetched Meta business profile thumbnail URL.
string thumbnail_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for thumbnailUrl. |
getWabaId()
public String getWabaId()Required. The WhatsApp Business Account ID.
string waba_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The wabaId. |
getWabaIdBytes()
public ByteString getWabaIdBytes()Required. The WhatsApp Business Account ID.
string waba_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for wabaId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ChannelProfile.WhatsAppConfig other)
public ChannelProfile.WhatsAppConfig.Builder mergeFrom(ChannelProfile.WhatsAppConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ChannelProfile.WhatsAppConfig |
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ChannelProfile.WhatsAppConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ChannelProfile.WhatsAppConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
|
setDescription(String value)
public ChannelProfile.WhatsAppConfig.Builder setDescription(String value)Output only. The description of the Meta business page or profile.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public ChannelProfile.WhatsAppConfig.Builder setDescriptionBytes(ByteString value)Output only. The description of the Meta business page or profile.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
setDisplayName(String value)
public ChannelProfile.WhatsAppConfig.Builder setDisplayName(String value)Output only. The fetched Meta business page name.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ChannelProfile.WhatsAppConfig.Builder setDisplayNameBytes(ByteString value)Output only. The fetched Meta business page name.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
setPhoneNumber(String value)
public ChannelProfile.WhatsAppConfig.Builder setPhoneNumber(String value)Optional. The phone number in E.164 format.
string phone_number = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe phoneNumber to set. |
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
setPhoneNumberBytes(ByteString value)
public ChannelProfile.WhatsAppConfig.Builder setPhoneNumberBytes(ByteString value)Optional. The phone number in E.164 format.
string phone_number = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for phoneNumber to set. |
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
setPhoneNumberId(String value)
public ChannelProfile.WhatsAppConfig.Builder setPhoneNumberId(String value)Required. The Meta phone number ID.
string phone_number_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe phoneNumberId to set. |
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
setPhoneNumberIdBytes(ByteString value)
public ChannelProfile.WhatsAppConfig.Builder setPhoneNumberIdBytes(ByteString value)Required. The Meta phone number ID.
string phone_number_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for phoneNumberId to set. |
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
setThumbnailUrl(String value)
public ChannelProfile.WhatsAppConfig.Builder setThumbnailUrl(String value)Output only. The fetched Meta business profile thumbnail URL.
string thumbnail_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe thumbnailUrl to set. |
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
setThumbnailUrlBytes(ByteString value)
public ChannelProfile.WhatsAppConfig.Builder setThumbnailUrlBytes(ByteString value)Output only. The fetched Meta business profile thumbnail URL.
string thumbnail_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for thumbnailUrl to set. |
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
setWabaId(String value)
public ChannelProfile.WhatsAppConfig.Builder setWabaId(String value)Required. The WhatsApp Business Account ID.
string waba_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe wabaId to set. |
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |
setWabaIdBytes(ByteString value)
public ChannelProfile.WhatsAppConfig.Builder setWabaIdBytes(ByteString value)Required. The WhatsApp Business Account ID.
string waba_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for wabaId to set. |
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.WhatsAppConfig.Builder |
This builder for chaining. |