Class GenerateHlsUriResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GenerateHlsUriResponse.Builder>
com.google.cloud.visionai.v1.GenerateHlsUriResponse.Builder
All Implemented Interfaces:
GenerateHlsUriResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GenerateHlsUriResponse

public static final class GenerateHlsUriResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<GenerateHlsUriResponse.Builder> implements GenerateHlsUriResponseOrBuilder
 Response message for GenerateHlsUri API.
 
Protobuf type google.cloud.visionai.v1.GenerateHlsUriResponse
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GenerateHlsUriResponse.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<GenerateHlsUriResponse.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<GenerateHlsUriResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public GenerateHlsUriResponse.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<GenerateHlsUriResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<GenerateHlsUriResponse.Builder>
    • mergeFrom

      public GenerateHlsUriResponse.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<GenerateHlsUriResponse.Builder>
      Throws:
      IOException
    • getUri

      public String getUri()
       A signed uri to download the HLS manifest corresponding to the requested
       times.
       
      string uri = 1;
      Specified by:
      getUri in interface GenerateHlsUriResponseOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       A signed uri to download the HLS manifest corresponding to the requested
       times.
       
      string uri = 1;
      Specified by:
      getUriBytes in interface GenerateHlsUriResponseOrBuilder
      Returns:
      The bytes for uri.
    • setUri

      public GenerateHlsUriResponse.Builder setUri(String value)
       A signed uri to download the HLS manifest corresponding to the requested
       times.
       
      string uri = 1;
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

      public GenerateHlsUriResponse.Builder clearUri()
       A signed uri to download the HLS manifest corresponding to the requested
       times.
       
      string uri = 1;
      Returns:
      This builder for chaining.
    • setUriBytes

      public GenerateHlsUriResponse.Builder setUriBytes(com.google.protobuf.ByteString value)
       A signed uri to download the HLS manifest corresponding to the requested
       times.
       
      string uri = 1;
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • getTemporalPartitionsList

      public List<Partition.TemporalPartition> getTemporalPartitionsList()
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
      Specified by:
      getTemporalPartitionsList in interface GenerateHlsUriResponseOrBuilder
    • getTemporalPartitionsCount

      public int getTemporalPartitionsCount()
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
      Specified by:
      getTemporalPartitionsCount in interface GenerateHlsUriResponseOrBuilder
    • getTemporalPartitions

      public Partition.TemporalPartition getTemporalPartitions(int index)
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
      Specified by:
      getTemporalPartitions in interface GenerateHlsUriResponseOrBuilder
    • setTemporalPartitions

      public GenerateHlsUriResponse.Builder setTemporalPartitions(int index, Partition.TemporalPartition value)
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
    • setTemporalPartitions

      public GenerateHlsUriResponse.Builder setTemporalPartitions(int index, Partition.TemporalPartition.Builder builderForValue)
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
    • addTemporalPartitions

      public GenerateHlsUriResponse.Builder addTemporalPartitions(Partition.TemporalPartition value)
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
    • addTemporalPartitions

      public GenerateHlsUriResponse.Builder addTemporalPartitions(int index, Partition.TemporalPartition value)
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
    • addTemporalPartitions

      public GenerateHlsUriResponse.Builder addTemporalPartitions(Partition.TemporalPartition.Builder builderForValue)
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
    • addTemporalPartitions

      public GenerateHlsUriResponse.Builder addTemporalPartitions(int index, Partition.TemporalPartition.Builder builderForValue)
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
    • addAllTemporalPartitions

      public GenerateHlsUriResponse.Builder addAllTemporalPartitions(Iterable<? extends Partition.TemporalPartition> values)
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
    • clearTemporalPartitions

      public GenerateHlsUriResponse.Builder clearTemporalPartitions()
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
    • removeTemporalPartitions

      public GenerateHlsUriResponse.Builder removeTemporalPartitions(int index)
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
    • getTemporalPartitionsBuilder

      public Partition.TemporalPartition.Builder getTemporalPartitionsBuilder(int index)
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
    • getTemporalPartitionsOrBuilder

      public Partition.TemporalPartitionOrBuilder getTemporalPartitionsOrBuilder(int index)
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
      Specified by:
      getTemporalPartitionsOrBuilder in interface GenerateHlsUriResponseOrBuilder
    • getTemporalPartitionsOrBuilderList

      public List<? extends Partition.TemporalPartitionOrBuilder> getTemporalPartitionsOrBuilderList()
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
      Specified by:
      getTemporalPartitionsOrBuilderList in interface GenerateHlsUriResponseOrBuilder
    • addTemporalPartitionsBuilder

      public Partition.TemporalPartition.Builder addTemporalPartitionsBuilder()
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
    • addTemporalPartitionsBuilder

      public Partition.TemporalPartition.Builder addTemporalPartitionsBuilder(int index)
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;
    • getTemporalPartitionsBuilderList

      public List<Partition.TemporalPartition.Builder> getTemporalPartitionsBuilderList()
       A list of temporal partitions of the content returned in the order they
       appear in the stream.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;