Package com.google.container.v1
Enum ContainerdConfig.RegistryHostConfig.HostCapability
java.lang.Object
java.lang.Enum<ContainerdConfig.RegistryHostConfig.HostCapability>
com.google.container.v1.ContainerdConfig.RegistryHostConfig.HostCapability
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ContainerdConfig.RegistryHostConfig.HostCapability>
- Enclosing class:
- ContainerdConfig.RegistryHostConfig
public static enum ContainerdConfig.RegistryHostConfig.HostCapability
extends Enum<ContainerdConfig.RegistryHostConfig.HostCapability>
implements com.google.protobuf.ProtocolMessageEnum
HostCapability configures capabilities for the registry host.Protobuf enum
google.container.v1.ContainerdConfig.RegistryHostConfig.HostCapability-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPull represents the capability to fetch manifests and blobs by digest.Push represents the capability to push blobs and manifests.Resolve represents the capability to fetch manifests by name.UNKNOWN should never be set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPull represents the capability to fetch manifests and blobs by digest.static final intPush represents the capability to push blobs and manifests.static final intResolve represents the capability to fetch manifests by name.static final intUNKNOWN should never be set. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ContainerdConfig.RegistryHostConfig.HostCapability>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HOST_CAPABILITY_UNSPECIFIED
UNKNOWN should never be set.
HOST_CAPABILITY_UNSPECIFIED = 0; -
HOST_CAPABILITY_PULL
Pull represents the capability to fetch manifests and blobs by digest.
HOST_CAPABILITY_PULL = 1; -
HOST_CAPABILITY_RESOLVE
Resolve represents the capability to fetch manifests by name.
HOST_CAPABILITY_RESOLVE = 2; -
HOST_CAPABILITY_PUSH
Push represents the capability to push blobs and manifests.
HOST_CAPABILITY_PUSH = 3; -
UNRECOGNIZED
-
-
Field Details
-
HOST_CAPABILITY_UNSPECIFIED_VALUE
public static final int HOST_CAPABILITY_UNSPECIFIED_VALUEUNKNOWN should never be set.
HOST_CAPABILITY_UNSPECIFIED = 0;- See Also:
-
HOST_CAPABILITY_PULL_VALUE
public static final int HOST_CAPABILITY_PULL_VALUEPull represents the capability to fetch manifests and blobs by digest.
HOST_CAPABILITY_PULL = 1;- See Also:
-
HOST_CAPABILITY_RESOLVE_VALUE
public static final int HOST_CAPABILITY_RESOLVE_VALUEResolve represents the capability to fetch manifests by name.
HOST_CAPABILITY_RESOLVE = 2;- See Also:
-
HOST_CAPABILITY_PUSH_VALUE
public static final int HOST_CAPABILITY_PUSH_VALUEPush represents the capability to push blobs and manifests.
HOST_CAPABILITY_PUSH = 3;- 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
public static com.google.protobuf.Internal.EnumLiteMap<ContainerdConfig.RegistryHostConfig.HostCapability> 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 ContainerdConfig.RegistryHostConfig.HostCapability 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
-