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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
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