Class SelectionInput.PlatformDataSource.Builder (2.65.0)

public static final class SelectionInput.PlatformDataSource.Builder extends GeneratedMessage.Builder<SelectionInput.PlatformDataSource.Builder> 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

Static Methods

getDescriptor()

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

Methods

build()

public SelectionInput.PlatformDataSource build()
Returns
Type Description
SelectionInput.PlatformDataSource

buildPartial()

public SelectionInput.PlatformDataSource buildPartial()
Returns
Type Description
SelectionInput.PlatformDataSource

clear()

public SelectionInput.PlatformDataSource.Builder clear()
Returns
Type Description
SelectionInput.PlatformDataSource.Builder
Overrides

clearCommonDataSource()

public SelectionInput.PlatformDataSource.Builder clearCommonDataSource()

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
Type Description
SelectionInput.PlatformDataSource.Builder

This builder for chaining.

clearDataSource()

public SelectionInput.PlatformDataSource.Builder clearDataSource()
Returns
Type Description
SelectionInput.PlatformDataSource.Builder

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
Type Description
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
Type Description
int

The enum numeric value on the wire for commonDataSource.

getDataSourceCase()

public SelectionInput.PlatformDataSource.DataSourceCase getDataSourceCase()
Returns
Type Description
SelectionInput.PlatformDataSource.DataSourceCase

getDefaultInstanceForType()

public SelectionInput.PlatformDataSource getDefaultInstanceForType()
Returns
Type Description
SelectionInput.PlatformDataSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
boolean

Whether the commonDataSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SelectionInput.PlatformDataSource other)

public SelectionInput.PlatformDataSource.Builder mergeFrom(SelectionInput.PlatformDataSource other)
Parameter
Name Description
other SelectionInput.PlatformDataSource
Returns
Type Description
SelectionInput.PlatformDataSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SelectionInput.PlatformDataSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SelectionInput.PlatformDataSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SelectionInput.PlatformDataSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SelectionInput.PlatformDataSource.Builder
Overrides

setCommonDataSource(SelectionInput.PlatformDataSource.CommonDataSource value)

public SelectionInput.PlatformDataSource.Builder setCommonDataSource(SelectionInput.PlatformDataSource.CommonDataSource value)

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;

Parameter
Name Description
value SelectionInput.PlatformDataSource.CommonDataSource

The commonDataSource to set.

Returns
Type Description
SelectionInput.PlatformDataSource.Builder

This builder for chaining.

setCommonDataSourceValue(int value)

public SelectionInput.PlatformDataSource.Builder setCommonDataSourceValue(int value)

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;

Parameter
Name Description
value int

The enum numeric value on the wire for commonDataSource to set.

Returns
Type Description
SelectionInput.PlatformDataSource.Builder

This builder for chaining.