Class AmazonS3V2Settings (0.37.0)

public final class AmazonS3V2Settings extends GeneratedMessage implements AmazonS3V2SettingsOrBuilder

AmazonS3V2Settings is the settings proto for Omniflow S3 feeds.

Protobuf type google.cloud.chronicle.v1.AmazonS3V2Settings

Static Fields

AUTHENTICATION_FIELD_NUMBER

public static final int AUTHENTICATION_FIELD_NUMBER
Field Value
Type Description
int

CHRONICLE_SERVICE_ACCOUNT_FIELD_NUMBER

public static final int CHRONICLE_SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

INCLUDE_PREFIXES_FIELD_NUMBER

public static final int INCLUDE_PREFIXES_FIELD_NUMBER
Field Value
Type Description
int

MAX_LOOKBACK_DAYS_FIELD_NUMBER

public static final int MAX_LOOKBACK_DAYS_FIELD_NUMBER
Field Value
Type Description
int

S3_URI_FIELD_NUMBER

public static final int S3_URI_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_DELETION_OPTION_FIELD_NUMBER

public static final int SOURCE_DELETION_OPTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AmazonS3V2Settings getDefaultInstance()
Returns
Type Description
AmazonS3V2Settings

getDescriptor()

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

newBuilder()

public static AmazonS3V2Settings.Builder newBuilder()
Returns
Type Description
AmazonS3V2Settings.Builder

newBuilder(AmazonS3V2Settings prototype)

public static AmazonS3V2Settings.Builder newBuilder(AmazonS3V2Settings prototype)
Parameter
Name Description
prototype AmazonS3V2Settings
Returns
Type Description
AmazonS3V2Settings.Builder

parseDelimitedFrom(InputStream input)

public static AmazonS3V2Settings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AmazonS3V2Settings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AmazonS3V2Settings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AmazonS3V2Settings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AmazonS3V2Settings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AmazonS3V2Settings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AmazonS3V2Settings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AmazonS3V2Settings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AmazonS3V2Settings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AmazonS3V2Settings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AmazonS3V2Settings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AmazonS3V2Settings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AmazonS3V2Settings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AmazonS3V2Settings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AmazonS3V2Settings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AmazonS3V2Settings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AmazonS3V2Settings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AmazonS3V2Settings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AmazonS3V2Settings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AmazonS3V2Settings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AmazonS3V2Settings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AmazonS3V2Settings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AmazonS3V2Settings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AmazonS3V2Settings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AmazonS3V2Settings> parser()
Returns
Type Description
Parser<AmazonS3V2Settings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAuthentication()

public S3AuthV2 getAuthentication()

Required. Authentication.

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

Returns
Type Description
S3AuthV2

The authentication.

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

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.

getParserForType()

public Parser<AmazonS3V2Settings> getParserForType()
Returns
Type Description
Parser<AmazonS3V2Settings>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AmazonS3V2Settings.Builder newBuilderForType()
Returns
Type Description
AmazonS3V2Settings.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AmazonS3V2Settings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AmazonS3V2Settings.Builder
Overrides

toBuilder()

public AmazonS3V2Settings.Builder toBuilder()
Returns
Type Description
AmazonS3V2Settings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException