Enum AliasContext.Kind (1.57.0)

publicenumAliasContext.KindextendsEnum<AliasContext.Kind>implementsProtocolMessageEnum

The type of an Alias.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.