Class DataFlowEvent (2.67.0)

public final class DataFlowEvent extends GeneratedMessageV3 implements DataFlowEventOrBuilder

Details about a data flow event, in which either the data is moved to or is accessed from a non-compliant geo-location, as defined in the applicable data security policy.

Protobuf type google.cloud.securitycenter.v2.DataFlowEvent

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

VIOLATED_LOCATION_FIELD_NUMBER

public static final int VIOLATED_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataFlowEvent getDefaultInstance()
Returns
Type Description
DataFlowEvent

getDescriptor()

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

newBuilder()

public static DataFlowEvent.Builder newBuilder()
Returns
Type Description
DataFlowEvent.Builder

newBuilder(DataFlowEvent prototype)

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

parseDelimitedFrom(InputStream input)

public static DataFlowEvent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataFlowEvent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static DataFlowEvent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataFlowEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static DataFlowEvent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataFlowEvent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static DataFlowEvent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataFlowEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static DataFlowEvent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataFlowEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<DataFlowEvent> parser()
Returns
Type Description
Parser<DataFlowEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DataFlowEvent getDefaultInstanceForType()
Returns
Type Description
DataFlowEvent

getEventId()

public String getEventId()

Unique identifier for data flow event.

string event_id = 1;

Returns
Type Description
String

The eventId.

getEventIdBytes()

public ByteString getEventIdBytes()

Unique identifier for data flow event.

string event_id = 1;

Returns
Type Description
ByteString

The bytes for eventId.

getEventTime()

public Timestamp getEventTime()

Timestamp of data flow event.

.google.protobuf.Timestamp event_time = 5;

Returns
Type Description
Timestamp

The eventTime.

getEventTimeOrBuilder()

public TimestampOrBuilder getEventTimeOrBuilder()

Timestamp of data flow event.

.google.protobuf.Timestamp event_time = 5;

Returns
Type Description
TimestampOrBuilder

getOperation()

public DataFlowEvent.Operation getOperation()

The operation performed by the principal for the data flow event.

.google.cloud.securitycenter.v2.DataFlowEvent.Operation operation = 3;

Returns
Type Description
DataFlowEvent.Operation

The operation.

getOperationValue()

public int getOperationValue()

The operation performed by the principal for the data flow event.

.google.cloud.securitycenter.v2.DataFlowEvent.Operation operation = 3;

Returns
Type Description
int

The enum numeric value on the wire for operation.

getParserForType()

public Parser<DataFlowEvent> getParserForType()
Returns
Type Description
Parser<DataFlowEvent>
Overrides

getPrincipalEmail()

public String getPrincipalEmail()

The email address of the principal that initiated the data flow event. 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 initiated the data flow event. 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

getViolatedLocation()

public String getViolatedLocation()

Non-compliant location of the principal or the data destination.

string violated_location = 4;

Returns
Type Description
String

The violatedLocation.

getViolatedLocationBytes()

public ByteString getViolatedLocationBytes()

Non-compliant location of the principal or the data destination.

string violated_location = 4;

Returns
Type Description
ByteString

The bytes for violatedLocation.

hasEventTime()

public boolean hasEventTime()

Timestamp of data flow event.

.google.protobuf.Timestamp event_time = 5;

Returns
Type Description
boolean

Whether the eventTime 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 DataFlowEvent.Builder newBuilderForType()
Returns
Type Description
DataFlowEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataFlowEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataFlowEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DataFlowEvent.Builder toBuilder()
Returns
Type Description
DataFlowEvent.Builder

writeTo(CodedOutputStream output)

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