public final class GenerateChatTokenResponse extends GeneratedMessage implements GenerateChatTokenResponseOrBuilderResponse message for WidgetService.GenerateChatToken.
Protobuf type google.cloud.ces.v1.GenerateChatTokenResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GenerateChatTokenResponseImplements
GenerateChatTokenResponseOrBuilderStatic Fields
CHAT_TOKEN_FIELD_NUMBER
public static final int CHAT_TOKEN_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
EXPIRE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static GenerateChatTokenResponse getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static GenerateChatTokenResponse.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse.Builder |
|
newBuilder(GenerateChatTokenResponse prototype)
public static GenerateChatTokenResponse.Builder newBuilder(GenerateChatTokenResponse prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
GenerateChatTokenResponse |
| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse.Builder |
|
parseDelimitedFrom(InputStream input)
public static GenerateChatTokenResponse parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateChatTokenResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static GenerateChatTokenResponse parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateChatTokenResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static GenerateChatTokenResponse parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateChatTokenResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static GenerateChatTokenResponse parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateChatTokenResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static GenerateChatTokenResponse parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateChatTokenResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static GenerateChatTokenResponse parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateChatTokenResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<GenerateChatTokenResponse> parser()| Returns | |
|---|---|
| Type | Description |
Parser<GenerateChatTokenResponse> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getChatToken()
public String getChatToken()The session scoped token for chat widget to authenticate with Session APIs.
string chat_token = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The chatToken. |
getChatTokenBytes()
public ByteString getChatTokenBytes()The session scoped token for chat widget to authenticate with Session APIs.
string chat_token = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for chatToken. |
getDefaultInstanceForType()
public GenerateChatTokenResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse |
|
getExpireTime()
public Timestamp getExpireTime()The time at which the chat token expires.
.google.protobuf.Timestamp expire_time = 2;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The expireTime. |
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()The time at which the chat token expires.
.google.protobuf.Timestamp expire_time = 2;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getParserForType()
public Parser<GenerateChatTokenResponse> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<GenerateChatTokenResponse> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasExpireTime()
public boolean hasExpireTime()The time at which the chat token expires.
.google.protobuf.Timestamp expire_time = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the expireTime field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public GenerateChatTokenResponse.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected GenerateChatTokenResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse.Builder |
|
toBuilder()
public GenerateChatTokenResponse.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|