Class ExportIntentsRequest (0.52.0)

public final class ExportIntentsRequest extends GeneratedMessageV3 implements ExportIntentsRequestOrBuilder

The request message for Intents.ExportIntents.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ExportIntentsRequest

Static Fields

DATA_FORMAT_FIELD_NUMBER

public static final int DATA_FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

INTENTS_CONTENT_INLINE_FIELD_NUMBER

public static final int INTENTS_CONTENT_INLINE_FIELD_NUMBER
Field Value
TypeDescription
int

INTENTS_FIELD_NUMBER

public static final int INTENTS_FIELD_NUMBER
Field Value
TypeDescription
int

INTENTS_URI_FIELD_NUMBER

public static final int INTENTS_URI_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 ExportIntentsRequest getDefaultInstance()
Returns
TypeDescription
ExportIntentsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ExportIntentsRequest prototype)

public static ExportIntentsRequest.Builder newBuilder(ExportIntentsRequest prototype)
Parameter
NameDescription
prototypeExportIntentsRequest
Returns
TypeDescription
ExportIntentsRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDataFormat()

public ExportIntentsRequest.DataFormat getDataFormat()

Optional. The data format of the exported intents. If not specified, BLOB is assumed.

.google.cloud.dialogflow.cx.v3beta1.ExportIntentsRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ExportIntentsRequest.DataFormat

The dataFormat.

getDataFormatValue()

public int getDataFormatValue()

Optional. The data format of the exported intents. If not specified, BLOB is assumed.

.google.cloud.dialogflow.cx.v3beta1.ExportIntentsRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for dataFormat.

getDefaultInstanceForType()

public ExportIntentsRequest getDefaultInstanceForType()
Returns
TypeDescription
ExportIntentsRequest

getDestinationCase()

public ExportIntentsRequest.DestinationCase getDestinationCase()
Returns
TypeDescription
ExportIntentsRequest.DestinationCase

getIntents(int index)

public String getIntents(int index)

Required. The name of the intents to export. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The intents at the given index.

getIntentsBytes(int index)

public ByteString getIntentsBytes(int index)

Required. The name of the intents to export. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the intents at the given index.

getIntentsContentInline()

public boolean getIntentsContentInline()

Optional. The option to return the serialized intents inline.

bool intents_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The intentsContentInline.

getIntentsCount()

public int getIntentsCount()

Required. The name of the intents to export. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of intents.

getIntentsList()

public ProtocolStringList getIntentsList()

Required. The name of the intents to export. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ProtocolStringList

A list containing the intents.

getIntentsUri()

public String getIntentsUri()

Optional. The Google Cloud Storage URI to export the intents to. The format of this URI must be gs://<bucket-name>/<object-name>.

Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.

string intents_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The intentsUri.

getIntentsUriBytes()

public ByteString getIntentsUriBytes()

Optional. The Google Cloud Storage URI to export the intents to. The format of this URI must be gs://<bucket-name>/<object-name>.

Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.

string intents_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for intentsUri.

getParent()

public String getParent()

Required. The name of the parent agent to export intents. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the parent agent to export intents. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasIntentsContentInline()

public boolean hasIntentsContentInline()

Optional. The option to return the serialized intents inline.

bool intents_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the intentsContentInline field is set.

hasIntentsUri()

public boolean hasIntentsUri()

Optional. The Google Cloud Storage URI to export the intents to. The format of this URI must be gs://<bucket-name>/<object-name>.

Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.

string intents_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the intentsUri 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 ExportIntentsRequest.Builder newBuilderForType()
Returns
TypeDescription
ExportIntentsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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