Class DataSourceExportSettings (0.31.0)

public final class DataSourceExportSettings extends GeneratedMessage implements DataSourceExportSettingsOrBuilder

The export settings for a data source.

Protobuf type google.cloud.chronicle.v1.DataSourceExportSettings

Static Fields

DATA_FRESHNESS_TIME_FIELD_NUMBER

public static final int DATA_FRESHNESS_TIME_FIELD_NUMBER
Field Value
Type Description
int

DATA_VOLUME_FIELD_NUMBER

public static final int DATA_VOLUME_FIELD_NUMBER
Field Value
Type Description
int

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
Type Description
int

LATEST_EXPORT_JOB_STATE_FIELD_NUMBER

public static final int LATEST_EXPORT_JOB_STATE_FIELD_NUMBER
Field Value
Type Description
int

RETENTION_DAYS_FIELD_NUMBER

public static final int RETENTION_DAYS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataSourceExportSettings getDefaultInstance()
Returns
Type Description
DataSourceExportSettings

getDescriptor()

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

newBuilder()

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

newBuilder(DataSourceExportSettings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDataFreshnessTime()

public Timestamp getDataFreshnessTime()

Output only. The data freshness of the given export which represents the time bucket at which the latest event was exported.

.google.protobuf.Timestamp data_freshness_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The dataFreshnessTime.

getDataFreshnessTimeOrBuilder()

public TimestampOrBuilder getDataFreshnessTimeOrBuilder()

Output only. The data freshness of the given export which represents the time bucket at which the latest event was exported.

.google.protobuf.Timestamp data_freshness_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDataVolume()

public long getDataVolume()

Output only. The stored data volume of all the exports.

int64 data_volume = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The dataVolume.

getDefaultInstanceForType()

public DataSourceExportSettings getDefaultInstanceForType()
Returns
Type Description
DataSourceExportSettings

getEnabled()

public boolean getEnabled()

Required. Whether the data source is enabled for export.

bool enabled = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The enabled.

getLatestExportJobState()

public LatestExportJobState getLatestExportJobState()

Output only. The state of the latest data source export job.

.google.cloud.chronicle.v1.LatestExportJobState latest_export_job_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LatestExportJobState

The latestExportJobState.

getLatestExportJobStateValue()

public int getLatestExportJobStateValue()

Output only. The state of the latest data source export job.

.google.cloud.chronicle.v1.LatestExportJobState latest_export_job_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for latestExportJobState.

getParserForType()

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

getRetentionDays()

public int getRetentionDays()

Required. The retention period for the data source in days.

int32 retention_days = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The retentionDays.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDataFreshnessTime()

public boolean hasDataFreshnessTime()

Output only. The data freshness of the given export which represents the time bucket at which the latest event was exported.

.google.protobuf.Timestamp data_freshness_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dataFreshnessTime 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 DataSourceExportSettings.Builder newBuilderForType()
Returns
Type Description
DataSourceExportSettings.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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