public static final class Grant.AuditTrail.Builder extends GeneratedMessage.Builder<Grant.AuditTrail.Builder> implements Grant.AuditTrailOrBuilderAudit trail for the access provided by this grant.
Protobuf type google.cloud.privilegedaccessmanager.v1.Grant.AuditTrail
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Grant.AuditTrail.BuilderImplements
Grant.AuditTrailOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
|