public final class Container extends com.google.protobuf.GeneratedMessageV3 implements ContainerOrBuilder
Represents a container that may contain DLP findings. Examples of a container include a file, table, or database record.Protobuf type
google.privacy.dlp.v2.Container| Modifier and Type | Class and Description |
|---|---|
static class |
Container.Builder
Represents a container that may contain DLP findings.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
FULL_PATH_FIELD_NUMBER |
static int |
PROJECT_ID_FIELD_NUMBER |
static int |
RELATIVE_PATH_FIELD_NUMBER |
static int |
ROOT_PATH_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Container |
getDefaultInstance() |
Container |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFullPath()
A string representation of the full container name.
|
com.google.protobuf.ByteString |
getFullPathBytes()
A string representation of the full container name.
|
com.google.protobuf.Parser<Container> |
getParserForType() |
String |
getProjectId()
Project where the finding was found.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Project where the finding was found.
|
String |
getRelativePath()
The rest of the path after the root.
|
com.google.protobuf.ByteString |
getRelativePathBytes()
The rest of the path after the root.
|
String |
getRootPath()
The root of the container.
|
com.google.protobuf.ByteString |
getRootPathBytes()
The root of the container.
|
int |
getSerializedSize() |
String |
getType()
Container type, for example BigQuery or Cloud Storage.
|
com.google.protobuf.ByteString |
getTypeBytes()
Container type, for example BigQuery or Cloud Storage.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Timestamp |
getUpdateTime()
Findings container modification timestamp, if applicable.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Findings container modification timestamp, if applicable.
|
String |
getVersion()
Findings container version, if available
("generation" for Cloud Storage).
|
com.google.protobuf.ByteString |
getVersionBytes()
Findings container version, if available
("generation" for Cloud Storage).
|
int |
hashCode() |
boolean |
hasUpdateTime()
Findings container modification timestamp, if applicable.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Container.Builder |
newBuilder() |
static Container.Builder |
newBuilder(Container prototype) |
Container.Builder |
newBuilderForType() |
protected Container.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Container |
parseDelimitedFrom(InputStream input) |
static Container |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Container |
parseFrom(byte[] data) |
static Container |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Container |
parseFrom(ByteBuffer data) |
static Container |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Container |
parseFrom(com.google.protobuf.ByteString data) |
static Container |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Container |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Container |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Container |
parseFrom(InputStream input) |
static Container |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Container> |
parser() |
Container.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, waitpublic static final int TYPE_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
public static final int FULL_PATH_FIELD_NUMBER
public static final int ROOT_PATH_FIELD_NUMBER
public static final int RELATIVE_PATH_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getType()
Container type, for example BigQuery or Cloud Storage.
string type = 1;getType in interface ContainerOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Container type, for example BigQuery or Cloud Storage.
string type = 1;getTypeBytes in interface ContainerOrBuilderpublic String getProjectId()
Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;getProjectId in interface ContainerOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;getProjectIdBytes in interface ContainerOrBuilderpublic String getFullPath()
A string representation of the full container name. Examples: - BigQuery: 'Project:DataSetId.TableId' - Cloud Storage: 'gs://Bucket/folders/filename.txt'
string full_path = 3;getFullPath in interface ContainerOrBuilderpublic com.google.protobuf.ByteString getFullPathBytes()
A string representation of the full container name. Examples: - BigQuery: 'Project:DataSetId.TableId' - Cloud Storage: 'gs://Bucket/folders/filename.txt'
string full_path = 3;getFullPathBytes in interface ContainerOrBuilderpublic String getRootPath()
The root of the container. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the root is `dataset_id` - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root is `gs://bucket`
string root_path = 4;getRootPath in interface ContainerOrBuilderpublic com.google.protobuf.ByteString getRootPathBytes()
The root of the container. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the root is `dataset_id` - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root is `gs://bucket`
string root_path = 4;getRootPathBytes in interface ContainerOrBuilderpublic String getRelativePath()
The rest of the path after the root. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the relative path is `table_id` - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative path is `folder/filename.txt`
string relative_path = 5;getRelativePath in interface ContainerOrBuilderpublic com.google.protobuf.ByteString getRelativePathBytes()
The rest of the path after the root. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the relative path is `table_id` - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative path is `folder/filename.txt`
string relative_path = 5;getRelativePathBytes in interface ContainerOrBuilderpublic boolean hasUpdateTime()
Findings container modification timestamp, if applicable. For Cloud Storage, this field contains the last file modification timestamp. For a BigQuery table, this field contains the last_modified_time property. For Datastore, this field isn't populated.
.google.protobuf.Timestamp update_time = 6;hasUpdateTime in interface ContainerOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Findings container modification timestamp, if applicable. For Cloud Storage, this field contains the last file modification timestamp. For a BigQuery table, this field contains the last_modified_time property. For Datastore, this field isn't populated.
.google.protobuf.Timestamp update_time = 6;getUpdateTime in interface ContainerOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Findings container modification timestamp, if applicable. For Cloud Storage, this field contains the last file modification timestamp. For a BigQuery table, this field contains the last_modified_time property. For Datastore, this field isn't populated.
.google.protobuf.Timestamp update_time = 6;getUpdateTimeOrBuilder in interface ContainerOrBuilderpublic String getVersion()
Findings container version, if available
("generation" for Cloud Storage).
string version = 7;getVersion in interface ContainerOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
Findings container version, if available
("generation" for Cloud Storage).
string version = 7;getVersionBytes in interface ContainerOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Container parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Container parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Container parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Container parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Container parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Container parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Container parseFrom(InputStream input) throws IOException
IOExceptionpublic static Container parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Container parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Container parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Container parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Container parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Container.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Container.Builder newBuilder()
public static Container.Builder newBuilder(Container prototype)
public Container.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Container.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Container getDefaultInstance()
public static com.google.protobuf.Parser<Container> parser()
public com.google.protobuf.Parser<Container> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Container getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.