Class ListAnalysisRulesResponse.Builder

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

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

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

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

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

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

      public ListAnalysisRulesResponse.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<ListAnalysisRulesResponse.Builder>
      Throws:
      IOException
    • getAnalysisRulesList

      public List<AnalysisRule> getAnalysisRulesList()
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
      Specified by:
      getAnalysisRulesList in interface ListAnalysisRulesResponseOrBuilder
    • getAnalysisRulesCount

      public int getAnalysisRulesCount()
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
      Specified by:
      getAnalysisRulesCount in interface ListAnalysisRulesResponseOrBuilder
    • getAnalysisRules

      public AnalysisRule getAnalysisRules(int index)
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
      Specified by:
      getAnalysisRules in interface ListAnalysisRulesResponseOrBuilder
    • setAnalysisRules

      public ListAnalysisRulesResponse.Builder setAnalysisRules(int index, AnalysisRule value)
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
    • setAnalysisRules

      public ListAnalysisRulesResponse.Builder setAnalysisRules(int index, AnalysisRule.Builder builderForValue)
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
    • addAnalysisRules

      public ListAnalysisRulesResponse.Builder addAnalysisRules(AnalysisRule value)
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
    • addAnalysisRules

      public ListAnalysisRulesResponse.Builder addAnalysisRules(int index, AnalysisRule value)
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
    • addAnalysisRules

      public ListAnalysisRulesResponse.Builder addAnalysisRules(AnalysisRule.Builder builderForValue)
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
    • addAnalysisRules

      public ListAnalysisRulesResponse.Builder addAnalysisRules(int index, AnalysisRule.Builder builderForValue)
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
    • addAllAnalysisRules

      public ListAnalysisRulesResponse.Builder addAllAnalysisRules(Iterable<? extends AnalysisRule> values)
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
    • clearAnalysisRules

      public ListAnalysisRulesResponse.Builder clearAnalysisRules()
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
    • removeAnalysisRules

      public ListAnalysisRulesResponse.Builder removeAnalysisRules(int index)
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
    • getAnalysisRulesBuilder

      public AnalysisRule.Builder getAnalysisRulesBuilder(int index)
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
    • getAnalysisRulesOrBuilder

      public AnalysisRuleOrBuilder getAnalysisRulesOrBuilder(int index)
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
      Specified by:
      getAnalysisRulesOrBuilder in interface ListAnalysisRulesResponseOrBuilder
    • getAnalysisRulesOrBuilderList

      public List<? extends AnalysisRuleOrBuilder> getAnalysisRulesOrBuilderList()
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
      Specified by:
      getAnalysisRulesOrBuilderList in interface ListAnalysisRulesResponseOrBuilder
    • addAnalysisRulesBuilder

      public AnalysisRule.Builder addAnalysisRulesBuilder()
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
    • addAnalysisRulesBuilder

      public AnalysisRule.Builder addAnalysisRulesBuilder(int index)
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;
    • getAnalysisRulesBuilderList

      public List<AnalysisRule.Builder> getAnalysisRulesBuilderList()
       The analysis_rule that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 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 ListAnalysisRulesResponseOrBuilder
      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 ListAnalysisRulesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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