Interface DocumentSchemaOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    DocumentSchema, DocumentSchema.Builder

    public interface DocumentSchemaOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         The resource name of the document schema.
         Format:
         projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
        
         The name is ignored when creating a document schema.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The resource name of the document schema.
         Format:
         projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
        
         The name is ignored when creating a document schema.
         
        string name = 1;
        Returns:
        The bytes for name.
      • getDisplayName

        String getDisplayName()
         Required. Name of the schema given by the user. Must be unique per project.
         
        string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The displayName.
      • getDisplayNameBytes

        com.google.protobuf.ByteString getDisplayNameBytes()
         Required. Name of the schema given by the user. Must be unique per project.
         
        string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for displayName.
      • getPropertyDefinitionsList

        List<PropertyDefinition> getPropertyDefinitionsList()
         Document details.
         
        repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
      • getPropertyDefinitions

        PropertyDefinition getPropertyDefinitions​(int index)
         Document details.
         
        repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
      • getPropertyDefinitionsCount

        int getPropertyDefinitionsCount()
         Document details.
         
        repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
      • getPropertyDefinitionsOrBuilderList

        List<? extends PropertyDefinitionOrBuilder> getPropertyDefinitionsOrBuilderList()
         Document details.
         
        repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
      • getPropertyDefinitionsOrBuilder

        PropertyDefinitionOrBuilder getPropertyDefinitionsOrBuilder​(int index)
         Document details.
         
        repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
      • getDocumentIsFolder

        boolean getDocumentIsFolder()
         Document Type, true refers the document is a folder, otherwise it is
         a typical document.
         
        bool document_is_folder = 4;
        Returns:
        The documentIsFolder.
      • hasUpdateTime

        boolean hasUpdateTime()
         Output only. The time when the document schema is last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        com.google.protobuf.Timestamp getUpdateTime()
         Output only. The time when the document schema is last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The time when the document schema is last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasCreateTime

        boolean hasCreateTime()
         Output only. The time when the document schema is created.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         Output only. The time when the document schema is created.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The time when the document schema is created.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDescription

        String getDescription()
         Schema description.
         
        string description = 7;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         Schema description.
         
        string description = 7;
        Returns:
        The bytes for description.