Class SelectionInput.PlatformDataSource

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
com.google.protobuf.GeneratedMessageV3
com.google.apps.card.v1.SelectionInput.PlatformDataSource
All Implemented Interfaces:
SelectionInput.PlatformDataSourceOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
SelectionInput

public static final class SelectionInput.PlatformDataSource extends com.google.protobuf.GeneratedMessageV3 implements SelectionInput.PlatformDataSourceOrBuilder
 For a
 [`SelectionInput`][google.apps.card.v1.SelectionInput] widget that uses a
 multiselect menu, a data source from Google Workspace. Used to populate
 items in a multiselect menu.

 [Google Chat apps](https://developers.google.com/workspace/chat):
 
Protobuf type google.apps.card.v1.SelectionInput.PlatformDataSource
See Also:
  • Field Details

    • COMMON_DATA_SOURCE_FIELD_NUMBER

      public static final int COMMON_DATA_SOURCE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getDataSourceCase

      Specified by:
      getDataSourceCase in interface SelectionInput.PlatformDataSourceOrBuilder
    • 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;
      Specified by:
      hasCommonDataSource in interface SelectionInput.PlatformDataSourceOrBuilder
      Returns:
      Whether the commonDataSource field is set.
    • 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;
      Specified by:
      getCommonDataSourceValue in interface SelectionInput.PlatformDataSourceOrBuilder
      Returns:
      The enum numeric value on the wire for 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;
      Specified by:
      getCommonDataSource in interface SelectionInput.PlatformDataSourceOrBuilder
      Returns:
      The commonDataSource.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SelectionInput.PlatformDataSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SelectionInput.PlatformDataSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SelectionInput.PlatformDataSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SelectionInput.PlatformDataSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SelectionInput.PlatformDataSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SelectionInput.PlatformDataSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SelectionInput.PlatformDataSource parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SelectionInput.PlatformDataSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SelectionInput.PlatformDataSource parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SelectionInput.PlatformDataSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SelectionInput.PlatformDataSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SelectionInput.PlatformDataSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SelectionInput.PlatformDataSource.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SelectionInput.PlatformDataSource.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SelectionInput.PlatformDataSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static SelectionInput.PlatformDataSource getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SelectionInput.PlatformDataSource> parser()
    • getParserForType

      public com.google.protobuf.Parser<SelectionInput.PlatformDataSource> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public SelectionInput.PlatformDataSource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder