Enum Hook.HookEventType (0.40.0)

public enum Hook.HookEventType extends Enum<Hook.HookEventType> implements ProtocolMessageEnum

Protobuf enum google.cloud.securesourcemanager.v1.Hook.HookEventType

Implements

ProtocolMessageEnum

Static Fields

Name Description
PULL_REQUEST

Pull request events are triggered when a pull request is opened, closed, reopened, or edited.

PULL_REQUEST = 2;

PULL_REQUEST_VALUE

Pull request events are triggered when a pull request is opened, closed, reopened, or edited.

PULL_REQUEST = 2;

PUSH

Push events are triggered when pushing to the repository.

PUSH = 1;

PUSH_VALUE

Push events are triggered when pushing to the repository.

PUSH = 1;

UNRECOGNIZED
UNSPECIFIED

Unspecified.

UNSPECIFIED = 0;

UNSPECIFIED_VALUE

Unspecified.

UNSPECIFIED = 0;

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