Class GetConversationModelEvaluationRequest.Builder (4.52.0)

public static final class GetConversationModelEvaluationRequest.Builder extends GeneratedMessageV3.Builder<GetConversationModelEvaluationRequest.Builder> implements GetConversationModelEvaluationRequestOrBuilder

The request message for ConversationModels.GetConversationModelEvaluation

Protobuf type google.cloud.dialogflow.v2.GetConversationModelEvaluationRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetConversationModelEvaluationRequest build()
Returns
Type Description
GetConversationModelEvaluationRequest

buildPartial()

public GetConversationModelEvaluationRequest buildPartial()
Returns
Type Description
GetConversationModelEvaluationRequest

clear()

public GetConversationModelEvaluationRequest.Builder clear()
Returns
Type Description
GetConversationModelEvaluationRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetConversationModelEvaluationRequest.Builder clearName()

Required. The conversation model evaluation resource name. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetConversationModelEvaluationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetConversationModelEvaluationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetConversationModelEvaluationRequest.Builder
Overrides

clone()

public GetConversationModelEvaluationRequest.Builder clone()
Returns
Type Description
GetConversationModelEvaluationRequest.Builder
Overrides

getDefaultInstanceForType()

public GetConversationModelEvaluationRequest getDefaultInstanceForType()
Returns
Type Description
GetConversationModelEvaluationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The conversation model evaluation resource name. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The conversation model evaluation resource name. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetConversationModelEvaluationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetConversationModelEvaluationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetConversationModelEvaluationRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetConversationModelEvaluationRequest.Builder setName(String value)

Required. The conversation model evaluation resource name. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetConversationModelEvaluationRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetConversationModelEvaluationRequest.Builder setNameBytes(ByteString value)

Required. The conversation model evaluation resource name. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetConversationModelEvaluationRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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