Class ExportToolsRequest

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

@Generated public final class ExportToolsRequest extends com.google.protobuf.GeneratedMessage implements ExportToolsRequestOrBuilder
 The request message for
 [Tools.ExportTools][google.cloud.dialogflow.cx.v3beta1.Tools.ExportTools].
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest
See Also:
  • Field Details

    • PARENT_FIELD_NUMBER

      public static final int PARENT_FIELD_NUMBER
      See Also:
    • TOOLS_FIELD_NUMBER

      public static final int TOOLS_FIELD_NUMBER
      See Also:
    • TOOLS_URI_FIELD_NUMBER

      public static final int TOOLS_URI_FIELD_NUMBER
      See Also:
    • TOOLS_CONTENT_INLINE_FIELD_NUMBER

      public static final int TOOLS_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 ExportToolsRequest.DestinationCase getDestinationCase()
      Specified by:
      getDestinationCase in interface ExportToolsRequestOrBuilder
    • getParent

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

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

      public com.google.protobuf.ProtocolStringList getToolsList()
       Required. The name of the tools to export.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>`.
       
      repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getToolsList in interface ExportToolsRequestOrBuilder
      Returns:
      A list containing the tools.
    • getToolsCount

      public int getToolsCount()
       Required. The name of the tools to export.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>`.
       
      repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getToolsCount in interface ExportToolsRequestOrBuilder
      Returns:
      The count of tools.
    • getTools

      public String getTools(int index)
       Required. The name of the tools to export.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>`.
       
      repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getTools in interface ExportToolsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tools at the given index.
    • getToolsBytes

      public com.google.protobuf.ByteString getToolsBytes(int index)
       Required. The name of the tools to export.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>`.
       
      repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getToolsBytes in interface ExportToolsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tools at the given index.
    • hasToolsUri

      public boolean hasToolsUri()
       Optional. The [Google Cloud
       Storage](https://cloud.google.com/storage/docs/) URI to export the tools
       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 tools_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasToolsUri in interface ExportToolsRequestOrBuilder
      Returns:
      Whether the toolsUri field is set.
    • getToolsUri

      public String getToolsUri()
       Optional. The [Google Cloud
       Storage](https://cloud.google.com/storage/docs/) URI to export the tools
       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 tools_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getToolsUri in interface ExportToolsRequestOrBuilder
      Returns:
      The toolsUri.
    • getToolsUriBytes

      public com.google.protobuf.ByteString getToolsUriBytes()
       Optional. The [Google Cloud
       Storage](https://cloud.google.com/storage/docs/) URI to export the tools
       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 tools_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getToolsUriBytes in interface ExportToolsRequestOrBuilder
      Returns:
      The bytes for toolsUri.
    • hasToolsContentInline

      public boolean hasToolsContentInline()
       Optional. The option to return the serialized tools inline.
       
      bool tools_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasToolsContentInline in interface ExportToolsRequestOrBuilder
      Returns:
      Whether the toolsContentInline field is set.
    • getToolsContentInline

      public boolean getToolsContentInline()
       Optional. The option to return the serialized tools inline.
       
      bool tools_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getToolsContentInline in interface ExportToolsRequestOrBuilder
      Returns:
      The toolsContentInline.
    • getDataFormatValue

      public int getDataFormatValue()
       Optional. The data format of the exported tools. If not specified, `BLOB`
       is assumed.
       
      .google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataFormatValue in interface ExportToolsRequestOrBuilder
      Returns:
      The enum numeric value on the wire for dataFormat.
    • getDataFormat

      public ExportToolsRequest.DataFormat getDataFormat()
       Optional. The data format of the exported tools. If not specified, `BLOB`
       is assumed.
       
      .google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataFormat in interface ExportToolsRequestOrBuilder
      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 ExportToolsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ExportToolsRequest.Builder newBuilder()
    • newBuilder

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

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

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

      public static ExportToolsRequest getDefaultInstance()
    • parser

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

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