Send feedback
Class CreateConversationModelRequest.Builder (4.7.4)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.4 keyboard_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
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateConversationModelRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public CreateConversationModelRequest build ()
Returns
buildPartial()
public CreateConversationModelRequest buildPartial ()
Returns
clear()
public CreateConversationModelRequest . Builder clear ()
Returns
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];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateConversationModelRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateConversationModelRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearParent()
public CreateConversationModelRequest . Builder clearParent ()
The project to create conversation model for. Format:
projects/<Project ID>
string parent = 1;
Returns
clone()
public CreateConversationModelRequest . Builder clone ()
Returns
Overrides
getConversationModel()
public ConversationModel getConversationModel ()
Required. The conversation model to create.
.google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getConversationModelBuilder()
public ConversationModel . Builder getConversationModelBuilder ()
Required. The conversation model to create.
.google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getConversationModelOrBuilder()
public ConversationModelOrBuilder getConversationModelOrBuilder ()
Required. The conversation model to create.
.google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateConversationModelRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
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];
Parameter
Returns
mergeFrom(CreateConversationModelRequest other)
public CreateConversationModelRequest . Builder mergeFrom ( CreateConversationModelRequest other )
Parameter
Returns
public CreateConversationModelRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateConversationModelRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationModelRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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];
Parameter
Returns
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];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateConversationModelRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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 value String
The parent to set.
Returns
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 value ByteString
The bytes for parent to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateConversationModelRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationModelRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
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-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]