Class ActionResponse.SelectionItems (0.3.0)

public static final class ActionResponse.SelectionItems extends GeneratedMessageV3 implements ActionResponse.SelectionItemsOrBuilder

List of widget autocomplete results.

Protobuf type google.chat.v1.ActionResponse.SelectionItems

Static Fields

ITEMS_FIELD_NUMBER

public static final int ITEMS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ActionResponse.SelectionItems getDefaultInstance()
Returns
TypeDescription
ActionResponse.SelectionItems

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ActionResponse.SelectionItems.Builder newBuilder()
Returns
TypeDescription
ActionResponse.SelectionItems.Builder

newBuilder(ActionResponse.SelectionItems prototype)

public static ActionResponse.SelectionItems.Builder newBuilder(ActionResponse.SelectionItems prototype)
Parameter
NameDescription
prototypeActionResponse.SelectionItems
Returns
TypeDescription
ActionResponse.SelectionItems.Builder

parseDelimitedFrom(InputStream input)

public static ActionResponse.SelectionItems parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ActionResponse.SelectionItems
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ActionResponse.SelectionItems parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionResponse.SelectionItems
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ActionResponse.SelectionItems parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ActionResponse.SelectionItems
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ActionResponse.SelectionItems parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionResponse.SelectionItems
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ActionResponse.SelectionItems parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ActionResponse.SelectionItems
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ActionResponse.SelectionItems parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionResponse.SelectionItems
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ActionResponse.SelectionItems parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ActionResponse.SelectionItems
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ActionResponse.SelectionItems parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionResponse.SelectionItems
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ActionResponse.SelectionItems parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ActionResponse.SelectionItems
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ActionResponse.SelectionItems parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionResponse.SelectionItems
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ActionResponse.SelectionItems parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ActionResponse.SelectionItems
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ActionResponse.SelectionItems parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActionResponse.SelectionItems
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ActionResponse.SelectionItems> parser()
Returns
TypeDescription
Parser<SelectionItems>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ActionResponse.SelectionItems getDefaultInstanceForType()
Returns
TypeDescription
ActionResponse.SelectionItems

getItems(int index)

public SelectionInput.SelectionItem getItems(int index)

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.apps.card.v1.SelectionInput.SelectionItem

getItemsCount()

public int getItemsCount()

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Returns
TypeDescription
int

getItemsList()

public List<SelectionInput.SelectionItem> getItemsList()

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Returns
TypeDescription
List<com.google.apps.card.v1.SelectionInput.SelectionItem>

getItemsOrBuilder(int index)

public SelectionInput.SelectionItemOrBuilder getItemsOrBuilder(int index)

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.apps.card.v1.SelectionInput.SelectionItemOrBuilder

getItemsOrBuilderList()

public List<? extends SelectionInput.SelectionItemOrBuilder> getItemsOrBuilderList()

An array of the SelectionItem objects.

repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;

Returns
TypeDescription
List<? extends com.google.apps.card.v1.SelectionInput.SelectionItemOrBuilder>

getParserForType()

public Parser<ActionResponse.SelectionItems> getParserForType()
Returns
TypeDescription
Parser<SelectionItems>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ActionResponse.SelectionItems.Builder newBuilderForType()
Returns
TypeDescription
ActionResponse.SelectionItems.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ActionResponse.SelectionItems.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ActionResponse.SelectionItems.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ActionResponse.SelectionItems.Builder toBuilder()
Returns
TypeDescription
ActionResponse.SelectionItems.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException