public static final class ActionResponse.UpdatedWidget.Builder extends GeneratedMessageV3.Builder<ActionResponse.UpdatedWidget.Builder> implements ActionResponse.UpdatedWidgetOrBuilder
For selectionInput
widgets, returns autocomplete suggestions for a
multiselect menu.
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.
|