Class CreateConversationModelEvaluationOperationMetadata.Builder (4.6.0)

public static final class CreateConversationModelEvaluationOperationMetadata.Builder extends GeneratedMessageV3.Builder<CreateConversationModelEvaluationOperationMetadata.Builder> implements CreateConversationModelEvaluationOperationMetadataOrBuilder

Metadata for a ConversationModels.CreateConversationModelEvaluation operation.

Protobuf type google.cloud.dialogflow.v2.CreateConversationModelEvaluationOperationMetadata

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateConversationModelEvaluationOperationMetadata.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateConversationModelEvaluationOperationMetadata build()
Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata

buildPartial()

public CreateConversationModelEvaluationOperationMetadata buildPartial()
Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata

clear()

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

clearConversationModel()

public CreateConversationModelEvaluationOperationMetadata.Builder clearConversationModel()

The resource name of the conversation model. Format: projects/<Project ID>/locations/<Location ID>/conversationModels/<Conversation Model Id>

string conversation_model = 4;

Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.Builder

This builder for chaining.

clearConversationModelEvaluation()

public CreateConversationModelEvaluationOperationMetadata.Builder clearConversationModelEvaluation()

The resource name of the conversation model. Format: projects/<Project ID>/locations/<Location ID>/conversationModels/<Conversation Model Id>/evaluations/<Evaluation Id>

string conversation_model_evaluation = 1;

Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.Builder

This builder for chaining.

clearCreateTime()

public CreateConversationModelEvaluationOperationMetadata.Builder clearCreateTime()

Timestamp when the request to create conversation model was submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public CreateConversationModelEvaluationOperationMetadata.Builder clearState()

State of CreateConversationModel operation.

.google.cloud.dialogflow.v2.CreateConversationModelEvaluationOperationMetadata.State state = 2;

Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.Builder

This builder for chaining.

clone()

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

getConversationModel()

public String getConversationModel()

The resource name of the conversation model. Format: projects/<Project ID>/locations/<Location ID>/conversationModels/<Conversation Model Id>

string conversation_model = 4;

Returns
TypeDescription
String

The conversationModel.

getConversationModelBytes()

public ByteString getConversationModelBytes()

The resource name of the conversation model. Format: projects/<Project ID>/locations/<Location ID>/conversationModels/<Conversation Model Id>

string conversation_model = 4;

Returns
TypeDescription
ByteString

The bytes for conversationModel.

getConversationModelEvaluation()

public String getConversationModelEvaluation()

The resource name of the conversation model. Format: projects/<Project ID>/locations/<Location ID>/conversationModels/<Conversation Model Id>/evaluations/<Evaluation Id>

string conversation_model_evaluation = 1;

Returns
TypeDescription
String

The conversationModelEvaluation.

getConversationModelEvaluationBytes()

public ByteString getConversationModelEvaluationBytes()

The resource name of the conversation model. Format: projects/<Project ID>/locations/<Location ID>/conversationModels/<Conversation Model Id>/evaluations/<Evaluation Id>

string conversation_model_evaluation = 1;

Returns
TypeDescription
ByteString

The bytes for conversationModelEvaluation.

getCreateTime()

public Timestamp getCreateTime()

Timestamp when the request to create conversation model was submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Timestamp when the request to create conversation model was submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Timestamp when the request to create conversation model was submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CreateConversationModelEvaluationOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getState()

public CreateConversationModelEvaluationOperationMetadata.State getState()

State of CreateConversationModel operation.

.google.cloud.dialogflow.v2.CreateConversationModelEvaluationOperationMetadata.State state = 2;

Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.State

The state.

getStateValue()

public int getStateValue()

State of CreateConversationModel operation.

.google.cloud.dialogflow.v2.CreateConversationModelEvaluationOperationMetadata.State state = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasCreateTime()

public boolean hasCreateTime()

Timestamp when the request to create conversation model was submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public CreateConversationModelEvaluationOperationMetadata.Builder mergeCreateTime(Timestamp value)

Timestamp when the request to create conversation model was submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.Builder

mergeFrom(CreateConversationModelEvaluationOperationMetadata other)

public CreateConversationModelEvaluationOperationMetadata.Builder mergeFrom(CreateConversationModelEvaluationOperationMetadata other)
Parameter
NameDescription
otherCreateConversationModelEvaluationOperationMetadata
Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConversationModel(String value)

public CreateConversationModelEvaluationOperationMetadata.Builder setConversationModel(String value)

The resource name of the conversation model. Format: projects/<Project ID>/locations/<Location ID>/conversationModels/<Conversation Model Id>

string conversation_model = 4;

Parameter
NameDescription
valueString

The conversationModel to set.

Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.Builder

This builder for chaining.

setConversationModelBytes(ByteString value)

public CreateConversationModelEvaluationOperationMetadata.Builder setConversationModelBytes(ByteString value)

The resource name of the conversation model. Format: projects/<Project ID>/locations/<Location ID>/conversationModels/<Conversation Model Id>

string conversation_model = 4;

Parameter
NameDescription
valueByteString

The bytes for conversationModel to set.

Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.Builder

This builder for chaining.

setConversationModelEvaluation(String value)

public CreateConversationModelEvaluationOperationMetadata.Builder setConversationModelEvaluation(String value)

The resource name of the conversation model. Format: projects/<Project ID>/locations/<Location ID>/conversationModels/<Conversation Model Id>/evaluations/<Evaluation Id>

string conversation_model_evaluation = 1;

Parameter
NameDescription
valueString

The conversationModelEvaluation to set.

Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.Builder

This builder for chaining.

setConversationModelEvaluationBytes(ByteString value)

public CreateConversationModelEvaluationOperationMetadata.Builder setConversationModelEvaluationBytes(ByteString value)

The resource name of the conversation model. Format: projects/<Project ID>/locations/<Location ID>/conversationModels/<Conversation Model Id>/evaluations/<Evaluation Id>

string conversation_model_evaluation = 1;

Parameter
NameDescription
valueByteString

The bytes for conversationModelEvaluation to set.

Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public CreateConversationModelEvaluationOperationMetadata.Builder setCreateTime(Timestamp value)

Timestamp when the request to create conversation model was submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public CreateConversationModelEvaluationOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Timestamp when the request to create conversation model was submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public CreateConversationModelEvaluationOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.Builder
Overrides

setState(CreateConversationModelEvaluationOperationMetadata.State value)

public CreateConversationModelEvaluationOperationMetadata.Builder setState(CreateConversationModelEvaluationOperationMetadata.State value)

State of CreateConversationModel operation.

.google.cloud.dialogflow.v2.CreateConversationModelEvaluationOperationMetadata.State state = 2;

Parameter
NameDescription
valueCreateConversationModelEvaluationOperationMetadata.State

The state to set.

Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.Builder

This builder for chaining.

setStateValue(int value)

public CreateConversationModelEvaluationOperationMetadata.Builder setStateValue(int value)

State of CreateConversationModel operation.

.google.cloud.dialogflow.v2.CreateConversationModelEvaluationOperationMetadata.State state = 2;

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
CreateConversationModelEvaluationOperationMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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