public final class ContentLocation extends GeneratedMessageV3 implements ContentLocationOrBuilder
Findings container location data.Protobuf type
google.privacy.dlp.v2.ContentLocation| Modifier and Type | Class and Description |
|---|---|
static class |
ContentLocation.Builder
Findings container location data.
|
static class |
ContentLocation.LocationCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CONTAINER_NAME_FIELD_NUMBER |
static int |
CONTAINER_TIMESTAMP_FIELD_NUMBER |
static int |
CONTAINER_VERSION_FIELD_NUMBER |
static int |
DOCUMENT_LOCATION_FIELD_NUMBER |
static int |
IMAGE_LOCATION_FIELD_NUMBER |
static int |
RECORD_LOCATION_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContainerName()
Name of the container where the finding is located.
|
ByteString |
getContainerNameBytes()
Name of the container where the finding is located.
|
Timestamp |
getContainerTimestamp()
Findings container modification timestamp, if applicable.
|
TimestampOrBuilder |
getContainerTimestampOrBuilder()
Findings container modification timestamp, if applicable.
|
java.lang.String |
getContainerVersion()
Findings container version, if available
("generation" for Google Cloud Storage).
|
ByteString |
getContainerVersionBytes()
Findings container version, if available
("generation" for Google Cloud Storage).
|
static ContentLocation |
getDefaultInstance() |
ContentLocation |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
DocumentLocation |
getDocumentLocation()
Location data for document files.
|
DocumentLocationOrBuilder |
getDocumentLocationOrBuilder()
Location data for document files.
|
ImageLocation |
getImageLocation()
Location within an image's pixels.
|
ImageLocationOrBuilder |
getImageLocationOrBuilder()
Location within an image's pixels.
|
ContentLocation.LocationCase |
getLocationCase() |
Parser<ContentLocation> |
getParserForType() |
RecordLocation |
getRecordLocation()
Location within a row or record of a database table.
|
RecordLocationOrBuilder |
getRecordLocationOrBuilder()
Location within a row or record of a database table.
|
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
boolean |
hasContainerTimestamp()
Findings container modification timestamp, if applicable.
|
boolean |
hasDocumentLocation()
Location data for document files.
|
int |
hashCode() |
boolean |
hasImageLocation()
Location within an image's pixels.
|
boolean |
hasRecordLocation()
Location within a row or record of a database table.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ContentLocation.Builder |
newBuilder() |
static ContentLocation.Builder |
newBuilder(ContentLocation prototype) |
ContentLocation.Builder |
newBuilderForType() |
protected ContentLocation.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static ContentLocation |
parseDelimitedFrom(java.io.InputStream input) |
static ContentLocation |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static ContentLocation |
parseFrom(byte[] data) |
static ContentLocation |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static ContentLocation |
parseFrom(java.nio.ByteBuffer data) |
static ContentLocation |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static ContentLocation |
parseFrom(ByteString data) |
static ContentLocation |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static ContentLocation |
parseFrom(CodedInputStream input) |
static ContentLocation |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static ContentLocation |
parseFrom(java.io.InputStream input) |
static ContentLocation |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<ContentLocation> |
parser() |
ContentLocation.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CONTAINER_NAME_FIELD_NUMBER
public static final int RECORD_LOCATION_FIELD_NUMBER
public static final int IMAGE_LOCATION_FIELD_NUMBER
public static final int DOCUMENT_LOCATION_FIELD_NUMBER
public static final int CONTAINER_TIMESTAMP_FIELD_NUMBER
public static final int CONTAINER_VERSION_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public ContentLocation.LocationCase getLocationCase()
getLocationCase in interface ContentLocationOrBuilderpublic java.lang.String getContainerName()
Name of the container where the finding is located. The top level name is the source file name or table name. Nested names could be absent if the embedded object has no string identifier (for an example an image contained within a document).
string container_name = 1;getContainerName in interface ContentLocationOrBuilderpublic ByteString getContainerNameBytes()
Name of the container where the finding is located. The top level name is the source file name or table name. Nested names could be absent if the embedded object has no string identifier (for an example an image contained within a document).
string container_name = 1;getContainerNameBytes in interface ContentLocationOrBuilderpublic boolean hasRecordLocation()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;hasRecordLocation in interface ContentLocationOrBuilderpublic RecordLocation getRecordLocation()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;getRecordLocation in interface ContentLocationOrBuilderpublic RecordLocationOrBuilder getRecordLocationOrBuilder()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;getRecordLocationOrBuilder in interface ContentLocationOrBuilderpublic boolean hasImageLocation()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;hasImageLocation in interface ContentLocationOrBuilderpublic ImageLocation getImageLocation()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;getImageLocation in interface ContentLocationOrBuilderpublic ImageLocationOrBuilder getImageLocationOrBuilder()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;getImageLocationOrBuilder in interface ContentLocationOrBuilderpublic boolean hasDocumentLocation()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;hasDocumentLocation in interface ContentLocationOrBuilderpublic DocumentLocation getDocumentLocation()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;getDocumentLocation in interface ContentLocationOrBuilderpublic DocumentLocationOrBuilder getDocumentLocationOrBuilder()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;getDocumentLocationOrBuilder in interface ContentLocationOrBuilderpublic boolean hasContainerTimestamp()
Findings container modification timestamp, if applicable. For Google Cloud Storage contains last file modification timestamp. For BigQuery table contains last_modified_time property. For Datastore - not populated.
.google.protobuf.Timestamp container_timestamp = 6;hasContainerTimestamp in interface ContentLocationOrBuilderpublic Timestamp getContainerTimestamp()
Findings container modification timestamp, if applicable. For Google Cloud Storage contains last file modification timestamp. For BigQuery table contains last_modified_time property. For Datastore - not populated.
.google.protobuf.Timestamp container_timestamp = 6;getContainerTimestamp in interface ContentLocationOrBuilderpublic TimestampOrBuilder getContainerTimestampOrBuilder()
Findings container modification timestamp, if applicable. For Google Cloud Storage contains last file modification timestamp. For BigQuery table contains last_modified_time property. For Datastore - not populated.
.google.protobuf.Timestamp container_timestamp = 6;getContainerTimestampOrBuilder in interface ContentLocationOrBuilderpublic java.lang.String getContainerVersion()
Findings container version, if available
("generation" for Google Cloud Storage).
string container_version = 7;getContainerVersion in interface ContentLocationOrBuilderpublic ByteString getContainerVersionBytes()
Findings container version, if available
("generation" for Google Cloud Storage).
string container_version = 7;getContainerVersionBytes in interface ContentLocationOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static ContentLocation parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ContentLocation parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ContentLocation parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ContentLocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ContentLocation parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ContentLocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ContentLocation parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ContentLocation parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ContentLocation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ContentLocation parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ContentLocation parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ContentLocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ContentLocation.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ContentLocation.Builder newBuilder()
public static ContentLocation.Builder newBuilder(ContentLocation prototype)
public ContentLocation.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ContentLocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ContentLocation getDefaultInstance()
public static Parser<ContentLocation> parser()
public Parser<ContentLocation> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ContentLocation getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder