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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Grant.AuditTrail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Grant.AuditTrail build()
buildPartial()
public Grant.AuditTrail buildPartial()
clear()
public Grant.AuditTrail.Builder clear()
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];
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];
clearField(Descriptors.FieldDescriptor field)
public Grant.AuditTrail.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Grant.AuditTrail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Grant.AuditTrail.Builder clone()
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];
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];
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];
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];
getDefaultInstanceForType()
public Grant.AuditTrail getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
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];
mergeFrom(Grant.AuditTrail other)
public Grant.AuditTrail.Builder mergeFrom(Grant.AuditTrail other)
public Grant.AuditTrail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Grant.AuditTrail.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Grant.AuditTrail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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
|
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];
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public Grant.AuditTrail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Grant.AuditTrail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Grant.AuditTrail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides