Class CreateConversationModelEvaluationRequest.Builder (4.51.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateConversationModelEvaluationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateConversationModelEvaluationRequest.Builder
Overrides

build()

public CreateConversationModelEvaluationRequest build()
Returns
Type Description
CreateConversationModelEvaluationRequest

buildPartial()

public CreateConversationModelEvaluationRequest buildPartial()
Returns
Type Description
CreateConversationModelEvaluationRequest

clear()

public CreateConversationModelEvaluationRequest.Builder clear()
Returns
Type Description
CreateConversationModelEvaluationRequest.Builder
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
Type Description
CreateConversationModelEvaluationRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateConversationModelEvaluationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateConversationModelEvaluationRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateConversationModelEvaluationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateConversationModelEvaluationRequest.Builder
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
Type Description
CreateConversationModelEvaluationRequest.Builder

This builder for chaining.

clone()

public CreateConversationModelEvaluationRequest.Builder clone()
Returns
Type Description
CreateConversationModelEvaluationRequest.Builder
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
Type Description
ConversationModelEvaluation

The conversationModelEvaluation.

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
Type Description
ConversationModelEvaluation.Builder

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
Type Description
ConversationModelEvaluationOrBuilder

getDefaultInstanceForType()

public CreateConversationModelEvaluationRequest getDefaultInstanceForType()
Returns
Type Description
CreateConversationModelEvaluationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
ByteString

The bytes for parent.

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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
Name Description
value ConversationModelEvaluation
Returns
Type Description
CreateConversationModelEvaluationRequest.Builder

mergeFrom(CreateConversationModelEvaluationRequest other)

public CreateConversationModelEvaluationRequest.Builder mergeFrom(CreateConversationModelEvaluationRequest other)
Parameter
Name Description
other CreateConversationModelEvaluationRequest
Returns
Type Description
CreateConversationModelEvaluationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateConversationModelEvaluationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateConversationModelEvaluationRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateConversationModelEvaluationRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateConversationModelEvaluationRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateConversationModelEvaluationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateConversationModelEvaluationRequest.Builder
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
Name Description
value ConversationModelEvaluation
Returns
Type Description
CreateConversationModelEvaluationRequest.Builder

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
Name Description
builderForValue ConversationModelEvaluation.Builder
Returns
Type Description
CreateConversationModelEvaluationRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateConversationModelEvaluationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateConversationModelEvaluationRequest.Builder
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
Type Description
CreateConversationModelEvaluationRequest.Builder

This builder for chaining.

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
Type Description
CreateConversationModelEvaluationRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateConversationModelEvaluationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateConversationModelEvaluationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateConversationModelEvaluationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateConversationModelEvaluationRequest.Builder
Overrides