Send feedback
Class MetadataLocation (3.6.6)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.6.6 keyboard_arrow_down
public final class MetadataLocation extends GeneratedMessageV3 implements MetadataLocationOrBuilder
Metadata Location
Protobuf type google.privacy.dlp.v2.MetadataLocation
Static Fields
public static final int STORAGE_LABEL_FIELD_NUMBER
Field Value
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
public static MetadataLocation getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static MetadataLocation . Builder newBuilder ()
Returns
public static MetadataLocation . Builder newBuilder ( MetadataLocation prototype )
Parameter
Returns
public static MetadataLocation parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static MetadataLocation parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static MetadataLocation parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
public static MetadataLocation parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static MetadataLocation parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static MetadataLocation parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static MetadataLocation parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static MetadataLocation parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static MetadataLocation parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static MetadataLocation parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static MetadataLocation parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static MetadataLocation parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<MetadataLocation> parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public MetadataLocation getDefaultInstanceForType ()
Returns
public MetadataLocation . LabelCase getLabelCase ()
Returns
public Parser<MetadataLocation> getParserForType ()
Returns
Overrides
public int getSerializedSize ()
Returns
Overrides
public StorageMetadataLabel getStorageLabel ()
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 final UnknownFieldSet getUnknownFields ()
Returns
Overrides
public boolean hasStorageLabel ()
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
Returns
Type Description boolean Whether the storageLabel field is set.
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public MetadataLocation . Builder newBuilderForType ()
Returns
protected MetadataLocation . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public MetadataLocation . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
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."],[],[]]