Package com.buildless.service.v1
Enum Class ServiceEndpoint.EndpointType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ServiceEndpoint.EndpointType>,Constable
- Enclosing class:
ServiceEndpoint
public static enum ServiceEndpoint.EndpointType
extends Enum<ServiceEndpoint.EndpointType>
implements com.google.protobuf.ProtocolMessageEnum
Enumerates types of endpoints which may be expressed in a build cache dynamic configuration.Protobuf enum
buildless.service.v1.ServiceEndpoint.EndpointType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPrivate cloud instance.Default endpoint type; a regular Buildless service endpoint.Specifies the Buildless Cloud edge networks.Specifies a local near cache. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPrivate cloud instance.static final intDefault endpoint type; a regular Buildless service endpoint.static final intSpecifies the Buildless Cloud edge networks.static final intSpecifies a local near cache. -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceEndpoint.EndpointTypeforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ServiceEndpoint.EndpointType>static ServiceEndpoint.EndpointTypevalueOf(int value) Deprecated.static ServiceEndpoint.EndpointTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ServiceEndpoint.EndpointTypeReturns the enum constant of this class with the specified name.static ServiceEndpoint.EndpointType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Default endpoint type; a regular Buildless service endpoint.
DEFAULT = 0; -
EDGE
Specifies the Buildless Cloud edge networks.
EDGE = 1; -
DEDICATED
Private cloud instance.
DEDICATED = 2; -
NEAR
Specifies a local near cache.
NEAR = 3; -
UNRECOGNIZED
-
-
Field Details
-
DEFAULT_VALUE
public static final int DEFAULT_VALUEDefault endpoint type; a regular Buildless service endpoint.
DEFAULT = 0;- See Also:
-
EDGE_VALUE
public static final int EDGE_VALUESpecifies the Buildless Cloud edge networks.
EDGE = 1;- See Also:
-
DEDICATED_VALUE
public static final int DEDICATED_VALUEPrivate cloud instance.
DEDICATED = 2;- See Also:
-
NEAR_VALUE
public static final int NEAR_VALUESpecifies a local near cache.
NEAR = 3;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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
public static com.google.protobuf.Internal.EnumLiteMap<ServiceEndpoint.EndpointType> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static ServiceEndpoint.EndpointType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-