public static final class DataAccessEvent.Builder extends GeneratedMessage.Builder<DataAccessEvent.Builder> implements DataAccessEventOrBuilderDetails about a data access attempt made by a principal not authorized under applicable data security policy.
Protobuf type google.cloud.securitycenter.v2.DataAccessEvent
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataAccessEvent.BuilderImplements
DataAccessEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataAccessEvent build()| Returns | |
|---|---|
| Type | Description |
DataAccessEvent |
|
buildPartial()
public DataAccessEvent buildPartial()| Returns | |
|---|---|
| Type | Description |
DataAccessEvent |
|
clear()
public DataAccessEvent.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
|
clearEventId()
public DataAccessEvent.Builder clearEventId()Unique identifier for data access event.
string event_id = 1;
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
This builder for chaining. |
clearEventTime()
public DataAccessEvent.Builder clearEventTime()Timestamp of data access event.
.google.protobuf.Timestamp event_time = 4;
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
|
clearOperation()
public DataAccessEvent.Builder clearOperation()The operation performed by the principal to access the data.
.google.cloud.securitycenter.v2.DataAccessEvent.Operation operation = 3;
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
This builder for chaining. |
clearPrincipalEmail()
public DataAccessEvent.Builder clearPrincipalEmail()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 |
DataAccessEvent.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DataAccessEvent getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataAccessEvent |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getEventTimeBuilder()
public Timestamp.Builder getEventTimeBuilder()Timestamp of data access event.
.google.protobuf.Timestamp event_time = 4;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEventTimeOrBuilder()
public TimestampOrBuilder getEventTimeOrBuilder()Timestamp of data access event.
.google.protobuf.Timestamp event_time = 4;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getOperation()
public DataAccessEvent.Operation getOperation()The operation performed by the principal to access the data.
.google.cloud.securitycenter.v2.DataAccessEvent.Operation operation = 3;
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Operation |
The operation. |
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEventTime(Timestamp value)
public DataAccessEvent.Builder mergeEventTime(Timestamp value)Timestamp of data access event.
.google.protobuf.Timestamp event_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
|
mergeFrom(DataAccessEvent other)
public DataAccessEvent.Builder mergeFrom(DataAccessEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
DataAccessEvent |
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataAccessEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataAccessEvent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
|
setEventId(String value)
public DataAccessEvent.Builder setEventId(String value)Unique identifier for data access event.
string event_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe eventId to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
This builder for chaining. |
setEventIdBytes(ByteString value)
public DataAccessEvent.Builder setEventIdBytes(ByteString value)Unique identifier for data access event.
string event_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for eventId to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
This builder for chaining. |
setEventTime(Timestamp value)
public DataAccessEvent.Builder setEventTime(Timestamp value)Timestamp of data access event.
.google.protobuf.Timestamp event_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
|
setEventTime(Timestamp.Builder builderForValue)
public DataAccessEvent.Builder setEventTime(Timestamp.Builder builderForValue)Timestamp of data access event.
.google.protobuf.Timestamp event_time = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
|
setOperation(DataAccessEvent.Operation value)
public DataAccessEvent.Builder setOperation(DataAccessEvent.Operation value)The operation performed by the principal to access the data.
.google.cloud.securitycenter.v2.DataAccessEvent.Operation operation = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
DataAccessEvent.OperationThe operation to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
This builder for chaining. |
setOperationValue(int value)
public DataAccessEvent.Builder setOperationValue(int value)The operation performed by the principal to access the data.
.google.cloud.securitycenter.v2.DataAccessEvent.Operation operation = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for operation to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
This builder for chaining. |
setPrincipalEmail(String value)
public DataAccessEvent.Builder setPrincipalEmail(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe principalEmail to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
This builder for chaining. |
setPrincipalEmailBytes(ByteString value)
public DataAccessEvent.Builder setPrincipalEmailBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for principalEmail to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessEvent.Builder |
This builder for chaining. |