Class CreateConversationProfileRequest.Builder (4.3.1)

public static final class CreateConversationProfileRequest.Builder extends GeneratedMessageV3.Builder<CreateConversationProfileRequest.Builder> implements CreateConversationProfileRequestOrBuilder

The request message for ConversationProfiles.CreateConversationProfile.

Protobuf type google.cloud.dialogflow.v2.CreateConversationProfileRequest

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateConversationProfileRequest build()
Returns
TypeDescription
CreateConversationProfileRequest

buildPartial()

public CreateConversationProfileRequest buildPartial()
Returns
TypeDescription
CreateConversationProfileRequest

clear()

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

clearConversationProfile()

public CreateConversationProfileRequest.Builder clearConversationProfile()

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateConversationProfileRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateConversationProfileRequest.Builder clearParent()

Required. The project to create a conversation profile for. Format: projects/<Project ID>/locations/<Location ID>.

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

Returns
TypeDescription
CreateConversationProfileRequest.Builder

This builder for chaining.

clone()

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

getConversationProfile()

public ConversationProfile getConversationProfile()

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConversationProfile

The conversationProfile.

getConversationProfileBuilder()

public ConversationProfile.Builder getConversationProfileBuilder()

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConversationProfile.Builder

getConversationProfileOrBuilder()

public ConversationProfileOrBuilder getConversationProfileOrBuilder()

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConversationProfileOrBuilder

getDefaultInstanceForType()

public CreateConversationProfileRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateConversationProfileRequest

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The project to create a conversation profile for. Format: projects/<Project ID>/locations/<Location ID>.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The project to create a conversation profile for. Format: projects/<Project ID>/locations/<Location ID>.

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasConversationProfile()

public boolean hasConversationProfile()

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the conversationProfile field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConversationProfile(ConversationProfile value)

public CreateConversationProfileRequest.Builder mergeConversationProfile(ConversationProfile value)

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueConversationProfile
Returns
TypeDescription
CreateConversationProfileRequest.Builder

mergeFrom(CreateConversationProfileRequest other)

public CreateConversationProfileRequest.Builder mergeFrom(CreateConversationProfileRequest other)
Parameter
NameDescription
otherCreateConversationProfileRequest
Returns
TypeDescription
CreateConversationProfileRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConversationProfile(ConversationProfile value)

public CreateConversationProfileRequest.Builder setConversationProfile(ConversationProfile value)

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueConversationProfile
Returns
TypeDescription
CreateConversationProfileRequest.Builder

setConversationProfile(ConversationProfile.Builder builderForValue)

public CreateConversationProfileRequest.Builder setConversationProfile(ConversationProfile.Builder builderForValue)

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueConversationProfile.Builder
Returns
TypeDescription
CreateConversationProfileRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateConversationProfileRequest.Builder setParent(String value)

Required. The project to create a conversation profile for. Format: projects/<Project ID>/locations/<Location ID>.

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateConversationProfileRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateConversationProfileRequest.Builder setParentBytes(ByteString value)

Required. The project to create a conversation profile for. Format: projects/<Project ID>/locations/<Location ID>.

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateConversationProfileRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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