public static final class ActionStatus.Builder extends GeneratedMessageV3.Builder<ActionStatus.Builder> implements ActionStatusOrBuilder
Represents the status for a request to either invoke or submit a dialog.
Protobuf type google.chat.v1.ActionStatus
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ActionStatus.BuilderImplements
ActionStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ActionStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
build()
public ActionStatus build()
Returns | |
---|---|
Type | Description |
ActionStatus |
buildPartial()
public ActionStatus buildPartial()
Returns | |
---|---|
Type | Description |
ActionStatus |
clear()
public ActionStatus.Builder clear()
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
clearField(Descriptors.FieldDescriptor field)
public ActionStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ActionStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
clearStatusCode()
public ActionStatus.Builder clearStatusCode()
The status code.
.google.rpc.Code status_code = 1;
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
This builder for chaining. |
clearUserFacingMessage()
public ActionStatus.Builder clearUserFacingMessage()
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 |
ActionStatus.Builder |
This builder for chaining. |
clone()
public ActionStatus.Builder clone()
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
getDefaultInstanceForType()
public ActionStatus getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ActionStatus |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ActionStatus other)
public ActionStatus.Builder mergeFrom(ActionStatus other)
Parameter | |
---|---|
Name | Description |
other |
ActionStatus |
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ActionStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ActionStatus.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ActionStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ActionStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ActionStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
setStatusCode(Code value)
public ActionStatus.Builder setStatusCode(Code value)
The status code.
.google.rpc.Code status_code = 1;
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Code The statusCode to set. |
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
This builder for chaining. |
setStatusCodeValue(int value)
public ActionStatus.Builder setStatusCodeValue(int value)
The status code.
.google.rpc.Code status_code = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for statusCode to set. |
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ActionStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
setUserFacingMessage(String value)
public ActionStatus.Builder setUserFacingMessage(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The userFacingMessage to set. |
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
This builder for chaining. |
setUserFacingMessageBytes(ByteString value)
public ActionStatus.Builder setUserFacingMessageBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for userFacingMessage to set. |
Returns | |
---|---|
Type | Description |
ActionStatus.Builder |
This builder for chaining. |