Enum AliasContext.Kind (2.42.0)

publicenumAliasContext.KindextendsEnum<AliasContext.Kind>implementsProtocolMessageEnum

The type of an alias.

Protobuf enum grafeas.v1beta1.source.AliasContext.Kind

Implements

ProtocolMessageEnum

Static Fields

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

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年11月19日 UTC.