Class Container

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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

@Generated public final class Container extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Represents a container that may contain DLP findings.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static Container
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    A string representation of the full container name.
    com.google.protobuf.ByteString
    A string representation of the full container name.
    com.google.protobuf.Parser<Container>
     
    Project where the finding was found.
    com.google.protobuf.ByteString
    Project where the finding was found.
    The rest of the path after the root.
    com.google.protobuf.ByteString
    The rest of the path after the root.
    The root of the container.
    com.google.protobuf.ByteString
    The root of the container.
    int
     
    Container type, for example BigQuery or Cloud Storage.
    com.google.protobuf.ByteString
    Container type, for example BigQuery or Cloud Storage.
    com.google.protobuf.Timestamp
    Findings container modification timestamp, if applicable.
    com.google.protobuf.TimestampOrBuilder
    Findings container modification timestamp, if applicable.
    Findings container version, if available ("generation" for Cloud Storage).
    com.google.protobuf.ByteString
    Findings container version, if available ("generation" for Cloud Storage).
    int
     
    boolean
    Findings container modification timestamp, if applicable.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Container prototype)
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static Container
     
    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
     
    static Container
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Container
     
    static Container
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Container>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getType

      public String getType()
       Container type, for example BigQuery or Cloud Storage.
       
      string type = 1;
      Specified by:
      getType in interface ContainerOrBuilder
      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 interface ContainerOrBuilder
      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 interface ContainerOrBuilder
      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 interface ContainerOrBuilder
      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 interface ContainerOrBuilder
      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 interface ContainerOrBuilder
      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 interface ContainerOrBuilder
      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 interface ContainerOrBuilder
      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 interface ContainerOrBuilder
      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 interface ContainerOrBuilder
      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 interface ContainerOrBuilder
      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 interface ContainerOrBuilder
      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 interface ContainerOrBuilder
    • getVersion

      public String getVersion()
       Findings container version, if available
       ("generation" for Cloud Storage).
       
      string version = 7;
      Specified by:
      getVersion in interface ContainerOrBuilder
      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 interface ContainerOrBuilder
      Returns:
      The bytes for version.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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 interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.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 interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Container.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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 interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Container getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder