Class Grant.Timeline.Event.Builder (0.1.0)

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

A single operation on the grant.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Grant.Timeline.Event.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Grant.Timeline.Event.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Grant.Timeline.Event.Builder clear()
Returns
Type Description
Grant.Timeline.Event.Builder
Overrides

clearActivated()

public Grant.Timeline.Event.Builder clearActivated()

The grant was successfully activated to give access.

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

Returns
Type Description
Grant.Timeline.Event.Builder

clearActivationFailed()

public Grant.Timeline.Event.Builder clearActivationFailed()

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.Builder

clearApproved()

public Grant.Timeline.Event.Builder clearApproved()

The grant was approved.

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

Returns
Type Description
Grant.Timeline.Event.Builder

clearDenied()

public Grant.Timeline.Event.Builder clearDenied()

The grant was denied.

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

Returns
Type Description
Grant.Timeline.Event.Builder

clearEnded()

public Grant.Timeline.Event.Builder clearEnded()

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.Builder

clearEvent()

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

clearEventTime()

public Grant.Timeline.Event.Builder clearEventTime()

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
Grant.Timeline.Event.Builder

clearExpired()

public Grant.Timeline.Event.Builder clearExpired()

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.Builder

clearExternallyModified()

public Grant.Timeline.Event.Builder clearExternallyModified()

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.Builder

clearField(Descriptors.FieldDescriptor field)

public Grant.Timeline.Event.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Grant.Timeline.Event.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Grant.Timeline.Event.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Grant.Timeline.Event.Builder
Overrides

clearRequested()

public Grant.Timeline.Event.Builder clearRequested()

The grant was requested.

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

Returns
Type Description
Grant.Timeline.Event.Builder

clearRevoked()

public Grant.Timeline.Event.Builder clearRevoked()

The grant was revoked.

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

Returns
Type Description
Grant.Timeline.Event.Builder

clearScheduled()

public Grant.Timeline.Event.Builder clearScheduled()

The grant has been scheduled to give access.

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

Returns
Type Description
Grant.Timeline.Event.Builder

clone()

public Grant.Timeline.Event.Builder clone()
Returns
Type Description
Grant.Timeline.Event.Builder
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.

getActivatedBuilder()

public Grant.Timeline.Event.Activated.Builder getActivatedBuilder()

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.Builder

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.

getActivationFailedBuilder()

public Grant.Timeline.Event.ActivationFailed.Builder getActivationFailedBuilder()

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.Builder

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.

getApprovedBuilder()

public Grant.Timeline.Event.Approved.Builder getApprovedBuilder()

The grant was approved.

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

Returns
Type Description
Grant.Timeline.Event.Approved.Builder

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.

getDeniedBuilder()

public Grant.Timeline.Event.Denied.Builder getDeniedBuilder()

The grant was denied.

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

Returns
Type Description
Grant.Timeline.Event.Denied.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getEndedBuilder()

public Grant.Timeline.Event.Ended.Builder getEndedBuilder()

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.Builder

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.

getEventTimeBuilder()

public Timestamp.Builder getEventTimeBuilder()

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
Builder

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.

getExpiredBuilder()

public Grant.Timeline.Event.Expired.Builder getExpiredBuilder()

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.Builder

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.

getExternallyModifiedBuilder()

public Grant.Timeline.Event.ExternallyModified.Builder getExternallyModifiedBuilder()

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.Builder

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

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.

getRequestedBuilder()

public Grant.Timeline.Event.Requested.Builder getRequestedBuilder()

The grant was requested.

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

Returns
Type Description
Grant.Timeline.Event.Requested.Builder

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.

getRevokedBuilder()

public Grant.Timeline.Event.Revoked.Builder getRevokedBuilder()

The grant was revoked.

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

Returns
Type Description
Grant.Timeline.Event.Revoked.Builder

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.

getScheduledBuilder()

public Grant.Timeline.Event.Scheduled.Builder getScheduledBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeActivated(Grant.Timeline.Event.Activated value)

public Grant.Timeline.Event.Builder mergeActivated(Grant.Timeline.Event.Activated value)

The grant was successfully activated to give access.

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

Parameter
Name Description
value Grant.Timeline.Event.Activated
Returns
Type Description
Grant.Timeline.Event.Builder

mergeActivationFailed(Grant.Timeline.Event.ActivationFailed value)

public Grant.Timeline.Event.Builder mergeActivationFailed(Grant.Timeline.Event.ActivationFailed value)

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

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

Parameter
Name Description
value Grant.Timeline.Event.ActivationFailed
Returns
Type Description
Grant.Timeline.Event.Builder

mergeApproved(Grant.Timeline.Event.Approved value)

public Grant.Timeline.Event.Builder mergeApproved(Grant.Timeline.Event.Approved value)

The grant was approved.

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

Parameter
Name Description
value Grant.Timeline.Event.Approved
Returns
Type Description
Grant.Timeline.Event.Builder

mergeDenied(Grant.Timeline.Event.Denied value)

