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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ActionStatus.Builder newBuilder()
newBuilder(ActionStatus prototype)
public static ActionStatus.Builder newBuilder(ActionStatus prototype)
public static ActionStatus parseDelimitedFrom(InputStream input)
public static ActionStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ActionStatus parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ActionStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ActionStatus parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ActionStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ActionStatus parseFrom(CodedInputStream input)
public static ActionStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ActionStatus parseFrom(InputStream input)
public static ActionStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ActionStatus parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ActionStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ActionStatus> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ActionStatus getDefaultInstanceForType()
getParserForType()
public Parser<ActionStatus> getParserForType()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ActionStatus.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ActionStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ActionStatus.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides