Class UndeployConversationModelOperationMetadata.Builder (4.7.2)

public static final class UndeployConversationModelOperationMetadata.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UndeployConversationModelOperationMetadata build()
Returns
TypeDescription
UndeployConversationModelOperationMetadata

buildPartial()

public UndeployConversationModelOperationMetadata buildPartial()
Returns
TypeDescription
UndeployConversationModelOperationMetadata

clear()

public UndeployConversationModelOperationMetadata.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UndeployConversationModelOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConversationModel()

public String getConversationModel()

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

string conversation_model = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public UndeployConversationModelOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
UndeployConversationModelOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
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 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
NameDescription
valueTimestamp
Returns
TypeDescription
UndeployConversationModelOperationMetadata.Builder

mergeFrom(UndeployConversationModelOperationMetadata other)

public UndeployConversationModelOperationMetadata.Builder mergeFrom(UndeployConversationModelOperationMetadata other)
Parameter
NameDescription
otherUndeployConversationModelOperationMetadata
Returns
TypeDescription
UndeployConversationModelOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UndeployConversationModelOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The conversationModel to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for conversationModel to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UndeployConversationModelOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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