Class DataFlowEvent.Builder (2.67.0)

public static final class DataFlowEvent.Builder extends GeneratedMessageV3.Builder<DataFlowEvent.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataFlowEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataFlowEvent.Builder
Overrides

build()

public DataFlowEvent build()
Returns
Type Description
DataFlowEvent

buildPartial()

public DataFlowEvent buildPartial()
Returns
Type Description
DataFlowEvent

clear()

public DataFlowEvent.Builder clear()
Returns
Type Description
DataFlowEvent.Builder
Overrides

clearEventId()

public DataFlowEvent.Builder clearEventId()

Unique identifier for data flow event.

string event_id = 1;

Returns
Type Description
DataFlowEvent.Builder

This builder for chaining.

clearEventTime()

public DataFlowEvent.Builder clearEventTime()

Timestamp of data flow event.

.google.protobuf.Timestamp event_time = 5;

Returns
Type Description
DataFlowEvent.Builder

clearField(Descriptors.FieldDescriptor field)

public DataFlowEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataFlowEvent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataFlowEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataFlowEvent.Builder
Overrides

clearOperation()

public DataFlowEvent.Builder clearOperation()

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

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

Returns
Type Description
DataFlowEvent.Builder

This builder for chaining.

clearPrincipalEmail()

public DataFlowEvent.Builder clearPrincipalEmail()

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
DataFlowEvent.Builder

This builder for chaining.

clearViolatedLocation()

public DataFlowEvent.Builder clearViolatedLocation()

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

string violated_location = 4;

Returns
Type Description
DataFlowEvent.Builder

This builder for chaining.

clone()

public DataFlowEvent.Builder clone()
Returns
Type Description
DataFlowEvent.Builder
Overrides

getDefaultInstanceForType()

public DataFlowEvent getDefaultInstanceForType()
Returns
Type Description
DataFlowEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getEventTimeBuilder()

public Timestamp.Builder getEventTimeBuilder()

Timestamp of data flow event.

.google.protobuf.Timestamp event_time = 5;

Returns
Type Description
Builder

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.

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEventTime(Timestamp value)

public DataFlowEvent.Builder mergeEventTime(Timestamp value)

Timestamp of data flow event.

.google.protobuf.Timestamp event_time = 5;

Parameter
Name Description
value Timestamp
Returns
Type Description
DataFlowEvent.Builder

mergeFrom(DataFlowEvent other)

public DataFlowEvent.Builder mergeFrom(DataFlowEvent other)
Parameter
Name Description
other DataFlowEvent
Returns
Type Description
DataFlowEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataFlowEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataFlowEvent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataFlowEvent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataFlowEvent.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataFlowEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataFlowEvent.Builder
Overrides

setEventId(String value)

public DataFlowEvent.Builder setEventId(String value)

Unique identifier for data flow event.

string event_id = 1;

Parameter
Name Description
value String

The eventId to set.

Returns
Type Description
DataFlowEvent.Builder

This builder for chaining.

setEventIdBytes(ByteString value)

public DataFlowEvent.Builder setEventIdBytes(ByteString value)

Unique identifier for data flow event.

string event_id = 1;

Parameter
Name Description
value ByteString

The bytes for eventId to set.

Returns
Type Description
DataFlowEvent.Builder

This builder for chaining.

setEventTime(Timestamp value)

public DataFlowEvent.Builder setEventTime(Timestamp value)

Timestamp of data flow event.

.google.protobuf.Timestamp event_time = 5;

Parameter
Name Description
value Timestamp
Returns
Type Description
DataFlowEvent.Builder

setEventTime(Timestamp.Builder builderForValue)

public DataFlowEvent.Builder setEventTime(Timestamp.Builder builderForValue)

Timestamp of data flow event.

.google.protobuf.Timestamp event_time = 5;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DataFlowEvent.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DataFlowEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataFlowEvent.Builder
Overrides

setOperation(DataFlowEvent.Operation value)

public DataFlowEvent.Builder setOperation(DataFlowEvent.Operation value)

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

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

Parameter
Name Description
value DataFlowEvent.Operation

The operation to set.

Returns
Type Description
DataFlowEvent.Builder

This builder for chaining.

setOperationValue(int value)

public DataFlowEvent.Builder setOperationValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for operation to set.

Returns
Type Description
DataFlowEvent.Builder

This builder for chaining.

setPrincipalEmail(String value)

public DataFlowEvent.Builder setPrincipalEmail(String value)

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;

Parameter
Name Description
value String

The principalEmail to set.

Returns
Type Description
DataFlowEvent.Builder

This builder for chaining.

setPrincipalEmailBytes(ByteString value)

public DataFlowEvent.Builder setPrincipalEmailBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for principalEmail to set.

Returns
Type Description
DataFlowEvent.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataFlowEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataFlowEvent.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataFlowEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataFlowEvent.Builder
Overrides

setViolatedLocation(String value)

public DataFlowEvent.Builder setViolatedLocation(String value)

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

string violated_location = 4;

Parameter
Name Description
value String

The violatedLocation to set.

Returns
Type Description
DataFlowEvent.Builder

This builder for chaining.

setViolatedLocationBytes(ByteString value)

public DataFlowEvent.Builder setViolatedLocationBytes(ByteString value)

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

string violated_location = 4;

Parameter
Name Description
value ByteString

The bytes for violatedLocation to set.

Returns
Type Description
DataFlowEvent.Builder

This builder for chaining.