Package com.google.cloud.apihub.v1
Enum PluginCategory
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PluginCategory>
@Generated
public enum PluginCategory
extends Enum<PluginCategory>
implements com.google.protobuf.ProtocolMessageEnum
Enum for the plugin category.Protobuf enum
google.cloud.apihub.v1.PluginCategory-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAPI_GATEWAY plugins represent plugins built for API Gateways like Apigee.API_PRODUCER plugins represent plugins built for API Producers like Cloud Run, Application Integration etc.Default unspecified plugin type. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAPI_GATEWAY plugins represent plugins built for API Gateways like Apigee.static final intAPI_PRODUCER plugins represent plugins built for API Producers like Cloud Run, Application Integration etc.static final intDefault unspecified plugin type. -
Method Summary
Modifier and TypeMethodDescriptionstatic PluginCategoryforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PluginCategory>static PluginCategoryvalueOf(int value) Deprecated.static PluginCategoryvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static PluginCategoryReturns the enum constant of this type with the specified name.static PluginCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PLUGIN_CATEGORY_UNSPECIFIED
Default unspecified plugin type.
PLUGIN_CATEGORY_UNSPECIFIED = 0; -
API_GATEWAY
API_GATEWAY plugins represent plugins built for API Gateways like Apigee.
API_GATEWAY = 1; -
API_PRODUCER
API_PRODUCER plugins represent plugins built for API Producers like Cloud Run, Application Integration etc.
API_PRODUCER = 2; -
UNRECOGNIZED
-
-
Field Details
-
PLUGIN_CATEGORY_UNSPECIFIED_VALUE
public static final int PLUGIN_CATEGORY_UNSPECIFIED_VALUEDefault unspecified plugin type.
PLUGIN_CATEGORY_UNSPECIFIED = 0;- See Also:
-
API_GATEWAY_VALUE
public static final int API_GATEWAY_VALUEAPI_GATEWAY plugins represent plugins built for API Gateways like Apigee.
API_GATEWAY = 1;- See Also:
-
API_PRODUCER_VALUE
public static final int API_PRODUCER_VALUEAPI_PRODUCER plugins represent plugins built for API Producers like Cloud Run, Application Integration etc.
API_PRODUCER = 2;- 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
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
-