Class ShowFeedResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ShowFeedResponse.Builder>
com.google.cloud.support.v2beta.ShowFeedResponse.Builder
All Implemented Interfaces:
ShowFeedResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ShowFeedResponse

public static final class ShowFeedResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ShowFeedResponse.Builder> implements ShowFeedResponseOrBuilder
 The response message for the ShowFeed endpoint.
 
Protobuf type google.cloud.support.v2beta.ShowFeedResponse
  • 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<ShowFeedResponse.Builder>
    • clear

      public ShowFeedResponse.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<ShowFeedResponse.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<ShowFeedResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ShowFeedResponse.Builder mergeFrom(ShowFeedResponse other)
    • isInitialized

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

      public ShowFeedResponse.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<ShowFeedResponse.Builder>
      Throws:
      IOException
    • getFeedItemsList

      public List<FeedItem> getFeedItemsList()
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
      Specified by:
      getFeedItemsList in interface ShowFeedResponseOrBuilder
    • getFeedItemsCount

      public int getFeedItemsCount()
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
      Specified by:
      getFeedItemsCount in interface ShowFeedResponseOrBuilder
    • getFeedItems

      public FeedItem getFeedItems(int index)
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
      Specified by:
      getFeedItems in interface ShowFeedResponseOrBuilder
    • setFeedItems

      public ShowFeedResponse.Builder setFeedItems(int index, FeedItem value)
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
    • setFeedItems

      public ShowFeedResponse.Builder setFeedItems(int index, FeedItem.Builder builderForValue)
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
    • addFeedItems

      public ShowFeedResponse.Builder addFeedItems(FeedItem value)
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
    • addFeedItems

      public ShowFeedResponse.Builder addFeedItems(int index, FeedItem value)
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
    • addFeedItems

      public ShowFeedResponse.Builder addFeedItems(FeedItem.Builder builderForValue)
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
    • addFeedItems

      public ShowFeedResponse.Builder addFeedItems(int index, FeedItem.Builder builderForValue)
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
    • addAllFeedItems

      public ShowFeedResponse.Builder addAllFeedItems(Iterable<? extends FeedItem> values)
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
    • clearFeedItems

      public ShowFeedResponse.Builder clearFeedItems()
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
    • removeFeedItems

      public ShowFeedResponse.Builder removeFeedItems(int index)
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
    • getFeedItemsBuilder

      public FeedItem.Builder getFeedItemsBuilder(int index)
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
    • getFeedItemsOrBuilder

      public FeedItemOrBuilder getFeedItemsOrBuilder(int index)
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
      Specified by:
      getFeedItemsOrBuilder in interface ShowFeedResponseOrBuilder
    • getFeedItemsOrBuilderList

      public List<? extends FeedItemOrBuilder> getFeedItemsOrBuilderList()
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
      Specified by:
      getFeedItemsOrBuilderList in interface ShowFeedResponseOrBuilder
    • addFeedItemsBuilder

      public FeedItem.Builder addFeedItemsBuilder()
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
    • addFeedItemsBuilder

      public FeedItem.Builder addFeedItemsBuilder(int index)
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
    • getFeedItemsBuilderList

      public List<FeedItem.Builder> getFeedItemsBuilderList()
       The list of feed items associated with the given Case.
       
      repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve the next page of results. This should be set in the
       `page_token` field of subsequent `ShowFeedRequests`.
       If unspecified, there are no more results to retrieve.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ShowFeedResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve the next page of results. This should be set in the
       `page_token` field of subsequent `ShowFeedRequests`.
       If unspecified, there are no more results to retrieve.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ShowFeedResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ShowFeedResponse.Builder setNextPageToken(String value)
       A token to retrieve the next page of results. This should be set in the
       `page_token` field of subsequent `ShowFeedRequests`.
       If unspecified, there are no more results to retrieve.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ShowFeedResponse.Builder clearNextPageToken()
       A token to retrieve the next page of results. This should be set in the
       `page_token` field of subsequent `ShowFeedRequests`.
       If unspecified, there are no more results to retrieve.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ShowFeedResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve the next page of results. This should be set in the
       `page_token` field of subsequent `ShowFeedRequests`.
       If unspecified, there are no more results to retrieve.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.