Class ExfilResource.Builder (2.13.0)

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

Resource that has been exfiltrated or exfiltrated_to.

Protobuf type google.cloud.securitycenter.v1.ExfilResource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllComponents(Iterable<String> values)

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

Subcomponents of the asset that is exfiltrated - these could be URIs used during exfiltration, table names, databases, filenames, etc. For example, multiple tables may be exfiltrated from the same CloudSQL instance, or multiple files from the same Cloud Storage bucket.

repeated string components = 2;

Parameter
NameDescription
valuesIterable<String>

The components to add.

Returns
TypeDescription
ExfilResource.Builder

This builder for chaining.

addComponents(String value)

public ExfilResource.Builder addComponents(String value)

Subcomponents of the asset that is exfiltrated - these could be URIs used during exfiltration, table names, databases, filenames, etc. For example, multiple tables may be exfiltrated from the same CloudSQL instance, or multiple files from the same Cloud Storage bucket.

repeated string components = 2;

Parameter
NameDescription
valueString

The components to add.

Returns
TypeDescription
ExfilResource.Builder

This builder for chaining.

addComponentsBytes(ByteString value)

public ExfilResource.Builder addComponentsBytes(ByteString value)

Subcomponents of the asset that is exfiltrated - these could be URIs used during exfiltration, table names, databases, filenames, etc. For example, multiple tables may be exfiltrated from the same CloudSQL instance, or multiple files from the same Cloud Storage bucket.

repeated string components = 2;

Parameter
NameDescription
valueByteString

The bytes of the components to add.

Returns
TypeDescription
ExfilResource.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExfilResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExfilResource.Builder
Overrides

build()

public ExfilResource build()
Returns
TypeDescription
ExfilResource

buildPartial()

public ExfilResource buildPartial()
Returns
TypeDescription
ExfilResource

clear()

public ExfilResource.Builder clear()
Returns
TypeDescription
ExfilResource.Builder
Overrides

clearComponents()

public ExfilResource.Builder clearComponents()

Subcomponents of the asset that is exfiltrated - these could be URIs used during exfiltration, table names, databases, filenames, etc. For example, multiple tables may be exfiltrated from the same CloudSQL instance, or multiple files from the same Cloud Storage bucket.

repeated string components = 2;

Returns
TypeDescription
ExfilResource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExfilResource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExfilResource.Builder
Overrides

clearName()

public ExfilResource.Builder clearName()

Resource's URI (https://google.aip.dev/122#full-resource-names)

string name = 1;

Returns
TypeDescription
ExfilResource.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExfilResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExfilResource.Builder
Overrides

clone()

public ExfilResource.Builder clone()
Returns
TypeDescription
ExfilResource.Builder
Overrides

getComponents(int index)

public String getComponents(int index)

Subcomponents of the asset that is exfiltrated - these could be URIs used during exfiltration, table names, databases, filenames, etc. For example, multiple tables may be exfiltrated from the same CloudSQL instance, or multiple files from the same Cloud Storage bucket.

repeated string components = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The components at the given index.

getComponentsBytes(int index)

public ByteString getComponentsBytes(int index)

Subcomponents of the asset that is exfiltrated - these could be URIs used during exfiltration, table names, databases, filenames, etc. For example, multiple tables may be exfiltrated from the same CloudSQL instance, or multiple files from the same Cloud Storage bucket.

repeated string components = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the components at the given index.

getComponentsCount()

public int getComponentsCount()

Subcomponents of the asset that is exfiltrated - these could be URIs used during exfiltration, table names, databases, filenames, etc. For example, multiple tables may be exfiltrated from the same CloudSQL instance, or multiple files from the same Cloud Storage bucket.

repeated string components = 2;

Returns
TypeDescription
int

The count of components.

getComponentsList()

public ProtocolStringList getComponentsList()

Subcomponents of the asset that is exfiltrated - these could be URIs used during exfiltration, table names, databases, filenames, etc. For example, multiple tables may be exfiltrated from the same CloudSQL instance, or multiple files from the same Cloud Storage bucket.

repeated string components = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the components.

getDefaultInstanceForType()

public ExfilResource getDefaultInstanceForType()
Returns
TypeDescription
ExfilResource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Resource's URI (https://google.aip.dev/122#full-resource-names)

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Resource's URI (https://google.aip.dev/122#full-resource-names)

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExfilResource other)

public ExfilResource.Builder mergeFrom(ExfilResource other)
Parameter
NameDescription
otherExfilResource
Returns
TypeDescription
ExfilResource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExfilResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExfilResource.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExfilResource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExfilResource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExfilResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExfilResource.Builder
Overrides

setComponents(int index, String value)

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

Subcomponents of the asset that is exfiltrated - these could be URIs used during exfiltration, table names, databases, filenames, etc. For example, multiple tables may be exfiltrated from the same CloudSQL instance, or multiple files from the same Cloud Storage bucket.

repeated string components = 2;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The components to set.

Returns
TypeDescription
ExfilResource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExfilResource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExfilResource.Builder
Overrides

setName(String value)

public ExfilResource.Builder setName(String value)

Resource's URI (https://google.aip.dev/122#full-resource-names)

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ExfilResource.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExfilResource.Builder setNameBytes(ByteString value)

Resource's URI (https://google.aip.dev/122#full-resource-names)

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExfilResource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExfilResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExfilResource.Builder
Overrides