Enum WorkspaceConfig.Type

java.lang.Object
java.lang.Enum<WorkspaceConfig.Type>
com.google.cloud.discoveryengine.v1beta.WorkspaceConfig.Type
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<WorkspaceConfig.Type>
Enclosing class:
WorkspaceConfig

public static enum WorkspaceConfig.Type extends Enum<WorkspaceConfig.Type> implements com.google.protobuf.ProtocolMessageEnum
 Specifies the type of Workspace App supported by this DataStore
 
Protobuf enum google.cloud.discoveryengine.v1beta.WorkspaceConfig.Type
  • Enum Constant Details

    • TYPE_UNSPECIFIED

      public static final WorkspaceConfig.Type TYPE_UNSPECIFIED
       Defaults to an unspecified Workspace type.
       
      TYPE_UNSPECIFIED = 0;
    • GOOGLE_DRIVE

      public static final WorkspaceConfig.Type GOOGLE_DRIVE
       Workspace Data Store contains Drive data
       
      GOOGLE_DRIVE = 1;
    • GOOGLE_MAIL

      public static final WorkspaceConfig.Type GOOGLE_MAIL
       Workspace Data Store contains Mail data
       
      GOOGLE_MAIL = 2;
    • GOOGLE_SITES

      public static final WorkspaceConfig.Type GOOGLE_SITES
       Workspace Data Store contains Sites data
       
      GOOGLE_SITES = 3;
    • GOOGLE_CALENDAR

      public static final WorkspaceConfig.Type GOOGLE_CALENDAR
       Workspace Data Store contains Calendar data
       
      GOOGLE_CALENDAR = 4;
    • GOOGLE_CHAT

      public static final WorkspaceConfig.Type GOOGLE_CHAT
       Workspace Data Store contains Chat data
       
      GOOGLE_CHAT = 5;
    • GOOGLE_GROUPS

      public static final WorkspaceConfig.Type GOOGLE_GROUPS
       Workspace Data Store contains Groups data
       
      GOOGLE_GROUPS = 6;
    • GOOGLE_KEEP

      public static final WorkspaceConfig.Type GOOGLE_KEEP
       Workspace Data Store contains Keep data
       
      GOOGLE_KEEP = 7;
    • UNRECOGNIZED

      public static final WorkspaceConfig.Type UNRECOGNIZED
  • Field Details

    • TYPE_UNSPECIFIED_VALUE

      public static final int TYPE_UNSPECIFIED_VALUE
       Defaults to an unspecified Workspace type.
       
      TYPE_UNSPECIFIED = 0;
      See Also:
    • GOOGLE_DRIVE_VALUE

      public static final int GOOGLE_DRIVE_VALUE
       Workspace Data Store contains Drive data
       
      GOOGLE_DRIVE = 1;
      See Also:
    • GOOGLE_MAIL_VALUE

      public static final int GOOGLE_MAIL_VALUE
       Workspace Data Store contains Mail data
       
      GOOGLE_MAIL = 2;
      See Also:
    • GOOGLE_SITES_VALUE

      public static final int GOOGLE_SITES_VALUE
       Workspace Data Store contains Sites data
       
      GOOGLE_SITES = 3;
      See Also:
    • GOOGLE_CALENDAR_VALUE

      public static final int GOOGLE_CALENDAR_VALUE
       Workspace Data Store contains Calendar data
       
      GOOGLE_CALENDAR = 4;
      See Also:
    • GOOGLE_CHAT_VALUE

      public static final int GOOGLE_CHAT_VALUE
       Workspace Data Store contains Chat data
       
      GOOGLE_CHAT = 5;
      See Also:
    • GOOGLE_GROUPS_VALUE

      public static final int GOOGLE_GROUPS_VALUE
       Workspace Data Store contains Groups data
       
      GOOGLE_GROUPS = 6;
      See Also:
    • GOOGLE_KEEP_VALUE

      public static final int GOOGLE_KEEP_VALUE
       Workspace Data Store contains Keep data
       
      GOOGLE_KEEP = 7;
      See Also:
  • Method Details

    • values

      public static WorkspaceConfig.Type[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static WorkspaceConfig.Type valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static WorkspaceConfig.Type valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static WorkspaceConfig.Type forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<WorkspaceConfig.Type> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static WorkspaceConfig.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null