Class DataAccessEvent (2.84.0)
public final class DataAccessEvent extends GeneratedMessageV3 implements DataAccessEventOrBuilder
Details about a data access attempt made by a principal not authorized under
applicable data security policy.
Protobuf type google.cloud.securitycenter.v2.DataAccessEvent
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EVENT_ID_FIELD_NUMBER
public static final int EVENT_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EVENT_TIME_FIELD_NUMBER
public static final int EVENT_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PRINCIPAL_EMAIL_FIELD_NUMBER
public static final int PRINCIPAL_EMAIL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DataAccessEvent getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataAccessEvent.Builder newBuilder()
newBuilder(DataAccessEvent prototype)
public static DataAccessEvent.Builder newBuilder(DataAccessEvent prototype)
public static DataAccessEvent parseDelimitedFrom(InputStream input)
public static DataAccessEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataAccessEvent parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataAccessEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataAccessEvent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataAccessEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataAccessEvent parseFrom(CodedInputStream input)
public static DataAccessEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataAccessEvent parseFrom(InputStream input)
public static DataAccessEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataAccessEvent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataAccessEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataAccessEvent> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DataAccessEvent getDefaultInstanceForType()
getEventId()
public String getEventId()
Unique identifier for data access event.
string event_id = 1;
Returns |
Type |
Description |
String |
The eventId.
|
getEventIdBytes()
public ByteString getEventIdBytes()
Unique identifier for data access event.
string event_id = 1;
Returns |
Type |
Description |
ByteString |
The bytes for eventId.
|
getEventTime()
public Timestamp getEventTime()
Timestamp of data access event.
.google.protobuf.Timestamp event_time = 4;
Returns |
Type |
Description |
Timestamp |
The eventTime.
|
getEventTimeOrBuilder()
public TimestampOrBuilder getEventTimeOrBuilder()
Timestamp of data access event.
.google.protobuf.Timestamp event_time = 4;
getOperation()
public DataAccessEvent.Operation getOperation()
The operation performed by the principal to access the data.
.google.cloud.securitycenter.v2.DataAccessEvent.Operation operation = 3;
getOperationValue()
public int getOperationValue()
The operation performed by the principal to access the data.
.google.cloud.securitycenter.v2.DataAccessEvent.Operation operation = 3;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for operation.
|
getParserForType()
public Parser<DataAccessEvent> getParserForType()
Overrides
getPrincipalEmail()
public String getPrincipalEmail()
The email address of the principal that accessed the data. The principal
could be a user account, service account, Google group, or other.
string principal_email = 2;
Returns |
Type |
Description |
String |
The principalEmail.
|
getPrincipalEmailBytes()
public ByteString getPrincipalEmailBytes()
The email address of the principal that accessed the data. The principal
could be a user account, service account, Google group, or other.
string principal_email = 2;
Returns |
Type |
Description |
ByteString |
The bytes for principalEmail.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasEventTime()
public boolean hasEventTime()
Timestamp of data access event.
.google.protobuf.Timestamp event_time = 4;
Returns |
Type |
Description |
boolean |
Whether the eventTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataAccessEvent.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataAccessEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DataAccessEvent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]