Package com.google.cloud.apihub.v1
Enum GatewayType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<GatewayType>
@Generated
public enum GatewayType
extends Enum<GatewayType>
implements com.google.protobuf.ProtocolMessageEnum
Enum for the gateway type.Protobuf enum
google.cloud.apihub.v1.GatewayType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe gateway type is API Discovery.The gateway type is Apigee Edge Private Cloud.The gateway type is Apigee Edge Public Cloud.The gateway type is Apigee X and Hybrid.The gateway type is Cloud API Gateway.The gateway type is Cloud Endpoints.The gateway type is not specified.The gateway type for any other types of gateways. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe gateway type is API Discovery.static final intThe gateway type is Apigee Edge Private Cloud.static final intThe gateway type is Apigee Edge Public Cloud.static final intThe gateway type is Apigee X and Hybrid.static final intThe gateway type is Cloud API Gateway.static final intThe gateway type is Cloud Endpoints.static final intThe gateway type is not specified.static final intThe gateway type for any other types of gateways. -
Method Summary
Modifier and TypeMethodDescriptionstatic GatewayTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<GatewayType>static GatewayTypevalueOf(int value) Deprecated.static GatewayTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static GatewayTypeReturns the enum constant of this type with the specified name.static GatewayType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GATEWAY_TYPE_UNSPECIFIED
The gateway type is not specified.
GATEWAY_TYPE_UNSPECIFIED = 0; -
APIGEE_X_AND_HYBRID
The gateway type is Apigee X and Hybrid.
APIGEE_X_AND_HYBRID = 1; -
APIGEE_EDGE_PUBLIC_CLOUD
The gateway type is Apigee Edge Public Cloud.
APIGEE_EDGE_PUBLIC_CLOUD = 2; -
APIGEE_EDGE_PRIVATE_CLOUD
The gateway type is Apigee Edge Private Cloud.
APIGEE_EDGE_PRIVATE_CLOUD = 3; -
CLOUD_API_GATEWAY
The gateway type is Cloud API Gateway.
CLOUD_API_GATEWAY = 4; -
CLOUD_ENDPOINTS
The gateway type is Cloud Endpoints.
CLOUD_ENDPOINTS = 5; -
API_DISCOVERY
The gateway type is API Discovery.
API_DISCOVERY = 6; -
OTHERS
The gateway type for any other types of gateways.
OTHERS = 7; -
UNRECOGNIZED
-
-
Field Details
-
GATEWAY_TYPE_UNSPECIFIED_VALUE
public static final int GATEWAY_TYPE_UNSPECIFIED_VALUEThe gateway type is not specified.
GATEWAY_TYPE_UNSPECIFIED = 0;- See Also:
-
APIGEE_X_AND_HYBRID_VALUE
public static final int APIGEE_X_AND_HYBRID_VALUEThe gateway type is Apigee X and Hybrid.
APIGEE_X_AND_HYBRID = 1;- See Also:
-
APIGEE_EDGE_PUBLIC_CLOUD_VALUE
public static final int APIGEE_EDGE_PUBLIC_CLOUD_VALUEThe gateway type is Apigee Edge Public Cloud.
APIGEE_EDGE_PUBLIC_CLOUD = 2;- See Also:
-
APIGEE_EDGE_PRIVATE_CLOUD_VALUE
public static final int APIGEE_EDGE_PRIVATE_CLOUD_VALUEThe gateway type is Apigee Edge Private Cloud.
APIGEE_EDGE_PRIVATE_CLOUD = 3;- See Also:
-
CLOUD_API_GATEWAY_VALUE
public static final int CLOUD_API_GATEWAY_VALUEThe gateway type is Cloud API Gateway.
CLOUD_API_GATEWAY = 4;- See Also:
-
CLOUD_ENDPOINTS_VALUE
public static final int CLOUD_ENDPOINTS_VALUEThe gateway type is Cloud Endpoints.
CLOUD_ENDPOINTS = 5;- See Also:
-
API_DISCOVERY_VALUE
public static final int API_DISCOVERY_VALUEThe gateway type is API Discovery.
API_DISCOVERY = 6;- See Also:
-
OTHERS_VALUE
public static final int OTHERS_VALUEThe gateway type for any other types of gateways.
OTHERS = 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
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
-