public static final class MetadataLocation.Builder extends GeneratedMessageV3.Builder<MetadataLocation.Builder> implements MetadataLocationOrBuilder
Metadata Location
Protobuf type google.privacy.dlp.v2.MetadataLocation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
public MetadataLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public MetadataLocation build()
Returns
public MetadataLocation buildPartial()
Returns
public MetadataLocation.Builder clear()
Returns
Overrides
public MetadataLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public MetadataLocation.Builder clearLabel()
Returns
public MetadataLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public MetadataLocation.Builder clearStorageLabel()
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
Returns
public MetadataLocation.Builder clearType()
Type of metadata containing the finding.
.google.privacy.dlp.v2.MetadataType type = 1;
Returns
public MetadataLocation.Builder clone()
Returns
Overrides
public MetadataLocation getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public MetadataLocation.LabelCase getLabelCase()
Returns
public StorageMetadataLabel getStorageLabel()
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
Returns
public StorageMetadataLabel.Builder getStorageLabelBuilder()
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
Returns
public StorageMetadataLabelOrBuilder getStorageLabelOrBuilder()
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
Returns
public MetadataType getType()
Type of metadata containing the finding.
.google.privacy.dlp.v2.MetadataType type = 1;
Returns
public int getTypeValue()
Type of metadata containing the finding.
.google.privacy.dlp.v2.MetadataType type = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for type.
|
public boolean hasStorageLabel()
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
Returns
Type | Description |
boolean | Whether the storageLabel field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public MetadataLocation.Builder mergeFrom(MetadataLocation other)
Parameter
Returns
public MetadataLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public MetadataLocation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public MetadataLocation.Builder mergeStorageLabel(StorageMetadataLabel value)
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
Parameter
Returns
public final MetadataLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public MetadataLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public MetadataLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public MetadataLocation.Builder setStorageLabel(StorageMetadataLabel value)
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
Parameter
Returns
public MetadataLocation.Builder setStorageLabel(StorageMetadataLabel.Builder builderForValue)
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
Parameter
Returns
public MetadataLocation.Builder setType(MetadataType value)
Type of metadata containing the finding.
.google.privacy.dlp.v2.MetadataType type = 1;
Parameter
Returns
public MetadataLocation.Builder setTypeValue(int value)
Type of metadata containing the finding.
.google.privacy.dlp.v2.MetadataType type = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for type to set.
|
Returns
public final MetadataLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides