Enum AliasContext.Kind (2.25.0)

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

The type of an alias.

Protobuf enum grafeas.v1beta1.source.AliasContext.Kind

Implements

ProtocolMessageEnum

Static Fields

NameDescription
FIXED

Git tag.

FIXED = 1;

FIXED_VALUE

Git tag.

FIXED = 1;

KIND_UNSPECIFIED

Unknown.

KIND_UNSPECIFIED = 0;

KIND_UNSPECIFIED_VALUE

Unknown.

KIND_UNSPECIFIED = 0;

MOVABLE

Git branch.

MOVABLE = 2;

MOVABLE_VALUE

Git branch.

MOVABLE = 2;

OTHER

Used to specify non-standard aliases. For example, if a Git repo has a ref named "refs/foo/bar".

OTHER = 4;

OTHER_VALUE

Used to specify non-standard aliases. For example, if a Git repo has a ref named "refs/foo/bar".

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()