public Grant.Timeline.Event.Builder mergeDenied(Grant.Timeline.Event.Denied value)

The grant was denied.

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

Parameter
Name Description
value Grant.Timeline.Event.Denied
Returns
Type Description
Grant.Timeline.Event.Builder

mergeEnded(Grant.Timeline.Event.Ended value)

public Grant.Timeline.Event.Builder mergeEnded(Grant.Timeline.Event.Ended value)

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

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

Parameter
Name Description
value Grant.Timeline.Event.Ended
Returns
Type Description
Grant.Timeline.Event.Builder

mergeEventTime(Timestamp value)

public Grant.Timeline.Event.Builder mergeEventTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Grant.Timeline.Event.Builder

mergeExpired(Grant.Timeline.Event.Expired value)

public Grant.Timeline.Event.Builder mergeExpired(Grant.Timeline.Event.Expired value)

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;

Parameter
Name Description
value Grant.Timeline.Event.Expired
Returns
Type Description
Grant.Timeline.Event.Builder

mergeExternallyModified(Grant.Timeline.Event.ExternallyModified value)

public Grant.Timeline.Event.Builder mergeExternallyModified(Grant.Timeline.Event.ExternallyModified value)

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

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

Parameter
Name Description
value Grant.Timeline.Event.ExternallyModified
Returns
Type Description
Grant.Timeline.Event.Builder

mergeFrom(Grant.Timeline.Event other)

public Grant.Timeline.Event.Builder mergeFrom(Grant.Timeline.Event other)
Parameter
Name Description
other Grant.Timeline.Event
Returns
Type Description
Grant.Timeline.Event.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Grant.Timeline.Event.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline.Event.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Grant.Timeline.Event.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Grant.Timeline.Event.Builder
Overrides

mergeRequested(Grant.Timeline.Event.Requested value)

public Grant.Timeline.Event.Builder mergeRequested(Grant.Timeline.Event.Requested value)

The grant was requested.

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

Parameter
Name Description
value Grant.Timeline.Event.Requested
Returns
Type Description
Grant.Timeline.Event.Builder

mergeRevoked(Grant.Timeline.Event.Revoked value)

public Grant.Timeline.Event.Builder mergeRevoked(Grant.Timeline.Event.Revoked value)

The grant was revoked.

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

Parameter
Name Description
value Grant.Timeline.Event.Revoked
Returns
Type Description
Grant.Timeline.Event.Builder

mergeScheduled(Grant.Timeline.Event.Scheduled value)

public Grant.Timeline.Event.Builder mergeScheduled(Grant.Timeline.Event.Scheduled value)

The grant has been scheduled to give access.

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

Parameter
Name Description
value Grant.Timeline.Event.Scheduled
Returns
Type Description
Grant.Timeline.Event.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Grant.Timeline.Event.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Grant.Timeline.Event.Builder
Overrides

setActivated(Grant.Timeline.Event.Activated value)

public Grant.Timeline.Event.Builder setActivated(Grant.Timeline.Event.Activated value)

The grant was successfully activated to give access.

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

Parameter
Name Description
value Grant.Timeline.Event.Activated
Returns
Type Description
Grant.Timeline.Event.Builder

setActivated(Grant.Timeline.Event.Activated.Builder builderForValue)

public Grant.Timeline.Event.Builder setActivated(Grant.Timeline.Event.Activated.Builder builderForValue)

The grant was successfully activated to give access.

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

Parameter
Name Description
builderForValue Grant.Timeline.Event.Activated.Builder
Returns
Type Description
Grant.Timeline.Event.Builder

setActivationFailed(Grant.Timeline.Event.ActivationFailed value)

public Grant.Timeline.Event.Builder setActivationFailed(Grant.Timeline.Event.ActivationFailed value)

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

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

Parameter
Name Description
value Grant.Timeline.Event.ActivationFailed
Returns
Type Description
Grant.Timeline.Event.Builder

setActivationFailed(Grant.Timeline.Event.ActivationFailed.Builder builderForValue)

