Class ChannelProfile.WhatsAppConfig (0.11.0)

public static final class ChannelProfile.WhatsAppConfig extends GeneratedMessage implements ChannelProfile.WhatsAppConfigOrBuilder

Configuration specific to WhatsApp deployments.

Protobuf type google.cloud.ces.v1.ChannelProfile.WhatsAppConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ChannelProfile.WhatsAppConfig

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

PHONE_NUMBER_FIELD_NUMBER

public static final int PHONE_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

PHONE_NUMBER_ID_FIELD_NUMBER

public static final int PHONE_NUMBER_ID_FIELD_NUMBER
Field Value
Type Description
int

THUMBNAIL_URL_FIELD_NUMBER

public static final int THUMBNAIL_URL_FIELD_NUMBER
Field Value
Type Description
int

WABA_ID_FIELD_NUMBER

public static final int WABA_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ChannelProfile.WhatsAppConfig getDefaultInstance()
Returns
Type Description
ChannelProfile.WhatsAppConfig

getDescriptor()

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

newBuilder()

public static ChannelProfile.WhatsAppConfig.Builder newBuilder()
Returns
Type Description
ChannelProfile.WhatsAppConfig.Builder

newBuilder(ChannelProfile.WhatsAppConfig prototype)

public static ChannelProfile.WhatsAppConfig.Builder newBuilder(ChannelProfile.WhatsAppConfig prototype)
Parameter
Name Description
prototype ChannelProfile.WhatsAppConfig
Returns
Type Description
ChannelProfile.WhatsAppConfig.Builder

parseDelimitedFrom(InputStream input)

public static ChannelProfile.WhatsAppConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChannelProfile.WhatsAppConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ChannelProfile.WhatsAppConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ChannelProfile.WhatsAppConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ChannelProfile.WhatsAppConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ChannelProfile.WhatsAppConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ChannelProfile.WhatsAppConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChannelProfile.WhatsAppConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ChannelProfile.WhatsAppConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ChannelProfile.WhatsAppConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ChannelProfile.WhatsAppConfig> parser()
Returns
Type Description
Parser<WhatsAppConfig>

Methods

equals(Object obj)

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

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.

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.

getParserForType()

public Parser<ChannelProfile.WhatsAppConfig> getParserForType()
Returns
Type Description
Parser<WhatsAppConfig>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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 ChannelProfile.WhatsAppConfig.Builder newBuilderForType()
Returns
Type Description
ChannelProfile.WhatsAppConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ChannelProfile.WhatsAppConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ChannelProfile.WhatsAppConfig.Builder
Overrides

toBuilder()

public ChannelProfile.WhatsAppConfig.Builder toBuilder()
Returns
Type Description
ChannelProfile.WhatsAppConfig.Builder

writeTo(CodedOutputStream output)

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