Class BigQueryExport

  • All Implemented Interfaces:
    BigQueryExportOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class BigQueryExport
    extends com.google.protobuf.GeneratedMessageV3
    implements BigQueryExportOrBuilder
     Configures how to deliver Findings to BigQuery Instance.
     
    Protobuf type google.cloud.securitycenter.v1.BigQueryExport
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  BigQueryExport.Builder
      Configures how to deliver Findings to BigQuery Instance.
      • 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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
      • getName

        public String getName()
         The relative resource name of this export. See:
         https://cloud.google.com/apis/design/resource_names#relative_resource_name.
         Example format:
         "organizations/{organization_id}/bigQueryExports/{export_id}" Example
         format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format:
         "projects/{project_id}/bigQueryExports/{export_id}"
         This field is provided in responses, and is ignored when provided in create
         requests.
         
        string name = 1;
        Specified by:
        getName in interface BigQueryExportOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The relative resource name of this export. See:
         https://cloud.google.com/apis/design/resource_names#relative_resource_name.
         Example format:
         "organizations/{organization_id}/bigQueryExports/{export_id}" Example
         format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format:
         "projects/{project_id}/bigQueryExports/{export_id}"
         This field is provided in responses, and is ignored when provided in create
         requests.
         
        string name = 1;
        Specified by:
        getNameBytes in interface BigQueryExportOrBuilder
        Returns:
        The bytes for name.
      • getDescription

        public String getDescription()
         The description of the export (max of 1024 characters).
         
        string description = 2;
        Specified by:
        getDescription in interface BigQueryExportOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         The description of the export (max of 1024 characters).
         
        string description = 2;
        Specified by:
        getDescriptionBytes in interface BigQueryExportOrBuilder
        Returns:
        The bytes for description.
      • getFilter

        public String getFilter()
         Expression that defines the filter to apply across create/update events
         of findings. The expression is a list of zero or more restrictions combined
         via logical operators `AND` and `OR`. Parentheses are supported, and `OR`
         has higher precedence than `AND`.
        
         Restrictions have the form `<field> <operator> <value>` and may have a
         `-` character in front of them to indicate negation. The fields map to
         those defined in the corresponding resource.
        
         The supported operators are:
        
         * `=` for all value types.
         * `>`, `<`, `>=`, `<=` for integer values.
         * `:`, meaning substring matching, for strings.
        
         The supported value types are:
        
         * string literals in quotes.
         * integer literals without quotes.
         * boolean literals `true` and `false` without quotes.
         
        string filter = 3;
        Specified by:
        getFilter in interface BigQueryExportOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         Expression that defines the filter to apply across create/update events
         of findings. The expression is a list of zero or more restrictions combined
         via logical operators `AND` and `OR`. Parentheses are supported, and `OR`
         has higher precedence than `AND`.
        
         Restrictions have the form `<field> <operator> <value>` and may have a
         `-` character in front of them to indicate negation. The fields map to
         those defined in the corresponding resource.
        
         The supported operators are:
        
         * `=` for all value types.
         * `>`, `<`, `>=`, `<=` for integer values.
         * `:`, meaning substring matching, for strings.
        
         The supported value types are:
        
         * string literals in quotes.
         * integer literals without quotes.
         * boolean literals `true` and `false` without quotes.
         
        string filter = 3;
        Specified by:
        getFilterBytes in interface BigQueryExportOrBuilder
        Returns:
        The bytes for filter.
      • getDataset

        public String getDataset()
         The dataset to write findings' updates to. Its format is
         "projects/[project_id]/datasets/[bigquery_dataset_id]".
         BigQuery Dataset unique ID  must contain only letters (a-z, A-Z), numbers
         (0-9), or underscores (_).
         
        string dataset = 4;
        Specified by:
        getDataset in interface BigQueryExportOrBuilder
        Returns:
        The dataset.
      • getDatasetBytes

        public com.google.protobuf.ByteString getDatasetBytes()
         The dataset to write findings' updates to. Its format is
         "projects/[project_id]/datasets/[bigquery_dataset_id]".
         BigQuery Dataset unique ID  must contain only letters (a-z, A-Z), numbers
         (0-9), or underscores (_).
         
        string dataset = 4;
        Specified by:
        getDatasetBytes in interface BigQueryExportOrBuilder
        Returns:
        The bytes for dataset.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. The time at which the BigQuery export was created.
         This field is set by the server and will be ignored if provided on export
         on creation.
         
        .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface BigQueryExportOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. The time at which the BigQuery export was created.
         This field is set by the server and will be ignored if provided on export
         on creation.
         
        .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface BigQueryExportOrBuilder
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The time at which the BigQuery export was created.
         This field is set by the server and will be ignored if provided on export
         on creation.
         
        .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface BigQueryExportOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The most recent time at which the BigQuery export was updated.
         This field is set by the server and will be ignored if provided on export
         creation or update.
         
        .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface BigQueryExportOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. The most recent time at which the BigQuery export was updated.
         This field is set by the server and will be ignored if provided on export
         creation or update.
         
        .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface BigQueryExportOrBuilder
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The most recent time at which the BigQuery export was updated.
         This field is set by the server and will be ignored if provided on export
         creation or update.
         
        .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface BigQueryExportOrBuilder
      • getMostRecentEditor

        public String getMostRecentEditor()
         Output only. Email address of the user who last edited the BigQuery export.
         This field is set by the server and will be ignored if provided on export
         creation or update.
         
        string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMostRecentEditor in interface BigQueryExportOrBuilder
        Returns:
        The mostRecentEditor.
      • getMostRecentEditorBytes

        public com.google.protobuf.ByteString getMostRecentEditorBytes()
         Output only. Email address of the user who last edited the BigQuery export.
         This field is set by the server and will be ignored if provided on export
         creation or update.
         
        string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMostRecentEditorBytes in interface BigQueryExportOrBuilder
        Returns:
        The bytes for mostRecentEditor.
      • getPrincipal

        public String getPrincipal()
         Output only. The service account that needs permission to create table and
         upload data to the BigQuery dataset.
         
        string principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPrincipal in interface BigQueryExportOrBuilder
        Returns:
        The principal.
      • getPrincipalBytes

        public com.google.protobuf.ByteString getPrincipalBytes()
         Output only. The service account that needs permission to create table and
         upload data to the BigQuery dataset.
         
        string principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPrincipalBytes in interface BigQueryExportOrBuilder
        Returns:
        The bytes for principal.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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 BigQueryExport parseFrom​(ByteBuffer data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BigQueryExport parseFrom​(ByteBuffer data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BigQueryExport parseFrom​(com.google.protobuf.ByteString data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BigQueryExport parseFrom​(com.google.protobuf.ByteString data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BigQueryExport parseFrom​(byte[] data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BigQueryExport parseFrom​(byte[] data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BigQueryExport parseFrom​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Throws:
        IOException
      • newBuilderForType

        public BigQueryExport.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public BigQueryExport.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected BigQueryExport.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static BigQueryExport getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<BigQueryExport> parser()
      • getParserForType

        public com.google.protobuf.Parser<BigQueryExport> 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.GeneratedMessageV3
      • getDefaultInstanceForType

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