Class ActionStatus (0.12.0)

public final class ActionStatus extends GeneratedMessageV3 implements ActionStatusOrBuilder

Represents the status for a request to either invoke or submit a dialog.

Protobuf type google.chat.v1.ActionStatus

Static Fields

STATUS_CODE_FIELD_NUMBER

public static final int STATUS_CODE_FIELD_NUMBER
Field Value
Type Description
int

USER_FACING_MESSAGE_FIELD_NUMBER

public static final int USER_FACING_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ActionStatus getDefaultInstance()
Returns
Type Description
ActionStatus

getDescriptor()

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

newBuilder()

public static ActionStatus.Builder newBuilder()
Returns
Type Description
ActionStatus.Builder

newBuilder(ActionStatus prototype)

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

parseDelimitedFrom(InputStream input)

public static ActionStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ActionStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ActionStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ActionStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ActionStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ActionStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ActionStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ActionStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ActionStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ActionStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ActionStatus> parser()
Returns
Type Description
Parser<ActionStatus>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ActionStatus getDefaultInstanceForType()
Returns
Type Description
ActionStatus

getParserForType()

public Parser<ActionStatus> getParserForType()
Returns
Type Description
Parser<ActionStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatusCode()

public Code getStatusCode()

The status code.

.google.rpc.Code status_code = 1;

Returns
Type Description
com.google.rpc.Code

The statusCode.

getStatusCodeValue()

public int getStatusCodeValue()

The status code.

.google.rpc.Code status_code = 1;

Returns
Type Description
int

The enum numeric value on the wire for statusCode.

getUserFacingMessage()

public String getUserFacingMessage()

The message to send users about the status of their request. If unset, a generic message based on the status_code is sent.

string user_facing_message = 2;

Returns
Type Description
String

The userFacingMessage.

getUserFacingMessageBytes()

public ByteString getUserFacingMessageBytes()

The message to send users about the status of their request. If unset, a generic message based on the status_code is sent.

string user_facing_message = 2;

Returns
Type Description
ByteString

The bytes for userFacingMessage.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ActionStatus.Builder newBuilderForType()
Returns
Type Description
ActionStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ActionStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ActionStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ActionStatus.Builder toBuilder()
Returns
Type Description
ActionStatus.Builder

writeTo(CodedOutputStream output)

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