Class Grant.AuditTrail (0.6.0)

public static final class Grant.AuditTrail extends GeneratedMessageV3 implements Grant.AuditTrailOrBuilder

Audit trail for the access provided by this grant.

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

Static Fields

ACCESS_GRANT_TIME_FIELD_NUMBER

public static final int ACCESS_GRANT_TIME_FIELD_NUMBER
Field Value
Type Description
int

ACCESS_REMOVE_TIME_FIELD_NUMBER

public static final int ACCESS_REMOVE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Grant.AuditTrail getDefaultInstance()
Returns
Type Description
Grant.AuditTrail

getDescriptor()

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

newBuilder()

public static Grant.AuditTrail.Builder newBuilder()
Returns
Type Description
Grant.AuditTrail.Builder

newBuilder(Grant.AuditTrail prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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.AuditTrail.Builder newBuilderForType()
Returns
Type Description
Grant.AuditTrail.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Grant.AuditTrail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Grant.AuditTrail.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.AuditTrail.Builder toBuilder()
Returns
Type Description
Grant.AuditTrail.Builder

writeTo(CodedOutputStream output)

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