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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Clip.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Clip.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Clip.Builder>
    • clear

      public Clip.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Clip.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Clip.Builder>
    • getDefaultInstanceForType

      public Clip getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Clip build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Clip buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Clip.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Clip.Builder>
    • mergeFrom

      public Clip.Builder mergeFrom(Clip other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Clip.Builder>
      Throws:
      IOException
    • getName

      public String 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 hyphens
       
      string name = 1;
      Specified by:
      getName in interface ClipOrBuilder
      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 hyphens
       
      string name = 1;
      Specified by:
      getNameBytes in interface ClipOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Clip.Builder setName(String value)
       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 hyphens
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Clip.Builder 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 hyphens
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Clip.Builder setNameBytes(com.google.protobuf.ByteString value)
       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 hyphens
       
      string 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:
      hasCreateTime in interface ClipOrBuilder
      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:
      getCreateTime in interface ClipOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Clip.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The creation timestamp of the clip resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Clip.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The creation timestamp of the clip resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Clip.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The creation timestamp of the clip resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Clip.Builder 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:
      getCreateTimeOrBuilder in interface ClipOrBuilder
    • 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:
      hasStartTime in interface ClipOrBuilder
      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:
      getStartTime in interface ClipOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public Clip.Builder setStartTime(com.google.protobuf.Timestamp value)
       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

      public Clip.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       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

      public Clip.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       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

      public Clip.Builder 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:
      getStartTimeOrBuilder in interface ClipOrBuilder
    • 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:
      hasUpdateTime in interface ClipOrBuilder
      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:
      getUpdateTime in interface ClipOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Clip.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The update timestamp of the clip resource.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Clip.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The update timestamp of the clip resource.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Clip.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The update timestamp of the clip resource.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Clip.Builder 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:
      getUpdateTimeOrBuilder in interface ClipOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: ClipOrBuilder
       The labels associated with this resource. Each label is a key-value pair.
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsCount in interface ClipOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       The labels associated with this resource. Each label is a key-value pair.
       
      map<string, string> labels = 5;
      Specified by:
      containsLabels in interface ClipOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface ClipOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       The labels associated with this resource. Each label is a key-value pair.
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsMap in interface ClipOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       The labels associated with this resource. Each label is a key-value pair.
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsOrDefault in interface ClipOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       The labels associated with this resource. Each label is a key-value pair.
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsOrThrow in interface ClipOrBuilder
    • clearLabels

      public Clip.Builder clearLabels()
    • removeLabels

      public Clip.Builder removeLabels(String key)
       The labels associated with this resource. Each label is a key-value pair.
       
      map<string, string> labels = 5;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Clip.Builder putLabels(String key, String value)
       The labels associated with this resource. Each label is a key-value pair.
       
      map<string, string> labels = 5;
    • putAllLabels

      public Clip.Builder putAllLabels(Map<String,String> values)
       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:
      getStateValue in interface ClipOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Clip.Builder setStateValue(int value)
       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

      public Clip.State 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:
      getState in interface ClipOrBuilder
      Returns:
      The state.
    • setState

      public Clip.Builder setState(Clip.State value)
       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

      public Clip.Builder 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

      public String 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:
      getOutputUri in interface ClipOrBuilder
      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:
      getOutputUriBytes in interface ClipOrBuilder
      Returns:
      The bytes for outputUri.
    • setOutputUri

      public Clip.Builder setOutputUri(String value)
       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

      public Clip.Builder 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

      public Clip.Builder 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. 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:
      hasError in interface ClipOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public Status 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:
      getError in interface ClipOrBuilder
      Returns:
      The error.
    • setError

      public Clip.Builder setError(Status value)
       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

      public Clip.Builder setError(Status.Builder builderForValue)
       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

      public Clip.Builder mergeError(Status value)
       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

      public Clip.Builder 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

      public Status.Builder 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

      public StatusOrBuilder 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:
      getErrorOrBuilder in interface ClipOrBuilder
    • getSlicesList

      public List<Clip.Slice> getSlicesList()
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
      Specified by:
      getSlicesList in interface ClipOrBuilder
    • 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:
      getSlicesCount in interface ClipOrBuilder
    • getSlices

      public Clip.Slice getSlices(int index)
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
      Specified by:
      getSlices in interface ClipOrBuilder
    • setSlices

      public Clip.Builder setSlices(int index, Clip.Slice value)
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
    • setSlices

      public Clip.Builder setSlices(int index, Clip.Slice.Builder builderForValue)
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
    • addSlices

      public Clip.Builder addSlices(Clip.Slice value)
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
    • addSlices

      public Clip.Builder addSlices(int index, Clip.Slice value)
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
    • addSlices

      public Clip.Builder addSlices(Clip.Slice.Builder builderForValue)
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
    • addSlices

      public Clip.Builder addSlices(int index, Clip.Slice.Builder builderForValue)
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
    • addAllSlices

      public Clip.Builder addAllSlices(Iterable<? extends Clip.Slice> values)
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
    • clearSlices

      public Clip.Builder clearSlices()
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
    • removeSlices

      public Clip.Builder removeSlices(int index)
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
    • getSlicesBuilder

      public Clip.Slice.Builder getSlicesBuilder(int index)
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
    • getSlicesOrBuilder

      public Clip.SliceOrBuilder getSlicesOrBuilder(int index)
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
      Specified by:
      getSlicesOrBuilder in interface ClipOrBuilder
    • getSlicesOrBuilderList

      public List<? extends Clip.SliceOrBuilder> getSlicesOrBuilderList()
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
      Specified by:
      getSlicesOrBuilderList in interface ClipOrBuilder
    • addSlicesBuilder

      public Clip.Slice.Builder addSlicesBuilder()
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
    • addSlicesBuilder

      public Clip.Slice.Builder addSlicesBuilder(int index)
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
    • getSlicesBuilderList

      public List<Clip.Slice.Builder> getSlicesBuilderList()
       The specified ranges of segments to generate a clip.
       
      repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
    • getClipManifestsList

      public List<Clip.ClipManifest> 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:
      getClipManifestsList in interface ClipOrBuilder
    • 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:
      getClipManifestsCount in interface ClipOrBuilder
    • getClipManifests

      public Clip.ClipManifest getClipManifests(int index)
       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:
      getClipManifests in interface ClipOrBuilder
    • setClipManifests

      public Clip.Builder setClipManifests(int index, Clip.ClipManifest value)
       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

      public Clip.Builder setClipManifests(int index, Clip.ClipManifest.Builder builderForValue)
       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

      public Clip.Builder addClipManifests(Clip.ClipManifest value)
       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

      public Clip.Builder addClipManifests(int index, Clip.ClipManifest value)
       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

      public Clip.Builder addClipManifests(Clip.ClipManifest.Builder builderForValue)
       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

      public Clip.Builder addClipManifests(int index, Clip.ClipManifest.Builder builderForValue)
       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

      public Clip.Builder addAllClipManifests(Iterable<? extends Clip.ClipManifest> values)
       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

      public Clip.Builder 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

      public Clip.Builder removeClipManifests(int index)
       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

      public Clip.ClipManifest.Builder getClipManifestsBuilder(int index)
       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

      public Clip.ClipManifestOrBuilder getClipManifestsOrBuilder(int index)
       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:
      getClipManifestsOrBuilder in interface ClipOrBuilder
    • getClipManifestsOrBuilderList

      public List<? extends Clip.ClipManifestOrBuilder> 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:
      getClipManifestsOrBuilderList in interface ClipOrBuilder
    • addClipManifestsBuilder

      public Clip.ClipManifest.Builder 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

      public Clip.ClipManifest.Builder addClipManifestsBuilder(int index)
       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

      public List<Clip.ClipManifest.Builder> 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:
      getOutputTypeValue in interface ClipOrBuilder
      Returns:
      The enum numeric value on the wire for outputType.
    • setOutputTypeValue

      public Clip.Builder setOutputTypeValue(int value)
       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

      public Clip.OutputType 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:
      getOutputType in interface ClipOrBuilder
      Returns:
      The outputType.
    • setOutputType

      public Clip.Builder setOutputType(Clip.OutputType value)
       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

      public Clip.Builder 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.