Class CreateConversationProfileRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateConversationProfileRequest.Builder>
com.google.cloud.dialogflow.v2.CreateConversationProfileRequest.Builder
All Implemented Interfaces:
CreateConversationProfileRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateConversationProfileRequest

public static final class CreateConversationProfileRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateConversationProfileRequest.Builder> implements CreateConversationProfileRequestOrBuilder
 The request message for
 [ConversationProfiles.CreateConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.CreateConversationProfile].
 
Protobuf type google.cloud.dialogflow.v2.CreateConversationProfileRequest
  • 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<CreateConversationProfileRequest.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<CreateConversationProfileRequest.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<CreateConversationProfileRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

      public String getParent()
       Required. The project to create a conversation profile for.
       Format: `projects/<Project ID>/locations/<Location ID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateConversationProfileRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The project to create a conversation profile for.
       Format: `projects/<Project ID>/locations/<Location ID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateConversationProfileRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The project to create a conversation profile for.
       Format: `projects/<Project ID>/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

       Required. The project to create a conversation profile for.
       Format: `projects/<Project ID>/locations/<Location ID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateConversationProfileRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The project to create a conversation profile for.
       Format: `projects/<Project ID>/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.
    • hasConversationProfile

      public boolean hasConversationProfile()
       Required. The conversation profile to create.
       
      .google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasConversationProfile in interface CreateConversationProfileRequestOrBuilder
      Returns:
      Whether the conversationProfile field is set.
    • getConversationProfile

      public ConversationProfile getConversationProfile()
       Required. The conversation profile to create.
       
      .google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getConversationProfile in interface CreateConversationProfileRequestOrBuilder
      Returns:
      The conversationProfile.
    • setConversationProfile

      public CreateConversationProfileRequest.Builder setConversationProfile(ConversationProfile value)
       Required. The conversation profile to create.
       
      .google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
    • setConversationProfile

      public CreateConversationProfileRequest.Builder setConversationProfile(ConversationProfile.Builder builderForValue)
       Required. The conversation profile to create.
       
      .google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeConversationProfile

      public CreateConversationProfileRequest.Builder mergeConversationProfile(ConversationProfile value)
       Required. The conversation profile to create.
       
      .google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearConversationProfile

      public CreateConversationProfileRequest.Builder clearConversationProfile()
       Required. The conversation profile to create.
       
      .google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
    • getConversationProfileBuilder

      public ConversationProfile.Builder getConversationProfileBuilder()
       Required. The conversation profile to create.
       
      .google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
    • getConversationProfileOrBuilder

      public ConversationProfileOrBuilder getConversationProfileOrBuilder()
       Required. The conversation profile to create.
       
      .google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getConversationProfileOrBuilder in interface CreateConversationProfileRequestOrBuilder