Send feedback
Class CreateConversationModelEvaluationRequest.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 CreateConversationModelEvaluationRequest . Builder extends GeneratedMessageV3 . Builder<CreateConversationModelEvaluationRequest . Builder > implements CreateConversationModelEvaluationRequestOrBuilder
The request message for
ConversationModels.CreateConversationModelEvaluation
Protobuf type google.cloud.dialogflow.v2.CreateConversationModelEvaluationRequest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateConversationModelEvaluationRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public CreateConversationModelEvaluationRequest build ()
Returns
buildPartial()
public CreateConversationModelEvaluationRequest buildPartial ()
Returns
clear()
public CreateConversationModelEvaluationRequest . Builder clear ()
Returns
Overrides
clearConversationModelEvaluation()
public CreateConversationModelEvaluationRequest . Builder clearConversationModelEvaluation ()
Required. The conversation model evaluation to be created.
.google.cloud.dialogflow.v2.ConversationModelEvaluation conversation_model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateConversationModelEvaluationRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateConversationModelEvaluationRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearParent()
public CreateConversationModelEvaluationRequest . Builder clearParent ()
Required. The conversation model resource name. Format:
projects/<Project ID>/locations/<Location
ID>/conversationModels/<Conversation Model ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public CreateConversationModelEvaluationRequest . Builder clone ()
Returns
Overrides
getConversationModelEvaluation()
public ConversationModelEvaluation getConversationModelEvaluation ()
Required. The conversation model evaluation to be created.
.google.cloud.dialogflow.v2.ConversationModelEvaluation conversation_model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getConversationModelEvaluationBuilder()
public ConversationModelEvaluation . Builder getConversationModelEvaluationBuilder ()
Required. The conversation model evaluation to be created.
.google.cloud.dialogflow.v2.ConversationModelEvaluation conversation_model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getConversationModelEvaluationOrBuilder()
public ConversationModelEvaluationOrBuilder getConversationModelEvaluationOrBuilder ()
Required. The conversation model evaluation to be created.
.google.cloud.dialogflow.v2.ConversationModelEvaluation conversation_model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateConversationModelEvaluationRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getParent()
public String getParent ()
Required. The conversation model resource name. Format:
projects/<Project ID>/locations/<Location
ID>/conversationModels/<Conversation Model ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type Description String The parent.
getParentBytes()
public ByteString getParentBytes ()
Required. The conversation model resource name. Format:
projects/<Project ID>/locations/<Location
ID>/conversationModels/<Conversation Model ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
hasConversationModelEvaluation()
public boolean hasConversationModelEvaluation ()
Required. The conversation model evaluation to be created.
.google.cloud.dialogflow.v2.ConversationModelEvaluation conversation_model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the conversationModelEvaluation field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeConversationModelEvaluation(ConversationModelEvaluation value)
public CreateConversationModelEvaluationRequest . Builder mergeConversationModelEvaluation ( ConversationModelEvaluation value )
Required. The conversation model evaluation to be created.
.google.cloud.dialogflow.v2.ConversationModelEvaluation conversation_model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(CreateConversationModelEvaluationRequest other)
public CreateConversationModelEvaluationRequest . Builder mergeFrom ( CreateConversationModelEvaluationRequest other )
Parameter
Returns
public CreateConversationModelEvaluationRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateConversationModelEvaluationRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationModelEvaluationRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setConversationModelEvaluation(ConversationModelEvaluation value)
public CreateConversationModelEvaluationRequest . Builder setConversationModelEvaluation ( ConversationModelEvaluation value )
Required. The conversation model evaluation to be created.
.google.cloud.dialogflow.v2.ConversationModelEvaluation conversation_model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setConversationModelEvaluation(ConversationModelEvaluation.Builder builderForValue)
public CreateConversationModelEvaluationRequest . Builder setConversationModelEvaluation ( ConversationModelEvaluation . Builder builderForValue )
Required. The conversation model evaluation to be created.
.google.cloud.dialogflow.v2.ConversationModelEvaluation conversation_model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateConversationModelEvaluationRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setParent(String value)
public CreateConversationModelEvaluationRequest . Builder setParent ( String value )
Required. The conversation model resource name. Format:
projects/<Project ID>/locations/<Location
ID>/conversationModels/<Conversation Model ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name Description value String
The parent to set.
Returns
setParentBytes(ByteString value)
public CreateConversationModelEvaluationRequest . Builder setParentBytes ( ByteString value )
Required. The conversation model resource name. Format:
projects/<Project ID>/locations/<Location
ID>/conversationModels/<Conversation Model ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name Description value ByteString
The bytes for parent to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateConversationModelEvaluationRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationModelEvaluationRequest . 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."],[],[]]