Class MetadataLocation (3.34.0)

public final class MetadataLocation extends GeneratedMessageV3 implements MetadataLocationOrBuilder

Metadata Location

Protobuf type google.privacy.dlp.v2.MetadataLocation

Static Fields

STORAGE_LABEL_FIELD_NUMBER

public static final int STORAGE_LABEL_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MetadataLocation getDefaultInstance()
Returns
TypeDescription
MetadataLocation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MetadataLocation.Builder newBuilder()
Returns
TypeDescription
MetadataLocation.Builder

newBuilder(MetadataLocation prototype)

public static MetadataLocation.Builder newBuilder(MetadataLocation prototype)
Parameter
NameDescription
prototypeMetadataLocation
Returns
TypeDescription
MetadataLocation.Builder

parseDelimitedFrom(InputStream input)

public static MetadataLocation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MetadataLocation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MetadataLocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MetadataLocation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MetadataLocation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MetadataLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MetadataLocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MetadataLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MetadataLocation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MetadataLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MetadataLocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MetadataLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MetadataLocation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MetadataLocation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MetadataLocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MetadataLocation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MetadataLocation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MetadataLocation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MetadataLocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MetadataLocation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MetadataLocation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MetadataLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MetadataLocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MetadataLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MetadataLocation> parser()
Returns
TypeDescription
Parser<MetadataLocation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public MetadataLocation getDefaultInstanceForType()
Returns
TypeDescription
MetadataLocation

getLabelCase()

public MetadataLocation.LabelCase getLabelCase()
Returns
TypeDescription
MetadataLocation.LabelCase

getParserForType()

public Parser<MetadataLocation> getParserForType()
Returns
TypeDescription
Parser<MetadataLocation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStorageLabel()

public StorageMetadataLabel getStorageLabel()

Storage metadata.

.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;

Returns
TypeDescription
StorageMetadataLabel

The storageLabel.

getStorageLabelOrBuilder()

public StorageMetadataLabelOrBuilder getStorageLabelOrBuilder()

Storage metadata.

.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;

Returns
TypeDescription
StorageMetadataLabelOrBuilder

getType()

public MetadataType getType()

Type of metadata containing the finding.

.google.privacy.dlp.v2.MetadataType type = 1;

Returns
TypeDescription
MetadataType

The type.

getTypeValue()

public int getTypeValue()

Type of metadata containing the finding.

.google.privacy.dlp.v2.MetadataType type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

hasStorageLabel()

public boolean hasStorageLabel()

Storage metadata.

.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;

Returns
TypeDescription
boolean

Whether the storageLabel field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MetadataLocation.Builder newBuilderForType()
Returns
TypeDescription
MetadataLocation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MetadataLocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MetadataLocation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MetadataLocation.Builder toBuilder()
Returns
TypeDescription
MetadataLocation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException