Class CreateConversationModelRequest.Builder (4.54.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 4.54.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  CreateConversationModelRequest . Builder   extends   GeneratedMessageV3 . Builder<CreateConversationModelRequest . Builder >  implements   CreateConversationModelRequestOrBuilder  
   The request message for
 ConversationModels.CreateConversationModel 
 Protobuf type google.cloud.dialogflow.v2.CreateConversationModelRequest
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   CreateConversationModelRequest . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   CreateConversationModelRequest   build ()  
  
  buildPartial() 
  
    
public   CreateConversationModelRequest   buildPartial ()  
  
  clear() 
  
    
public   CreateConversationModelRequest . Builder   clear ()  
  
  Overrides 
  
  clearConversationModel() 
  
    
public   CreateConversationModelRequest . Builder   clearConversationModel ()  
   Required. The conversation model to create.
 
 .google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
 
clearField(Descriptors.FieldDescriptor field) 
  
    
public   CreateConversationModelRequest . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   CreateConversationModelRequest . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearParent() 
  
    
public   CreateConversationModelRequest . Builder   clearParent ()  
   The project to create conversation model for. Format:
 projects/<Project ID>
 string parent = 1;
clone() 
  
    
public   CreateConversationModelRequest . Builder   clone ()  
  
  Overrides 
  
  getConversationModel() 
  
    
public   ConversationModel   getConversationModel ()  
   Required. The conversation model to create.
 
 .google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
 
getConversationModelBuilder() 
  
    
public   ConversationModel . Builder   getConversationModelBuilder ()  
   Required. The conversation model to create.
 
 .google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
 
getConversationModelOrBuilder() 
  
    
public   ConversationModelOrBuilder   getConversationModelOrBuilder ()  
   Required. The conversation model to create.
 
 .google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
 
getDefaultInstanceForType() 
  
    
public   CreateConversationModelRequest   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getParent() 
  
    
public   String   getParent ()  
   The project to create conversation model for. Format:
 projects/<Project ID>
 string parent = 1;
    
      
        Returns  
      
        Type Description  
      
        String The parent.
 
     
  
  getParentBytes() 
  
    
public   ByteString   getParentBytes ()  
   The project to create conversation model for. Format:
 projects/<Project ID>
 string parent = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for parent.
 
     
  
  hasConversationModel() 
  
    
public   boolean   hasConversationModel ()  
   Required. The conversation model to create.
 
 .google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the conversationModel field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeConversationModel(ConversationModel value) 
  
    
public   CreateConversationModelRequest . Builder   mergeConversationModel ( ConversationModel   value )  
   Required. The conversation model to create.
 
 .google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
 
mergeFrom(CreateConversationModelRequest other) 
  
    
public   CreateConversationModelRequest . Builder   mergeFrom ( CreateConversationModelRequest   other )  
  
  
  
    
public   CreateConversationModelRequest . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   CreateConversationModelRequest . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   CreateConversationModelRequest . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setConversationModel(ConversationModel value) 
  
    
public   CreateConversationModelRequest . Builder   setConversationModel ( ConversationModel   value )  
   Required. The conversation model to create.
 
 .google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
 
setConversationModel(ConversationModel.Builder builderForValue) 
  
    
public   CreateConversationModelRequest . Builder   setConversationModel ( ConversationModel . Builder   builderForValue )  
   Required. The conversation model to create.
 
 .google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
 
setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   CreateConversationModelRequest . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setParent(String value) 
  
    
public   CreateConversationModelRequest . Builder   setParent ( String   value )  
   The project to create conversation model for. Format:
 projects/<Project ID>
 string parent = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueString The parent to set.
 
     
  
  
  setParentBytes(ByteString value) 
  
    
public   CreateConversationModelRequest . Builder   setParentBytes ( ByteString   value )  
   The project to create conversation model for. Format:
 projects/<Project ID>
 string parent = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for parent to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   CreateConversationModelRequest . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   CreateConversationModelRequest . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]