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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateConversationModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateConversationModelRequest build()
Returns
buildPartial()
public CreateConversationModelRequest buildPartial()
Returns
clear()
public CreateConversationModelRequest.Builder clear()
Returns
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];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateConversationModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateConversationModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateConversationModelRequest.Builder clearParent()
The project to create conversation model for. Format:
projects/<Project ID>
string parent = 1;
Returns
clone()
public CreateConversationModelRequest.Builder clone()
Returns
Overrides
getConversationModel()
public ConversationModel getConversationModel()
Required. The conversation model to create.
.google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getConversationModelBuilder()
public ConversationModel.Builder getConversationModelBuilder()
Required. The conversation model to create.
.google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getConversationModelOrBuilder()
public ConversationModelOrBuilder getConversationModelOrBuilder()
Required. The conversation model to create.
.google.cloud.dialogflow.v2.ConversationModel conversation_model = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateConversationModelRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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];
Parameter
Returns
mergeFrom(CreateConversationModelRequest other)
public CreateConversationModelRequest.Builder mergeFrom(CreateConversationModelRequest other)
Parameter
Returns
public CreateConversationModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateConversationModelRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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];
Parameter
Returns
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];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateConversationModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateConversationModelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides