Enum 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 DataStoreProtobuf enum
google.cloud.discoveryengine.v1beta.WorkspaceConfig.Type-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWorkspace Data Store contains Calendar dataWorkspace Data Store contains Chat dataWorkspace Data Store contains Drive dataWorkspace Data Store contains Groups dataWorkspace Data Store contains Keep dataWorkspace Data Store contains Mail dataWorkspace Data Store contains Sites dataDefaults to an unspecified Workspace type. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intWorkspace Data Store contains Calendar datastatic final intWorkspace Data Store contains Chat datastatic final intWorkspace Data Store contains Drive datastatic final intWorkspace Data Store contains Groups datastatic final intWorkspace Data Store contains Keep datastatic final intWorkspace Data Store contains Mail datastatic final intWorkspace Data Store contains Sites datastatic final intDefaults to an unspecified Workspace type. -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkspaceConfig.TypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<WorkspaceConfig.Type>static WorkspaceConfig.TypevalueOf(int value) Deprecated.static WorkspaceConfig.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static WorkspaceConfig.TypeReturns the enum constant of this type with the specified name.static WorkspaceConfig.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TYPE_UNSPECIFIED
Defaults to an unspecified Workspace type.
TYPE_UNSPECIFIED = 0; -
GOOGLE_DRIVE
Workspace Data Store contains Drive data
GOOGLE_DRIVE = 1; -
GOOGLE_MAIL
Workspace Data Store contains Mail data
GOOGLE_MAIL = 2; -
GOOGLE_SITES
Workspace Data Store contains Sites data
GOOGLE_SITES = 3; -
GOOGLE_CALENDAR
Workspace Data Store contains Calendar data
GOOGLE_CALENDAR = 4; -
GOOGLE_CHAT
Workspace Data Store contains Chat data
GOOGLE_CHAT = 5; -
GOOGLE_GROUPS
Workspace Data Store contains Groups data
GOOGLE_GROUPS = 6; -
GOOGLE_KEEP
Workspace Data Store contains Keep data
GOOGLE_KEEP = 7; -
UNRECOGNIZED
-
-
Field Details
-
TYPE_UNSPECIFIED_VALUE
public static final int TYPE_UNSPECIFIED_VALUEDefaults to an unspecified Workspace type.
TYPE_UNSPECIFIED = 0;- See Also:
-
GOOGLE_DRIVE_VALUE
public static final int GOOGLE_DRIVE_VALUEWorkspace Data Store contains Drive data
GOOGLE_DRIVE = 1;- See Also:
-
GOOGLE_MAIL_VALUE
public static final int GOOGLE_MAIL_VALUEWorkspace Data Store contains Mail data
GOOGLE_MAIL = 2;- See Also:
-
GOOGLE_SITES_VALUE
public static final int GOOGLE_SITES_VALUEWorkspace Data Store contains Sites data
GOOGLE_SITES = 3;- See Also:
-
GOOGLE_CALENDAR_VALUE
public static final int GOOGLE_CALENDAR_VALUEWorkspace Data Store contains Calendar data
GOOGLE_CALENDAR = 4;- See Also:
-
GOOGLE_CHAT_VALUE
public static final int GOOGLE_CHAT_VALUEWorkspace Data Store contains Chat data
GOOGLE_CHAT = 5;- See Also:
-
GOOGLE_GROUPS_VALUE
public static final int GOOGLE_GROUPS_VALUEWorkspace Data Store contains Groups data
GOOGLE_GROUPS = 6;- See Also:
-
GOOGLE_KEEP_VALUE
public static final int GOOGLE_KEEP_VALUEWorkspace Data Store contains Keep data
GOOGLE_KEEP = 7;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-