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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public ContentLocation.LocationCase getLocationCase()
getLocationCase
in interface ContentLocationOrBuilder
public 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 ContentLocationOrBuilder
public 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 ContentLocationOrBuilder
public boolean hasRecordLocation()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;
hasRecordLocation
in interface ContentLocationOrBuilder
public RecordLocation getRecordLocation()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;
getRecordLocation
in interface ContentLocationOrBuilder
public RecordLocationOrBuilder getRecordLocationOrBuilder()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;
getRecordLocationOrBuilder
in interface ContentLocationOrBuilder
public boolean hasImageLocation()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
hasImageLocation
in interface ContentLocationOrBuilder
public ImageLocation getImageLocation()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
getImageLocation
in interface ContentLocationOrBuilder
public ImageLocationOrBuilder getImageLocationOrBuilder()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
getImageLocationOrBuilder
in interface ContentLocationOrBuilder
public boolean hasDocumentLocation()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
hasDocumentLocation
in interface ContentLocationOrBuilder
public DocumentLocation getDocumentLocation()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
getDocumentLocation
in interface ContentLocationOrBuilder
public DocumentLocationOrBuilder getDocumentLocationOrBuilder()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
getDocumentLocationOrBuilder
in interface ContentLocationOrBuilder
public 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 ContentLocationOrBuilder
public 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 ContentLocationOrBuilder
public 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 ContentLocationOrBuilder
public java.lang.String getContainerVersion()
Findings container version, if available ("generation" for Google Cloud Storage).
string container_version = 7;
getContainerVersion
in interface ContentLocationOrBuilder
public ByteString getContainerVersionBytes()
Findings container version, if available ("generation" for Google Cloud Storage).
string container_version = 7;
getContainerVersionBytes
in interface ContentLocationOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ContentLocation parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ContentLocation parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ContentLocation parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ContentLocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ContentLocation parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ContentLocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ContentLocation parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ContentLocation parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ContentLocation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ContentLocation parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ContentLocation parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static ContentLocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public ContentLocation.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ContentLocation.Builder newBuilder()
public static ContentLocation.Builder newBuilder(ContentLocation prototype)
public ContentLocation.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ContentLocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ContentLocation getDefaultInstance()
public static Parser<ContentLocation> parser()
public Parser<ContentLocation> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ContentLocation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder