Class ListPhraseMatchersRequest.Builder

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

public static final class ListPhraseMatchersRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListPhraseMatchersRequest.Builder> implements ListPhraseMatchersRequestOrBuilder
 Request to list phrase matchers.
 
Protobuf type google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest
  • 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<ListPhraseMatchersRequest.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<ListPhraseMatchersRequest.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<ListPhraseMatchersRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListPhraseMatchersRequest.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<ListPhraseMatchersRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The parent resource of the phrase matcher.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ListPhraseMatchersRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource of the phrase matcher.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ListPhraseMatchersRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ListPhraseMatchersRequest.Builder setParent(String value)
       Required. The parent resource of the phrase matcher.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public ListPhraseMatchersRequest.Builder clearParent()
       Required. The parent resource of the phrase matcher.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ListPhraseMatchersRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource of the phrase matcher.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       The maximum number of phrase matchers to return in the response. If this
       value is zero, the service will select a default size. A call might return
       fewer objects than requested. A non-empty `next_page_token` in the response
       indicates that more data is available.
       
      int32 page_size = 2;
      Specified by:
      getPageSize in interface ListPhraseMatchersRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListPhraseMatchersRequest.Builder setPageSize(int value)
       The maximum number of phrase matchers to return in the response. If this
       value is zero, the service will select a default size. A call might return
       fewer objects than requested. A non-empty `next_page_token` in the response
       indicates that more data is available.
       
      int32 page_size = 2;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListPhraseMatchersRequest.Builder clearPageSize()
       The maximum number of phrase matchers to return in the response. If this
       value is zero, the service will select a default size. A call might return
       fewer objects than requested. A non-empty `next_page_token` in the response
       indicates that more data is available.
       
      int32 page_size = 2;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       The value returned by the last `ListPhraseMatchersResponse`. This value
       indicates that this is a continuation of a prior `ListPhraseMatchers` call
       and that the system should return the next page of data.
       
      string page_token = 3;
      Specified by:
      getPageToken in interface ListPhraseMatchersRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       The value returned by the last `ListPhraseMatchersResponse`. This value
       indicates that this is a continuation of a prior `ListPhraseMatchers` call
       and that the system should return the next page of data.
       
      string page_token = 3;
      Specified by:
      getPageTokenBytes in interface ListPhraseMatchersRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListPhraseMatchersRequest.Builder setPageToken(String value)
       The value returned by the last `ListPhraseMatchersResponse`. This value
       indicates that this is a continuation of a prior `ListPhraseMatchers` call
       and that the system should return the next page of data.
       
      string page_token = 3;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListPhraseMatchersRequest.Builder clearPageToken()
       The value returned by the last `ListPhraseMatchersResponse`. This value
       indicates that this is a continuation of a prior `ListPhraseMatchers` call
       and that the system should return the next page of data.
       
      string page_token = 3;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListPhraseMatchersRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       The value returned by the last `ListPhraseMatchersResponse`. This value
       indicates that this is a continuation of a prior `ListPhraseMatchers` call
       and that the system should return the next page of data.
       
      string page_token = 3;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getFilter

      public String getFilter()
       A filter to reduce results to a specific subset. Useful for querying
       phrase matchers with specific properties.
       
      string filter = 4;
      Specified by:
      getFilter in interface ListPhraseMatchersRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       A filter to reduce results to a specific subset. Useful for querying
       phrase matchers with specific properties.
       
      string filter = 4;
      Specified by:
      getFilterBytes in interface ListPhraseMatchersRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public ListPhraseMatchersRequest.Builder setFilter(String value)
       A filter to reduce results to a specific subset. Useful for querying
       phrase matchers with specific properties.
       
      string filter = 4;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListPhraseMatchersRequest.Builder clearFilter()
       A filter to reduce results to a specific subset. Useful for querying
       phrase matchers with specific properties.
       
      string filter = 4;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListPhraseMatchersRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       A filter to reduce results to a specific subset. Useful for querying
       phrase matchers with specific properties.
       
      string filter = 4;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.