Class ListEventsResponse.Builder

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

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

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

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

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

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

      public ListEventsResponse.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<ListEventsResponse.Builder>
      Throws:
      IOException
    • getEventsList

      public List<Event> getEventsList()
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
      Specified by:
      getEventsList in interface ListEventsResponseOrBuilder
    • getEventsCount

      public int getEventsCount()
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
      Specified by:
      getEventsCount in interface ListEventsResponseOrBuilder
    • getEvents

      public Event getEvents(int index)
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
      Specified by:
      getEvents in interface ListEventsResponseOrBuilder
    • setEvents

      public ListEventsResponse.Builder setEvents(int index, Event value)
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
    • setEvents

      public ListEventsResponse.Builder setEvents(int index, Event.Builder builderForValue)
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
    • addEvents

      public ListEventsResponse.Builder addEvents(Event value)
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
    • addEvents

      public ListEventsResponse.Builder addEvents(int index, Event value)
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
    • addEvents

      public ListEventsResponse.Builder addEvents(Event.Builder builderForValue)
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
    • addEvents

      public ListEventsResponse.Builder addEvents(int index, Event.Builder builderForValue)
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
    • addAllEvents

      public ListEventsResponse.Builder addAllEvents(Iterable<? extends Event> values)
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
    • clearEvents

      public ListEventsResponse.Builder clearEvents()
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
    • removeEvents

      public ListEventsResponse.Builder removeEvents(int index)
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
    • getEventsBuilder

      public Event.Builder getEventsBuilder(int index)
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
    • getEventsOrBuilder

      public EventOrBuilder getEventsOrBuilder(int index)
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
      Specified by:
      getEventsOrBuilder in interface ListEventsResponseOrBuilder
    • getEventsOrBuilderList

      public List<? extends EventOrBuilder> getEventsOrBuilderList()
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
      Specified by:
      getEventsOrBuilderList in interface ListEventsResponseOrBuilder
    • addEventsBuilder

      public Event.Builder addEventsBuilder()
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
    • addEventsBuilder

      public Event.Builder addEventsBuilder(int index)
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
    • getEventsBuilderList

      public List<Event.Builder> getEventsBuilderList()
       A list of events.
       
      repeated .google.cloud.video.livestream.v1.Event events = 1;
    • getNextPageToken

      public String getNextPageToken()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListEventsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListEventsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListEventsResponse.Builder setNextPageToken(String value)
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListEventsResponse.Builder clearNextPageToken()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListEventsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      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 ListEventsResponseOrBuilder
      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 ListEventsResponseOrBuilder
      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 ListEventsResponseOrBuilder
      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 ListEventsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListEventsResponse.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 ListEventsResponse.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 ListEventsResponse.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 ListEventsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListEventsResponse.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.