Class SelectionInput.PlatformDataSource (0.1.0)

public static final class SelectionInput.PlatformDataSource extends GeneratedMessageV3 implements SelectionInput.PlatformDataSourceOrBuilder

For a SelectionInput widget that uses a multiselect menu, a data source from Google Workspace. Used to populate items in a multiselect menu.

Google Chat apps:

Protobuf type google.apps.card.v1.SelectionInput.PlatformDataSource

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SelectionInput.PlatformDataSource

Static Fields

COMMON_DATA_SOURCE_FIELD_NUMBER

public static final int COMMON_DATA_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SelectionInput.PlatformDataSource getDefaultInstance()
Returns
TypeDescription
SelectionInput.PlatformDataSource

getDescriptor()

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

newBuilder()

public static SelectionInput.PlatformDataSource.Builder newBuilder()
Returns
TypeDescription
SelectionInput.PlatformDataSource.Builder

newBuilder(SelectionInput.PlatformDataSource prototype)

public static SelectionInput.PlatformDataSource.Builder newBuilder(SelectionInput.PlatformDataSource prototype)
Parameter
NameDescription
prototypeSelectionInput.PlatformDataSource
Returns
TypeDescription
SelectionInput.PlatformDataSource.Builder

parseDelimitedFrom(InputStream input)

public static SelectionInput.PlatformDataSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SelectionInput.PlatformDataSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static SelectionInput.PlatformDataSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SelectionInput.PlatformDataSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static SelectionInput.PlatformDataSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SelectionInput.PlatformDataSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static SelectionInput.PlatformDataSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SelectionInput.PlatformDataSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static SelectionInput.PlatformDataSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SelectionInput.PlatformDataSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<SelectionInput.PlatformDataSource> parser()
Returns
TypeDescription
Parser<PlatformDataSource>

Methods

equals(Object obj)

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

getCommonDataSource()

public SelectionInput.PlatformDataSource.CommonDataSource getCommonDataSource()

A data source shared by all Google Workspace applications, such as users in a Google Workspace organization.

.google.apps.card.v1.SelectionInput.PlatformDataSource.CommonDataSource common_data_source = 1;

Returns
TypeDescription
SelectionInput.PlatformDataSource.CommonDataSource

The commonDataSource.

getCommonDataSourceValue()

public int getCommonDataSourceValue()

A data source shared by all Google Workspace applications, such as users in a Google Workspace organization.

.google.apps.card.v1.SelectionInput.PlatformDataSource.CommonDataSource common_data_source = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for commonDataSource.

getDataSourceCase()

public SelectionInput.PlatformDataSource.DataSourceCase getDataSourceCase()
Returns
TypeDescription
SelectionInput.PlatformDataSource.DataSourceCase

getDefaultInstanceForType()

public SelectionInput.PlatformDataSource getDefaultInstanceForType()
Returns
TypeDescription
SelectionInput.PlatformDataSource

getParserForType()

public Parser<SelectionInput.PlatformDataSource> getParserForType()
Returns
TypeDescription
Parser<PlatformDataSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCommonDataSource()

public boolean hasCommonDataSource()

A data source shared by all Google Workspace applications, such as users in a Google Workspace organization.

.google.apps.card.v1.SelectionInput.PlatformDataSource.CommonDataSource common_data_source = 1;

Returns
TypeDescription
boolean

Whether the commonDataSource field is set.

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 SelectionInput.PlatformDataSource.Builder newBuilderForType()
Returns
TypeDescription
SelectionInput.PlatformDataSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SelectionInput.PlatformDataSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SelectionInput.PlatformDataSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public SelectionInput.PlatformDataSource.Builder toBuilder()
Returns
TypeDescription
SelectionInput.PlatformDataSource.Builder

writeTo(CodedOutputStream output)

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