Class ExfilResource.Builder (2.51.0)

public static final class ExfilResource.Builder extends GeneratedMessageV3.Builder<ExfilResource.Builder> implements ExfilResourceOrBuilder

Resource where data was exfiltrated from or exfiltrated to.

Protobuf type google.cloud.securitycenter.v1.ExfilResource

Static Methods

getDescriptor()

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

Methods

addAllComponents(Iterable<String> values)

public ExfilResource.Builder addAllComponents(Iterable<String> values)

Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.

repeated string components = 2;

Parameter
Name Description
values Iterable<String>

The components to add.

Returns
Type Description
ExfilResource.Builder

This builder for chaining.

addComponents(String value)

public ExfilResource.Builder addComponents(String value)

Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.

repeated string components = 2;

Parameter
Name Description
value String

The components to add.

Returns
Type Description
ExfilResource.Builder

This builder for chaining.

addComponentsBytes(ByteString value)

public ExfilResource.Builder addComponentsBytes(ByteString value)

Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.

repeated string components = 2;

Parameter
Name Description
value ByteString

The bytes of the components to add.

Returns
Type Description
ExfilResource.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExfilResource build()
Returns
Type Description
ExfilResource

buildPartial()

public ExfilResource buildPartial()
Returns
Type Description
ExfilResource

clear()

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

clearComponents()

public ExfilResource.Builder clearComponents()

Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.

repeated string components = 2;

Returns
Type Description
ExfilResource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ExfilResource.Builder clearName()

The resource's full resource name.

string name = 1;

Returns
Type Description
ExfilResource.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getComponents(int index)

public String getComponents(int index)

Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.

repeated string components = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The components at the given index.

getComponentsBytes(int index)

public ByteString getComponentsBytes(int index)

Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.

repeated string components = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the components at the given index.

getComponentsCount()

public int getComponentsCount()

Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.

repeated string components = 2;

Returns
Type Description
int

The count of components.

getComponentsList()

public ProtocolStringList getComponentsList()

Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.

repeated string components = 2;

Returns
Type Description
ProtocolStringList

A list containing the components.

getDefaultInstanceForType()

public ExfilResource getDefaultInstanceForType()
Returns
Type Description
ExfilResource

getDescriptorForType()

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

getName()

public String getName()

The resource's full resource name.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource's full resource name.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExfilResource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setComponents(int index, String value)

public ExfilResource.Builder setComponents(int index, String value)

Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.

repeated string components = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The components to set.

Returns
Type Description
ExfilResource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ExfilResource.Builder setName(String value)

The resource's full resource name.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ExfilResource.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExfilResource.Builder setNameBytes(ByteString value)

The resource's full resource name.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ExfilResource.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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