Class CreateConversationModelEvaluationRequest.Builder (4.7.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateConversationModelEvaluationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateConversationModelEvaluationRequest.Builder
Overrides

build()

public CreateConversationModelEvaluationRequest build()
Returns
TypeDescription
CreateConversationModelEvaluationRequest

buildPartial()

public CreateConversationModelEvaluationRequest buildPartial()
Returns
TypeDescription
CreateConversationModelEvaluationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CreateConversationModelEvaluationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateConversationModelEvaluationRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateConversationModelEvaluationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateConversationModelEvaluationRequest.Builder

This builder for chaining.

clone()

public CreateConversationModelEvaluationRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ConversationModelEvaluationOrBuilder

getDefaultInstanceForType()

public CreateConversationModelEvaluationRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateConversationModelEvaluationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the conversationModelEvaluation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueConversationModelEvaluation
Returns
TypeDescription
CreateConversationModelEvaluationRequest.Builder

mergeFrom(CreateConversationModelEvaluationRequest other)

public CreateConversationModelEvaluationRequest.Builder mergeFrom(CreateConversationModelEvaluationRequest other)
Parameter
NameDescription
otherCreateConversationModelEvaluationRequest
Returns
TypeDescription
CreateConversationModelEvaluationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateConversationModelEvaluationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationModelEvaluationRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateConversationModelEvaluationRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateConversationModelEvaluationRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateConversationModelEvaluationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueConversationModelEvaluation
Returns
TypeDescription
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
NameDescription
builderForValueConversationModelEvaluation.Builder
Returns
TypeDescription
CreateConversationModelEvaluationRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateConversationModelEvaluationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateConversationModelEvaluationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateConversationModelEvaluationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateConversationModelEvaluationRequest.Builder
Overrides