Class GetConversationModelEvaluationRequest.Builder (4.7.3)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetConversationModelEvaluationRequest build()
Returns
TypeDescription
GetConversationModelEvaluationRequest

buildPartial()

public GetConversationModelEvaluationRequest buildPartial()
Returns
TypeDescription
GetConversationModelEvaluationRequest

clear()

public GetConversationModelEvaluationRequest.Builder clear()
Returns
TypeDescription
GetConversationModelEvaluationRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetConversationModelEvaluationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetConversationModelEvaluationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetConversationModelEvaluationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetConversationModelEvaluationRequest.Builder
Overrides

clone()

public GetConversationModelEvaluationRequest.Builder clone()
Returns
TypeDescription
GetConversationModelEvaluationRequest.Builder
Overrides

getDefaultInstanceForType()

public GetConversationModelEvaluationRequest getDefaultInstanceForType()
Returns
TypeDescription
GetConversationModelEvaluationRequest

getDescriptorForType()

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

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetConversationModelEvaluationRequest other)

public GetConversationModelEvaluationRequest.Builder mergeFrom(GetConversationModelEvaluationRequest other)
Parameter
NameDescription
otherGetConversationModelEvaluationRequest
Returns
TypeDescription
GetConversationModelEvaluationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetConversationModelEvaluationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetConversationModelEvaluationRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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