Class ListDvrSessionsResponse.Builder

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

public static final class ListDvrSessionsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListDvrSessionsResponse.Builder> implements ListDvrSessionsResponseOrBuilder
 Response message for "LivestreamService.ListDvrSessions".
 
Protobuf type google.cloud.video.livestream.v1.ListDvrSessionsResponse
  • 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<ListDvrSessionsResponse.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<ListDvrSessionsResponse.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<ListDvrSessionsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListDvrSessionsResponse.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<ListDvrSessionsResponse.Builder>
      Throws:
      IOException
    • getDvrSessionsList

      public List<DvrSession> getDvrSessionsList()
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
      Specified by:
      getDvrSessionsList in interface ListDvrSessionsResponseOrBuilder
    • getDvrSessionsCount

      public int getDvrSessionsCount()
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
      Specified by:
      getDvrSessionsCount in interface ListDvrSessionsResponseOrBuilder
    • getDvrSessions

      public DvrSession getDvrSessions(int index)
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
      Specified by:
      getDvrSessions in interface ListDvrSessionsResponseOrBuilder
    • setDvrSessions

      public ListDvrSessionsResponse.Builder setDvrSessions(int index, DvrSession value)
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
    • setDvrSessions

      public ListDvrSessionsResponse.Builder setDvrSessions(int index, DvrSession.Builder builderForValue)
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
    • addDvrSessions

      public ListDvrSessionsResponse.Builder addDvrSessions(DvrSession value)
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
    • addDvrSessions

      public ListDvrSessionsResponse.Builder addDvrSessions(int index, DvrSession value)
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
    • addDvrSessions

      public ListDvrSessionsResponse.Builder addDvrSessions(DvrSession.Builder builderForValue)
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
    • addDvrSessions

      public ListDvrSessionsResponse.Builder addDvrSessions(int index, DvrSession.Builder builderForValue)
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
    • addAllDvrSessions

      public ListDvrSessionsResponse.Builder addAllDvrSessions(Iterable<? extends DvrSession> values)
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
    • clearDvrSessions

      public ListDvrSessionsResponse.Builder clearDvrSessions()
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
    • removeDvrSessions

      public ListDvrSessionsResponse.Builder removeDvrSessions(int index)
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
    • getDvrSessionsBuilder

      public DvrSession.Builder getDvrSessionsBuilder(int index)
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
    • getDvrSessionsOrBuilder

      public DvrSessionOrBuilder getDvrSessionsOrBuilder(int index)
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
      Specified by:
      getDvrSessionsOrBuilder in interface ListDvrSessionsResponseOrBuilder
    • getDvrSessionsOrBuilderList

      public List<? extends DvrSessionOrBuilder> getDvrSessionsOrBuilderList()
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
      Specified by:
      getDvrSessionsOrBuilderList in interface ListDvrSessionsResponseOrBuilder
    • addDvrSessionsBuilder

      public DvrSession.Builder addDvrSessionsBuilder()
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
    • addDvrSessionsBuilder

      public DvrSession.Builder addDvrSessionsBuilder(int index)
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
    • getDvrSessionsBuilderList

      public List<DvrSession.Builder> getDvrSessionsBuilderList()
       The list of DVR sessions
       
      repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListDvrSessionsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListDvrSessionsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListDvrSessionsResponse.Builder setNextPageToken(String value)
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListDvrSessionsResponse.Builder clearNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListDvrSessionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListDvrSessionsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListDvrSessionsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListDvrSessionsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListDvrSessionsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListDvrSessionsResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListDvrSessionsResponse.Builder addUnreachable(String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListDvrSessionsResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListDvrSessionsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListDvrSessionsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.