public static final class CreateConversationModelRequest.Builder extends GeneratedMessageV3.Builder<CreateConversationModelRequest.Builder> implements CreateConversationModelRequestOrBuilder
The request message for
ConversationModels.CreateConversationModel
Protobuf type google.cloud.dialogflow.v2.CreateConversationModelRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateConversationModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateConversationModelRequest build()
buildPartial()
public CreateConversationModelRequest buildPartial()
clear()
public CreateConversationModelRequest.Builder clear()
Overrides
clearConversationModel()
public CreateConversationModelRequest.Builder clearConversationModel()
Required. The conversation model to create.
.google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateConversationModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateConversationModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateConversationModelRequest.Builder clearParent()
The project to create conversation model for. Format:
projects/<Project ID>
string parent = 1;
clone()
public CreateConversationModelRequest.Builder clone()
Overrides
getConversationModel()
public ConversationModel getConversationModel()
Required. The conversation model to create.
.google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
getConversationModelBuilder()
public ConversationModel.Builder getConversationModelBuilder()
Required. The conversation model to create.
.google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
getConversationModelOrBuilder()
public ConversationModelOrBuilder getConversationModelOrBuilder()
Required. The conversation model to create.
.google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateConversationModelRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
The project to create conversation model for. Format:
projects/<Project ID>
string parent = 1;
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
The project to create conversation model for. Format:
projects/<Project ID>
string parent = 1;
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasConversationModel()
public boolean hasConversationModel()
Required. The conversation model to create.
.google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the conversationModel field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeConversationModel(ConversationModel value)
public CreateConversationModelRequest.Builder mergeConversationModel(ConversationModel value)
Required. The conversation model to create.
.google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateConversationModelRequest other)
public CreateConversationModelRequest.Builder mergeFrom(CreateConversationModelRequest other)
public CreateConversationModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateConversationModelRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setConversationModel(ConversationModel value)
public CreateConversationModelRequest.Builder setConversationModel(ConversationModel value)
Required. The conversation model to create.
.google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
setConversationModel(ConversationModel.Builder builderForValue)
public CreateConversationModelRequest.Builder setConversationModel(ConversationModel.Builder builderForValue)
Required. The conversation model to create.
.google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateConversationModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateConversationModelRequest.Builder setParent(String value)
The project to create conversation model for. Format:
projects/<Project ID>
string parent = 1;
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateConversationModelRequest.Builder setParentBytes(ByteString value)
The project to create conversation model for. Format:
projects/<Project ID>
string parent = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateConversationModelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides