Class StorageMetadataLabel.Builder (3.49.0)

public static final class StorageMetadataLabel.Builder extends GeneratedMessageV3.Builder<StorageMetadataLabel.Builder> implements StorageMetadataLabelOrBuilder

Storage metadata label to indicate which metadata entry contains findings.

Protobuf type google.privacy.dlp.v2.StorageMetadataLabel

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StorageMetadataLabel build()
Returns
Type Description
StorageMetadataLabel

buildPartial()

public StorageMetadataLabel buildPartial()
Returns
Type Description
StorageMetadataLabel

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKey()

public StorageMetadataLabel.Builder clearKey()

Label name.

string key = 1;

Returns
Type Description
StorageMetadataLabel.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public StorageMetadataLabel getDefaultInstanceForType()
Returns
Type Description
StorageMetadataLabel

getDescriptorForType()

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

getKey()

public String getKey()

Label name.

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Label name.

string key = 1;

Returns
Type Description
ByteString

The bytes for key.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StorageMetadataLabel other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setKey(String value)

public StorageMetadataLabel.Builder setKey(String value)

Label name.

string key = 1;

Parameter
Name Description
value String

The key to set.

Returns
Type Description
StorageMetadataLabel.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public StorageMetadataLabel.Builder setKeyBytes(ByteString value)

Label name.

string key = 1;

Parameter
Name Description
value ByteString

The bytes for key to set.

Returns
Type Description
StorageMetadataLabel.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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