Enum AliasContext.Kind (1.36.0)

public enum AliasContext.Kind extends Enum<AliasContext.Kind> implements ProtocolMessageEnum

The type of an Alias.

Protobuf enum google.devtools.source.v1.AliasContext.Kind

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ANY

Do not use.

ANY = 0;

ANY_VALUE

Do not use.

ANY = 0;

FIXED

Git tag

FIXED = 1;

FIXED_VALUE

Git tag

FIXED = 1;

MOVABLE

Git branch

MOVABLE = 2;

MOVABLE_VALUE

Git branch

MOVABLE = 2;

OTHER

OTHER is used to specify non-standard aliases, those not of the kinds above. For example, if a Git repo has a ref named "refs/foo/bar", it is considered to be of kind OTHER.

OTHER = 4;

OTHER_VALUE

OTHER is used to specify non-standard aliases, those not of the kinds above. For example, if a Git repo has a ref named "refs/foo/bar", it is considered to be of kind OTHER.

OTHER = 4;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()