public final class BigQueryExport extends GeneratedMessageV3 implements BigQueryExportOrBuilder
Configures how to deliver Findings to BigQuery Instance.
Protobuf type google.cloud.securitycenter.v1.BigQueryExport
Static Fields
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
DATASET_FIELD_NUMBER
public static final int DATASET_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value
MOST_RECENT_EDITOR_FIELD_NUMBER
public static final int MOST_RECENT_EDITOR_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
PRINCIPAL_FIELD_NUMBER
public static final int PRINCIPAL_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BigQueryExport getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BigQueryExport.Builder newBuilder()
Returns
newBuilder(BigQueryExport prototype)
public static BigQueryExport.Builder newBuilder(BigQueryExport prototype)
Parameter
Returns
public static BigQueryExport parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BigQueryExport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BigQueryExport parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BigQueryExport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BigQueryExport parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigQueryExport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BigQueryExport parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BigQueryExport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BigQueryExport parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BigQueryExport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BigQueryExport parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BigQueryExport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BigQueryExport> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCreateTime()
public Timestamp getCreateTime()
Output only. The time at which the big query 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
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which the big query 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
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
Type | Description |
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
getDefaultInstanceForType()
public BigQueryExport getDefaultInstanceForType()
Returns
getDescription()
public String getDescription()
The description of the export (max of 1024 characters).
string description = 2;
Returns
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
The description of the export (max of 1024 characters).
string description = 2;
Returns
Type | Description |
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
Type | Description |
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
getMostRecentEditor()
public String getMostRecentEditor()
Output only. Email address of the user who last edited the big query 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
Type | Description |
String | The mostRecentEditor.
|
getMostRecentEditorBytes()
public ByteString getMostRecentEditorBytes()
Output only. Email address of the user who last edited the big query 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
Type | Description |
ByteString | The bytes for mostRecentEditor.
|
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;
Returns
Type | Description |
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.
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;
Returns
getParserForType()
public Parser<BigQueryExport> getParserForType()
Returns
Overrides
getPrincipal()
public String getPrincipal()
Output only. The service account that needs permission to create table, upload data to
the big query dataset.
string principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The principal.
|
getPrincipalBytes()
public ByteString getPrincipalBytes()
Output only. The service account that needs permission to create table, upload data to
the big query dataset.
string principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The most recent time at which the big 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
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The most recent time at which the big 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
hasCreateTime()
public boolean hasCreateTime()
Output only. The time at which the big query 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
Type | Description |
boolean | Whether the createTime field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The most recent time at which the big 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
Type | Description |
boolean | Whether the updateTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BigQueryExport.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BigQueryExport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BigQueryExport.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions