Class GoogleCloudStorageEventDrivenSettings.Builder (0.37.0)

public static final class GoogleCloudStorageEventDrivenSettings.Builder extends GeneratedMessage.Builder<GoogleCloudStorageEventDrivenSettings.Builder> implements GoogleCloudStorageEventDrivenSettingsOrBuilder

GoogleCloudStorageEventDrivenSettings is the settings proto for Omniflow Google Cloud Storage feeds driven by pubsub events.

Protobuf type google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings

Static Methods

getDescriptor()

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

Methods

addAllIncludePrefixes(Iterable<String> values)

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

Optional. Optional list of object prefixes to include.

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

Parameter
Name Description
values Iterable<String>

The includePrefixes to add.

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

addIncludePrefixes(String value)

public GoogleCloudStorageEventDrivenSettings.Builder addIncludePrefixes(String value)

Optional. Optional list of object prefixes to include.

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

Parameter
Name Description
value String

The includePrefixes to add.

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

addIncludePrefixesBytes(ByteString value)

public GoogleCloudStorageEventDrivenSettings.Builder addIncludePrefixesBytes(ByteString value)

Optional. Optional list of object prefixes to include.

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

Parameter
Name Description
value ByteString

The bytes of the includePrefixes to add.

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

build()

public GoogleCloudStorageEventDrivenSettings build()
Returns
Type Description
GoogleCloudStorageEventDrivenSettings

buildPartial()

public GoogleCloudStorageEventDrivenSettings buildPartial()
Returns
Type Description
GoogleCloudStorageEventDrivenSettings

clear()

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

clearBucketUri()

public GoogleCloudStorageEventDrivenSettings.Builder clearBucketUri()

Required. Google Cloud Storage Bucket URI for the feed.

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

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

clearChronicleServiceAccount()

public GoogleCloudStorageEventDrivenSettings.Builder clearChronicleServiceAccount()

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

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

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

clearIncludePrefixes()

public GoogleCloudStorageEventDrivenSettings.Builder clearIncludePrefixes()

Optional. Optional list of object prefixes to include.

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

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

clearMaxLookbackDays()

public GoogleCloudStorageEventDrivenSettings.Builder clearMaxLookbackDays()

Optional. Maximum File Age to ingest in days.

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

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

clearPubsubSubscription()

public GoogleCloudStorageEventDrivenSettings.Builder clearPubsubSubscription()

Required. Subscription name for pubsub topic.

string pubsub_subscription = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

clearSourceDeletionOption()

public GoogleCloudStorageEventDrivenSettings.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for chronicleServiceAccount.

getDefaultInstanceForType()

public GoogleCloudStorageEventDrivenSettings getDefaultInstanceForType()
Returns
Type Description
GoogleCloudStorageEventDrivenSettings

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 = 6 [(.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 = 6 [(.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 = 6 [(.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 = 6 [(.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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The maxLookbackDays.

getPubsubSubscription()

public String getPubsubSubscription()

Required. Subscription name for pubsub topic.

string pubsub_subscription = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The pubsubSubscription.

getPubsubSubscriptionBytes()

public ByteString getPubsubSubscriptionBytes()

Required. Subscription name for pubsub topic.

string pubsub_subscription = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for pubsubSubscription.

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 = 3 [(.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 = 3 [(.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(GoogleCloudStorageEventDrivenSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBucketUri(String value)

public GoogleCloudStorageEventDrivenSettings.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
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

setBucketUriBytes(ByteString value)

public GoogleCloudStorageEventDrivenSettings.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
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

setChronicleServiceAccount(String value)

public GoogleCloudStorageEventDrivenSettings.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The chronicleServiceAccount to set.

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

setChronicleServiceAccountBytes(ByteString value)

public GoogleCloudStorageEventDrivenSettings.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for chronicleServiceAccount to set.

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

setIncludePrefixes(int index, String value)

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

Optional. Optional list of object prefixes to include.

repeated string include_prefixes = 6 [(.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
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

setMaxLookbackDays(int value)

public GoogleCloudStorageEventDrivenSettings.Builder setMaxLookbackDays(int value)

Optional. Maximum File Age to ingest in days.

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

Parameter
Name Description
value int

The maxLookbackDays to set.

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

setPubsubSubscription(String value)

public GoogleCloudStorageEventDrivenSettings.Builder setPubsubSubscription(String value)

Required. Subscription name for pubsub topic.

string pubsub_subscription = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The pubsubSubscription to set.

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

setPubsubSubscriptionBytes(ByteString value)

public GoogleCloudStorageEventDrivenSettings.Builder setPubsubSubscriptionBytes(ByteString value)

Required. Subscription name for pubsub topic.

string pubsub_subscription = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for pubsubSubscription to set.

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

setSourceDeletionOption(SourceDeletionOptionV2 value)

public GoogleCloudStorageEventDrivenSettings.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SourceDeletionOptionV2

The sourceDeletionOption to set.

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.

setSourceDeletionOptionValue(int value)

public GoogleCloudStorageEventDrivenSettings.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
GoogleCloudStorageEventDrivenSettings.Builder

This builder for chaining.