Class ExportEntityTypesRequest

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

@Generated public final class ExportEntityTypesRequest extends com.google.protobuf.GeneratedMessage implements ExportEntityTypesRequestOrBuilder
 The request message for
 [EntityTypes.ExportEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ExportEntityTypes].
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.ExportEntityTypesRequest
See Also:
  • Field Details

    • PARENT_FIELD_NUMBER

      public static final int PARENT_FIELD_NUMBER
      See Also:
    • ENTITY_TYPES_FIELD_NUMBER

      public static final int ENTITY_TYPES_FIELD_NUMBER
      See Also:
    • ENTITY_TYPES_URI_FIELD_NUMBER

      public static final int ENTITY_TYPES_URI_FIELD_NUMBER
      See Also:
    • ENTITY_TYPES_CONTENT_INLINE_FIELD_NUMBER

      public static final int ENTITY_TYPES_CONTENT_INLINE_FIELD_NUMBER
      See Also:
    • DATA_FORMAT_FIELD_NUMBER

      public static final int DATA_FORMAT_FIELD_NUMBER
      See Also:
    • LANGUAGE_CODE_FIELD_NUMBER

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

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

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

      public com.google.protobuf.ProtocolStringList getEntityTypesList()
       Required. The name of the entity types to export.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
       
      repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntityTypesList in interface ExportEntityTypesRequestOrBuilder
      Returns:
      A list containing the entityTypes.
    • getEntityTypesCount

      public int getEntityTypesCount()
       Required. The name of the entity types to export.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
       
      repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntityTypesCount in interface ExportEntityTypesRequestOrBuilder
      Returns:
      The count of entityTypes.
    • getEntityTypes

      public String getEntityTypes(int index)
       Required. The name of the entity types to export.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
       
      repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntityTypes in interface ExportEntityTypesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The entityTypes at the given index.
    • getEntityTypesBytes

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

      public boolean hasEntityTypesUri()
       Optional. The [Google Cloud
       Storage](https://cloud.google.com/storage/docs/) URI to export the entity
       types 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 entity_types_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasEntityTypesUri in interface ExportEntityTypesRequestOrBuilder
      Returns:
      Whether the entityTypesUri field is set.
    • getEntityTypesUri

      public String getEntityTypesUri()
       Optional. The [Google Cloud
       Storage](https://cloud.google.com/storage/docs/) URI to export the entity
       types 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 entity_types_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntityTypesUri in interface ExportEntityTypesRequestOrBuilder
      Returns:
      The entityTypesUri.
    • getEntityTypesUriBytes

      public com.google.protobuf.ByteString getEntityTypesUriBytes()
       Optional. The [Google Cloud
       Storage](https://cloud.google.com/storage/docs/) URI to export the entity
       types 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 entity_types_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntityTypesUriBytes in interface ExportEntityTypesRequestOrBuilder
      Returns:
      The bytes for entityTypesUri.
    • hasEntityTypesContentInline

      public boolean hasEntityTypesContentInline()
       Optional. The option to return the serialized entity types inline.
       
      bool entity_types_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasEntityTypesContentInline in interface ExportEntityTypesRequestOrBuilder
      Returns:
      Whether the entityTypesContentInline field is set.
    • getEntityTypesContentInline

      public boolean getEntityTypesContentInline()
       Optional. The option to return the serialized entity types inline.
       
      bool entity_types_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntityTypesContentInline in interface ExportEntityTypesRequestOrBuilder
      Returns:
      The entityTypesContentInline.
    • getDataFormatValue

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

      public ExportEntityTypesRequest.DataFormat getDataFormat()
       Optional. The data format of the exported entity types. If not specified,
       `BLOB` is assumed.
       
      .google.cloud.dialogflow.cx.v3beta1.ExportEntityTypesRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataFormat in interface ExportEntityTypesRequestOrBuilder
      Returns:
      The dataFormat.
    • getLanguageCode

      public String getLanguageCode()
       Optional. The language to retrieve the entity type for. The following
       fields are language dependent:
      
       *   `EntityType.entities.value`
       *   `EntityType.entities.synonyms`
       *   `EntityType.excluded_phrases.value`
      
       If not specified, all language dependent fields will be retrieved.
       [Many
       languages](https://cloud.google.com/dialogflow/docs/reference/language)
       are supported.
       Note: languages must be enabled in the agent before they can be used.
       
      string language_code = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLanguageCode in interface ExportEntityTypesRequestOrBuilder
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      public com.google.protobuf.ByteString getLanguageCodeBytes()
       Optional. The language to retrieve the entity type for. The following
       fields are language dependent:
      
       *   `EntityType.entities.value`
       *   `EntityType.entities.synonyms`
       *   `EntityType.excluded_phrases.value`
      
       If not specified, all language dependent fields will be retrieved.
       [Many
       languages](https://cloud.google.com/dialogflow/docs/reference/language)
       are supported.
       Note: languages must be enabled in the agent before they can be used.
       
      string language_code = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLanguageCodeBytes in interface ExportEntityTypesRequestOrBuilder
      Returns:
      The bytes for languageCode.
    • 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 ExportEntityTypesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ExportEntityTypesRequest.Builder newBuilder()
    • newBuilder

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

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static ExportEntityTypesRequest getDefaultInstance()
    • parser

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

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