Class ExportIntentsRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3beta1.ExportIntentsRequest
All Implemented Interfaces:
ExportIntentsRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ExportIntentsRequest extends com.google.protobuf.GeneratedMessage implements ExportIntentsRequestOrBuilder
 The request message for
 [Intents.ExportIntents][google.cloud.dialogflow.cx.v3beta1.Intents.ExportIntents].
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.ExportIntentsRequest
See Also:
  • Field Details

    • PARENT_FIELD_NUMBER

      public static final int PARENT_FIELD_NUMBER
      See Also:
    • INTENTS_FIELD_NUMBER

      public static final int INTENTS_FIELD_NUMBER
      See Also:
    • INTENTS_URI_FIELD_NUMBER

      public static final int INTENTS_URI_FIELD_NUMBER
      See Also:
    • INTENTS_CONTENT_INLINE_FIELD_NUMBER

      public static final int INTENTS_CONTENT_INLINE_FIELD_NUMBER
      See Also:
    • DATA_FORMAT_FIELD_NUMBER

      public static final int DATA_FORMAT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDestinationCase

      public ExportIntentsRequest.DestinationCase getDestinationCase()
      Specified by:
      getDestinationCase in interface ExportIntentsRequestOrBuilder
    • getParent

      public String getParent()
       Required. The name of the parent agent to export intents.
       Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ExportIntentsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The name of the parent agent to export intents.
       Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ExportIntentsRequestOrBuilder
      Returns:
      The bytes for parent.
    • getIntentsList

      public com.google.protobuf.ProtocolStringList getIntentsList()
       Required. The name of the intents to export.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
       
      repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIntentsList in interface ExportIntentsRequestOrBuilder
      Returns:
      A list containing the intents.
    • getIntentsCount

      public int getIntentsCount()
       Required. The name of the intents to export.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
       
      repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIntentsCount in interface ExportIntentsRequestOrBuilder
      Returns:
      The count of intents.
    • getIntents

      public String getIntents(int index)
       Required. The name of the intents to export.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
       
      repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIntents in interface ExportIntentsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The intents at the given index.
    • getIntentsBytes

      public com.google.protobuf.ByteString getIntentsBytes(int index)
       Required. The name of the intents to export.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
       
      repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIntentsBytes in interface ExportIntentsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the intents at the given index.
    • hasIntentsUri

      public boolean hasIntentsUri()
       Optional. The [Google Cloud
       Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
       
      string intents_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasIntentsUri in interface ExportIntentsRequestOrBuilder
      Returns:
      Whether the intentsUri field is set.
    • getIntentsUri

      public String getIntentsUri()
       Optional. The [Google Cloud
       Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
       
      string intents_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIntentsUri in interface ExportIntentsRequestOrBuilder
      Returns:
      The intentsUri.
    • getIntentsUriBytes

      public com.google.protobuf.ByteString getIntentsUriBytes()
       Optional. The [Google Cloud
       Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
       
      string intents_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIntentsUriBytes in interface ExportIntentsRequestOrBuilder
      Returns:
      The bytes for intentsUri.
    • hasIntentsContentInline

      public boolean hasIntentsContentInline()
       Optional. The option to return the serialized intents inline.
       
      bool intents_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasIntentsContentInline in interface ExportIntentsRequestOrBuilder
      Returns:
      Whether the intentsContentInline field is set.
    • getIntentsContentInline

      public boolean getIntentsContentInline()
       Optional. The option to return the serialized intents inline.
       
      bool intents_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIntentsContentInline in interface ExportIntentsRequestOrBuilder
      Returns:
      The intentsContentInline.
    • 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];
      Specified by:
      getDataFormatValue in interface ExportIntentsRequestOrBuilder
      Returns:
      The enum numeric value on the wire for dataFormat.
    • 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];
      Specified by:
      getDataFormat in interface ExportIntentsRequestOrBuilder
      Returns:
      The dataFormat.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ExportIntentsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExportIntentsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExportIntentsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExportIntentsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExportIntentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExportIntentsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExportIntentsRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ExportIntentsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ExportIntentsRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ExportIntentsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ExportIntentsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ExportIntentsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ExportIntentsRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ExportIntentsRequest.Builder newBuilder()
    • newBuilder

      public static ExportIntentsRequest.Builder newBuilder(ExportIntentsRequest prototype)
    • toBuilder

      public ExportIntentsRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ExportIntentsRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ExportIntentsRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ExportIntentsRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<ExportIntentsRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ExportIntentsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder