Send feedback
Class ActionResponse.UpdatedWidget.Builder (0.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.15.0 keyboard_arrow_down
public static final class ActionResponse . UpdatedWidget . Builder extends GeneratedMessageV3 . Builder<ActionResponse . UpdatedWidget . Builder > implements ActionResponse . UpdatedWidgetOrBuilder
The response of the updated widget.
Used to provide autocomplete options for a widget.
Protobuf type google.chat.v1.ActionResponse.UpdatedWidget
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public ActionResponse . UpdatedWidget . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public ActionResponse . UpdatedWidget build ()
public ActionResponse . UpdatedWidget buildPartial ()
public ActionResponse . UpdatedWidget . Builder clear ()
Overrides
public ActionResponse . UpdatedWidget . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public ActionResponse . UpdatedWidget . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public ActionResponse . UpdatedWidget . Builder clearSuggestions ()
List of widget autocomplete results
.google.chat.v1.ActionResponse.SelectionItems suggestions = 1;
public ActionResponse . UpdatedWidget . Builder clearUpdatedWidget ()
public ActionResponse . UpdatedWidget . Builder clearWidget ()
The ID of the updated widget. The ID must match the one for the
widget that triggered the update request.
string widget = 2;
public ActionResponse . UpdatedWidget . Builder clone ()
Overrides
public ActionResponse . UpdatedWidget getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public ActionResponse . SelectionItems getSuggestions ()
List of widget autocomplete results
.google.chat.v1.ActionResponse.SelectionItems suggestions = 1;
public ActionResponse . SelectionItems . Builder getSuggestionsBuilder ()
List of widget autocomplete results
.google.chat.v1.ActionResponse.SelectionItems suggestions = 1;
public ActionResponse . SelectionItemsOrBuilder getSuggestionsOrBuilder ()
List of widget autocomplete results
.google.chat.v1.ActionResponse.SelectionItems suggestions = 1;
public ActionResponse . UpdatedWidget . UpdatedWidgetCase getUpdatedWidgetCase ()
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.
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.
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.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ActionResponse . UpdatedWidget . Builder mergeFrom ( ActionResponse . UpdatedWidget other )
public ActionResponse . UpdatedWidget . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public ActionResponse . UpdatedWidget . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public ActionResponse . UpdatedWidget . Builder mergeSuggestions ( ActionResponse . SelectionItems value )
List of widget autocomplete results
.google.chat.v1.ActionResponse.SelectionItems suggestions = 1;
public final ActionResponse . UpdatedWidget . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public ActionResponse . UpdatedWidget . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public ActionResponse . UpdatedWidget . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public ActionResponse . UpdatedWidget . Builder setSuggestions ( ActionResponse . SelectionItems value )
List of widget autocomplete results
.google.chat.v1.ActionResponse.SelectionItems suggestions = 1;
public ActionResponse . UpdatedWidget . Builder setSuggestions ( ActionResponse . SelectionItems . Builder builderForValue )
List of widget autocomplete results
.google.chat.v1.ActionResponse.SelectionItems suggestions = 1;
public final ActionResponse . UpdatedWidget . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public ActionResponse . UpdatedWidget . Builder setWidget ( String value )
The ID of the updated widget. The ID must match the one for the
widget that triggered the update request.
string widget = 2;
Parameter
Name
Description
value
String
The widget to set.
public ActionResponse . UpdatedWidget . Builder setWidgetBytes ( ByteString value )
The ID of the updated widget. The ID must match the one for the
widget that triggered the update request.
string widget = 2;
Parameter
Name
Description
value
ByteString
The bytes for widget to set.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]