Class Grant.Timeline.Event (0.3.0)

public static final class Grant.Timeline.Event extends GeneratedMessageV3 implements Grant.Timeline.EventOrBuilder

A single operation on the grant.

Protobuf type google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event

Static Fields

ACTIVATED_FIELD_NUMBER

public static final int ACTIVATED_FIELD_NUMBER
Field Value
Type Description
int

ACTIVATION_FAILED_FIELD_NUMBER

public static final int ACTIVATION_FAILED_FIELD_NUMBER
Field Value
Type Description
int

APPROVED_FIELD_NUMBER

public static final int APPROVED_FIELD_NUMBER
Field Value
Type Description
int

DENIED_FIELD_NUMBER

public static final int DENIED_FIELD_NUMBER
Field Value
Type Description
int

ENDED_FIELD_NUMBER

public static final int ENDED_FIELD_NUMBER
Field Value
Type Description
int

EVENT_TIME_FIELD_NUMBER

public static final int EVENT_TIME_FIELD_NUMBER
Field Value
Type Description
int

EXPIRED_FIELD_NUMBER

public static final int EXPIRED_FIELD_NUMBER
Field Value
Type Description
int

EXTERNALLY_MODIFIED_FIELD_NUMBER

public static final int EXTERNALLY_MODIFIED_FIELD_NUMBER
Field Value
Type Description
int

REQUESTED_FIELD_NUMBER

public static final int REQUESTED_FIELD_NUMBER
Field Value
Type Description
int

REVOKED_FIELD_NUMBER

public static final int REVOKED_FIELD_NUMBER
Field Value
Type Description
int

SCHEDULED_FIELD_NUMBER

public static final int SCHEDULED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Grant.Timeline.Event getDefaultInstance()
Returns
Type Description
Grant.Timeline.Event

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Grant.Timeline.Event.Builder newBuilder()
Returns
Type Description
Grant.Timeline.Event.Builder

newBuilder(Grant.Timeline.Event prototype)

public static Grant.Timeline.Event.Builder newBuilder(Grant.Timeline.Event prototype)
Parameter
Name Description
prototype Grant.Timeline.Event
Returns
Type Description
Grant.Timeline.Event.Builder

parseDelimitedFrom(InputStream input)

public static Grant.Timeline.Event parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Grant.Timeline.Event
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline.Event parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline.Event
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Grant.Timeline.Event parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Grant.Timeline.Event
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline.Event parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline.Event
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Grant.Timeline.Event parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Grant.Timeline.Event
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline.Event parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline.Event
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Grant.Timeline.Event parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Grant.Timeline.Event
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline.Event parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline.Event
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Grant.Timeline.Event parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Grant.Timeline.Event
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline.Event parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline.Event
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Grant.Timeline.Event parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Grant.Timeline.Event
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline.Event parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline.Event
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Grant.Timeline.Event> parser()
Returns
Type Description
Parser<Event>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActivated()

public Grant.Timeline.Event.Activated getActivated()

The grant was successfully activated to give access.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Activated activated = 7;

Returns
Type Description
Grant.Timeline.Event.Activated

The activated.

getActivatedOrBuilder()

public Grant.Timeline.Event.ActivatedOrBuilder getActivatedOrBuilder()

The grant was successfully activated to give access.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Activated activated = 7;

Returns
Type Description
Grant.Timeline.Event.ActivatedOrBuilder

getActivationFailed()

public Grant.Timeline.Event.ActivationFailed getActivationFailed()

There was a non-retriable error while trying to give access.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.ActivationFailed activation_failed = 8;

Returns
Type Description
Grant.Timeline.Event.ActivationFailed

The activationFailed.

getActivationFailedOrBuilder()

public Grant.Timeline.Event.ActivationFailedOrBuilder getActivationFailedOrBuilder()

There was a non-retriable error while trying to give access.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.ActivationFailed activation_failed = 8;

Returns
Type Description
Grant.Timeline.Event.ActivationFailedOrBuilder

getApproved()

public Grant.Timeline.Event.Approved getApproved()

The grant was approved.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Approved approved = 3;

Returns
Type Description
Grant.Timeline.Event.Approved

The approved.

getApprovedOrBuilder()

public Grant.Timeline.Event.ApprovedOrBuilder getApprovedOrBuilder()

The grant was approved.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Approved approved = 3;

Returns
Type Description
Grant.Timeline.Event.ApprovedOrBuilder

getDefaultInstanceForType()

public Grant.Timeline.Event getDefaultInstanceForType()
Returns
Type Description
Grant.Timeline.Event

getDenied()

public Grant.Timeline.Event.Denied getDenied()

The grant was denied.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Denied denied = 4;

Returns
Type Description
Grant.Timeline.Event.Denied

The denied.

getDeniedOrBuilder()

public Grant.Timeline.Event.DeniedOrBuilder getDeniedOrBuilder()

The grant was denied.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Denied denied = 4;

Returns
Type Description
Grant.Timeline.Event.DeniedOrBuilder

getEnded()

public Grant.Timeline.Event.Ended getEnded()

Access given by the grant ended automatically as the approved duration was over.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Ended ended = 11;

Returns
Type Description
Grant.Timeline.Event.Ended

The ended.

getEndedOrBuilder()

public Grant.Timeline.Event.EndedOrBuilder getEndedOrBuilder()

Access given by the grant ended automatically as the approved duration was over.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Ended ended = 11;

