public static final class DataAccessEvent.Builder extends GeneratedMessageV3.Builder<DataAccessEvent.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataAccessEvent.BuilderImplements
DataAccessEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataAccessEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DataAccessEvent.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public DataAccessEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DataAccessEvent.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataAccessEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
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. |
clone()
public DataAccessEvent.Builder clone()
Returns | |
---|---|
Type | Description |
DataAccessEvent.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataAccessEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
String The 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 |
ByteString The 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 |
setField(Descriptors.FieldDescriptor field, Object value)
public DataAccessEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
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.Operation The 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 |
int The 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 |
String The 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 |
ByteString The bytes for principalEmail to set. |
Returns | |
---|---|
Type | Description |
DataAccessEvent.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataAccessEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DataAccessEvent.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataAccessEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataAccessEvent.Builder |