public final class CreateConversationDatasetRequest extends GeneratedMessageV3 implements CreateConversationDatasetRequestOrBuilder
The request message for
ConversationDatasets.CreateConversationDataset.
Protobuf type google.cloud.dialogflow.v2.CreateConversationDatasetRequest
Static Fields
CONVERSATION_DATASET_FIELD_NUMBER
public static final int CONVERSATION_DATASET_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CreateConversationDatasetRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CreateConversationDatasetRequest.Builder newBuilder()
Returns
newBuilder(CreateConversationDatasetRequest prototype)
public static CreateConversationDatasetRequest.Builder newBuilder(CreateConversationDatasetRequest prototype)
Parameter
Returns
public static CreateConversationDatasetRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateConversationDatasetRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CreateConversationDatasetRequest parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateConversationDatasetRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CreateConversationDatasetRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateConversationDatasetRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateConversationDatasetRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateConversationDatasetRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateConversationDatasetRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateConversationDatasetRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CreateConversationDatasetRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateConversationDatasetRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CreateConversationDatasetRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getConversationDataset()
public ConversationDataset getConversationDataset()
Required. The conversation dataset to create.
.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getConversationDatasetOrBuilder()
public ConversationDatasetOrBuilder getConversationDatasetOrBuilder()
Required. The conversation dataset to create.
.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateConversationDatasetRequest getDefaultInstanceForType()
Returns
getParent()
public String getParent()
Required. The project to create conversation dataset for. Format:
projects/<Project ID>/locations/<Location ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The project to create conversation dataset for. Format:
projects/<Project ID>/locations/<Location ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<CreateConversationDatasetRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasConversationDataset()
public boolean hasConversationDataset()
Required. The conversation dataset to create.
.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
boolean |
Whether the conversationDataset field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CreateConversationDatasetRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateConversationDatasetRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CreateConversationDatasetRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions