Class CreateConversationModelEvaluationOperationMetadata.Builder (4.54.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateConversationModelEvaluationOperationMetadata build()
Returns
Type Description
CreateConversationModelEvaluationOperationMetadata

buildPartial()

public CreateConversationModelEvaluationOperationMetadata buildPartial()
Returns
Type Description
CreateConversationModelEvaluationOperationMetadata

clear()

public CreateConversationModelEvaluationOperationMetadata.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
CreateConversationModelEvaluationOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public CreateConversationModelEvaluationOperationMetadata.Builder clearState()

State of CreateConversationModel operation.

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

Returns
Type Description
CreateConversationModelEvaluationOperationMetadata.Builder

This builder for chaining.

clone()

public CreateConversationModelEvaluationOperationMetadata.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CreateConversationModelEvaluationOperationMetadata getDefaultInstanceForType()
Returns
Type Description
CreateConversationModelEvaluationOperationMetadata

getDescriptorForType()

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

getState()

public CreateConversationModelEvaluationOperationMetadata.State getState()

State of CreateConversationModel operation.

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

Returns
Type Description
CreateConversationModelEvaluationOperationMetadata.State

The state.

getStateValue()

public int getStateValue()

State of CreateConversationModel operation.

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

Returns
Type Description
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
Type Description
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
CreateConversationModelEvaluationOperationMetadata.Builder

mergeFrom(CreateConversationModelEvaluationOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateConversationModelEvaluationOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The conversationModel to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for conversationModel to set.

Returns
Type Description
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
Name Description
value String

The conversationModelEvaluation to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for conversationModelEvaluation to set.

Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
CreateConversationModelEvaluationOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public CreateConversationModelEvaluationOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value CreateConversationModelEvaluationOperationMetadata.State

The state to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
CreateConversationModelEvaluationOperationMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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