Class ListViewsResponse.Builder

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

public static final class ListViewsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListViewsResponse.Builder> implements ListViewsResponseOrBuilder
 The response of listing views.
 
Protobuf type google.cloud.contactcenterinsights.v1.ListViewsResponse
  • 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<ListViewsResponse.Builder>
    • clear

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

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

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

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

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

      public ListViewsResponse.Builder mergeFrom(ListViewsResponse other)
    • isInitialized

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

      public ListViewsResponse.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<ListViewsResponse.Builder>
      Throws:
      IOException
    • getViewsList

      public List<View> getViewsList()
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
      Specified by:
      getViewsList in interface ListViewsResponseOrBuilder
    • getViewsCount

      public int getViewsCount()
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
      Specified by:
      getViewsCount in interface ListViewsResponseOrBuilder
    • getViews

      public View getViews(int index)
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
      Specified by:
      getViews in interface ListViewsResponseOrBuilder
    • setViews

      public ListViewsResponse.Builder setViews(int index, View value)
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
    • setViews

      public ListViewsResponse.Builder setViews(int index, View.Builder builderForValue)
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
    • addViews

      public ListViewsResponse.Builder addViews(View value)
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
    • addViews

      public ListViewsResponse.Builder addViews(int index, View value)
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
    • addViews

      public ListViewsResponse.Builder addViews(View.Builder builderForValue)
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
    • addViews

      public ListViewsResponse.Builder addViews(int index, View.Builder builderForValue)
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
    • addAllViews

      public ListViewsResponse.Builder addAllViews(Iterable<? extends View> values)
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
    • clearViews

      public ListViewsResponse.Builder clearViews()
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
    • removeViews

      public ListViewsResponse.Builder removeViews(int index)
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
    • getViewsBuilder

      public View.Builder getViewsBuilder(int index)
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
    • getViewsOrBuilder

      public ViewOrBuilder getViewsOrBuilder(int index)
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
      Specified by:
      getViewsOrBuilder in interface ListViewsResponseOrBuilder
    • getViewsOrBuilderList

      public List<? extends ViewOrBuilder> getViewsOrBuilderList()
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
      Specified by:
      getViewsOrBuilderList in interface ListViewsResponseOrBuilder
    • addViewsBuilder

      public View.Builder addViewsBuilder()
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
    • addViewsBuilder

      public View.Builder addViewsBuilder(int index)
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
    • getViewsBuilderList

      public List<View.Builder> getViewsBuilderList()
       The views that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.View views = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListViewsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListViewsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListViewsResponse.Builder setNextPageToken(String value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListViewsResponse.Builder clearNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListViewsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.