Class CreateConversationDatasetRequest (4.7.3)

public final class CreateConversationDatasetRequest extends GeneratedMessageV3 implements CreateConversationDatasetRequestOrBuilder

The request message for ConversationDatasets.CreateConversationDataset.

Protobuf type google.cloud.dialogflow.v2.CreateConversationDatasetRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateConversationDatasetRequest

Static Fields

CONVERSATION_DATASET_FIELD_NUMBER

public static final int CONVERSATION_DATASET_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateConversationDatasetRequest getDefaultInstance()
Returns
TypeDescription
CreateConversationDatasetRequest

getDescriptor()

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

newBuilder()

public static CreateConversationDatasetRequest.Builder newBuilder()
Returns
TypeDescription
CreateConversationDatasetRequest.Builder

newBuilder(CreateConversationDatasetRequest prototype)

public static CreateConversationDatasetRequest.Builder newBuilder(CreateConversationDatasetRequest prototype)
Parameter
NameDescription
prototypeCreateConversationDatasetRequest
Returns
TypeDescription
CreateConversationDatasetRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateConversationDatasetRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateConversationDatasetRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateConversationDatasetRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationDatasetRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateConversationDatasetRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateConversationDatasetRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateConversationDatasetRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationDatasetRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateConversationDatasetRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateConversationDatasetRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateConversationDatasetRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationDatasetRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateConversationDatasetRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateConversationDatasetRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateConversationDatasetRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationDatasetRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateConversationDatasetRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateConversationDatasetRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateConversationDatasetRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationDatasetRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateConversationDatasetRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateConversationDatasetRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateConversationDatasetRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationDatasetRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateConversationDatasetRequest> parser()
Returns
TypeDescription
Parser<CreateConversationDatasetRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
ConversationDataset

The conversationDataset.

getConversationDatasetOrBuilder()

public ConversationDatasetOrBuilder getConversationDatasetOrBuilder()

Required. The conversation dataset to create.

.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConversationDatasetOrBuilder

getDefaultInstanceForType()

public CreateConversationDatasetRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateConversationDatasetRequest

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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateConversationDatasetRequest> getParserForType()
Returns
TypeDescription
Parser<CreateConversationDatasetRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
boolean

Whether the conversationDataset field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateConversationDatasetRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateConversationDatasetRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateConversationDatasetRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateConversationDatasetRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateConversationDatasetRequest.Builder toBuilder()
Returns
TypeDescription
CreateConversationDatasetRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException