Class Clip.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Clip.Builder>
com.google.cloud.video.livestream.v1.Clip.Builder
- All Implemented Interfaces:
ClipOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Clip
public static final class Clip.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Clip.Builder>
implements ClipOrBuilder
Clip is a sub-resource under channel. Each clip represents a clipping operation that generates a VOD playlist from its channel given a set of timestamp ranges.Protobuf type
google.cloud.video.livestream.v1.Clip-
Method Summary
Modifier and TypeMethodDescriptionaddAllClipManifests(Iterable<? extends Clip.ClipManifest> values) Required.addAllSlices(Iterable<? extends Clip.Slice> values) The specified ranges of segments to generate a clip.addClipManifests(int index, Clip.ClipManifest value) Required.addClipManifests(int index, Clip.ClipManifest.Builder builderForValue) Required.Required.addClipManifests(Clip.ClipManifest.Builder builderForValue) Required.Required.addClipManifestsBuilder(int index) Required.addSlices(int index, Clip.Slice value) The specified ranges of segments to generate a clip.addSlices(int index, Clip.Slice.Builder builderForValue) The specified ranges of segments to generate a clip.addSlices(Clip.Slice value) The specified ranges of segments to generate a clip.addSlices(Clip.Slice.Builder builderForValue) The specified ranges of segments to generate a clip.The specified ranges of segments to generate a clip.addSlicesBuilder(int index) The specified ranges of segments to generate a clip.build()clear()Required.Output only.Output only.The resource name of the clip, in the following format: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`.Optional.Specify the `output_uri` to determine where to place the clip segments and clip manifest files in Cloud Storage.The specified ranges of segments to generate a clip.Output only.Output only.Output only.booleancontainsLabels(String key) The labels associated with this resource.getClipManifests(int index) Required.getClipManifestsBuilder(int index) Required.Required.intRequired.Required.getClipManifestsOrBuilder(int index) Required.List<? extends Clip.ClipManifestOrBuilder>Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetError()Output only.Output only.Output only.Deprecated.intThe labels associated with this resource.The labels associated with this resource.getLabelsOrDefault(String key, String defaultValue) The labels associated with this resource.getLabelsOrThrow(String key) The labels associated with this resource.Deprecated.getName()The resource name of the clip, in the following format: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`.com.google.protobuf.ByteStringThe resource name of the clip, in the following format: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`.Optional.intOptional.Specify the `output_uri` to determine where to place the clip segments and clip manifest files in Cloud Storage.com.google.protobuf.ByteStringSpecify the `output_uri` to determine where to place the clip segments and clip manifest files in Cloud Storage.getSlices(int index) The specified ranges of segments to generate a clip.getSlicesBuilder(int index) The specified ranges of segments to generate a clip.The specified ranges of segments to generate a clip.intThe specified ranges of segments to generate a clip.The specified ranges of segments to generate a clip.getSlicesOrBuilder(int index) The specified ranges of segments to generate a clip.List<? extends Clip.SliceOrBuilder>The specified ranges of segments to generate a clip.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanhasError()Output only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeError(Status value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) The labels associated with this resource.The labels associated with this resource.removeClipManifests(int index) Required.removeLabels(String key) The labels associated with this resource.removeSlices(int index) The specified ranges of segments to generate a clip.setClipManifests(int index, Clip.ClipManifest value) Required.setClipManifests(int index, Clip.ClipManifest.Builder builderForValue) Required.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setError(Status.Builder builderForValue) Output only.The resource name of the clip, in the following format: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`.setNameBytes(com.google.protobuf.ByteString value) The resource name of the clip, in the following format: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`.setOutputType(Clip.OutputType value) Optional.setOutputTypeValue(int value) Optional.setOutputUri(String value) Specify the `output_uri` to determine where to place the clip segments and clip manifest files in Cloud Storage.setOutputUriBytes(com.google.protobuf.ByteString value) Specify the `output_uri` to determine where to place the clip segments and clip manifest files in Cloud Storage.setSlices(int index, Clip.Slice value) The specified ranges of segments to generate a clip.setSlices(int index, Clip.Slice.Builder builderForValue) The specified ranges of segments to generate a clip.setStartTime(com.google.protobuf.Timestamp value) Output only.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setState(Clip.State value) Output only.setStateValue(int value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Clip.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Clip.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Clip.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Clip.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Clip.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Clip.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Clip.Builder>
-
mergeFrom
public Clip.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Clip.Builder>- Throws:
IOException
-
getName
The resource name of the clip, in the following format: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`. `{clipId}` is a user-specified resource id that conforms to the following criteria: 1. 1 character minimum, 63 characters maximum 2. Only contains letters, digits, underscores, and hyphensstring name = 1;- Specified by:
getNamein interfaceClipOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The resource name of the clip, in the following format: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`. `{clipId}` is a user-specified resource id that conforms to the following criteria: 1. 1 character minimum, 63 characters maximum 2. Only contains letters, digits, underscores, and hyphensstring name = 1;- Specified by:
getNameBytesin interfaceClipOrBuilder- Returns:
- The bytes for name.
-
setName
The resource name of the clip, in the following format: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`. `{clipId}` is a user-specified resource id that conforms to the following criteria: 1. 1 character minimum, 63 characters maximum 2. Only contains letters, digits, underscores, and hyphensstring name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The resource name of the clip, in the following format: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`. `{clipId}` is a user-specified resource id that conforms to the following criteria: 1. 1 character minimum, 63 characters maximum 2. Only contains letters, digits, underscores, and hyphensstring name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The resource name of the clip, in the following format: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`. `{clipId}` is a user-specified resource id that conforms to the following criteria: 1. 1 character minimum, 63 characters maximum 2. Only contains letters, digits, underscores, and hyphensstring name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceClipOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceClipOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceClipOrBuilder
-
hasStartTime
public boolean hasStartTime()Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStartTimein interfaceClipOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimein interfaceClipOrBuilder- Returns:
- The startTime.
-
setStartTime
Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStartTime
Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeStartTime
Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStartTime
Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimeOrBuilderin interfaceClipOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceClipOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceClipOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceClipOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:ClipOrBuilderThe labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5;- Specified by:
getLabelsCountin interfaceClipOrBuilder
-
containsLabels
The labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5;- Specified by:
containsLabelsin interfaceClipOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceClipOrBuilder
-
getLabelsMap
The labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5;- Specified by:
getLabelsMapin interfaceClipOrBuilder
-
getLabelsOrDefault
The labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5;- Specified by:
getLabelsOrDefaultin interfaceClipOrBuilder
-
getLabelsOrThrow
The labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5;- Specified by:
getLabelsOrThrowin interfaceClipOrBuilder
-
clearLabels
-
removeLabels
The labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
The labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5; -
putAllLabels
The labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5; -
getStateValue
public int getStateValue()Output only. The state of the clip.
.google.cloud.video.livestream.v1.Clip.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceClipOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The state of the clip.
.google.cloud.video.livestream.v1.Clip.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The state of the clip.
.google.cloud.video.livestream.v1.Clip.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceClipOrBuilder- Returns:
- The state.
-
setState
Output only. The state of the clip.
.google.cloud.video.livestream.v1.Clip.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The state of the clip.
.google.cloud.video.livestream.v1.Clip.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getOutputUri
Specify the `output_uri` to determine where to place the clip segments and clip manifest files in Cloud Storage. The manifests specified in `clip_manifests` fields will be placed under this URI. The exact URI of the generated manifests will be provided in `clip_manifests.output_uri` for each manifest. Example: "output_uri": "gs://my-bucket/clip-outputs" "clip_manifests.output_uri": "gs://my-bucket/clip-outputs/main.m3u8"
string output_uri = 7;- Specified by:
getOutputUriin interfaceClipOrBuilder- Returns:
- The outputUri.
-
getOutputUriBytes
public com.google.protobuf.ByteString getOutputUriBytes()Specify the `output_uri` to determine where to place the clip segments and clip manifest files in Cloud Storage. The manifests specified in `clip_manifests` fields will be placed under this URI. The exact URI of the generated manifests will be provided in `clip_manifests.output_uri` for each manifest. Example: "output_uri": "gs://my-bucket/clip-outputs" "clip_manifests.output_uri": "gs://my-bucket/clip-outputs/main.m3u8"
string output_uri = 7;- Specified by:
getOutputUriBytesin interfaceClipOrBuilder- Returns:
- The bytes for outputUri.
-
setOutputUri
Specify the `output_uri` to determine where to place the clip segments and clip manifest files in Cloud Storage. The manifests specified in `clip_manifests` fields will be placed under this URI. The exact URI of the generated manifests will be provided in `clip_manifests.output_uri` for each manifest. Example: "output_uri": "gs://my-bucket/clip-outputs" "clip_manifests.output_uri": "gs://my-bucket/clip-outputs/main.m3u8"
string output_uri = 7;- Parameters:
value- The outputUri to set.- Returns:
- This builder for chaining.
-
clearOutputUri
Specify the `output_uri` to determine where to place the clip segments and clip manifest files in Cloud Storage. The manifests specified in `clip_manifests` fields will be placed under this URI. The exact URI of the generated manifests will be provided in `clip_manifests.output_uri` for each manifest. Example: "output_uri": "gs://my-bucket/clip-outputs" "clip_manifests.output_uri": "gs://my-bucket/clip-outputs/main.m3u8"
string output_uri = 7;- Returns:
- This builder for chaining.
-
setOutputUriBytes
Specify the `output_uri` to determine where to place the clip segments and clip manifest files in Cloud Storage. The manifests specified in `clip_manifests` fields will be placed under this URI. The exact URI of the generated manifests will be provided in `clip_manifests.output_uri` for each manifest. Example: "output_uri": "gs://my-bucket/clip-outputs" "clip_manifests.output_uri": "gs://my-bucket/clip-outputs/main.m3u8"
string output_uri = 7;- Parameters:
value- The bytes for outputUri to set.- Returns:
- This builder for chaining.
-
hasError
public boolean hasError()Output only. An error object that describes the reason for the failure. This property only presents when `state` is `FAILED`.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasErrorin interfaceClipOrBuilder- Returns:
- Whether the error field is set.
-
getError
Output only. An error object that describes the reason for the failure. This property only presents when `state` is `FAILED`.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorin interfaceClipOrBuilder- Returns:
- The error.
-
setError
Output only. An error object that describes the reason for the failure. This property only presents when `state` is `FAILED`.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setError
Output only. An error object that describes the reason for the failure. This property only presents when `state` is `FAILED`.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeError
Output only. An error object that describes the reason for the failure. This property only presents when `state` is `FAILED`.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearError
Output only. An error object that describes the reason for the failure. This property only presents when `state` is `FAILED`.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrorBuilder
Output only. An error object that describes the reason for the failure. This property only presents when `state` is `FAILED`.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrorOrBuilder
Output only. An error object that describes the reason for the failure. This property only presents when `state` is `FAILED`.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorOrBuilderin interfaceClipOrBuilder
-
getSlicesList
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;- Specified by:
getSlicesListin interfaceClipOrBuilder
-
getSlicesCount
public int getSlicesCount()The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;- Specified by:
getSlicesCountin interfaceClipOrBuilder
-
getSlices
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;- Specified by:
getSlicesin interfaceClipOrBuilder
-
setSlices
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10; -
setSlices
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10; -
addSlices
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10; -
addSlices
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10; -
addSlices
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10; -
addSlices
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10; -
addAllSlices
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10; -
clearSlices
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10; -
removeSlices
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10; -
getSlicesBuilder
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10; -
getSlicesOrBuilder
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;- Specified by:
getSlicesOrBuilderin interfaceClipOrBuilder
-
getSlicesOrBuilderList
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;- Specified by:
getSlicesOrBuilderListin interfaceClipOrBuilder
-
addSlicesBuilder
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10; -
addSlicesBuilder
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10; -
getSlicesBuilderList
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10; -
getClipManifestsList
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getClipManifestsListin interfaceClipOrBuilder
-
getClipManifestsCount
public int getClipManifestsCount()Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getClipManifestsCountin interfaceClipOrBuilder
-
getClipManifests
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getClipManifestsin interfaceClipOrBuilder
-
setClipManifests
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED]; -
setClipManifests
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED]; -
addClipManifests
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED]; -
addClipManifests
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED]; -
addClipManifests
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED]; -
addClipManifests
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED]; -
addAllClipManifests
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED]; -
clearClipManifests
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED]; -
removeClipManifests
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED]; -
getClipManifestsBuilder
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED]; -
getClipManifestsOrBuilder
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getClipManifestsOrBuilderin interfaceClipOrBuilder
-
getClipManifestsOrBuilderList
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getClipManifestsOrBuilderListin interfaceClipOrBuilder
-
addClipManifestsBuilder
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED]; -
addClipManifestsBuilder
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED]; -
getClipManifestsBuilderList
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED]; -
getOutputTypeValue
public int getOutputTypeValue()Optional. OutputType of the clip. If not specified, the default value is MANIFEST.
.google.cloud.video.livestream.v1.Clip.OutputType output_type = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputTypeValuein interfaceClipOrBuilder- Returns:
- The enum numeric value on the wire for outputType.
-
setOutputTypeValue
Optional. OutputType of the clip. If not specified, the default value is MANIFEST.
.google.cloud.video.livestream.v1.Clip.OutputType output_type = 13 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for outputType to set.- Returns:
- This builder for chaining.
-
getOutputType
Optional. OutputType of the clip. If not specified, the default value is MANIFEST.
.google.cloud.video.livestream.v1.Clip.OutputType output_type = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputTypein interfaceClipOrBuilder- Returns:
- The outputType.
-
setOutputType
Optional. OutputType of the clip. If not specified, the default value is MANIFEST.
.google.cloud.video.livestream.v1.Clip.OutputType output_type = 13 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The outputType to set.- Returns:
- This builder for chaining.
-
clearOutputType
Optional. OutputType of the clip. If not specified, the default value is MANIFEST.
.google.cloud.video.livestream.v1.Clip.OutputType output_type = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-