Class OtherCloudResourceCollection.Builder (3.57.0)

public static final class OtherCloudResourceCollection.Builder extends GeneratedMessageV3.Builder<OtherCloudResourceCollection.Builder> implements OtherCloudResourceCollectionOrBuilder

Match resources using regex filters.

Protobuf type google.privacy.dlp.v2.OtherCloudResourceCollection

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OtherCloudResourceCollection build()
Returns
Type Description
OtherCloudResourceCollection

buildPartial()

public OtherCloudResourceCollection buildPartial()
Returns
Type Description
OtherCloudResourceCollection

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIncludeRegexes()

public OtherCloudResourceCollection.Builder clearIncludeRegexes()

A collection of regular expressions to match a resource against.

.google.privacy.dlp.v2.OtherCloudResourceRegexes include_regexes = 1;

Returns
Type Description
OtherCloudResourceCollection.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPattern()

public OtherCloudResourceCollection.Builder clearPattern()
Returns
Type Description
OtherCloudResourceCollection.Builder

clone()

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

getDefaultInstanceForType()

public OtherCloudResourceCollection getDefaultInstanceForType()
Returns
Type Description
OtherCloudResourceCollection

getDescriptorForType()

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

getIncludeRegexes()

public OtherCloudResourceRegexes getIncludeRegexes()

A collection of regular expressions to match a resource against.

.google.privacy.dlp.v2.OtherCloudResourceRegexes include_regexes = 1;

Returns
Type Description
OtherCloudResourceRegexes

The includeRegexes.

getIncludeRegexesBuilder()

public OtherCloudResourceRegexes.Builder getIncludeRegexesBuilder()

A collection of regular expressions to match a resource against.

.google.privacy.dlp.v2.OtherCloudResourceRegexes include_regexes = 1;

Returns
Type Description
OtherCloudResourceRegexes.Builder

getIncludeRegexesOrBuilder()

public OtherCloudResourceRegexesOrBuilder getIncludeRegexesOrBuilder()

A collection of regular expressions to match a resource against.

.google.privacy.dlp.v2.OtherCloudResourceRegexes include_regexes = 1;

Returns
Type Description
OtherCloudResourceRegexesOrBuilder

getPatternCase()

public OtherCloudResourceCollection.PatternCase getPatternCase()
Returns
Type Description
OtherCloudResourceCollection.PatternCase

hasIncludeRegexes()

public boolean hasIncludeRegexes()

A collection of regular expressions to match a resource against.

.google.privacy.dlp.v2.OtherCloudResourceRegexes include_regexes = 1;

Returns
Type Description
boolean

Whether the includeRegexes field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OtherCloudResourceCollection other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIncludeRegexes(OtherCloudResourceRegexes value)

public OtherCloudResourceCollection.Builder mergeIncludeRegexes(OtherCloudResourceRegexes value)

A collection of regular expressions to match a resource against.

.google.privacy.dlp.v2.OtherCloudResourceRegexes include_regexes = 1;

Parameter
Name Description
value OtherCloudResourceRegexes
Returns
Type Description
OtherCloudResourceCollection.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIncludeRegexes(OtherCloudResourceRegexes value)

public OtherCloudResourceCollection.Builder setIncludeRegexes(OtherCloudResourceRegexes value)

A collection of regular expressions to match a resource against.

.google.privacy.dlp.v2.OtherCloudResourceRegexes include_regexes = 1;

Parameter
Name Description
value OtherCloudResourceRegexes
Returns
Type Description
OtherCloudResourceCollection.Builder

setIncludeRegexes(OtherCloudResourceRegexes.Builder builderForValue)

public OtherCloudResourceCollection.Builder setIncludeRegexes(OtherCloudResourceRegexes.Builder builderForValue)

A collection of regular expressions to match a resource against.

.google.privacy.dlp.v2.OtherCloudResourceRegexes include_regexes = 1;

Parameter
Name Description
builderForValue OtherCloudResourceRegexes.Builder
Returns
Type Description
OtherCloudResourceCollection.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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