Class BigQueryExport (2.49.0)

public final class BigQueryExport extends GeneratedMessageV3 implements BigQueryExportOrBuilder

Configures how to deliver Findings to BigQuery Instance.

Protobuf type google.cloud.securitycenter.v2.BigQueryExport

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DATASET_FIELD_NUMBER

public static final int DATASET_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

MOST_RECENT_EDITOR_FIELD_NUMBER

public static final int MOST_RECENT_EDITOR_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PRINCIPAL_FIELD_NUMBER

public static final int PRINCIPAL_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BigQueryExport getDefaultInstance()
Returns
TypeDescription
BigQueryExport

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BigQueryExport.Builder newBuilder()
Returns
TypeDescription
BigQueryExport.Builder

newBuilder(BigQueryExport prototype)

public static BigQueryExport.Builder newBuilder(BigQueryExport prototype)
Parameter
NameDescription
prototypeBigQueryExport
Returns
TypeDescription
BigQueryExport.Builder

parseDelimitedFrom(InputStream input)

public static BigQueryExport parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BigQueryExport
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryExport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryExport
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BigQueryExport parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BigQueryExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BigQueryExport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BigQueryExport parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BigQueryExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BigQueryExport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BigQueryExport parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BigQueryExport
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryExport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryExport
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BigQueryExport parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BigQueryExport
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryExport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryExport
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BigQueryExport parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BigQueryExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BigQueryExport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BigQueryExport> parser()
Returns
TypeDescription
Parser<BigQueryExport>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCreateTime()

public 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];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public 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];

Returns
TypeDescription
TimestampOrBuilder

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;

Returns
TypeDescription
String

The dataset.

getDatasetBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public BigQueryExport getDefaultInstanceForType()
Returns
TypeDescription
BigQueryExport

getDescription()

public String getDescription()

The description of the export (max of 1024 characters).

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the export (max of 1024 characters).

string description = 2;

Returns
TypeDescription
ByteString

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;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for filter.

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];

Returns
TypeDescription
String

The mostRecentEditor.

getMostRecentEditorBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for mostRecentEditor.

getName()

public String getName()

The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. The following list shows some examples:

+ organizations/{organization_id}/locations/{location_id}/bigQueryExports/{export_id}

  • folders/{folder_id}/locations/{location_id}/bigQueryExports/{export_id} + projects/{project_id}/locations/{location_id}/bigQueryExports/{export_id}

    This field is provided in responses, and is ignored when provided in create requests.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. The following list shows some examples:

+ organizations/{organization_id}/locations/{location_id}/bigQueryExports/{export_id}

  • folders/{folder_id}/locations/{location_id}/bigQueryExports/{export_id} + projects/{project_id}/locations/{location_id}/bigQueryExports/{export_id}

    This field is provided in responses, and is ignored when provided in create requests.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<BigQueryExport> getParserForType()
Returns
TypeDescription
Parser<BigQueryExport>
Overrides

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];

Returns
TypeDescription
String

The principal.

getPrincipalBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for principal.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdateTime()

public 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];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public 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];

Returns
TypeDescription
TimestampOrBuilder

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];

Returns
TypeDescription
boolean

Whether the createTime field is set.

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];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BigQueryExport.Builder newBuilderForType()
Returns
TypeDescription
BigQueryExport.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BigQueryExport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BigQueryExport.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BigQueryExport.Builder toBuilder()
Returns
TypeDescription
BigQueryExport.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException