com.google.cloud.video.livestream.v1.ManifestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-live-stream-v1 Show documentation
Show all versions of proto-google-cloud-live-stream-v1 Show documentation
Proto library for google-cloud-live-stream
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/video/livestream/v1/outputs.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.video.livestream.v1;
public interface ManifestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Manifest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The name of the generated file. The default is `manifest` with the
* extension suffix corresponding to the `Manifest`
* [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
* manifests are added to the channel, each must have a unique file name.
*
*
* string file_name = 1;
*
* @return The fileName.
*/
java.lang.String getFileName();
/**
*
*
*
* The name of the generated file. The default is `manifest` with the
* extension suffix corresponding to the `Manifest`
* [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
* manifests are added to the channel, each must have a unique file name.
*
*
* string file_name = 1;
*
* @return The bytes for fileName.
*/
com.google.protobuf.ByteString getFileNameBytes();
/**
*
*
*
* Required. Type of the manifest, can be `HLS` or `DASH`.
*
*
*
* .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
*
*
* Required. Type of the manifest, can be `HLS` or `DASH`.
*
*
*
* .google.cloud.video.livestream.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The type.
*/
com.google.cloud.video.livestream.v1.Manifest.ManifestType getType();
/**
*
*
*
* Required. List of `MuxStream`
* [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear
* in this manifest.
*
* - For HLS, either `fmp4` or `ts` mux streams can be specified but not
* mixed.
* - For DASH, only `fmp4` mux streams can be specified.
*
*
* repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED];
*
* @return A list containing the muxStreams.
*/
java.util.List getMuxStreamsList();
/**
*
*
*
* Required. List of `MuxStream`
* [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear
* in this manifest.
*
* - For HLS, either `fmp4` or `ts` mux streams can be specified but not
* mixed.
* - For DASH, only `fmp4` mux streams can be specified.
*
*
* repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED];
*
* @return The count of muxStreams.
*/
int getMuxStreamsCount();
/**
*
*
*
* Required. List of `MuxStream`
* [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear
* in this manifest.
*
* - For HLS, either `fmp4` or `ts` mux streams can be specified but not
* mixed.
* - For DASH, only `fmp4` mux streams can be specified.
*
*
* repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED];
*
* @param index The index of the element to return.
* @return The muxStreams at the given index.
*/
java.lang.String getMuxStreams(int index);
/**
*
*
*
* Required. List of `MuxStream`
* [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear
* in this manifest.
*
* - For HLS, either `fmp4` or `ts` mux streams can be specified but not
* mixed.
* - For DASH, only `fmp4` mux streams can be specified.
*
*
* repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED];
*
* @param index The index of the value to return.
* @return The bytes of the muxStreams at the given index.
*/
com.google.protobuf.ByteString getMuxStreamsBytes(int index);
/**
*
*
*
* Maximum number of segments that this manifest holds. Once the manifest
* reaches this maximum number of segments, whenever a new segment is added to
* the manifest, the oldest segment will be removed from the manifest.
* The minimum value is 3 and the default value is 5.
*
*
* int32 max_segment_count = 4;
*
* @return The maxSegmentCount.
*/
int getMaxSegmentCount();
/**
*
*
*
* How long to keep a segment on the output Google Cloud Storage bucket after
* it is removed from the manifest. This field should be large enough to cover
* the manifest propagation delay. Otherwise, a player could receive 404
* errors while accessing segments which are listed in the manifest that the
* player has, but were already deleted from the output Google Cloud Storage
* bucket. Default value is `60s`.
*
* If both segment_keep_duration and
* [RetentionConfig.retention_window_duration][google.cloud.video.livestream.v1.RetentionConfig.retention_window_duration]
* are set,
* [RetentionConfig.retention_window_duration][google.cloud.video.livestream.v1.RetentionConfig.retention_window_duration]
* is used and segment_keep_duration is ignored.
*
*
* .google.protobuf.Duration segment_keep_duration = 5;
*
* @return Whether the segmentKeepDuration field is set.
*/
boolean hasSegmentKeepDuration();
/**
*
*
*
* How long to keep a segment on the output Google Cloud Storage bucket after
* it is removed from the manifest. This field should be large enough to cover
* the manifest propagation delay. Otherwise, a player could receive 404
* errors while accessing segments which are listed in the manifest that the
* player has, but were already deleted from the output Google Cloud Storage
* bucket. Default value is `60s`.
*
* If both segment_keep_duration and
* [RetentionConfig.retention_window_duration][google.cloud.video.livestream.v1.RetentionConfig.retention_window_duration]
* are set,
* [RetentionConfig.retention_window_duration][google.cloud.video.livestream.v1.RetentionConfig.retention_window_duration]
* is used and segment_keep_duration is ignored.
*
*
* .google.protobuf.Duration segment_keep_duration = 5;
*
* @return The segmentKeepDuration.
*/
com.google.protobuf.Duration getSegmentKeepDuration();
/**
*
*
*
* How long to keep a segment on the output Google Cloud Storage bucket after
* it is removed from the manifest. This field should be large enough to cover
* the manifest propagation delay. Otherwise, a player could receive 404
* errors while accessing segments which are listed in the manifest that the
* player has, but were already deleted from the output Google Cloud Storage
* bucket. Default value is `60s`.
*
* If both segment_keep_duration and
* [RetentionConfig.retention_window_duration][google.cloud.video.livestream.v1.RetentionConfig.retention_window_duration]
* are set,
* [RetentionConfig.retention_window_duration][google.cloud.video.livestream.v1.RetentionConfig.retention_window_duration]
* is used and segment_keep_duration is ignored.
*
*
* .google.protobuf.Duration segment_keep_duration = 5;
*/
com.google.protobuf.DurationOrBuilder getSegmentKeepDurationOrBuilder();
/**
*
*
*
* Whether to use the timecode, as specified in timecode config, when setting:
*
* - `availabilityStartTime` attribute in DASH manifests.
* - `#EXT-X-PROGRAM-DATE-TIME` tag in HLS manifests.
*
* If false, ignore the input timecode and use the time from system clock
* when the manifest is first generated. This is the default behavior.
*
*
* bool use_timecode_as_timeline = 6;
*
* @return The useTimecodeAsTimeline.
*/
boolean getUseTimecodeAsTimeline();
/**
*
*
*
* Optional. A unique key for this manifest.
*
*
* string key = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The key.
*/
java.lang.String getKey();
/**
*
*
*
* Optional. A unique key for this manifest.
*
*
* string key = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for key.
*/
com.google.protobuf.ByteString getKeyBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy