Class DeleteConversationModelOperationMetadata.Builder (4.6.0)

public static final class DeleteConversationModelOperationMetadata.Builder extends GeneratedMessageV3.Builder<DeleteConversationModelOperationMetadata.Builder> implements DeleteConversationModelOperationMetadataOrBuilder

Metadata for a ConversationModels.DeleteConversationModel operation.

Protobuf type google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteConversationModelOperationMetadata build()
Returns
TypeDescription
DeleteConversationModelOperationMetadata

buildPartial()

public DeleteConversationModelOperationMetadata buildPartial()
Returns
TypeDescription
DeleteConversationModelOperationMetadata

clear()

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

clearConversationModel()

public DeleteConversationModelOperationMetadata.Builder clearConversationModel()

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

string conversation_model = 1;

Returns
TypeDescription
DeleteConversationModelOperationMetadata.Builder

This builder for chaining.

clearCreateTime()

public DeleteConversationModelOperationMetadata.Builder clearCreateTime()

Timestamp when delete conversation model request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
DeleteConversationModelOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DeleteConversationModelOperationMetadata.Builder clone()
Returns
TypeDescription
DeleteConversationModelOperationMetadata.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 delete conversation model request was created. 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 delete conversation model request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Timestamp when delete conversation model request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public DeleteConversationModelOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
DeleteConversationModelOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasCreateTime()

public boolean hasCreateTime()

Timestamp when delete conversation model request was created. 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 DeleteConversationModelOperationMetadata.Builder mergeCreateTime(Timestamp value)

Timestamp when delete conversation model request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DeleteConversationModelOperationMetadata.Builder

mergeFrom(DeleteConversationModelOperationMetadata other)

public DeleteConversationModelOperationMetadata.Builder mergeFrom(DeleteConversationModelOperationMetadata other)
Parameter
NameDescription
otherDeleteConversationModelOperationMetadata
Returns
TypeDescription
DeleteConversationModelOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConversationModel(String value)

public DeleteConversationModelOperationMetadata.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
DeleteConversationModelOperationMetadata.Builder

This builder for chaining.

setConversationModelBytes(ByteString value)

public DeleteConversationModelOperationMetadata.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
DeleteConversationModelOperationMetadata.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public DeleteConversationModelOperationMetadata.Builder setCreateTime(Timestamp value)

Timestamp when delete conversation model request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DeleteConversationModelOperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public DeleteConversationModelOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Timestamp when delete conversation model request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DeleteConversationModelOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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