Class CreatePhraseMatcherRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreatePhraseMatcherRequest.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.GeneratedMessageV3.Builder<CreatePhraseMatcherRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

        public String getParent()
         Required. The parent resource of the phrase matcher. Required. The location
         to create a phrase matcher for. Format: `projects/<Project
         ID>/locations/<Location ID>` or `projects/<Project
         Number>/locations/<Location ID>`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreatePhraseMatcherRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The parent resource of the phrase matcher. Required. The location
         to create a phrase matcher for. Format: `projects/<Project
         ID>/locations/<Location ID>` or `projects/<Project
         Number>/locations/<Location ID>`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreatePhraseMatcherRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreatePhraseMatcherRequest.Builder setParent​(String value)
         Required. The parent resource of the phrase matcher. Required. The location
         to create a phrase matcher for. Format: `projects/<Project
         ID>/locations/<Location ID>` or `projects/<Project
         Number>/locations/<Location ID>`
         
        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 CreatePhraseMatcherRequest.Builder clearParent()
         Required. The parent resource of the phrase matcher. Required. The location
         to create a phrase matcher for. Format: `projects/<Project
         ID>/locations/<Location ID>` or `projects/<Project
         Number>/locations/<Location ID>`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreatePhraseMatcherRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The parent resource of the phrase matcher. Required. The location
         to create a phrase matcher for. Format: `projects/<Project
         ID>/locations/<Location ID>` or `projects/<Project
         Number>/locations/<Location ID>`
         
        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.
      • hasPhraseMatcher

        public boolean hasPhraseMatcher()
         Required. The phrase matcher resource to create.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasPhraseMatcher in interface CreatePhraseMatcherRequestOrBuilder
        Returns:
        Whether the phraseMatcher field is set.
      • getPhraseMatcher

        public PhraseMatcher getPhraseMatcher()
         Required. The phrase matcher resource to create.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPhraseMatcher in interface CreatePhraseMatcherRequestOrBuilder
        Returns:
        The phraseMatcher.
      • setPhraseMatcher

        public CreatePhraseMatcherRequest.Builder setPhraseMatcher​(PhraseMatcher value)
         Required. The phrase matcher resource to create.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED];
      • setPhraseMatcher

        public CreatePhraseMatcherRequest.Builder setPhraseMatcher​(PhraseMatcher.Builder builderForValue)
         Required. The phrase matcher resource to create.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergePhraseMatcher

        public CreatePhraseMatcherRequest.Builder mergePhraseMatcher​(PhraseMatcher value)
         Required. The phrase matcher resource to create.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearPhraseMatcher

        public CreatePhraseMatcherRequest.Builder clearPhraseMatcher()
         Required. The phrase matcher resource to create.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED];
      • getPhraseMatcherBuilder

        public PhraseMatcher.Builder getPhraseMatcherBuilder()
         Required. The phrase matcher resource to create.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED];
      • setUnknownFields

        public final CreatePhraseMatcherRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreatePhraseMatcherRequest.Builder>
      • mergeUnknownFields

        public final CreatePhraseMatcherRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreatePhraseMatcherRequest.Builder>