Class GetConversationRequest.Builder (4.15.0)

public static final class GetConversationRequest.Builder extends GeneratedMessageV3.Builder<GetConversationRequest.Builder> implements GetConversationRequestOrBuilder

The request message for Conversations.GetConversation.

Protobuf type google.cloud.dialogflow.v2.GetConversationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetConversationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetConversationRequest.Builder
Overrides

build()

public GetConversationRequest build()
Returns
Type Description
GetConversationRequest

buildPartial()

public GetConversationRequest buildPartial()
Returns
Type Description
GetConversationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetConversationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetConversationRequest.Builder
Overrides

clearName()

public GetConversationRequest.Builder clearName()

Required. The name of the conversation. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

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

Returns
Type Description
GetConversationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetConversationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetConversationRequest.Builder
Overrides

clone()

public GetConversationRequest.Builder clone()
Returns
Type Description
GetConversationRequest.Builder
Overrides

getDefaultInstanceForType()

public GetConversationRequest getDefaultInstanceForType()
Returns
Type Description
GetConversationRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the conversation. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the conversation. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetConversationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetConversationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetConversationRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetConversationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetConversationRequest.Builder
Overrides

setName(String value)

public GetConversationRequest.Builder setName(String value)

Required. The name of the conversation. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetConversationRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetConversationRequest.Builder setNameBytes(ByteString value)

Required. The name of the conversation. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetConversationRequest.Builder

This builder for chaining.

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

public GetConversationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetConversationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetConversationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetConversationRequest.Builder
Overrides