Class CreateConversationModelEvaluationRequest (4.7.4)

public final class CreateConversationModelEvaluationRequest extends GeneratedMessageV3 implements CreateConversationModelEvaluationRequestOrBuilder

The request message for ConversationModels.CreateConversationModelEvaluation

Protobuf type google.cloud.dialogflow.v2.CreateConversationModelEvaluationRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateConversationModelEvaluationRequest

Static Fields

CONVERSATION_MODEL_EVALUATION_FIELD_NUMBER

public static final int CONVERSATION_MODEL_EVALUATION_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateConversationModelEvaluationRequest getDefaultInstance()
Returns
TypeDescription
CreateConversationModelEvaluationRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateConversationModelEvaluationRequest.Builder newBuilder()
Returns
TypeDescription
CreateConversationModelEvaluationRequest.Builder

newBuilder(CreateConversationModelEvaluationRequest prototype)

public static CreateConversationModelEvaluationRequest.Builder newBuilder(CreateConversationModelEvaluationRequest prototype)
Parameter
NameDescription
prototypeCreateConversationModelEvaluationRequest
Returns
TypeDescription
CreateConversationModelEvaluationRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateConversationModelEvaluationRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateConversationModelEvaluationRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelEvaluationRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationModelEvaluationRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateConversationModelEvaluationRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateConversationModelEvaluationRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelEvaluationRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationModelEvaluationRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateConversationModelEvaluationRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateConversationModelEvaluationRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelEvaluationRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationModelEvaluationRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateConversationModelEvaluationRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateConversationModelEvaluationRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelEvaluationRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationModelEvaluationRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateConversationModelEvaluationRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateConversationModelEvaluationRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelEvaluationRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationModelEvaluationRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateConversationModelEvaluationRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateConversationModelEvaluationRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelEvaluationRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationModelEvaluationRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateConversationModelEvaluationRequest> parser()
Returns
TypeDescription
Parser<CreateConversationModelEvaluationRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

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.

getParserForType()

public Parser<CreateConversationModelEvaluationRequest> getParserForType()
Returns
TypeDescription
Parser<CreateConversationModelEvaluationRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateConversationModelEvaluationRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateConversationModelEvaluationRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateConversationModelEvaluationRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateConversationModelEvaluationRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateConversationModelEvaluationRequest.Builder toBuilder()
Returns
TypeDescription
CreateConversationModelEvaluationRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException