Package com.google.privacy.dlp.v2
Class Container
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.privacy.dlp.v2.Container
-
- All Implemented Interfaces:
ContainerOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
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 typegoogle.privacy.dlp.v2.Container
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Container.Builder
Represents a container that may contain DLP findings.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.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(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 Container
parseFrom(ByteBuffer data)
static Container
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Container>
parser()
Container.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FULL_PATH_FIELD_NUMBER
public static final int FULL_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROOT_PATH_FIELD_NUMBER
public static final int ROOT_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RELATIVE_PATH_FIELD_NUMBER
public static final int RELATIVE_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getType
public String getType()
Container type, for example BigQuery or Cloud Storage.
string type = 1;
- Specified by:
getType
in interfaceContainerOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
Container type, for example BigQuery or Cloud Storage.
string type = 1;
- Specified by:
getTypeBytes
in interfaceContainerOrBuilder
- Returns:
- The bytes for type.
-
getProjectId
public String getProjectId()
Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;
- Specified by:
getProjectId
in interfaceContainerOrBuilder
- Returns:
- The projectId.
-
getProjectIdBytes
public 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;
- Specified by:
getProjectIdBytes
in interfaceContainerOrBuilder
- Returns:
- The bytes for projectId.
-
getFullPath
public 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;
- Specified by:
getFullPath
in interfaceContainerOrBuilder
- Returns:
- The fullPath.
-
getFullPathBytes
public 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;
- Specified by:
getFullPathBytes
in interfaceContainerOrBuilder
- Returns:
- The bytes for fullPath.
-
getRootPath
public 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;
- Specified by:
getRootPath
in interfaceContainerOrBuilder
- Returns:
- The rootPath.
-
getRootPathBytes
public 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;
- Specified by:
getRootPathBytes
in interfaceContainerOrBuilder
- Returns:
- The bytes for rootPath.
-
getRelativePath
public 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;
- Specified by:
getRelativePath
in interfaceContainerOrBuilder
- Returns:
- The relativePath.
-
getRelativePathBytes
public 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;
- Specified by:
getRelativePathBytes
in interfaceContainerOrBuilder
- Returns:
- The bytes for relativePath.
-
hasUpdateTime
public 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;
- Specified by:
hasUpdateTime
in interfaceContainerOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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;
- Specified by:
getUpdateTime
in interfaceContainerOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public 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;
- Specified by:
getUpdateTimeOrBuilder
in interfaceContainerOrBuilder
-
getVersion
public String getVersion()
Findings container version, if available ("generation" for Cloud Storage).
string version = 7;
- Specified by:
getVersion
in interfaceContainerOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
Findings container version, if available ("generation" for Cloud Storage).
string version = 7;
- Specified by:
getVersionBytes
in interfaceContainerOrBuilder
- Returns:
- The bytes for version.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Container parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Container parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Container parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Container parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Container parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Container parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Container parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Container parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Container parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Container parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Container parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Container parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Container.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Container.Builder newBuilder()
-
newBuilder
public static Container.Builder newBuilder(Container prototype)
-
toBuilder
public Container.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Container.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Container getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Container> parser()
-
getParserForType
public com.google.protobuf.Parser<Container> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Container getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-