public final class ContentMetadata extends GeneratedMessage implements ContentMetadataOrBuilderMetadata on content to be scanned.
Protobuf type google.privacy.dlp.v2.ContentMetadata
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ContentMetadataImplements
ContentMetadataOrBuilderStatic Fields
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ContentMetadata getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ContentMetadata |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ContentMetadata.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ContentMetadata.Builder |
|
newBuilder(ContentMetadata prototype)
public static ContentMetadata.Builder newBuilder(ContentMetadata prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ContentMetadata |
| Returns | |
|---|---|
| Type | Description |
ContentMetadata.Builder |
|
parseDelimitedFrom(InputStream input)
public static ContentMetadata parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ContentMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContentMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ContentMetadata parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ContentMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContentMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContentMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ContentMetadata parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ContentMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContentMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContentMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ContentMetadata parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ContentMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContentMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ContentMetadata parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ContentMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContentMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ContentMetadata parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ContentMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContentMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContentMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ContentMetadata> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ContentMetadata> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ContentMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ContentMetadata |
|
getParserForType()
public Parser<ContentMetadata> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ContentMetadata> |
|
getProperties(int index)
public KeyValueMetadataProperty getProperties(int index)User provided key-value pairs of content metadata.
repeated .google.privacy.dlp.v2.KeyValueMetadataProperty properties = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
KeyValueMetadataProperty |
|
getPropertiesCount()
public int getPropertiesCount()User provided key-value pairs of content metadata.
repeated .google.privacy.dlp.v2.KeyValueMetadataProperty properties = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getPropertiesList()
public List<KeyValueMetadataProperty> getPropertiesList()User provided key-value pairs of content metadata.
repeated .google.privacy.dlp.v2.KeyValueMetadataProperty properties = 2;
| Returns | |
|---|---|
| Type | Description |
List<KeyValueMetadataProperty> |
|
getPropertiesOrBuilder(int index)
public KeyValueMetadataPropertyOrBuilder getPropertiesOrBuilder(int index)User provided key-value pairs of content metadata.
repeated .google.privacy.dlp.v2.KeyValueMetadataProperty properties = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
KeyValueMetadataPropertyOrBuilder |
|
getPropertiesOrBuilderList()
public List<? extends KeyValueMetadataPropertyOrBuilder> getPropertiesOrBuilderList()User provided key-value pairs of content metadata.
repeated .google.privacy.dlp.v2.KeyValueMetadataProperty properties = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.privacy.dlp.v2.KeyValueMetadataPropertyOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ContentMetadata.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ContentMetadata.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ContentMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ContentMetadata.Builder |
|
toBuilder()
public ContentMetadata.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ContentMetadata.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|