Class GoogleCloudStorageV2Settings.Builder (0.37.0)

public static final class GoogleCloudStorageV2Settings.Builder extends GeneratedMessage.Builder<GoogleCloudStorageV2Settings.Builder> implements GoogleCloudStorageV2SettingsOrBuilder

GoogleCloudStorageV2Settings is the settings proto for Omniflow Google Cloud Storage feeds.

Protobuf type google.cloud.chronicle.v1.GoogleCloudStorageV2Settings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllIncludePrefixes(Iterable<String> values)

public GoogleCloudStorageV2Settings.Builder addAllIncludePrefixes(Iterable<String> values)

Optional. Optional list of object prefixes to include.

repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The includePrefixes to add.

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.

addIncludePrefixes(String value)

public GoogleCloudStorageV2Settings.Builder addIncludePrefixes(String value)

Optional. Optional list of object prefixes to include.

repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The includePrefixes to add.

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.

addIncludePrefixesBytes(ByteString value)

public GoogleCloudStorageV2Settings.Builder addIncludePrefixesBytes(ByteString value)

Optional. Optional list of object prefixes to include.

repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the includePrefixes to add.

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.

build()

public GoogleCloudStorageV2Settings build()
Returns
Type Description
GoogleCloudStorageV2Settings

buildPartial()

public GoogleCloudStorageV2Settings buildPartial()
Returns
Type Description
GoogleCloudStorageV2Settings

clear()

public GoogleCloudStorageV2Settings.Builder clear()
Returns
Type Description
GoogleCloudStorageV2Settings.Builder
Overrides

clearBucketUri()

public GoogleCloudStorageV2Settings.Builder clearBucketUri()

Required. Google Cloud Storage Bucket URI for the feed.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.

clearChronicleServiceAccount()

public GoogleCloudStorageV2Settings.Builder clearChronicleServiceAccount()

Output only. SA that will read data, this is Storage Transfer Service SA of Customer's Tenancy Project.

string chronicle_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.

clearIncludePrefixes()

public GoogleCloudStorageV2Settings.Builder clearIncludePrefixes()

Optional. Optional list of object prefixes to include.

repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.

clearMaxLookbackDays()

public GoogleCloudStorageV2Settings.Builder clearMaxLookbackDays()

Optional. Maximum File Age to ingest in days.

int32 max_lookback_days = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.

clearSourceDeletionOption()

public GoogleCloudStorageV2Settings.Builder clearSourceDeletionOption()

Optional. Source deletion option determines if the data from the source is to be deleted after ingestion.

.google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.

getBucketUri()

public String getBucketUri()

Required. Google Cloud Storage Bucket URI for the feed.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The bucketUri.

getBucketUriBytes()

public ByteString getBucketUriBytes()

Required. Google Cloud Storage Bucket URI for the feed.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for bucketUri.

getChronicleServiceAccount()

public String getChronicleServiceAccount()

Output only. SA that will read data, this is Storage Transfer Service SA of Customer's Tenancy Project.

string chronicle_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The chronicleServiceAccount.

getChronicleServiceAccountBytes()

public ByteString getChronicleServiceAccountBytes()

Output only. SA that will read data, this is Storage Transfer Service SA of Customer's Tenancy Project.

string chronicle_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for chronicleServiceAccount.

getDefaultInstanceForType()

public GoogleCloudStorageV2Settings getDefaultInstanceForType()
Returns
Type Description
GoogleCloudStorageV2Settings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIncludePrefixes(int index)

public String getIncludePrefixes(int index)

Optional. Optional list of object prefixes to include.

repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The includePrefixes at the given index.

getIncludePrefixesBytes(int index)

public ByteString getIncludePrefixesBytes(int index)

Optional. Optional list of object prefixes to include.

repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the includePrefixes at the given index.

getIncludePrefixesCount()

public int getIncludePrefixesCount()

Optional. Optional list of object prefixes to include.

repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of includePrefixes.

getIncludePrefixesList()

public ProtocolStringList getIncludePrefixesList()

Optional. Optional list of object prefixes to include.

repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the includePrefixes.

getMaxLookbackDays()

public int getMaxLookbackDays()

Optional. Maximum File Age to ingest in days.

int32 max_lookback_days = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The maxLookbackDays.

getSourceDeletionOption()

public SourceDeletionOptionV2 getSourceDeletionOption()

Optional. Source deletion option determines if the data from the source is to be deleted after ingestion.

.google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceDeletionOptionV2

The sourceDeletionOption.

getSourceDeletionOptionValue()

public int getSourceDeletionOptionValue()

Optional. Source deletion option determines if the data from the source is to be deleted after ingestion.

.google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for sourceDeletionOption.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GoogleCloudStorageV2Settings other)

public GoogleCloudStorageV2Settings.Builder mergeFrom(GoogleCloudStorageV2Settings other)
Parameter
Name Description
other GoogleCloudStorageV2Settings
Returns
Type Description
GoogleCloudStorageV2Settings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GoogleCloudStorageV2Settings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleCloudStorageV2Settings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GoogleCloudStorageV2Settings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GoogleCloudStorageV2Settings.Builder
Overrides

setBucketUri(String value)

public GoogleCloudStorageV2Settings.Builder setBucketUri(String value)

Required. Google Cloud Storage Bucket URI for the feed.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The bucketUri to set.

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.

setBucketUriBytes(ByteString value)

public GoogleCloudStorageV2Settings.Builder setBucketUriBytes(ByteString value)

Required. Google Cloud Storage Bucket URI for the feed.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for bucketUri to set.

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.

setChronicleServiceAccount(String value)

public GoogleCloudStorageV2Settings.Builder setChronicleServiceAccount(String value)

Output only. SA that will read data, this is Storage Transfer Service SA of Customer's Tenancy Project.

string chronicle_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The chronicleServiceAccount to set.

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.

setChronicleServiceAccountBytes(ByteString value)

public GoogleCloudStorageV2Settings.Builder setChronicleServiceAccountBytes(ByteString value)

Output only. SA that will read data, this is Storage Transfer Service SA of Customer's Tenancy Project.

string chronicle_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for chronicleServiceAccount to set.

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.

setIncludePrefixes(int index, String value)

public GoogleCloudStorageV2Settings.Builder setIncludePrefixes(int index, String value)

Optional. Optional list of object prefixes to include.

repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The includePrefixes to set.

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.

setMaxLookbackDays(int value)

public GoogleCloudStorageV2Settings.Builder setMaxLookbackDays(int value)

Optional. Maximum File Age to ingest in days.

int32 max_lookback_days = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The maxLookbackDays to set.

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.

setSourceDeletionOption(SourceDeletionOptionV2 value)

public GoogleCloudStorageV2Settings.Builder setSourceDeletionOption(SourceDeletionOptionV2 value)

Optional. Source deletion option determines if the data from the source is to be deleted after ingestion.

.google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SourceDeletionOptionV2

The sourceDeletionOption to set.

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.

setSourceDeletionOptionValue(int value)

public GoogleCloudStorageV2Settings.Builder setSourceDeletionOptionValue(int value)

Optional. Source deletion option determines if the data from the source is to be deleted after ingestion.

.google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for sourceDeletionOption to set.

Returns
Type Description
GoogleCloudStorageV2Settings.Builder

This builder for chaining.