Class ActionResponse.UpdatedWidget (0.10.0)

public static final class ActionResponse.UpdatedWidget extends GeneratedMessageV3 implements ActionResponse.UpdatedWidgetOrBuilder

The response of the updated widget. Used to provide autocomplete options for a widget.

Protobuf type google.chat.v1.ActionResponse.UpdatedWidget

Static Fields

SUGGESTIONS_FIELD_NUMBER

public static final int SUGGESTIONS_FIELD_NUMBER
Field Value
Type Description
int

WIDGET_FIELD_NUMBER

public static final int WIDGET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ActionResponse.UpdatedWidget getDefaultInstance()
Returns
Type Description
ActionResponse.UpdatedWidget

getDescriptor()

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

newBuilder()

public static ActionResponse.UpdatedWidget.Builder newBuilder()
Returns
Type Description
ActionResponse.UpdatedWidget.Builder

newBuilder(ActionResponse.UpdatedWidget prototype)

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

parseDelimitedFrom(InputStream input)

public static ActionResponse.UpdatedWidget parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ActionResponse.UpdatedWidget
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ActionResponse.UpdatedWidget parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ActionResponse.UpdatedWidget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ActionResponse.UpdatedWidget parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ActionResponse.UpdatedWidget
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ActionResponse.UpdatedWidget parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ActionResponse.UpdatedWidget
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ActionResponse.UpdatedWidget parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ActionResponse.UpdatedWidget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ActionResponse.UpdatedWidget> parser()
Returns
Type Description
Parser<UpdatedWidget>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ActionResponse.UpdatedWidget getDefaultInstanceForType()
Returns
Type Description
ActionResponse.UpdatedWidget

getParserForType()

public Parser<ActionResponse.UpdatedWidget> getParserForType()
Returns
Type Description
Parser<UpdatedWidget>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSuggestions()

public ActionResponse.SelectionItems getSuggestions()

List of widget autocomplete results

.google.chat.v1.ActionResponse.SelectionItems suggestions = 1;

Returns
Type Description
ActionResponse.SelectionItems

The suggestions.

getSuggestionsOrBuilder()

public ActionResponse.SelectionItemsOrBuilder getSuggestionsOrBuilder()

List of widget autocomplete results

.google.chat.v1.ActionResponse.SelectionItems suggestions = 1;

Returns
Type Description
ActionResponse.SelectionItemsOrBuilder

getUpdatedWidgetCase()

public ActionResponse.UpdatedWidget.UpdatedWidgetCase getUpdatedWidgetCase()
Returns
Type Description
ActionResponse.UpdatedWidget.UpdatedWidgetCase

getWidget()

public String getWidget()

The ID of the updated widget. The ID must match the one for the widget that triggered the update request.

string widget = 2;

Returns
Type Description
String

The widget.

getWidgetBytes()

public ByteString getWidgetBytes()

The ID of the updated widget. The ID must match the one for the widget that triggered the update request.

string widget = 2;

Returns
Type Description
ByteString

The bytes for widget.

hasSuggestions()

public boolean hasSuggestions()

List of widget autocomplete results

.google.chat.v1.ActionResponse.SelectionItems suggestions = 1;

Returns
Type Description
boolean

Whether the suggestions field is set.

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 ActionResponse.UpdatedWidget.Builder newBuilderForType()
Returns
Type Description
ActionResponse.UpdatedWidget.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ActionResponse.UpdatedWidget.Builder toBuilder()
Returns
Type Description
ActionResponse.UpdatedWidget.Builder

writeTo(CodedOutputStream output)

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