Class GoogleCloudStorageV2Settings (0.37.0)

public final class GoogleCloudStorageV2Settings extends GeneratedMessage implements GoogleCloudStorageV2SettingsOrBuilder

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

Protobuf type google.cloud.chronicle.v1.GoogleCloudStorageV2Settings

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GoogleCloudStorageV2Settings

Static Fields

BUCKET_URI_FIELD_NUMBER

public static final int BUCKET_URI_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

SOURCE_DELETION_OPTION_FIELD_NUMBER

public static final int SOURCE_DELETION_OPTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GoogleCloudStorageV2Settings getDefaultInstance()
Returns
Type Description
GoogleCloudStorageV2Settings

getDescriptor()

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

newBuilder()

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

newBuilder(GoogleCloudStorageV2Settings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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 GoogleCloudStorageV2Settings.Builder newBuilderForType()
Returns
Type Description
GoogleCloudStorageV2Settings.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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