Class UndeployConversationModelOperationMetadata.Builder (4.89.0)

public static final class UndeployConversationModelOperationMetadata.Builder extends GeneratedMessage.Builder<UndeployConversationModelOperationMetadata.Builder> implements UndeployConversationModelOperationMetadataOrBuilder

Metadata for a ConversationModels.UndeployConversationModel operation.

Protobuf type google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UndeployConversationModelOperationMetadata build()
Returns
Type Description
UndeployConversationModelOperationMetadata

buildPartial()

public UndeployConversationModelOperationMetadata buildPartial()
Returns
Type Description
UndeployConversationModelOperationMetadata

clear()

public UndeployConversationModelOperationMetadata.Builder clear()
Returns
Type Description
UndeployConversationModelOperationMetadata.Builder
Overrides

clearConversationModel()

public UndeployConversationModelOperationMetadata.Builder clearConversationModel()

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

string conversation_model = 1;

Returns
Type Description
UndeployConversationModelOperationMetadata.Builder

This builder for chaining.

clearCreateTime()

public UndeployConversationModelOperationMetadata.Builder clearCreateTime()

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

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
UndeployConversationModelOperationMetadata.Builder

clearDoneTime()

public UndeployConversationModelOperationMetadata.Builder clearDoneTime()

The time when the operation finished.

.google.protobuf.Timestamp done_time = 4;

Returns
Type Description
UndeployConversationModelOperationMetadata.Builder

getConversationModel()

public String getConversationModel()

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

string conversation_model = 1;

Returns
Type Description
String

The conversationModel.

getConversationModelBytes()

public ByteString getConversationModelBytes()

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

string conversation_model = 1;

Returns
Type Description
ByteString

The bytes for conversationModel.

getCreateTime()

public Timestamp getCreateTime()

Timestamp when the request to undeploy 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 undeploy 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 undeploy conversation model was submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public UndeployConversationModelOperationMetadata getDefaultInstanceForType()
Returns
Type Description
UndeployConversationModelOperationMetadata

getDescriptorForType()

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

getDoneTime()

public Timestamp getDoneTime()

The time when the operation finished.

.google.protobuf.Timestamp done_time = 4;

Returns
Type Description
Timestamp

The doneTime.

getDoneTimeBuilder()

public Timestamp.Builder getDoneTimeBuilder()

The time when the operation finished.

.google.protobuf.Timestamp done_time = 4;

Returns
Type Description
Builder

getDoneTimeOrBuilder()

public TimestampOrBuilder getDoneTimeOrBuilder()

The time when the operation finished.

.google.protobuf.Timestamp done_time = 4;

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Timestamp when the request to undeploy 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.

hasDoneTime()

public boolean hasDoneTime()

The time when the operation finished.

.google.protobuf.Timestamp done_time = 4;

Returns
Type Description
boolean

Whether the doneTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public UndeployConversationModelOperationMetadata.Builder mergeCreateTime(Timestamp value)

Timestamp when the request to undeploy 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
UndeployConversationModelOperationMetadata.Builder

mergeDoneTime(Timestamp value)

public UndeployConversationModelOperationMetadata.Builder mergeDoneTime(Timestamp value)

The time when the operation finished.

.google.protobuf.Timestamp done_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
UndeployConversationModelOperationMetadata.Builder

mergeFrom(UndeployConversationModelOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setConversationModel(String value)

public UndeployConversationModelOperationMetadata.Builder setConversationModel(String value)

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

string conversation_model = 1;

Parameter
Name Description
value String

The conversationModel to set.

Returns
Type Description
UndeployConversationModelOperationMetadata.Builder

This builder for chaining.

setConversationModelBytes(ByteString value)

public UndeployConversationModelOperationMetadata.Builder setConversationModelBytes(ByteString value)

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

string conversation_model = 1;

Parameter
Name Description
value ByteString

The bytes for conversationModel to set.

Returns
Type Description
UndeployConversationModelOperationMetadata.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public UndeployConversationModelOperationMetadata.Builder setCreateTime(Timestamp value)

Timestamp when the request to undeploy 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
UndeployConversationModelOperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public UndeployConversationModelOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Timestamp when the request to undeploy 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
UndeployConversationModelOperationMetadata.Builder

setDoneTime(Timestamp value)

public UndeployConversationModelOperationMetadata.Builder setDoneTime(Timestamp value)

The time when the operation finished.

.google.protobuf.Timestamp done_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
UndeployConversationModelOperationMetadata.Builder

setDoneTime(Timestamp.Builder builderForValue)

public UndeployConversationModelOperationMetadata.Builder setDoneTime(Timestamp.Builder builderForValue)

The time when the operation finished.

.google.protobuf.Timestamp done_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UndeployConversationModelOperationMetadata.Builder