Class ActionStatus (0.4.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
TypeDescription
int

USER_FACING_MESSAGE_FIELD_NUMBER

public static final int USER_FACING_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ActionStatus getDefaultInstance()
Returns
TypeDescription
ActionStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ActionStatus.Builder newBuilder()
Returns
TypeDescription
ActionStatus.Builder

newBuilder(ActionStatus prototype)

public static ActionStatus.Builder newBuilder(ActionStatus prototype)
Parameter
NameDescription
prototypeActionStatus
Returns
TypeDescription
ActionStatus.Builder

parseDelimitedFrom(InputStream input)

public static ActionStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ActionStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ActionStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ActionStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ActionStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ActionStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ActionStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ActionStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ActionStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ActionStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ActionStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ActionStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ActionStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ActionStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ActionStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ActionStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ActionStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ActionStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ActionStatus> parser()
Returns
TypeDescription
Parser<ActionStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ActionStatus getDefaultInstanceForType()
Returns
TypeDescription
ActionStatus

getParserForType()

public Parser<ActionStatus> getParserForType()
Returns
TypeDescription
Parser<ActionStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatusCode()

public Code getStatusCode()

The status code.

.google.rpc.Code status_code = 1;

Returns
TypeDescription
com.google.rpc.Code

The statusCode.

getStatusCodeValue()

public int getStatusCodeValue()

The status code.

.google.rpc.Code status_code = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for userFacingMessage.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ActionStatus.Builder newBuilderForType()
Returns
TypeDescription
ActionStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ActionStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ActionStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ActionStatus.Builder toBuilder()
Returns
TypeDescription
ActionStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException