public static final class DataSourceExportSettings.Builder extends GeneratedMessage.Builder<DataSourceExportSettings.Builder> implements DataSourceExportSettingsOrBuilderThe export settings for a data source.
Protobuf type google.cloud.chronicle.v1.DataSourceExportSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataSourceExportSettings.BuilderImplements
DataSourceExportSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataSourceExportSettings build()| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings |
|
buildPartial()
public DataSourceExportSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings |
|
clear()
public DataSourceExportSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings.Builder |
|
clearDataFreshnessTime()
public DataSourceExportSettings.Builder clearDataFreshnessTime()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 |
DataSourceExportSettings.Builder |
|
clearDataVolume()
public DataSourceExportSettings.Builder clearDataVolume()Output only. The stored data volume of all the exports.
int64 data_volume = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings.Builder |
This builder for chaining. |
clearEnabled()
public DataSourceExportSettings.Builder clearEnabled()Required. Whether the data source is enabled for export.
bool enabled = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings.Builder |
This builder for chaining. |
clearLatestExportJobState()
public DataSourceExportSettings.Builder clearLatestExportJobState()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 |
DataSourceExportSettings.Builder |
This builder for chaining. |
clearRetentionDays()
public DataSourceExportSettings.Builder clearRetentionDays()Required. The retention period for the data source in days.
int32 retention_days = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings.Builder |
This builder for chaining. |
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. |
getDataFreshnessTimeBuilder()
public Timestamp.Builder getDataFreshnessTimeBuilder()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 |
Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDataFreshnessTime(Timestamp value)
public DataSourceExportSettings.Builder mergeDataFreshnessTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings.Builder |
|
mergeFrom(DataSourceExportSettings other)
public DataSourceExportSettings.Builder mergeFrom(DataSourceExportSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
DataSourceExportSettings |
| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataSourceExportSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataSourceExportSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings.Builder |
|
setDataFreshnessTime(Timestamp value)
public DataSourceExportSettings.Builder setDataFreshnessTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings.Builder |
|
setDataFreshnessTime(Timestamp.Builder builderForValue)
public DataSourceExportSettings.Builder setDataFreshnessTime(Timestamp.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings.Builder |
|
setDataVolume(long value)
public DataSourceExportSettings.Builder setDataVolume(long value)Output only. The stored data volume of all the exports.
int64 data_volume = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe dataVolume to set. |
| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings.Builder |
This builder for chaining. |
setEnabled(boolean value)
public DataSourceExportSettings.Builder setEnabled(boolean value)Required. Whether the data source is enabled for export.
bool enabled = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enabled to set. |
| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings.Builder |
This builder for chaining. |
setLatestExportJobState(LatestExportJobState value)
public DataSourceExportSettings.Builder setLatestExportJobState(LatestExportJobState value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
LatestExportJobStateThe latestExportJobState to set. |
| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings.Builder |
This builder for chaining. |
setLatestExportJobStateValue(int value)
public DataSourceExportSettings.Builder setLatestExportJobStateValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for latestExportJobState to set. |
| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings.Builder |
This builder for chaining. |
setRetentionDays(int value)
public DataSourceExportSettings.Builder setRetentionDays(int value)Required. The retention period for the data source in days.
int32 retention_days = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe retentionDays to set. |
| Returns | |
|---|---|
| Type | Description |
DataSourceExportSettings.Builder |
This builder for chaining. |