public Grant.Timeline.Event.Builder setActivationFailed(Grant.Timeline.Event.ActivationFailed.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Grant.Timeline.Event.ActivationFailed.Builder
Returns
Type Description
Grant.Timeline.Event.Builder

setApproved(Grant.Timeline.Event.Approved value)

public Grant.Timeline.Event.Builder setApproved(Grant.Timeline.Event.Approved value)

The grant was approved.

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

Parameter
Name Description
value Grant.Timeline.Event.Approved
Returns
Type Description
Grant.Timeline.Event.Builder

setApproved(Grant.Timeline.Event.Approved.Builder builderForValue)

public Grant.Timeline.Event.Builder setApproved(Grant.Timeline.Event.Approved.Builder builderForValue)

The grant was approved.

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

Parameter
Name Description
builderForValue Grant.Timeline.Event.Approved.Builder
Returns
Type Description
Grant.Timeline.Event.Builder

setDenied(Grant.Timeline.Event.Denied value)

public Grant.Timeline.Event.Builder setDenied(Grant.Timeline.Event.Denied value)

The grant was denied.

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

Parameter
Name Description
value Grant.Timeline.Event.Denied
Returns
Type Description
Grant.Timeline.Event.Builder

setDenied(Grant.Timeline.Event.Denied.Builder builderForValue)

public Grant.Timeline.Event.Builder setDenied(Grant.Timeline.Event.Denied.Builder builderForValue)

The grant was denied.

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

Parameter
Name Description
builderForValue Grant.Timeline.Event.Denied.Builder
Returns
Type Description
Grant.Timeline.Event.Builder

setEnded(Grant.Timeline.Event.Ended value)

public Grant.Timeline.Event.Builder setEnded(Grant.Timeline.Event.Ended value)

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

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

Parameter
Name Description
value Grant.Timeline.Event.Ended
Returns
Type Description
Grant.Timeline.Event.Builder

setEnded(Grant.Timeline.Event.Ended.Builder builderForValue)

public Grant.Timeline.Event.Builder setEnded(Grant.Timeline.Event.Ended.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Grant.Timeline.Event.Ended.Builder
Returns
Type Description
Grant.Timeline.Event.Builder

setEventTime(Timestamp value)

public Grant.Timeline.Event.Builder setEventTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Grant.Timeline.Event.Builder

setEventTime(Timestamp.Builder builderForValue)

public Grant.Timeline.Event.Builder setEventTime(Timestamp.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Grant.Timeline.Event.Builder

setExpired(Grant.Timeline.Event.Expired value)

public Grant.Timeline.Event.Builder setExpired(Grant.Timeline.Event.Expired value)

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;

Parameter
Name Description
value Grant.Timeline.Event.Expired
Returns
Type Description
Grant.Timeline.Event.Builder

setExpired(Grant.Timeline.Event.Expired.Builder builderForValue)

public Grant.Timeline.Event.Builder setExpired(Grant.Timeline.Event.Expired.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Grant.Timeline.Event.Expired.Builder
Returns
Type Description
Grant.Timeline.Event.Builder

setExternallyModified(Grant.Timeline.Event.ExternallyModified value)

public Grant.Timeline.Event.Builder setExternallyModified(Grant.Timeline.Event.ExternallyModified value)

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

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

Parameter
Name Description
value Grant.Timeline.Event.ExternallyModified
Returns
Type Description
Grant.Timeline.Event.Builder

setExternallyModified(Grant.Timeline.Event.ExternallyModified.Builder builderForValue)

public Grant.Timeline.Event.Builder setExternallyModified(Grant.Timeline.Event.ExternallyModified.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Grant.Timeline.Event.ExternallyModified.Builder
Returns
Type Description
Grant.Timeline.Event.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Grant.Timeline.Event.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Grant.Timeline.Event.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Grant.Timeline.Event.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Grant.Timeline.Event.Builder
Overrides

setRequested(Grant.Timeline.Event.Requested value)

public Grant.Timeline.Event.Builder setRequested(Grant.Timeline.Event.Requested value)

The grant was requested.

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

Parameter
Name Description
value Grant.Timeline.Event.Requested
Returns
Type Description
Grant.Timeline.Event.Builder

setRequested(Grant.Timeline.Event.Requested.Builder builderForValue)

public Grant.Timeline.Event.Builder setRequested(Grant.Timeline.Event.Requested.Builder builderForValue)

The grant was requested.

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

Parameter
Name Description
builderForValue Grant.Timeline.Event.Requested.Builder
Returns
Type Description
Grant.Timeline.Event.Builder

setRevoked(Grant.Timeline.Event.Revoked value)

public Grant.Timeline.Event.Builder setRevoked(Grant.Timeline.Event.Revoked value)

The grant was revoked.

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

Parameter
Name Description
value Grant.Timeline.Event.Revoked
Returns
Type Description
Grant.Timeline.Event.Builder

setRevoked(Grant.Timeline.Event.Revoked.Builder builderForValue)

public Grant.Timeline.Event.Builder setRevoked(Grant.Timeline.Event.Revoked.Builder builderForValue)

The grant was revoked.

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

Parameter
Name Description
builderForValue Grant.Timeline.Event.Revoked.Builder
Returns
Type Description
Grant.Timeline.Event.Builder

setScheduled(Grant.Timeline.Event.Scheduled value)

public Grant.Timeline.Event.Builder setScheduled(Grant.Timeline.Event.Scheduled value)

The grant has been scheduled to give access.

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

Parameter
Name Description
value Grant.Timeline.Event.Scheduled
Returns
Type Description
Grant.Timeline.Event.Builder

setScheduled(Grant.Timeline.Event.Scheduled.Builder builderForValue)

public Grant.Timeline.Event.Builder setScheduled(Grant.Timeline.Event.Scheduled.Builder builderForValue)

The grant has been scheduled to give access.

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

Parameter
Name Description
builderForValue Grant.Timeline.Event.Scheduled.Builder
Returns
Type Description
Grant.Timeline.Event.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Grant.Timeline.Event.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Grant.Timeline.Event.Builder
Overrides