Class CreateConversationModelEvaluationOperationMetadata.Builder (4.41.0)

See more code actions.
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

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateConversationModelEvaluationOperationMetadata.Builder
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.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
Overrides

build()

public CreateConversationModelEvaluationOperationMetadata build()

buildPartial()

public CreateConversationModelEvaluationOperationMetadata buildPartial()

clear()

public CreateConversationModelEvaluationOperationMetadata.Builder clear()
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;

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateConversationModelEvaluationOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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()
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()

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

mergeFrom(CreateConversationModelEvaluationOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public CreateConversationModelEvaluationOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
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
Overrides