public final class RetentionConfig extends GeneratedMessageV3 implements RetentionConfigOrBuilder
Configuration for retention of output files.
Protobuf type google.cloud.video.livestream.v1.RetentionConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
RETENTION_WINDOW_DURATION_FIELD_NUMBER
public static final int RETENTION_WINDOW_DURATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RetentionConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RetentionConfig.Builder newBuilder()
newBuilder(RetentionConfig prototype)
public static RetentionConfig.Builder newBuilder(RetentionConfig prototype)
public static RetentionConfig parseDelimitedFrom(InputStream input)
public static RetentionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RetentionConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RetentionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RetentionConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RetentionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RetentionConfig parseFrom(CodedInputStream input)
public static RetentionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RetentionConfig parseFrom(InputStream input)
public static RetentionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RetentionConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RetentionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RetentionConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public RetentionConfig getDefaultInstanceForType()
getParserForType()
public Parser<RetentionConfig> getParserForType()
Overrides
getRetentionWindowDuration()
public Duration getRetentionWindowDuration()
The minimum duration for which the output files from the channel will
remain in the output bucket. After this duration, output files are
deleted asynchronously.
When the channel is deleted, all output files are deleted from the output
bucket asynchronously.
If omitted or set to zero, output files will remain in the output bucket
based on
Manifest.segment_keep_duration,
which defaults to 60s.
If both retention_window_duration and
Manifest.segment_keep_duration
are set, retention_window_duration is used and
Manifest.segment_keep_duration
is ignored.
.google.protobuf.Duration retention_window_duration = 1;
Returns |
Type |
Description |
Duration |
The retentionWindowDuration.
|
getRetentionWindowDurationOrBuilder()
public DurationOrBuilder getRetentionWindowDurationOrBuilder()
The minimum duration for which the output files from the channel will
remain in the output bucket. After this duration, output files are
deleted asynchronously.
When the channel is deleted, all output files are deleted from the output
bucket asynchronously.
If omitted or set to zero, output files will remain in the output bucket
based on
Manifest.segment_keep_duration,
which defaults to 60s.
If both retention_window_duration and
Manifest.segment_keep_duration
are set, retention_window_duration is used and
Manifest.segment_keep_duration
is ignored.
.google.protobuf.Duration retention_window_duration = 1;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasRetentionWindowDuration()
public boolean hasRetentionWindowDuration()
The minimum duration for which the output files from the channel will
remain in the output bucket. After this duration, output files are
deleted asynchronously.
When the channel is deleted, all output files are deleted from the output
bucket asynchronously.
If omitted or set to zero, output files will remain in the output bucket
based on
Manifest.segment_keep_duration,
which defaults to 60s.
If both retention_window_duration and
Manifest.segment_keep_duration
are set, retention_window_duration is used and
Manifest.segment_keep_duration
is ignored.
.google.protobuf.Duration retention_window_duration = 1;
Returns |
Type |
Description |
boolean |
Whether the retentionWindowDuration field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RetentionConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RetentionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public RetentionConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides