Enum PullRequestFilter.CommentControl (3.50.0)

public enum PullRequestFilter.CommentControl extends Enum<PullRequestFilter.CommentControl> implements ProtocolMessageEnum

Controls behavior of Pull Request comments.

Protobuf enum google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl

Implements

ProtocolMessageEnum

Static Fields

Name Description
COMMENTS_DISABLED

Do not require comments on Pull Requests before builds are triggered.

COMMENTS_DISABLED = 0;

COMMENTS_DISABLED_VALUE

Do not require comments on Pull Requests before builds are triggered.

COMMENTS_DISABLED = 0;

COMMENTS_ENABLED

Enforce that repository owners or collaborators must comment on Pull Requests before builds are triggered.

COMMENTS_ENABLED = 1;

COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY

Enforce that repository owners or collaborators must comment on external contributors' Pull Requests before builds are triggered.

COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY = 2;

COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY_VALUE

Enforce that repository owners or collaborators must comment on external contributors' Pull Requests before builds are triggered.

COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY = 2;

COMMENTS_ENABLED_VALUE

Enforce that repository owners or collaborators must comment on Pull Requests before builds are triggered.

COMMENTS_ENABLED = 1;

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