Package s2.v1alpha
Interface StreamConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamConfig
,StreamConfig.Builder
public interface StreamConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getAge()
Age in seconds for automatic trimming of records older than this threshold.StreamConfig.RetentionPolicyCase
getRetentionPolicyCase()
StorageClass
getStorageClass()
Storage class for recent writes.int
getStorageClassValue()
Storage class for recent writes.StreamConfig.Timestamping
getTimestamping()
Timestamping behavior.StreamConfig.TimestampingOrBuilder
getTimestampingOrBuilder()
Timestamping behavior.boolean
hasAge()
Age in seconds for automatic trimming of records older than this threshold.boolean
hasTimestamping()
Timestamping behavior.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStorageClassValue
int getStorageClassValue()
Storage class for recent writes.
.s2.v1alpha.StorageClass storage_class = 1;
- Returns:
- The enum numeric value on the wire for storageClass.
-
getStorageClass
StorageClass getStorageClass()
Storage class for recent writes.
.s2.v1alpha.StorageClass storage_class = 1;
- Returns:
- The storageClass.
-
hasAge
boolean hasAge()
Age in seconds for automatic trimming of records older than this threshold. If set to 0, the stream will have infinite retention.
uint64 age = 2;
- Returns:
- Whether the age field is set.
-
getAge
long getAge()
Age in seconds for automatic trimming of records older than this threshold. If set to 0, the stream will have infinite retention.
uint64 age = 2;
- Returns:
- The age.
-
hasTimestamping
boolean hasTimestamping()
Timestamping behavior.
.s2.v1alpha.StreamConfig.Timestamping timestamping = 5;
- Returns:
- Whether the timestamping field is set.
-
getTimestamping
StreamConfig.Timestamping getTimestamping()
Timestamping behavior.
.s2.v1alpha.StreamConfig.Timestamping timestamping = 5;
- Returns:
- The timestamping.
-
getTimestampingOrBuilder
StreamConfig.TimestampingOrBuilder getTimestampingOrBuilder()
Timestamping behavior.
.s2.v1alpha.StreamConfig.Timestamping timestamping = 5;
-
getRetentionPolicyCase
StreamConfig.RetentionPolicyCase getRetentionPolicyCase()
-
-