Class GoogleCloudStorageEventDrivenSettings (0.37.0)

public final class GoogleCloudStorageEventDrivenSettings extends GeneratedMessage implements GoogleCloudStorageEventDrivenSettingsOrBuilder

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

Protobuf type google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings

Inheritance

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

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

PUBSUB_SUBSCRIPTION_FIELD_NUMBER

public static final int PUBSUB_SUBSCRIPTION_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 GoogleCloudStorageEventDrivenSettings getDefaultInstance()
Returns
Type Description
GoogleCloudStorageEventDrivenSettings

getDescriptor()

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

newBuilder()

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

newBuilder(GoogleCloudStorageEventDrivenSettings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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

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.

getParserForType()

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

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.

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

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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