Class ImportIntentsRequest

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

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

    • PARENT_FIELD_NUMBER

      public static final int PARENT_FIELD_NUMBER
      See Also:
    • INTENTS_URI_FIELD_NUMBER

      public static final int INTENTS_URI_FIELD_NUMBER
      See Also:
    • INTENTS_CONTENT_FIELD_NUMBER

      public static final int INTENTS_CONTENT_FIELD_NUMBER
      See Also:
    • MERGE_OPTION_FIELD_NUMBER

      public static final int MERGE_OPTION_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
    • getIntentsCase

      public ImportIntentsRequest.IntentsCase getIntentsCase()
      Specified by:
      getIntentsCase in interface ImportIntentsRequestOrBuilder
    • getParent

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

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

      public boolean hasIntentsUri()
       The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
       to import intents from. The format of this URI must be
       `gs://<bucket-name>/<object-name>`.
      
       Dialogflow performs a read operation for the Cloud Storage object
       on the caller's behalf, so your request authentication must
       have read 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 = 2;
      Specified by:
      hasIntentsUri in interface ImportIntentsRequestOrBuilder
      Returns:
      Whether the intentsUri field is set.
    • getIntentsUri

      public String getIntentsUri()
       The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
       to import intents from. The format of this URI must be
       `gs://<bucket-name>/<object-name>`.
      
       Dialogflow performs a read operation for the Cloud Storage object
       on the caller's behalf, so your request authentication must
       have read 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 = 2;
      Specified by:
      getIntentsUri in interface ImportIntentsRequestOrBuilder
      Returns:
      The intentsUri.
    • getIntentsUriBytes

      public com.google.protobuf.ByteString getIntentsUriBytes()
       The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
       to import intents from. The format of this URI must be
       `gs://<bucket-name>/<object-name>`.
      
       Dialogflow performs a read operation for the Cloud Storage object
       on the caller's behalf, so your request authentication must
       have read 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 = 2;
      Specified by:
      getIntentsUriBytes in interface ImportIntentsRequestOrBuilder
      Returns:
      The bytes for intentsUri.
    • hasIntentsContent

      public boolean hasIntentsContent()
       Uncompressed byte content of intents.
       
      .google.cloud.dialogflow.cx.v3beta1.InlineSource intents_content = 3;
      Specified by:
      hasIntentsContent in interface ImportIntentsRequestOrBuilder
      Returns:
      Whether the intentsContent field is set.
    • getIntentsContent

      public InlineSource getIntentsContent()
       Uncompressed byte content of intents.
       
      .google.cloud.dialogflow.cx.v3beta1.InlineSource intents_content = 3;
      Specified by:
      getIntentsContent in interface ImportIntentsRequestOrBuilder
      Returns:
      The intentsContent.
    • getIntentsContentOrBuilder

      public InlineSourceOrBuilder getIntentsContentOrBuilder()
       Uncompressed byte content of intents.
       
      .google.cloud.dialogflow.cx.v3beta1.InlineSource intents_content = 3;
      Specified by:
      getIntentsContentOrBuilder in interface ImportIntentsRequestOrBuilder
    • getMergeOptionValue

      public int getMergeOptionValue()
       Merge option for importing intents. If not specified, `REJECT` is assumed.
       
      .google.cloud.dialogflow.cx.v3beta1.ImportIntentsRequest.MergeOption merge_option = 4;
      Specified by:
      getMergeOptionValue in interface ImportIntentsRequestOrBuilder
      Returns:
      The enum numeric value on the wire for mergeOption.
    • getMergeOption

      public ImportIntentsRequest.MergeOption getMergeOption()
       Merge option for importing intents. If not specified, `REJECT` is assumed.
       
      .google.cloud.dialogflow.cx.v3beta1.ImportIntentsRequest.MergeOption merge_option = 4;
      Specified by:
      getMergeOption in interface ImportIntentsRequestOrBuilder
      Returns:
      The mergeOption.
    • 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 ImportIntentsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ImportIntentsRequest.Builder newBuilder()
    • newBuilder

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

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

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

      public static ImportIntentsRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ImportIntentsRequest> 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 ImportIntentsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder