Class Grant.AuditTrail.Builder (0.1.0)

public static final class Grant.AuditTrail.Builder extends GeneratedMessageV3.Builder<Grant.AuditTrail.Builder> implements Grant.AuditTrailOrBuilder

Audit trail for the access provided by this grant.

Protobuf type google.cloud.privilegedaccessmanager.v1.Grant.AuditTrail

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Grant.AuditTrail build()
Returns
Type Description
Grant.AuditTrail

buildPartial()

public Grant.AuditTrail buildPartial()
Returns
Type Description
Grant.AuditTrail

clear()

public Grant.AuditTrail.Builder clear()
Returns
Type Description
Grant.AuditTrail.Builder
Overrides

clearAccessGrantTime()

public Grant.AuditTrail.Builder clearAccessGrantTime()

Output only. The time at which access was given.

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

Returns
Type Description
Grant.AuditTrail.Builder

clearAccessRemoveTime()

public Grant.AuditTrail.Builder clearAccessRemoveTime()

Output only. The time at which the system removed access. This could be because of an automatic expiry or because of a revocation.

If unspecified, then access hasn't been removed yet.

.google.protobuf.Timestamp access_remove_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Grant.AuditTrail.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Grant.AuditTrail.Builder clone()
Returns
Type Description
Grant.AuditTrail.Builder
Overrides

getAccessGrantTime()

public Timestamp getAccessGrantTime()

Output only. The time at which access was given.

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

Returns
Type Description
Timestamp

The accessGrantTime.

getAccessGrantTimeBuilder()

public Timestamp.Builder getAccessGrantTimeBuilder()

Output only. The time at which access was given.

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

Returns
Type Description
Builder

getAccessGrantTimeOrBuilder()

public TimestampOrBuilder getAccessGrantTimeOrBuilder()

Output only. The time at which access was given.

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

Returns
Type Description
TimestampOrBuilder

getAccessRemoveTime()

public Timestamp getAccessRemoveTime()

Output only. The time at which the system removed access. This could be because of an automatic expiry or because of a revocation.

If unspecified, then access hasn't been removed yet.

.google.protobuf.Timestamp access_remove_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The accessRemoveTime.

getAccessRemoveTimeBuilder()

public Timestamp.Builder getAccessRemoveTimeBuilder()

Output only. The time at which the system removed access. This could be because of an automatic expiry or because of a revocation.

If unspecified, then access hasn't been removed yet.

.google.protobuf.Timestamp access_remove_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getAccessRemoveTimeOrBuilder()

public TimestampOrBuilder getAccessRemoveTimeOrBuilder()

Output only. The time at which the system removed access. This could be because of an automatic expiry or because of a revocation.

If unspecified, then access hasn't been removed yet.

.google.protobuf.Timestamp access_remove_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Grant.AuditTrail getDefaultInstanceForType()
Returns
Type Description
Grant.AuditTrail

getDescriptorForType()

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

hasAccessGrantTime()

public boolean hasAccessGrantTime()

Output only. The time at which access was given.

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

Returns
Type Description
boolean

Whether the accessGrantTime field is set.

hasAccessRemoveTime()

public boolean hasAccessRemoveTime()

Output only. The time at which the system removed access. This could be because of an automatic expiry or because of a revocation.

If unspecified, then access hasn't been removed yet.

.google.protobuf.Timestamp access_remove_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the accessRemoveTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccessGrantTime(Timestamp value)

public Grant.AuditTrail.Builder mergeAccessGrantTime(Timestamp value)

Output only. The time at which access was given.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Grant.AuditTrail.Builder

mergeAccessRemoveTime(Timestamp value)

public Grant.AuditTrail.Builder mergeAccessRemoveTime(Timestamp value)

Output only. The time at which the system removed access. This could be because of an automatic expiry or because of a revocation.

If unspecified, then access hasn't been removed yet.

.google.protobuf.Timestamp access_remove_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Grant.AuditTrail.Builder

mergeFrom(Grant.AuditTrail other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAccessGrantTime(Timestamp value)

public Grant.AuditTrail.Builder setAccessGrantTime(Timestamp value)

Output only. The time at which access was given.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Grant.AuditTrail.Builder

setAccessGrantTime(Timestamp.Builder builderForValue)

public Grant.AuditTrail.Builder setAccessGrantTime(Timestamp.Builder builderForValue)

Output only. The time at which access was given.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Grant.AuditTrail.Builder

setAccessRemoveTime(Timestamp value)

public Grant.AuditTrail.Builder setAccessRemoveTime(Timestamp value)

Output only. The time at which the system removed access. This could be because of an automatic expiry or because of a revocation.

If unspecified, then access hasn't been removed yet.

.google.protobuf.Timestamp access_remove_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Grant.AuditTrail.Builder

setAccessRemoveTime(Timestamp.Builder builderForValue)

public Grant.AuditTrail.Builder setAccessRemoveTime(Timestamp.Builder builderForValue)

Output only. The time at which the system removed access. This could be because of an automatic expiry or because of a revocation.

If unspecified, then access hasn't been removed yet.

.google.protobuf.Timestamp access_remove_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Grant.AuditTrail.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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