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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public StorageMetadataLabel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StorageMetadataLabel build()
public StorageMetadataLabel buildPartial()
public StorageMetadataLabel.Builder clear()
Overrides
public StorageMetadataLabel.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public StorageMetadataLabel.Builder clearKey()
Label name.
string key = 1;
public StorageMetadataLabel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public StorageMetadataLabel.Builder clone()
Overrides
public StorageMetadataLabel getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
Label name.
string key = 1;
Returns |
Type |
Description |
String |
The key.
|
public ByteString getKeyBytes()
Label name.
string key = 1;
Returns |
Type |
Description |
ByteString |
The bytes for key.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public StorageMetadataLabel.Builder mergeFrom(StorageMetadataLabel other)
public StorageMetadataLabel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public StorageMetadataLabel.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final StorageMetadataLabel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public StorageMetadataLabel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StorageMetadataLabel.Builder setKey(String value)
Label name.
string key = 1;
Parameter |
Name |
Description |
value |
String
The key to set.
|
public StorageMetadataLabel.Builder setKeyBytes(ByteString value)
Label name.
string key = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for key to set.
|
public StorageMetadataLabel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final StorageMetadataLabel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides