public static final class OmnichannelIntegrationConfig.WhatsappConfig.Builder extends GeneratedMessage.Builder<OmnichannelIntegrationConfig.WhatsappConfig.Builder> implements OmnichannelIntegrationConfig.WhatsappConfigOrBuilderHow Omnichannel should receive/reply events from WhatsApp.
Protobuf type google.cloud.ces.v1.OmnichannelIntegrationConfig.WhatsappConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OmnichannelIntegrationConfig.WhatsappConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public OmnichannelIntegrationConfig.WhatsappConfig build()| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig |
|
buildPartial()
public OmnichannelIntegrationConfig.WhatsappConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig |
|
clear()
public OmnichannelIntegrationConfig.WhatsappConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
|
clearMetaBusinessPortfolioId()
public OmnichannelIntegrationConfig.WhatsappConfig.Builder clearMetaBusinessPortfolioId()The Meta Business Portfolio (MBP) ID. https://www.facebook.com/business/help/1710077379203657
string meta_business_portfolio_id = 6;
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
clearPhoneNumber()
public OmnichannelIntegrationConfig.WhatsappConfig.Builder clearPhoneNumber()The phone number used for sending/receiving messages.
string phone_number = 2;
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
clearPhoneNumberId()
public OmnichannelIntegrationConfig.WhatsappConfig.Builder clearPhoneNumberId()The Phone Number ID associated with the WhatsApp Business Account.
string phone_number_id = 1;
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
clearWebhookVerifyToken()
public OmnichannelIntegrationConfig.WhatsappConfig.Builder clearWebhookVerifyToken()The verify token configured in the Meta App Dashboard for webhook verification.
string webhook_verify_token = 4;
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
clearWhatsappBusinessAccountId()
public OmnichannelIntegrationConfig.WhatsappConfig.Builder clearWhatsappBusinessAccountId()The customer's WhatsApp Business Account (WABA) ID.
string whatsapp_business_account_id = 3;
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
clearWhatsappBusinessToken()
public OmnichannelIntegrationConfig.WhatsappConfig.Builder clearWhatsappBusinessToken()The access token for authenticating API calls to the WhatsApp Cloud API. https://developers.facebook.com/docs/whatsapp/business-management-api/get-started/#business-integration-system-user-access-tokens
string whatsapp_business_token = 5;
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public OmnichannelIntegrationConfig.WhatsappConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMetaBusinessPortfolioId()
public String getMetaBusinessPortfolioId()The Meta Business Portfolio (MBP) ID. https://www.facebook.com/business/help/1710077379203657
string meta_business_portfolio_id = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The metaBusinessPortfolioId. |
getMetaBusinessPortfolioIdBytes()
public ByteString getMetaBusinessPortfolioIdBytes()The Meta Business Portfolio (MBP) ID. https://www.facebook.com/business/help/1710077379203657
string meta_business_portfolio_id = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for metaBusinessPortfolioId. |
getPhoneNumber()
public String getPhoneNumber()The phone number used for sending/receiving messages.
string phone_number = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The phoneNumber. |
getPhoneNumberBytes()
public ByteString getPhoneNumberBytes()The phone number used for sending/receiving messages.
string phone_number = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for phoneNumber. |
getPhoneNumberId()
public String getPhoneNumberId()The Phone Number ID associated with the WhatsApp Business Account.
string phone_number_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The phoneNumberId. |
getPhoneNumberIdBytes()
public ByteString getPhoneNumberIdBytes()The Phone Number ID associated with the WhatsApp Business Account.
string phone_number_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for phoneNumberId. |
getWebhookVerifyToken()
public String getWebhookVerifyToken()The verify token configured in the Meta App Dashboard for webhook verification.
string webhook_verify_token = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The webhookVerifyToken. |
getWebhookVerifyTokenBytes()
public ByteString getWebhookVerifyTokenBytes()The verify token configured in the Meta App Dashboard for webhook verification.
string webhook_verify_token = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for webhookVerifyToken. |
getWhatsappBusinessAccountId()
public String getWhatsappBusinessAccountId()The customer's WhatsApp Business Account (WABA) ID.
string whatsapp_business_account_id = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The whatsappBusinessAccountId. |
getWhatsappBusinessAccountIdBytes()
public ByteString getWhatsappBusinessAccountIdBytes()The customer's WhatsApp Business Account (WABA) ID.
string whatsapp_business_account_id = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for whatsappBusinessAccountId. |
getWhatsappBusinessToken()
public String getWhatsappBusinessToken()The access token for authenticating API calls to the WhatsApp Cloud API. https://developers.facebook.com/docs/whatsapp/business-management-api/get-started/#business-integration-system-user-access-tokens
string whatsapp_business_token = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The whatsappBusinessToken. |
getWhatsappBusinessTokenBytes()
public ByteString getWhatsappBusinessTokenBytes()The access token for authenticating API calls to the WhatsApp Cloud API. https://developers.facebook.com/docs/whatsapp/business-management-api/get-started/#business-integration-system-user-access-tokens
string whatsapp_business_token = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for whatsappBusinessToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(OmnichannelIntegrationConfig.WhatsappConfig other)
public OmnichannelIntegrationConfig.WhatsappConfig.Builder mergeFrom(OmnichannelIntegrationConfig.WhatsappConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
OmnichannelIntegrationConfig.WhatsappConfig |
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OmnichannelIntegrationConfig.WhatsappConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OmnichannelIntegrationConfig.WhatsappConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
|
setMetaBusinessPortfolioId(String value)
public OmnichannelIntegrationConfig.WhatsappConfig.Builder setMetaBusinessPortfolioId(String value)The Meta Business Portfolio (MBP) ID. https://www.facebook.com/business/help/1710077379203657
string meta_business_portfolio_id = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe metaBusinessPortfolioId to set. |
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
setMetaBusinessPortfolioIdBytes(ByteString value)
public OmnichannelIntegrationConfig.WhatsappConfig.Builder setMetaBusinessPortfolioIdBytes(ByteString value)The Meta Business Portfolio (MBP) ID. https://www.facebook.com/business/help/1710077379203657
string meta_business_portfolio_id = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for metaBusinessPortfolioId to set. |
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
setPhoneNumber(String value)
public OmnichannelIntegrationConfig.WhatsappConfig.Builder setPhoneNumber(String value)The phone number used for sending/receiving messages.
string phone_number = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe phoneNumber to set. |
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
setPhoneNumberBytes(ByteString value)
public OmnichannelIntegrationConfig.WhatsappConfig.Builder setPhoneNumberBytes(ByteString value)The phone number used for sending/receiving messages.
string phone_number = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for phoneNumber to set. |
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
setPhoneNumberId(String value)
public OmnichannelIntegrationConfig.WhatsappConfig.Builder setPhoneNumberId(String value)The Phone Number ID associated with the WhatsApp Business Account.
string phone_number_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe phoneNumberId to set. |
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
setPhoneNumberIdBytes(ByteString value)
public OmnichannelIntegrationConfig.WhatsappConfig.Builder setPhoneNumberIdBytes(ByteString value)The Phone Number ID associated with the WhatsApp Business Account.
string phone_number_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for phoneNumberId to set. |
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
setWebhookVerifyToken(String value)
public OmnichannelIntegrationConfig.WhatsappConfig.Builder setWebhookVerifyToken(String value)The verify token configured in the Meta App Dashboard for webhook verification.
string webhook_verify_token = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe webhookVerifyToken to set. |
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
setWebhookVerifyTokenBytes(ByteString value)
public OmnichannelIntegrationConfig.WhatsappConfig.Builder setWebhookVerifyTokenBytes(ByteString value)The verify token configured in the Meta App Dashboard for webhook verification.
string webhook_verify_token = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for webhookVerifyToken to set. |
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
setWhatsappBusinessAccountId(String value)
public OmnichannelIntegrationConfig.WhatsappConfig.Builder setWhatsappBusinessAccountId(String value)The customer's WhatsApp Business Account (WABA) ID.
string whatsapp_business_account_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe whatsappBusinessAccountId to set. |
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
setWhatsappBusinessAccountIdBytes(ByteString value)
public OmnichannelIntegrationConfig.WhatsappConfig.Builder setWhatsappBusinessAccountIdBytes(ByteString value)The customer's WhatsApp Business Account (WABA) ID.
string whatsapp_business_account_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for whatsappBusinessAccountId to set. |
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
setWhatsappBusinessToken(String value)
public OmnichannelIntegrationConfig.WhatsappConfig.Builder setWhatsappBusinessToken(String value)The access token for authenticating API calls to the WhatsApp Cloud API. https://developers.facebook.com/docs/whatsapp/business-management-api/get-started/#business-integration-system-user-access-tokens
string whatsapp_business_token = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe whatsappBusinessToken to set. |
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |
setWhatsappBusinessTokenBytes(ByteString value)
public OmnichannelIntegrationConfig.WhatsappConfig.Builder setWhatsappBusinessTokenBytes(ByteString value)The access token for authenticating API calls to the WhatsApp Cloud API. https://developers.facebook.com/docs/whatsapp/business-management-api/get-started/#business-integration-system-user-access-tokens
string whatsapp_business_token = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for whatsappBusinessToken to set. |
| Returns | |
|---|---|
| Type | Description |
OmnichannelIntegrationConfig.WhatsappConfig.Builder |
This builder for chaining. |