Returns
Type Description
Grant.Timeline.Event.EndedOrBuilder

getEventCase()

public Grant.Timeline.Event.EventCase getEventCase()
Returns
Type Description
Grant.Timeline.Event.EventCase

getEventTime()

public Timestamp getEventTime()

Output only. The time (as recorded at server) when this event occurred.

.google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The eventTime.

getEventTimeOrBuilder()

public TimestampOrBuilder getEventTimeOrBuilder()

Output only. The time (as recorded at server) when this event occurred.

.google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getExpired()

public Grant.Timeline.Event.Expired getExpired()

The approval workflow did not complete in the necessary duration, and so the grant is expired.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Expired expired = 10;

Returns
Type Description
Grant.Timeline.Event.Expired

The expired.

getExpiredOrBuilder()

public Grant.Timeline.Event.ExpiredOrBuilder getExpiredOrBuilder()

The approval workflow did not complete in the necessary duration, and so the grant is expired.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Expired expired = 10;

Returns
Type Description
Grant.Timeline.Event.ExpiredOrBuilder

getExternallyModified()

public Grant.Timeline.Event.ExternallyModified getExternallyModified()

The policy bindings made by grant have been modified outside of PAM.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.ExternallyModified externally_modified = 12;

Returns
Type Description
Grant.Timeline.Event.ExternallyModified

The externallyModified.

getExternallyModifiedOrBuilder()

public Grant.Timeline.Event.ExternallyModifiedOrBuilder getExternallyModifiedOrBuilder()

The policy bindings made by grant have been modified outside of PAM.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.ExternallyModified externally_modified = 12;

Returns
Type Description
Grant.Timeline.Event.ExternallyModifiedOrBuilder

getParserForType()

public Parser<Grant.Timeline.Event> getParserForType()
Returns
Type Description
Parser<Event>
Overrides

getRequested()

public Grant.Timeline.Event.Requested getRequested()

The grant was requested.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Requested requested = 2;

Returns
Type Description
Grant.Timeline.Event.Requested

The requested.

getRequestedOrBuilder()

public Grant.Timeline.Event.RequestedOrBuilder getRequestedOrBuilder()

The grant was requested.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Requested requested = 2;

Returns
Type Description
Grant.Timeline.Event.RequestedOrBuilder

getRevoked()

public Grant.Timeline.Event.Revoked getRevoked()

The grant was revoked.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Revoked revoked = 5;

Returns
Type Description
Grant.Timeline.Event.Revoked

The revoked.

getRevokedOrBuilder()

public Grant.Timeline.Event.RevokedOrBuilder getRevokedOrBuilder()

The grant was revoked.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Revoked revoked = 5;

Returns
Type Description
Grant.Timeline.Event.RevokedOrBuilder

getScheduled()

public Grant.Timeline.Event.Scheduled getScheduled()

The grant has been scheduled to give access.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Scheduled scheduled = 6;

Returns
Type Description
Grant.Timeline.Event.Scheduled

The scheduled.

getScheduledOrBuilder()

public Grant.Timeline.Event.ScheduledOrBuilder getScheduledOrBuilder()

The grant has been scheduled to give access.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Scheduled scheduled = 6;

Returns
Type Description
Grant.Timeline.Event.ScheduledOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasActivated()

public boolean hasActivated()

The grant was successfully activated to give access.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Activated activated = 7;

Returns
Type Description
boolean

Whether the activated field is set.

hasActivationFailed()

public boolean hasActivationFailed()

There was a non-retriable error while trying to give access.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.ActivationFailed activation_failed = 8;

Returns
Type Description
boolean

Whether the activationFailed field is set.

hasApproved()

public boolean hasApproved()

The grant was approved.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Approved approved = 3;

Returns
Type Description
boolean

Whether the approved field is set.

hasDenied()

public boolean hasDenied()

The grant was denied.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Denied denied = 4;

Returns
Type Description
boolean

Whether the denied field is set.

hasEnded()

public boolean hasEnded()

Access given by the grant ended automatically as the approved duration was over.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Ended ended = 11;

Returns
Type Description
boolean

Whether the ended field is set.

hasEventTime()

public boolean hasEventTime()

Output only. The time (as recorded at server) when this event occurred.

.google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the eventTime field is set.

hasExpired()

public boolean hasExpired()

The approval workflow did not complete in the necessary duration, and so the grant is expired.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Expired expired = 10;

Returns
Type Description
boolean

Whether the expired field is set.

hasExternallyModified()

public boolean hasExternallyModified()

The policy bindings made by grant have been modified outside of PAM.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.ExternallyModified externally_modified = 12;

Returns
Type Description
boolean

Whether the externallyModified field is set.

hasRequested()

public boolean hasRequested()

The grant was requested.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Requested requested = 2;

Returns
Type Description
boolean

Whether the requested field is set.

hasRevoked()

public boolean hasRevoked()

The grant was revoked.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Revoked revoked = 5;

Returns
Type Description
boolean

Whether the revoked field is set.

hasScheduled()

public boolean hasScheduled()

The grant has been scheduled to give access.

.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Scheduled scheduled = 6;

Returns
Type Description
boolean

Whether the scheduled field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Grant.Timeline.Event.Builder newBuilderForType()
Returns
Type Description
Grant.Timeline.Event.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Grant.Timeline.Event.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Grant.Timeline.Event.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Grant.Timeline.Event.Builder toBuilder()
Returns
Type Description
Grant.Timeline.Event.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException