Send feedback
Class MetadataLocation.Builder (3.22.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.22.0 keyboard_arrow_down
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 ()
Methods
public MetadataLocation . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public MetadataLocation build ()
public MetadataLocation buildPartial ()
public MetadataLocation . Builder clear ()
Overrides
public MetadataLocation . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public MetadataLocation . Builder clearLabel ()
public MetadataLocation . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public MetadataLocation . Builder clearStorageLabel ()
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
public MetadataLocation . Builder clearType ()
Type of metadata containing the finding.
.google.privacy.dlp.v2.MetadataType type = 1;
public MetadataLocation . Builder clone ()
Overrides
public MetadataLocation getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public MetadataLocation . LabelCase getLabelCase ()
public StorageMetadataLabel getStorageLabel ()
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
public StorageMetadataLabel . Builder getStorageLabelBuilder ()
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
public StorageMetadataLabelOrBuilder getStorageLabelOrBuilder ()
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
public MetadataType getType ()
Type of metadata containing the finding.
.google.privacy.dlp.v2.MetadataType type = 1;
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 ()
Overrides
public final boolean isInitialized ()
Overrides
public MetadataLocation . Builder mergeFrom ( MetadataLocation other )
public MetadataLocation . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public MetadataLocation . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
public MetadataLocation . Builder mergeStorageLabel ( StorageMetadataLabel value )
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
public final MetadataLocation . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public MetadataLocation . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public MetadataLocation . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public MetadataLocation . Builder setStorageLabel ( StorageMetadataLabel value )
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
public MetadataLocation . Builder setStorageLabel ( StorageMetadataLabel . Builder builderForValue )
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
public MetadataLocation . Builder setType ( MetadataType value )
Type of metadata containing the finding.
.google.privacy.dlp.v2.MetadataType type = 1;
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.
public final MetadataLocation . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]