public final class BigQueryExport extends GeneratedMessageV3 implements BigQueryExportOrBuilder
Configures how to deliver Findings to BigQuery Instance.
Protobuf type google.cloud.securitycenter.v2.BigQueryExport
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DATASET_FIELD_NUMBER
public static final int DATASET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MOST_RECENT_EDITOR_FIELD_NUMBER
public static final int MOST_RECENT_EDITOR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PRINCIPAL_FIELD_NUMBER
public static final int PRINCIPAL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BigQueryExport getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BigQueryExport.Builder newBuilder()
newBuilder(BigQueryExport prototype)
public static BigQueryExport.Builder newBuilder(BigQueryExport prototype)
public static BigQueryExport parseDelimitedFrom(InputStream input)
public static BigQueryExport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BigQueryExport parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BigQueryExport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BigQueryExport parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigQueryExport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigQueryExport parseFrom(CodedInputStream input)
public static BigQueryExport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BigQueryExport parseFrom(InputStream input)
public static BigQueryExport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BigQueryExport parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BigQueryExport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BigQueryExport> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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 |
Type |
Description |
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];
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 |
Type |
Description |
ByteString |
The bytes for dataset.
|
getDefaultInstanceForType()
public BigQueryExport getDefaultInstanceForType()
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 |
Type |
Description |
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 |
Type |
Description |
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 |
Type |
Description |
ByteString |
The bytes for mostRecentEditor.
|
getName()
Identifier. 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 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. 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 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<BigQueryExport> getParserForType()
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 |
Type |
Description |
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 |
Type |
Description |
ByteString |
The bytes for principal.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
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 |
Type |
Description |
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];
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 |
Type |
Description |
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 |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BigQueryExport.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BigQueryExport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BigQueryExport.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides