Class CompleteConversationRequest.Builder (4.7.3)

public static final class CompleteConversationRequest.Builder extends GeneratedMessageV3.Builder<CompleteConversationRequest.Builder> implements CompleteConversationRequestOrBuilder

The request message for Conversations.CompleteConversation.

Protobuf type google.cloud.dialogflow.v2.CompleteConversationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CompleteConversationRequest build()
Returns
TypeDescription
CompleteConversationRequest

buildPartial()

public CompleteConversationRequest buildPartial()
Returns
TypeDescription
CompleteConversationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public CompleteConversationRequest.Builder clearName()

Required. Resource identifier of the conversation to close. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
CompleteConversationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CompleteConversationRequest getDefaultInstanceForType()
Returns
TypeDescription
CompleteConversationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Resource identifier of the conversation to close. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource identifier of the conversation to close. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CompleteConversationRequest other)

public CompleteConversationRequest.Builder mergeFrom(CompleteConversationRequest other)
Parameter
NameDescription
otherCompleteConversationRequest
Returns
TypeDescription
CompleteConversationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public CompleteConversationRequest.Builder setName(String value)

Required. Resource identifier of the conversation to close. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
CompleteConversationRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CompleteConversationRequest.Builder setNameBytes(ByteString value)

Required. Resource identifier of the conversation to close. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
CompleteConversationRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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