public static final class SelectionInput.PlatformDataSource.Builder extends GeneratedMessageV3.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.
Protobuf type google.apps.card.v1.SelectionInput.PlatformDataSource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SelectionInput.PlatformDataSource.BuilderImplements
SelectionInput.PlatformDataSourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SelectionInput.PlatformDataSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SelectionInput.PlatformDataSource.Builder |
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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public SelectionInput.PlatformDataSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SelectionInput.PlatformDataSource.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SelectionInput.PlatformDataSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SelectionInput.PlatformDataSource.Builder |
clone()
public SelectionInput.PlatformDataSource.Builder clone()
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 |
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SelectionInput.PlatformDataSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SelectionInput.PlatformDataSource.Builder |
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. |
setField(Descriptors.FieldDescriptor field, Object value)
public SelectionInput.PlatformDataSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SelectionInput.PlatformDataSource.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SelectionInput.PlatformDataSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SelectionInput.PlatformDataSource.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SelectionInput.PlatformDataSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SelectionInput.PlatformDataSource.Builder |