Class AmazonS3V2Settings.Builder (0.37.0)

public static final class AmazonS3V2Settings.Builder extends GeneratedMessage.Builder<AmazonS3V2Settings.Builder> implements AmazonS3V2SettingsOrBuilder

AmazonS3V2Settings is the settings proto for Omniflow S3 feeds.

Protobuf type google.cloud.chronicle.v1.AmazonS3V2Settings

Static Methods

getDescriptor()

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

Methods

addAllIncludePrefixes(Iterable<String> values)

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

This builder for chaining.

addIncludePrefixes(String value)

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

This builder for chaining.

addIncludePrefixesBytes(ByteString value)

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

This builder for chaining.

build()

public AmazonS3V2Settings build()
Returns
Type Description
AmazonS3V2Settings

buildPartial()

public AmazonS3V2Settings buildPartial()
Returns
Type Description
AmazonS3V2Settings

clear()

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

clearAuthentication()

public AmazonS3V2Settings.Builder clearAuthentication()

Required. Authentication.

.google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AmazonS3V2Settings.Builder

clearChronicleServiceAccount()

public AmazonS3V2Settings.Builder clearChronicleServiceAccount()

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

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

Returns
Type Description
AmazonS3V2Settings.Builder

This builder for chaining.

clearIncludePrefixes()

public AmazonS3V2Settings.Builder clearIncludePrefixes()

Optional. Optional list of object prefixes to include.

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

Returns
Type Description
AmazonS3V2Settings.Builder

This builder for chaining.

clearMaxLookbackDays()

public AmazonS3V2Settings.Builder clearMaxLookbackDays()

Optional. Maximum File Age to ingest in days.

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

Returns
Type Description
AmazonS3V2Settings.Builder

This builder for chaining.

clearS3Uri()

public AmazonS3V2Settings.Builder clearS3Uri()

Required. S3 URI.

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

Returns
Type Description
AmazonS3V2Settings.Builder

This builder for chaining.

clearSourceDeletionOption()

public AmazonS3V2Settings.Builder clearSourceDeletionOption()

Optional. Source deletion option.

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

Returns
Type Description
AmazonS3V2Settings.Builder

This builder for chaining.

getAuthentication()

public S3AuthV2 getAuthentication()

Required. Authentication.

.google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
S3AuthV2

The authentication.

getAuthenticationBuilder()

public S3AuthV2.Builder getAuthenticationBuilder()

Required. Authentication.

.google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
S3AuthV2.Builder

getAuthenticationOrBuilder()

public S3AuthV2OrBuilder getAuthenticationOrBuilder()

Required. Authentication.

.google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
S3AuthV2OrBuilder

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

Returns
Type Description
ByteString

The bytes for chronicleServiceAccount.

getDefaultInstanceForType()

public AmazonS3V2Settings getDefaultInstanceForType()
Returns
Type Description
AmazonS3V2Settings

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

Returns
Type Description
int

The maxLookbackDays.

getS3Uri()

public String getS3Uri()

Required. S3 URI.

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

Returns
Type Description
String

The s3Uri.

getS3UriBytes()

public ByteString getS3UriBytes()

Required. S3 URI.

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

Returns
Type Description
ByteString

The bytes for s3Uri.

getSourceDeletionOption()

public SourceDeletionOptionV2 getSourceDeletionOption()

Optional. Source deletion option.

.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.

.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.

hasAuthentication()

public boolean hasAuthentication()

Required. Authentication.

.google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the authentication field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAuthentication(S3AuthV2 value)

public AmazonS3V2Settings.Builder mergeAuthentication(S3AuthV2 value)

Required. Authentication.

.google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value S3AuthV2
Returns
Type Description
AmazonS3V2Settings.Builder

mergeFrom(AmazonS3V2Settings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAuthentication(S3AuthV2 value)

public AmazonS3V2Settings.Builder setAuthentication(S3AuthV2 value)

Required. Authentication.

.google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value S3AuthV2
Returns
Type Description
AmazonS3V2Settings.Builder

setAuthentication(S3AuthV2.Builder builderForValue)

public AmazonS3V2Settings.Builder setAuthentication(S3AuthV2.Builder builderForValue)

Required. Authentication.

.google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue S3AuthV2.Builder
Returns
Type Description
AmazonS3V2Settings.Builder

setChronicleServiceAccount(String value)

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

Parameter
Name Description
value String

The chronicleServiceAccount to set.

Returns
Type Description
AmazonS3V2Settings.Builder

This builder for chaining.

setChronicleServiceAccountBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for chronicleServiceAccount to set.

Returns
Type Description
AmazonS3V2Settings.Builder

This builder for chaining.

setIncludePrefixes(int index, String value)

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

This builder for chaining.

setMaxLookbackDays(int value)

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

This builder for chaining.

setS3Uri(String value)

public AmazonS3V2Settings.Builder setS3Uri(String value)

Required. S3 URI.

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

Parameter
Name Description
value String

The s3Uri to set.

Returns
Type Description
AmazonS3V2Settings.Builder

This builder for chaining.

setS3UriBytes(ByteString value)

public AmazonS3V2Settings.Builder setS3UriBytes(ByteString value)

Required. S3 URI.

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

Parameter
Name Description
value ByteString

The bytes for s3Uri to set.

Returns
Type Description
AmazonS3V2Settings.Builder

This builder for chaining.

setSourceDeletionOption(SourceDeletionOptionV2 value)

public AmazonS3V2Settings.Builder setSourceDeletionOption(SourceDeletionOptionV2 value)

Optional. Source deletion option.

.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
AmazonS3V2Settings.Builder

This builder for chaining.

setSourceDeletionOptionValue(int value)

public AmazonS3V2Settings.Builder setSourceDeletionOptionValue(int value)

Optional. Source deletion option.

.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
AmazonS3V2Settings.Builder

This builder for chaining.