diff --git a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/Document.java b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/Document.java index 28361fdc..7f325e7b 100644 --- a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/Document.java +++ b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/Document.java @@ -34101,11 +34101,13 @@ public interface EntityOrBuilder * * *
-     * Provenance of the entity.
+     * Optional. Provenance of the entity.
      * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
      * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the textAnchor field is set. */ @@ -34114,11 +34116,13 @@ public interface EntityOrBuilder * * *
-     * Provenance of the entity.
+     * Optional. Provenance of the entity.
      * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
      * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The textAnchor. */ @@ -34127,11 +34131,13 @@ public interface EntityOrBuilder * * *
-     * Provenance of the entity.
+     * Optional. Provenance of the entity.
      * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
      * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.documentai.v1beta3.Document.TextAnchorOrBuilder getTextAnchorOrBuilder(); @@ -34164,10 +34170,10 @@ public interface EntityOrBuilder * * *
-     * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+     * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
      * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The mentionText. */ @@ -34176,10 +34182,10 @@ public interface EntityOrBuilder * * *
-     * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+     * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
      * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for mentionText. */ @@ -34189,10 +34195,10 @@ public interface EntityOrBuilder * * *
-     * Deprecated.  Use `id` field instead.
+     * Optional. Deprecated.  Use `id` field instead.
      * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The mentionId. */ @@ -34201,10 +34207,10 @@ public interface EntityOrBuilder * * *
-     * Deprecated.  Use `id` field instead.
+     * Optional. Deprecated.  Use `id` field instead.
      * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for mentionId. */ @@ -34693,8 +34699,7 @@ public interface NormalizedValueOrBuilder * *
        * Money value. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
        * 
* * .google.type.Money money_value = 2; @@ -34707,8 +34712,7 @@ public interface NormalizedValueOrBuilder * *
        * Money value. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
        * 
* * .google.type.Money money_value = 2; @@ -34721,8 +34725,7 @@ public interface NormalizedValueOrBuilder * *
        * Money value. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
        * 
* * .google.type.Money money_value = 2; @@ -34734,8 +34737,7 @@ public interface NormalizedValueOrBuilder * *
        * Date value. Includes year, month, day. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
        * 
* * .google.type.Date date_value = 3; @@ -34748,8 +34750,7 @@ public interface NormalizedValueOrBuilder * *
        * Date value. Includes year, month, day. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
        * 
* * .google.type.Date date_value = 3; @@ -34762,8 +34763,7 @@ public interface NormalizedValueOrBuilder * *
        * Date value. Includes year, month, day. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
        * 
* * .google.type.Date date_value = 3; @@ -34775,8 +34775,7 @@ public interface NormalizedValueOrBuilder * *
        * DateTime value. Includes date, time, and timezone. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
        * 
* * .google.type.DateTime datetime_value = 4; @@ -34789,8 +34788,7 @@ public interface NormalizedValueOrBuilder * *
        * DateTime value. Includes date, time, and timezone. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
        * 
* * .google.type.DateTime datetime_value = 4; @@ -34803,8 +34801,7 @@ public interface NormalizedValueOrBuilder * *
        * DateTime value. Includes date, time, and timezone. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
        * 
* * .google.type.DateTime datetime_value = 4; @@ -34816,8 +34813,7 @@ public interface NormalizedValueOrBuilder * *
        * Postal address. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
        * 
* * .google.type.PostalAddress address_value = 5; @@ -34830,8 +34826,7 @@ public interface NormalizedValueOrBuilder * *
        * Postal address. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
        * 
* * .google.type.PostalAddress address_value = 5; @@ -34844,8 +34839,7 @@ public interface NormalizedValueOrBuilder * *
        * Postal address. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
        * 
* * .google.type.PostalAddress address_value = 5; @@ -35139,8 +35133,7 @@ public StructuredValueCase getStructuredValueCase() { * *
        * Money value. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
        * 
* * .google.type.Money money_value = 2; @@ -35156,8 +35149,7 @@ public boolean hasMoneyValue() { * *
        * Money value. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
        * 
* * .google.type.Money money_value = 2; @@ -35176,8 +35168,7 @@ public com.google.type.Money getMoneyValue() { * *
        * Money value. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
        * 
* * .google.type.Money money_value = 2; @@ -35196,8 +35187,7 @@ public com.google.type.MoneyOrBuilder getMoneyValueOrBuilder() { * *
        * Date value. Includes year, month, day. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
        * 
* * .google.type.Date date_value = 3; @@ -35213,8 +35203,7 @@ public boolean hasDateValue() { * *
        * Date value. Includes year, month, day. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
        * 
* * .google.type.Date date_value = 3; @@ -35233,8 +35222,7 @@ public com.google.type.Date getDateValue() { * *
        * Date value. Includes year, month, day. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
        * 
* * .google.type.Date date_value = 3; @@ -35253,8 +35241,7 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { * *
        * DateTime value. Includes date, time, and timezone. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
        * 
* * .google.type.DateTime datetime_value = 4; @@ -35270,8 +35257,7 @@ public boolean hasDatetimeValue() { * *
        * DateTime value. Includes date, time, and timezone. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
        * 
* * .google.type.DateTime datetime_value = 4; @@ -35290,8 +35276,7 @@ public com.google.type.DateTime getDatetimeValue() { * *
        * DateTime value. Includes date, time, and timezone. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
        * 
* * .google.type.DateTime datetime_value = 4; @@ -35310,8 +35295,7 @@ public com.google.type.DateTimeOrBuilder getDatetimeValueOrBuilder() { * *
        * Postal address. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
        * 
* * .google.type.PostalAddress address_value = 5; @@ -35327,8 +35311,7 @@ public boolean hasAddressValue() { * *
        * Postal address. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
        * 
* * .google.type.PostalAddress address_value = 5; @@ -35347,8 +35330,7 @@ public com.google.type.PostalAddress getAddressValue() { * *
        * Postal address. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
        * 
* * .google.type.PostalAddress address_value = 5; @@ -35965,8 +35947,7 @@ public Builder clearStructuredValue() { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -35982,8 +35963,7 @@ public boolean hasMoneyValue() { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36009,8 +35989,7 @@ public com.google.type.Money getMoneyValue() { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36033,8 +36012,7 @@ public Builder setMoneyValue(com.google.type.Money value) { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36054,8 +36032,7 @@ public Builder setMoneyValue(com.google.type.Money.Builder builderForValue) { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36086,8 +36063,7 @@ public Builder mergeMoneyValue(com.google.type.Money value) { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36113,8 +36089,7 @@ public Builder clearMoneyValue() { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36127,8 +36102,7 @@ public com.google.type.Money.Builder getMoneyValueBuilder() { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36149,8 +36123,7 @@ public com.google.type.MoneyOrBuilder getMoneyValueOrBuilder() { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36186,8 +36159,7 @@ public com.google.type.MoneyOrBuilder getMoneyValueOrBuilder() { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36203,8 +36175,7 @@ public boolean hasDateValue() { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36230,8 +36201,7 @@ public com.google.type.Date getDateValue() { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36254,8 +36224,7 @@ public Builder setDateValue(com.google.type.Date value) { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36275,8 +36244,7 @@ public Builder setDateValue(com.google.type.Date.Builder builderForValue) { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36307,8 +36275,7 @@ public Builder mergeDateValue(com.google.type.Date value) { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36334,8 +36301,7 @@ public Builder clearDateValue() { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36348,8 +36314,7 @@ public com.google.type.Date.Builder getDateValueBuilder() { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36370,8 +36335,7 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36407,8 +36371,7 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36424,8 +36387,7 @@ public boolean hasDatetimeValue() { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36451,8 +36413,7 @@ public com.google.type.DateTime getDatetimeValue() { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36475,8 +36436,7 @@ public Builder setDatetimeValue(com.google.type.DateTime value) { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36496,8 +36456,7 @@ public Builder setDatetimeValue(com.google.type.DateTime.Builder builderForValue * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36528,8 +36487,7 @@ public Builder mergeDatetimeValue(com.google.type.DateTime value) { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36555,8 +36513,7 @@ public Builder clearDatetimeValue() { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36569,8 +36526,7 @@ public com.google.type.DateTime.Builder getDatetimeValueBuilder() { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36591,8 +36547,7 @@ public com.google.type.DateTimeOrBuilder getDatetimeValueOrBuilder() { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36630,8 +36585,7 @@ public com.google.type.DateTimeOrBuilder getDatetimeValueOrBuilder() { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36647,8 +36601,7 @@ public boolean hasAddressValue() { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36674,8 +36627,7 @@ public com.google.type.PostalAddress getAddressValue() { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36698,8 +36650,7 @@ public Builder setAddressValue(com.google.type.PostalAddress value) { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36719,8 +36670,7 @@ public Builder setAddressValue(com.google.type.PostalAddress.Builder builderForV * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36752,8 +36702,7 @@ public Builder mergeAddressValue(com.google.type.PostalAddress value) { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36779,8 +36728,7 @@ public Builder clearAddressValue() { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36793,8 +36741,7 @@ public com.google.type.PostalAddress.Builder getAddressValueBuilder() { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36815,8 +36762,7 @@ public com.google.type.PostalAddressOrBuilder getAddressValueOrBuilder() { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -37112,11 +37058,13 @@ public com.google.protobuf.Parser getParserForType() { * * *
-     * Provenance of the entity.
+     * Optional. Provenance of the entity.
      * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
      * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the textAnchor field is set. */ @@ -37128,11 +37076,13 @@ public boolean hasTextAnchor() { * * *
-     * Provenance of the entity.
+     * Optional. Provenance of the entity.
      * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
      * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The textAnchor. */ @@ -37146,11 +37096,13 @@ public com.google.cloud.documentai.v1beta3.Document.TextAnchor getTextAnchor() { * * *
-     * Provenance of the entity.
+     * Optional. Provenance of the entity.
      * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
      * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.documentai.v1beta3.Document.TextAnchorOrBuilder @@ -37213,10 +37165,10 @@ public com.google.protobuf.ByteString getTypeBytes() { * * *
-     * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+     * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
      * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The mentionText. */ @@ -37236,10 +37188,10 @@ public java.lang.String getMentionText() { * * *
-     * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+     * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
      * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for mentionText. */ @@ -37262,10 +37214,10 @@ public com.google.protobuf.ByteString getMentionTextBytes() { * * *
-     * Deprecated.  Use `id` field instead.
+     * Optional. Deprecated.  Use `id` field instead.
      * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The mentionId. */ @@ -37285,10 +37237,10 @@ public java.lang.String getMentionId() { * * *
-     * Deprecated.  Use `id` field instead.
+     * Optional. Deprecated.  Use `id` field instead.
      * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for mentionId. */ @@ -38238,11 +38190,13 @@ public Builder mergeFrom( * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the textAnchor field is set. */ @@ -38253,11 +38207,13 @@ public boolean hasTextAnchor() { * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The textAnchor. */ @@ -38274,11 +38230,13 @@ public com.google.cloud.documentai.v1beta3.Document.TextAnchor getTextAnchor() { * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setTextAnchor(com.google.cloud.documentai.v1beta3.Document.TextAnchor value) { if (textAnchorBuilder_ == null) { @@ -38297,11 +38255,13 @@ public Builder setTextAnchor(com.google.cloud.documentai.v1beta3.Document.TextAn * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setTextAnchor( com.google.cloud.documentai.v1beta3.Document.TextAnchor.Builder builderForValue) { @@ -38318,11 +38278,13 @@ public Builder setTextAnchor( * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeTextAnchor( com.google.cloud.documentai.v1beta3.Document.TextAnchor value) { @@ -38346,11 +38308,13 @@ public Builder mergeTextAnchor( * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearTextAnchor() { if (textAnchorBuilder_ == null) { @@ -38367,11 +38331,13 @@ public Builder clearTextAnchor() { * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.documentai.v1beta3.Document.TextAnchor.Builder getTextAnchorBuilder() { @@ -38383,11 +38349,13 @@ public Builder clearTextAnchor() { * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.documentai.v1beta3.Document.TextAnchorOrBuilder getTextAnchorOrBuilder() { @@ -38403,11 +38371,13 @@ public Builder clearTextAnchor() { * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.documentai.v1beta3.Document.TextAnchor, @@ -38537,10 +38507,10 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { * * *
-       * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+       * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
        * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The mentionText. */ @@ -38559,10 +38529,10 @@ public java.lang.String getMentionText() { * * *
-       * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+       * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
        * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for mentionText. */ @@ -38581,10 +38551,10 @@ public com.google.protobuf.ByteString getMentionTextBytes() { * * *
-       * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+       * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
        * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The mentionText to set. * @return This builder for chaining. @@ -38602,10 +38572,10 @@ public Builder setMentionText(java.lang.String value) { * * *
-       * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+       * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
        * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -38619,10 +38589,10 @@ public Builder clearMentionText() { * * *
-       * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+       * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
        * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for mentionText to set. * @return This builder for chaining. @@ -38643,10 +38613,10 @@ public Builder setMentionTextBytes(com.google.protobuf.ByteString value) { * * *
-       * Deprecated.  Use `id` field instead.
+       * Optional. Deprecated.  Use `id` field instead.
        * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The mentionId. */ @@ -38665,10 +38635,10 @@ public java.lang.String getMentionId() { * * *
-       * Deprecated.  Use `id` field instead.
+       * Optional. Deprecated.  Use `id` field instead.
        * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for mentionId. */ @@ -38687,10 +38657,10 @@ public com.google.protobuf.ByteString getMentionIdBytes() { * * *
-       * Deprecated.  Use `id` field instead.
+       * Optional. Deprecated.  Use `id` field instead.
        * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The mentionId to set. * @return This builder for chaining. @@ -38708,10 +38678,10 @@ public Builder setMentionId(java.lang.String value) { * * *
-       * Deprecated.  Use `id` field instead.
+       * Optional. Deprecated.  Use `id` field instead.
        * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -38725,10 +38695,10 @@ public Builder clearMentionId() { * * *
-       * Deprecated.  Use `id` field instead.
+       * Optional. Deprecated.  Use `id` field instead.
        * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for mentionId to set. * @return This builder for chaining. @@ -46116,13 +46086,23 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { * * *
-       * Element is review and approved at human review, confidence will be set
-       * to 1.0
+       * Element is reviewed and approved at human review, confidence will be
+       * set to 1.0.
        * 
* * EVAL_APPROVED = 5; */ EVAL_APPROVED(5), + /** + * + * + *
+       * Element is skipped in the validation process.
+       * 
+ * + * EVAL_SKIPPED = 6; + */ + EVAL_SKIPPED(6), UNRECOGNIZED(-1), ; @@ -46180,13 +46160,23 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { * * *
-       * Element is review and approved at human review, confidence will be set
-       * to 1.0
+       * Element is reviewed and approved at human review, confidence will be
+       * set to 1.0.
        * 
* * EVAL_APPROVED = 5; */ public static final int EVAL_APPROVED_VALUE = 5; + /** + * + * + *
+       * Element is skipped in the validation process.
+       * 
+ * + * EVAL_SKIPPED = 6; + */ + public static final int EVAL_SKIPPED_VALUE = 6; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -46224,6 +46214,8 @@ public static OperationType forNumber(int value) { return EVAL_REQUESTED; case 5: return EVAL_APPROVED; + case 6: + return EVAL_SKIPPED; default: return null; } @@ -52948,14 +52940,14 @@ public SourceCase getSourceCase() { * * *
-   * Currently supports Google Cloud Storage URI of the form
+   * Optional. Currently supports Google Cloud Storage URI of the form
    *    `gs://bucket_name/object_name`. Object versioning is not supported.
    *    See [Google Cloud Storage Request
    *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
    *    info.
    * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return Whether the uri field is set. */ @@ -52966,14 +52958,14 @@ public boolean hasUri() { * * *
-   * Currently supports Google Cloud Storage URI of the form
+   * Optional. Currently supports Google Cloud Storage URI of the form
    *    `gs://bucket_name/object_name`. Object versioning is not supported.
    *    See [Google Cloud Storage Request
    *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
    *    info.
    * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The uri. */ @@ -52997,14 +52989,14 @@ public java.lang.String getUri() { * * *
-   * Currently supports Google Cloud Storage URI of the form
+   * Optional. Currently supports Google Cloud Storage URI of the form
    *    `gs://bucket_name/object_name`. Object versioning is not supported.
    *    See [Google Cloud Storage Request
    *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
    *    info.
    * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for uri. */ @@ -53030,12 +53022,12 @@ public com.google.protobuf.ByteString getUriBytes() { * * *
-   * Inline document content, represented as a stream of bytes.
+   * Optional. Inline document content, represented as a stream of bytes.
    * Note: As with all `bytes` fields, protobuffers use a pure binary
    * representation, whereas JSON representations use base64.
    * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return Whether the content field is set. */ @@ -53047,12 +53039,12 @@ public boolean hasContent() { * * *
-   * Inline document content, represented as a stream of bytes.
+   * Optional. Inline document content, represented as a stream of bytes.
    * Note: As with all `bytes` fields, protobuffers use a pure binary
    * representation, whereas JSON representations use base64.
    * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The content. */ @@ -53123,10 +53115,10 @@ public com.google.protobuf.ByteString getMimeTypeBytes() { * * *
-   * UTF-8 encoded text in reading order from the document.
+   * Optional. UTF-8 encoded text in reading order from the document.
    * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The text. */ @@ -53146,10 +53138,10 @@ public java.lang.String getText() { * * *
-   * UTF-8 encoded text in reading order from the document.
+   * Optional. UTF-8 encoded text in reading order from the document.
    * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for text. */ @@ -54508,14 +54500,14 @@ public Builder clearSource() { * * *
-     * Currently supports Google Cloud Storage URI of the form
+     * Optional. Currently supports Google Cloud Storage URI of the form
      *    `gs://bucket_name/object_name`. Object versioning is not supported.
      *    See [Google Cloud Storage Request
      *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
      *    info.
      * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return Whether the uri field is set. */ @@ -54527,14 +54519,14 @@ public boolean hasUri() { * * *
-     * Currently supports Google Cloud Storage URI of the form
+     * Optional. Currently supports Google Cloud Storage URI of the form
      *    `gs://bucket_name/object_name`. Object versioning is not supported.
      *    See [Google Cloud Storage Request
      *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
      *    info.
      * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The uri. */ @@ -54559,14 +54551,14 @@ public java.lang.String getUri() { * * *
-     * Currently supports Google Cloud Storage URI of the form
+     * Optional. Currently supports Google Cloud Storage URI of the form
      *    `gs://bucket_name/object_name`. Object versioning is not supported.
      *    See [Google Cloud Storage Request
      *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
      *    info.
      * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for uri. */ @@ -54591,14 +54583,14 @@ public com.google.protobuf.ByteString getUriBytes() { * * *
-     * Currently supports Google Cloud Storage URI of the form
+     * Optional. Currently supports Google Cloud Storage URI of the form
      *    `gs://bucket_name/object_name`. Object versioning is not supported.
      *    See [Google Cloud Storage Request
      *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
      *    info.
      * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The uri to set. * @return This builder for chaining. @@ -54616,14 +54608,14 @@ public Builder setUri(java.lang.String value) { * * *
-     * Currently supports Google Cloud Storage URI of the form
+     * Optional. Currently supports Google Cloud Storage URI of the form
      *    `gs://bucket_name/object_name`. Object versioning is not supported.
      *    See [Google Cloud Storage Request
      *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
      *    info.
      * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -54639,14 +54631,14 @@ public Builder clearUri() { * * *
-     * Currently supports Google Cloud Storage URI of the form
+     * Optional. Currently supports Google Cloud Storage URI of the form
      *    `gs://bucket_name/object_name`. Object versioning is not supported.
      *    See [Google Cloud Storage Request
      *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
      *    info.
      * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for uri to set. * @return This builder for chaining. @@ -54666,12 +54658,12 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { * * *
-     * Inline document content, represented as a stream of bytes.
+     * Optional. Inline document content, represented as a stream of bytes.
      * Note: As with all `bytes` fields, protobuffers use a pure binary
      * representation, whereas JSON representations use base64.
      * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return Whether the content field is set. */ @@ -54682,12 +54674,12 @@ public boolean hasContent() { * * *
-     * Inline document content, represented as a stream of bytes.
+     * Optional. Inline document content, represented as a stream of bytes.
      * Note: As with all `bytes` fields, protobuffers use a pure binary
      * representation, whereas JSON representations use base64.
      * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The content. */ @@ -54701,12 +54693,12 @@ public com.google.protobuf.ByteString getContent() { * * *
-     * Inline document content, represented as a stream of bytes.
+     * Optional. Inline document content, represented as a stream of bytes.
      * Note: As with all `bytes` fields, protobuffers use a pure binary
      * representation, whereas JSON representations use base64.
      * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The content to set. * @return This builder for chaining. @@ -54724,12 +54716,12 @@ public Builder setContent(com.google.protobuf.ByteString value) { * * *
-     * Inline document content, represented as a stream of bytes.
+     * Optional. Inline document content, represented as a stream of bytes.
      * Note: As with all `bytes` fields, protobuffers use a pure binary
      * representation, whereas JSON representations use base64.
      * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -54863,10 +54855,10 @@ public Builder setMimeTypeBytes(com.google.protobuf.ByteString value) { * * *
-     * UTF-8 encoded text in reading order from the document.
+     * Optional. UTF-8 encoded text in reading order from the document.
      * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The text. */ @@ -54885,10 +54877,10 @@ public java.lang.String getText() { * * *
-     * UTF-8 encoded text in reading order from the document.
+     * Optional. UTF-8 encoded text in reading order from the document.
      * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for text. */ @@ -54907,10 +54899,10 @@ public com.google.protobuf.ByteString getTextBytes() { * * *
-     * UTF-8 encoded text in reading order from the document.
+     * Optional. UTF-8 encoded text in reading order from the document.
      * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The text to set. * @return This builder for chaining. @@ -54928,10 +54920,10 @@ public Builder setText(java.lang.String value) { * * *
-     * UTF-8 encoded text in reading order from the document.
+     * Optional. UTF-8 encoded text in reading order from the document.
      * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -54945,10 +54937,10 @@ public Builder clearText() { * * *
-     * UTF-8 encoded text in reading order from the document.
+     * Optional. UTF-8 encoded text in reading order from the document.
      * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for text to set. * @return This builder for chaining. diff --git a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOrBuilder.java b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOrBuilder.java index e7c54a5f..a955c620 100644 --- a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOrBuilder.java +++ b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOrBuilder.java @@ -27,14 +27,14 @@ public interface DocumentOrBuilder * * *
-   * Currently supports Google Cloud Storage URI of the form
+   * Optional. Currently supports Google Cloud Storage URI of the form
    *    `gs://bucket_name/object_name`. Object versioning is not supported.
    *    See [Google Cloud Storage Request
    *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
    *    info.
    * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return Whether the uri field is set. */ @@ -43,14 +43,14 @@ public interface DocumentOrBuilder * * *
-   * Currently supports Google Cloud Storage URI of the form
+   * Optional. Currently supports Google Cloud Storage URI of the form
    *    `gs://bucket_name/object_name`. Object versioning is not supported.
    *    See [Google Cloud Storage Request
    *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
    *    info.
    * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The uri. */ @@ -59,14 +59,14 @@ public interface DocumentOrBuilder * * *
-   * Currently supports Google Cloud Storage URI of the form
+   * Optional. Currently supports Google Cloud Storage URI of the form
    *    `gs://bucket_name/object_name`. Object versioning is not supported.
    *    See [Google Cloud Storage Request
    *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
    *    info.
    * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for uri. */ @@ -76,12 +76,12 @@ public interface DocumentOrBuilder * * *
-   * Inline document content, represented as a stream of bytes.
+   * Optional. Inline document content, represented as a stream of bytes.
    * Note: As with all `bytes` fields, protobuffers use a pure binary
    * representation, whereas JSON representations use base64.
    * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return Whether the content field is set. */ @@ -90,12 +90,12 @@ public interface DocumentOrBuilder * * *
-   * Inline document content, represented as a stream of bytes.
+   * Optional. Inline document content, represented as a stream of bytes.
    * Note: As with all `bytes` fields, protobuffers use a pure binary
    * representation, whereas JSON representations use base64.
    * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The content. */ @@ -134,10 +134,10 @@ public interface DocumentOrBuilder * * *
-   * UTF-8 encoded text in reading order from the document.
+   * Optional. UTF-8 encoded text in reading order from the document.
    * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The text. */ @@ -146,10 +146,10 @@ public interface DocumentOrBuilder * * *
-   * UTF-8 encoded text in reading order from the document.
+   * Optional. UTF-8 encoded text in reading order from the document.
    * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for text. */ diff --git a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java index eda9a85d..44c81f92 100644 --- a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java +++ b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java @@ -173,200 +173,201 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "proto\032\026google/type/date.proto\032\032google/ty" + "pe/datetime.proto\032\027google/type/money.pro" + "to\032 google/type/postal_address.proto\032\034go" - + "ogle/api/annotations.proto\"\241:\n\010Document\022" - + "\r\n\003uri\030\001 \001(\tH\000\022\021\n\007content\030\002 \001(\014H\000\022\021\n\tmim" - + "e_type\030\003 \001(\t\022\014\n\004text\030\004 \001(\t\022D\n\013text_style" - + "s\030\005 \003(\0132/.google.cloud.documentai.v1beta" - + "3.Document.Style\022=\n\005pages\030\006 \003(\0132..google" - + ".cloud.documentai.v1beta3.Document.Page\022" - + "B\n\010entities\030\007 \003(\01320.google.cloud.documen" - + "tai.v1beta3.Document.Entity\022R\n\020entity_re" - + "lations\030\010 \003(\01328.google.cloud.documentai." - + "v1beta3.Document.EntityRelation\022J\n\014text_" - + "changes\030\016 \003(\01324.google.cloud.documentai." - + "v1beta3.Document.TextChange\022G\n\nshard_inf" - + "o\030\t \001(\01323.google.cloud.documentai.v1beta" - + "3.Document.ShardInfo\022!\n\005error\030\n \001(\0132\022.go" - + "ogle.rpc.Status\022E\n\trevisions\030\r \003(\01322.goo" - + "gle.cloud.documentai.v1beta3.Document.Re" - + "vision\032J\n\tShardInfo\022\023\n\013shard_index\030\001 \001(\003" - + "\022\023\n\013shard_count\030\002 \001(\003\022\023\n\013text_offset\030\003 \001" - + "(\003\032\332\002\n\005Style\022I\n\013text_anchor\030\001 \001(\01324.goog" - + "le.cloud.documentai.v1beta3.Document.Tex" - + "tAnchor\022!\n\005color\030\002 \001(\0132\022.google.type.Col" - + "or\022,\n\020background_color\030\003 \001(\0132\022.google.ty" - + "pe.Color\022\023\n\013font_weight\030\004 \001(\t\022\022\n\ntext_st" - + "yle\030\005 \001(\t\022\027\n\017text_decoration\030\006 \001(\t\022K\n\tfo" - + "nt_size\030\007 \001(\01328.google.cloud.documentai." - + "v1beta3.Document.Style.FontSize\032&\n\010FontS" - + "ize\022\014\n\004size\030\001 \001(\002\022\014\n\004unit\030\002 \001(\t\032\320\037\n\004Page" - + "\022\023\n\013page_number\030\001 \001(\005\022C\n\005image\030\r \001(\01324.g" + + "ogle/api/annotations.proto\"\322:\n\010Document\022" + + "\022\n\003uri\030\001 \001(\tB\003\340A\001H\000\022\026\n\007content\030\002 \001(\014B\003\340A" + + "\001H\000\022\021\n\tmime_type\030\003 \001(\t\022\021\n\004text\030\004 \001(\tB\003\340A" + + "\001\022D\n\013text_styles\030\005 \003(\0132/.google.cloud.do" + + "cumentai.v1beta3.Document.Style\022=\n\005pages" + + "\030\006 \003(\0132..google.cloud.documentai.v1beta3" + + ".Document.Page\022B\n\010entities\030\007 \003(\01320.googl" + + "e.cloud.documentai.v1beta3.Document.Enti" + + "ty\022R\n\020entity_relations\030\010 \003(\01328.google.cl" + + "oud.documentai.v1beta3.Document.EntityRe" + + "lation\022J\n\014text_changes\030\016 \003(\01324.google.cl" + + "oud.documentai.v1beta3.Document.TextChan" + + "ge\022G\n\nshard_info\030\t \001(\01323.google.cloud.do" + + "cumentai.v1beta3.Document.ShardInfo\022!\n\005e" + + "rror\030\n \001(\0132\022.google.rpc.Status\022E\n\trevisi" + + "ons\030\r \003(\01322.google.cloud.documentai.v1be" + + "ta3.Document.Revision\032J\n\tShardInfo\022\023\n\013sh" + + "ard_index\030\001 \001(\003\022\023\n\013shard_count\030\002 \001(\003\022\023\n\013" + + "text_offset\030\003 \001(\003\032\332\002\n\005Style\022I\n\013text_anch" + + "or\030\001 \001(\01324.google.cloud.documentai.v1bet" + + "a3.Document.TextAnchor\022!\n\005color\030\002 \001(\0132\022." + + "google.type.Color\022,\n\020background_color\030\003 " + + "\001(\0132\022.google.type.Color\022\023\n\013font_weight\030\004" + + " \001(\t\022\022\n\ntext_style\030\005 \001(\t\022\027\n\017text_decorat" + + "ion\030\006 \001(\t\022K\n\tfont_size\030\007 \001(\01328.google.cl" + + "oud.documentai.v1beta3.Document.Style.Fo" + + "ntSize\032&\n\010FontSize\022\014\n\004size\030\001 \001(\002\022\014\n\004unit" + + "\030\002 \001(\t\032\320\037\n\004Page\022\023\n\013page_number\030\001 \001(\005\022C\n\005" + + "image\030\r \001(\01324.google.cloud.documentai.v1" + + "beta3.Document.Page.Image\022I\n\ntransforms\030" + + "\016 \003(\01325.google.cloud.documentai.v1beta3." + + "Document.Page.Matrix\022K\n\tdimension\030\002 \001(\0132" + + "8.google.cloud.documentai.v1beta3.Docume" + + "nt.Page.Dimension\022E\n\006layout\030\003 \001(\01325.goog" + + "le.cloud.documentai.v1beta3.Document.Pag" + + "e.Layout\022[\n\022detected_languages\030\004 \003(\0132?.g" + "oogle.cloud.documentai.v1beta3.Document." - + "Page.Image\022I\n\ntransforms\030\016 \003(\01325.google." - + "cloud.documentai.v1beta3.Document.Page.M" - + "atrix\022K\n\tdimension\030\002 \001(\01328.google.cloud." - + "documentai.v1beta3.Document.Page.Dimensi" - + "on\022E\n\006layout\030\003 \001(\01325.google.cloud.docume" - + "ntai.v1beta3.Document.Page.Layout\022[\n\022det" - + "ected_languages\030\004 \003(\0132?.google.cloud.doc" - + "umentai.v1beta3.Document.Page.DetectedLa" - + "nguage\022D\n\006blocks\030\005 \003(\01324.google.cloud.do" - + "cumentai.v1beta3.Document.Page.Block\022L\n\n" - + "paragraphs\030\006 \003(\01328.google.cloud.document" - + "ai.v1beta3.Document.Page.Paragraph\022B\n\005li" - + "nes\030\007 \003(\01323.google.cloud.documentai.v1be" - + "ta3.Document.Page.Line\022D\n\006tokens\030\010 \003(\01324" - + ".google.cloud.documentai.v1beta3.Documen" - + "t.Page.Token\022U\n\017visual_elements\030\t \003(\0132<." + + "Page.DetectedLanguage\022D\n\006blocks\030\005 \003(\01324." + "google.cloud.documentai.v1beta3.Document" - + ".Page.VisualElement\022D\n\006tables\030\n \003(\01324.go" + + ".Page.Block\022L\n\nparagraphs\030\006 \003(\01328.google" + + ".cloud.documentai.v1beta3.Document.Page." + + "Paragraph\022B\n\005lines\030\007 \003(\01323.google.cloud." + + "documentai.v1beta3.Document.Page.Line\022D\n" + + "\006tokens\030\010 \003(\01324.google.cloud.documentai." + + "v1beta3.Document.Page.Token\022U\n\017visual_el" + + "ements\030\t \003(\0132<.google.cloud.documentai.v" + + "1beta3.Document.Page.VisualElement\022D\n\006ta" + + "bles\030\n \003(\01324.google.cloud.documentai.v1b" + + "eta3.Document.Page.Table\022M\n\013form_fields\030" + + "\013 \003(\01328.google.cloud.documentai.v1beta3." + + "Document.Page.FormField\0328\n\tDimension\022\r\n\005" + + "width\030\001 \001(\002\022\016\n\006height\030\002 \001(\002\022\014\n\004unit\030\003 \001(" + + "\t\032J\n\005Image\022\017\n\007content\030\001 \001(\014\022\021\n\tmime_type" + + "\030\002 \001(\t\022\r\n\005width\030\003 \001(\005\022\016\n\006height\030\004 \001(\005\032@\n" + + "\006Matrix\022\014\n\004rows\030\001 \001(\005\022\014\n\004cols\030\002 \001(\005\022\014\n\004t" + + "ype\030\003 \001(\005\022\014\n\004data\030\004 \001(\014\032\354\002\n\006Layout\022I\n\013te" + + "xt_anchor\030\001 \001(\01324.google.cloud.documenta" + + "i.v1beta3.Document.TextAnchor\022\022\n\nconfide" + + "nce\030\002 \001(\002\022D\n\rbounding_poly\030\003 \001(\0132-.googl" + + "e.cloud.documentai.v1beta3.BoundingPoly\022" + + "V\n\013orientation\030\004 \001(\0162A.google.cloud.docu" + + "mentai.v1beta3.Document.Page.Layout.Orie" + + "ntation\"e\n\013Orientation\022\033\n\027ORIENTATION_UN" + + "SPECIFIED\020\000\022\013\n\007PAGE_UP\020\001\022\016\n\nPAGE_RIGHT\020\002" + + "\022\r\n\tPAGE_DOWN\020\003\022\r\n\tPAGE_LEFT\020\004\032\365\001\n\005Block" + + "\022E\n\006layout\030\001 \001(\01325.google.cloud.document" + + "ai.v1beta3.Document.Page.Layout\022[\n\022detec" + + "ted_languages\030\002 \003(\0132?.google.cloud.docum" + + "entai.v1beta3.Document.Page.DetectedLang" + + "uage\022H\n\nprovenance\030\003 \001(\01324.google.cloud." + + "documentai.v1beta3.Document.Provenance\032\371" + + "\001\n\tParagraph\022E\n\006layout\030\001 \001(\01325.google.cl" + + "oud.documentai.v1beta3.Document.Page.Lay" + + "out\022[\n\022detected_languages\030\002 \003(\0132?.google" + + ".cloud.documentai.v1beta3.Document.Page." + + "DetectedLanguage\022H\n\nprovenance\030\003 \001(\01324.g" + + "oogle.cloud.documentai.v1beta3.Document." + + "Provenance\032\364\001\n\004Line\022E\n\006layout\030\001 \001(\01325.go" + "ogle.cloud.documentai.v1beta3.Document.P" - + "age.Table\022M\n\013form_fields\030\013 \003(\01328.google." - + "cloud.documentai.v1beta3.Document.Page.F" - + "ormField\0328\n\tDimension\022\r\n\005width\030\001 \001(\002\022\016\n\006" - + "height\030\002 \001(\002\022\014\n\004unit\030\003 \001(\t\032J\n\005Image\022\017\n\007c" - + "ontent\030\001 \001(\014\022\021\n\tmime_type\030\002 \001(\t\022\r\n\005width" - + "\030\003 \001(\005\022\016\n\006height\030\004 \001(\005\032@\n\006Matrix\022\014\n\004rows" - + "\030\001 \001(\005\022\014\n\004cols\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\022\014\n\004da" - + "ta\030\004 \001(\014\032\354\002\n\006Layout\022I\n\013text_anchor\030\001 \001(\013" - + "24.google.cloud.documentai.v1beta3.Docum" - + "ent.TextAnchor\022\022\n\nconfidence\030\002 \001(\002\022D\n\rbo" - + "unding_poly\030\003 \001(\0132-.google.cloud.documen" - + "tai.v1beta3.BoundingPoly\022V\n\013orientation\030" - + "\004 \001(\0162A.google.cloud.documentai.v1beta3." - + "Document.Page.Layout.Orientation\"e\n\013Orie" - + "ntation\022\033\n\027ORIENTATION_UNSPECIFIED\020\000\022\013\n\007" - + "PAGE_UP\020\001\022\016\n\nPAGE_RIGHT\020\002\022\r\n\tPAGE_DOWN\020\003" - + "\022\r\n\tPAGE_LEFT\020\004\032\365\001\n\005Block\022E\n\006layout\030\001 \001(" - + "\01325.google.cloud.documentai.v1beta3.Docu" - + "ment.Page.Layout\022[\n\022detected_languages\030\002" - + " \003(\0132?.google.cloud.documentai.v1beta3.D" - + "ocument.Page.DetectedLanguage\022H\n\nprovena" - + "nce\030\003 \001(\01324.google.cloud.documentai.v1be" - + "ta3.Document.Provenance\032\371\001\n\tParagraph\022E\n" - + "\006layout\030\001 \001(\01325.google.cloud.documentai." - + "v1beta3.Document.Page.Layout\022[\n\022detected" - + "_languages\030\002 \003(\0132?.google.cloud.document" - + "ai.v1beta3.Document.Page.DetectedLanguag" - + "e\022H\n\nprovenance\030\003 \001(\01324.google.cloud.doc" - + "umentai.v1beta3.Document.Provenance\032\364\001\n\004" - + "Line\022E\n\006layout\030\001 \001(\01325.google.cloud.docu" - + "mentai.v1beta3.Document.Page.Layout\022[\n\022d" - + "etected_languages\030\002 \003(\0132?.google.cloud.d" - + "ocumentai.v1beta3.Document.Page.Detected" - + "Language\022H\n\nprovenance\030\003 \001(\01324.google.cl" - + "oud.documentai.v1beta3.Document.Provenan" - + "ce\032\377\003\n\005Token\022E\n\006layout\030\001 \001(\01325.google.cl" + + "age.Layout\022[\n\022detected_languages\030\002 \003(\0132?" + + ".google.cloud.documentai.v1beta3.Documen" + + "t.Page.DetectedLanguage\022H\n\nprovenance\030\003 " + + "\001(\01324.google.cloud.documentai.v1beta3.Do" + + "cument.Provenance\032\377\003\n\005Token\022E\n\006layout\030\001 " + + "\001(\01325.google.cloud.documentai.v1beta3.Do" + + "cument.Page.Layout\022Z\n\016detected_break\030\002 \001" + + "(\0132B.google.cloud.documentai.v1beta3.Doc" + + "ument.Page.Token.DetectedBreak\022[\n\022detect" + + "ed_languages\030\003 \003(\0132?.google.cloud.docume" + + "ntai.v1beta3.Document.Page.DetectedLangu" + + "age\022H\n\nprovenance\030\004 \001(\01324.google.cloud.d" + + "ocumentai.v1beta3.Document.Provenance\032\253\001" + + "\n\rDetectedBreak\022U\n\004type\030\001 \001(\0162G.google.c" + + "loud.documentai.v1beta3.Document.Page.To" + + "ken.DetectedBreak.Type\"C\n\004Type\022\024\n\020TYPE_U" + + "NSPECIFIED\020\000\022\t\n\005SPACE\020\001\022\016\n\nWIDE_SPACE\020\002\022" + + "\n\n\006HYPHEN\020\003\032\301\001\n\rVisualElement\022E\n\006layout\030" + + "\001 \001(\01325.google.cloud.documentai.v1beta3." + + "Document.Page.Layout\022\014\n\004type\030\002 \001(\t\022[\n\022de" + + "tected_languages\030\003 \003(\0132?.google.cloud.do" + + "cumentai.v1beta3.Document.Page.DetectedL" + + "anguage\032\202\005\n\005Table\022E\n\006layout\030\001 \001(\01325.goog" + + "le.cloud.documentai.v1beta3.Document.Pag" + + "e.Layout\022R\n\013header_rows\030\002 \003(\0132=.google.c" + + "loud.documentai.v1beta3.Document.Page.Ta" + + "ble.TableRow\022P\n\tbody_rows\030\003 \003(\0132=.google" + + ".cloud.documentai.v1beta3.Document.Page." + + "Table.TableRow\022[\n\022detected_languages\030\004 \003" + + "(\0132?.google.cloud.documentai.v1beta3.Doc" + + "ument.Page.DetectedLanguage\032Y\n\010TableRow\022" + + "M\n\005cells\030\001 \003(\0132>.google.cloud.documentai" + + ".v1beta3.Document.Page.Table.TableCell\032\323" + + "\001\n\tTableCell\022E\n\006layout\030\001 \001(\01325.google.cl" + "oud.documentai.v1beta3.Document.Page.Lay" - + "out\022Z\n\016detected_break\030\002 \001(\0132B.google.clo" - + "ud.documentai.v1beta3.Document.Page.Toke" - + "n.DetectedBreak\022[\n\022detected_languages\030\003 " - + "\003(\0132?.google.cloud.documentai.v1beta3.Do" - + "cument.Page.DetectedLanguage\022H\n\nprovenan" - + "ce\030\004 \001(\01324.google.cloud.documentai.v1bet" - + "a3.Document.Provenance\032\253\001\n\rDetectedBreak" - + "\022U\n\004type\030\001 \001(\0162G.google.cloud.documentai" - + ".v1beta3.Document.Page.Token.DetectedBre" - + "ak.Type\"C\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t\n" - + "\005SPACE\020\001\022\016\n\nWIDE_SPACE\020\002\022\n\n\006HYPHEN\020\003\032\301\001\n" - + "\rVisualElement\022E\n\006layout\030\001 \001(\01325.google." - + "cloud.documentai.v1beta3.Document.Page.L" - + "ayout\022\014\n\004type\030\002 \001(\t\022[\n\022detected_language" - + "s\030\003 \003(\0132?.google.cloud.documentai.v1beta" - + "3.Document.Page.DetectedLanguage\032\202\005\n\005Tab" - + "le\022E\n\006layout\030\001 \001(\01325.google.cloud.docume" - + "ntai.v1beta3.Document.Page.Layout\022R\n\013hea" - + "der_rows\030\002 \003(\0132=.google.cloud.documentai" - + ".v1beta3.Document.Page.Table.TableRow\022P\n" - + "\tbody_rows\030\003 \003(\0132=.google.cloud.document" - + "ai.v1beta3.Document.Page.Table.TableRow\022" + + "out\022\020\n\010row_span\030\002 \001(\005\022\020\n\010col_span\030\003 \001(\005\022" + "[\n\022detected_languages\030\004 \003(\0132?.google.clo" + "ud.documentai.v1beta3.Document.Page.Dete" - + "ctedLanguage\032Y\n\010TableRow\022M\n\005cells\030\001 \003(\0132" - + ">.google.cloud.documentai.v1beta3.Docume" - + "nt.Page.Table.TableCell\032\323\001\n\tTableCell\022E\n" - + "\006layout\030\001 \001(\01325.google.cloud.documentai." - + "v1beta3.Document.Page.Layout\022\020\n\010row_span" - + "\030\002 \001(\005\022\020\n\010col_span\030\003 \001(\005\022[\n\022detected_lan" - + "guages\030\004 \003(\0132?.google.cloud.documentai.v" - + "1beta3.Document.Page.DetectedLanguage\032\373\002" - + "\n\tFormField\022I\n\nfield_name\030\001 \001(\01325.google" - + ".cloud.documentai.v1beta3.Document.Page." - + "Layout\022J\n\013field_value\030\002 \001(\01325.google.clo" - + "ud.documentai.v1beta3.Document.Page.Layo" - + "ut\022`\n\027name_detected_languages\030\003 \003(\0132?.go" - + "ogle.cloud.documentai.v1beta3.Document.P" - + "age.DetectedLanguage\022a\n\030value_detected_l" - + "anguages\030\004 \003(\0132?.google.cloud.documentai" - + ".v1beta3.Document.Page.DetectedLanguage\022" - + "\022\n\nvalue_type\030\005 \001(\t\032=\n\020DetectedLanguage\022" - + "\025\n\rlanguage_code\030\001 \001(\t\022\022\n\nconfidence\030\002 \001" - + "(\002\032\245\006\n\006Entity\022I\n\013text_anchor\030\001 \001(\01324.goo" - + "gle.cloud.documentai.v1beta3.Document.Te" - + "xtAnchor\022\014\n\004type\030\002 \001(\t\022\024\n\014mention_text\030\003" - + " \001(\t\022\022\n\nmention_id\030\004 \001(\t\022\027\n\nconfidence\030\005" - + " \001(\002B\003\340A\001\022N\n\013page_anchor\030\006 \001(\01324.google." - + "cloud.documentai.v1beta3.Document.PageAn" - + "chorB\003\340A\001\022\017\n\002id\030\007 \001(\tB\003\340A\001\022_\n\020normalized" - + "_value\030\t \001(\0132@.google.cloud.documentai.v" - + "1beta3.Document.Entity.NormalizedValueB\003" - + "\340A\001\022I\n\nproperties\030\n \003(\01320.google.cloud.d" - + "ocumentai.v1beta3.Document.EntityB\003\340A\001\022M" - + "\n\nprovenance\030\013 \001(\01324.google.cloud.docume" - + "ntai.v1beta3.Document.ProvenanceB\003\340A\001\022\025\n" - + "\010redacted\030\014 \001(\010B\003\340A\001\032\213\002\n\017NormalizedValue" - + "\022)\n\013money_value\030\002 \001(\0132\022.google.type.Mone" - + "yH\000\022\'\n\ndate_value\030\003 \001(\0132\021.google.type.Da" - + "teH\000\022/\n\016datetime_value\030\004 \001(\0132\025.google.ty" - + "pe.DateTimeH\000\0223\n\raddress_value\030\005 \001(\0132\032.g" - + "oogle.type.PostalAddressH\000\022\027\n\rboolean_va" - + "lue\030\006 \001(\010H\000\022\021\n\004text\030\001 \001(\tB\003\340A\002B\022\n\020struct" - + "ured_value\032I\n\016EntityRelation\022\022\n\nsubject_" - + "id\030\001 \001(\t\022\021\n\tobject_id\030\002 \001(\t\022\020\n\010relation\030" - + "\003 \001(\t\032\255\001\n\nTextAnchor\022W\n\rtext_segments\030\001 " - + "\003(\0132@.google.cloud.documentai.v1beta3.Do" - + "cument.TextAnchor.TextSegment\022\017\n\007content" - + "\030\002 \001(\t\0325\n\013TextSegment\022\023\n\013start_index\030\001 \001" - + "(\003\022\021\n\tend_index\030\002 \001(\003\032\316\003\n\nPageAnchor\022O\n\t" - + "page_refs\030\001 \003(\0132<.google.cloud.documenta" - + "i.v1beta3.Document.PageAnchor.PageRef\032\356\002" - + "\n\007PageRef\022\021\n\004page\030\001 \001(\003B\003\340A\002\022a\n\013layout_t" - + "ype\030\002 \001(\0162G.google.cloud.documentai.v1be" - + "ta3.Document.PageAnchor.PageRef.LayoutTy" - + "peB\003\340A\001\022\030\n\tlayout_id\030\003 \001(\tB\005\030\001\340A\001\022I\n\rbou" - + "nding_poly\030\004 \001(\0132-.google.cloud.document" - + "ai.v1beta3.BoundingPolyB\003\340A\001\"\207\001\n\nLayoutT" - + "ype\022\033\n\027LAYOUT_TYPE_UNSPECIFIED\020\000\022\t\n\005BLOC" - + "K\020\001\022\r\n\tPARAGRAPH\020\002\022\010\n\004LINE\020\003\022\t\n\005TOKEN\020\004\022" - + "\022\n\016VISUAL_ELEMENT\020\005\022\t\n\005TABLE\020\006\022\016\n\nFORM_F" - + "IELD\020\007\032\354\002\n\nProvenance\022\020\n\010revision\030\001 \001(\005\022" - + "\n\n\002id\030\002 \001(\005\022L\n\007parents\030\003 \003(\0132;.google.cl" - + "oud.documentai.v1beta3.Document.Provenan" - + "ce.Parent\022P\n\004type\030\004 \001(\0162B.google.cloud.d" - + "ocumentai.v1beta3.Document.Provenance.Op" - + "erationType\032&\n\006Parent\022\020\n\010revision\030\001 \001(\005\022" - + "\n\n\002id\030\002 \001(\005\"x\n\rOperationType\022\036\n\032OPERATIO" - + "N_TYPE_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020" - + "\002\022\013\n\007REPLACE\020\003\022\022\n\016EVAL_REQUESTED\020\004\022\021\n\rEV" - + "AL_APPROVED\020\005\032\222\002\n\010Revision\022\017\n\005agent\030\004 \001(" - + "\tH\000\022\023\n\tprocessor\030\005 \001(\tH\000\022\n\n\002id\030\001 \001(\t\022\016\n\006" - + "parent\030\002 \003(\005\022/\n\013create_time\030\003 \001(\0132\032.goog" - + "le.protobuf.Timestamp\022T\n\014human_review\030\006 " - + "\001(\0132>.google.cloud.documentai.v1beta3.Do" - + "cument.Revision.HumanReview\0323\n\013HumanRevi" - + "ew\022\r\n\005state\030\001 \001(\t\022\025\n\rstate_message\030\002 \001(\t" - + "B\010\n\006source\032\267\001\n\nTextChange\022I\n\013text_anchor" - + "\030\001 \001(\01324.google.cloud.documentai.v1beta3" - + ".Document.TextAnchor\022\024\n\014changed_text\030\002 \001" - + "(\t\022H\n\nprovenance\030\003 \003(\01324.google.cloud.do" - + "cumentai.v1beta3.Document.ProvenanceB\010\n\006" - + "sourceB\352\001\n#com.google.cloud.documentai.v" - + "1beta3B\rDocumentProtoP\001ZIgoogle.golang.o" - + "rg/genproto/googleapis/cloud/documentai/" - + "v1beta3;documentai\252\002\037Google.Cloud.Docume" - + "ntAI.V1Beta3\312\002\037Google\\Cloud\\DocumentAI\\V" - + "1beta3\352\002\"Google::Cloud::DocumentAI::V1be" - + "ta3b\006proto3" + + "ctedLanguage\032\373\002\n\tFormField\022I\n\nfield_name" + + "\030\001 \001(\01325.google.cloud.documentai.v1beta3" + + ".Document.Page.Layout\022J\n\013field_value\030\002 \001" + + "(\01325.google.cloud.documentai.v1beta3.Doc" + + "ument.Page.Layout\022`\n\027name_detected_langu" + + "ages\030\003 \003(\0132?.google.cloud.documentai.v1b" + + "eta3.Document.Page.DetectedLanguage\022a\n\030v" + + "alue_detected_languages\030\004 \003(\0132?.google.c" + + "loud.documentai.v1beta3.Document.Page.De" + + "tectedLanguage\022\022\n\nvalue_type\030\005 \001(\t\032=\n\020De" + + "tectedLanguage\022\025\n\rlanguage_code\030\001 \001(\t\022\022\n" + + "\nconfidence\030\002 \001(\002\032\264\006\n\006Entity\022N\n\013text_anc" + + "hor\030\001 \001(\01324.google.cloud.documentai.v1be" + + "ta3.Document.TextAnchorB\003\340A\001\022\014\n\004type\030\002 \001" + + "(\t\022\031\n\014mention_text\030\003 \001(\tB\003\340A\001\022\027\n\nmention" + + "_id\030\004 \001(\tB\003\340A\001\022\027\n\nconfidence\030\005 \001(\002B\003\340A\001\022" + + "N\n\013page_anchor\030\006 \001(\01324.google.cloud.docu" + + "mentai.v1beta3.Document.PageAnchorB\003\340A\001\022" + + "\017\n\002id\030\007 \001(\tB\003\340A\001\022_\n\020normalized_value\030\t \001" + + "(\0132@.google.cloud.documentai.v1beta3.Doc" + + "ument.Entity.NormalizedValueB\003\340A\001\022I\n\npro" + + "perties\030\n \003(\01320.google.cloud.documentai." + + "v1beta3.Document.EntityB\003\340A\001\022M\n\nprovenan" + + "ce\030\013 \001(\01324.google.cloud.documentai.v1bet" + + "a3.Document.ProvenanceB\003\340A\001\022\025\n\010redacted\030" + + "\014 \001(\010B\003\340A\001\032\213\002\n\017NormalizedValue\022)\n\013money_" + + "value\030\002 \001(\0132\022.google.type.MoneyH\000\022\'\n\ndat" + + "e_value\030\003 \001(\0132\021.google.type.DateH\000\022/\n\016da" + + "tetime_value\030\004 \001(\0132\025.google.type.DateTim" + + "eH\000\0223\n\raddress_value\030\005 \001(\0132\032.google.type" + + ".PostalAddressH\000\022\027\n\rboolean_value\030\006 \001(\010H" + + "\000\022\021\n\004text\030\001 \001(\tB\003\340A\002B\022\n\020structured_value" + + "\032I\n\016EntityRelation\022\022\n\nsubject_id\030\001 \001(\t\022\021" + + "\n\tobject_id\030\002 \001(\t\022\020\n\010relation\030\003 \001(\t\032\255\001\n\n" + + "TextAnchor\022W\n\rtext_segments\030\001 \003(\0132@.goog" + + "le.cloud.documentai.v1beta3.Document.Tex" + + "tAnchor.TextSegment\022\017\n\007content\030\002 \001(\t\0325\n\013" + + "TextSegment\022\023\n\013start_index\030\001 \001(\003\022\021\n\tend_" + + "index\030\002 \001(\003\032\316\003\n\nPageAnchor\022O\n\tpage_refs\030" + + "\001 \003(\0132<.google.cloud.documentai.v1beta3." + + "Document.PageAnchor.PageRef\032\356\002\n\007PageRef\022" + + "\021\n\004page\030\001 \001(\003B\003\340A\002\022a\n\013layout_type\030\002 \001(\0162" + + "G.google.cloud.documentai.v1beta3.Docume" + + "nt.PageAnchor.PageRef.LayoutTypeB\003\340A\001\022\030\n" + + "\tlayout_id\030\003 \001(\tB\005\030\001\340A\001\022I\n\rbounding_poly" + + "\030\004 \001(\0132-.google.cloud.documentai.v1beta3" + + ".BoundingPolyB\003\340A\001\"\207\001\n\nLayoutType\022\033\n\027LAY" + + "OUT_TYPE_UNSPECIFIED\020\000\022\t\n\005BLOCK\020\001\022\r\n\tPAR" + + "AGRAPH\020\002\022\010\n\004LINE\020\003\022\t\n\005TOKEN\020\004\022\022\n\016VISUAL_" + + "ELEMENT\020\005\022\t\n\005TABLE\020\006\022\016\n\nFORM_FIELD\020\007\032\377\002\n" + + "\nProvenance\022\020\n\010revision\030\001 \001(\005\022\n\n\002id\030\002 \001(" + + "\005\022L\n\007parents\030\003 \003(\0132;.google.cloud.docume" + + "ntai.v1beta3.Document.Provenance.Parent\022" + + "P\n\004type\030\004 \001(\0162B.google.cloud.documentai." + + "v1beta3.Document.Provenance.OperationTyp" + + "e\032&\n\006Parent\022\020\n\010revision\030\001 \001(\005\022\n\n\002id\030\002 \001(" + + "\005\"\212\001\n\rOperationType\022\036\n\032OPERATION_TYPE_UN" + + "SPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\022\013\n\007REPL" + + "ACE\020\003\022\022\n\016EVAL_REQUESTED\020\004\022\021\n\rEVAL_APPROV" + + "ED\020\005\022\020\n\014EVAL_SKIPPED\020\006\032\222\002\n\010Revision\022\017\n\005a" + + "gent\030\004 \001(\tH\000\022\023\n\tprocessor\030\005 \001(\tH\000\022\n\n\002id\030" + + "\001 \001(\t\022\016\n\006parent\030\002 \003(\005\022/\n\013create_time\030\003 \001" + + "(\0132\032.google.protobuf.Timestamp\022T\n\014human_" + + "review\030\006 \001(\0132>.google.cloud.documentai.v" + + "1beta3.Document.Revision.HumanReview\0323\n\013" + + "HumanReview\022\r\n\005state\030\001 \001(\t\022\025\n\rstate_mess" + + "age\030\002 \001(\tB\010\n\006source\032\267\001\n\nTextChange\022I\n\013te" + + "xt_anchor\030\001 \001(\01324.google.cloud.documenta" + + "i.v1beta3.Document.TextAnchor\022\024\n\014changed" + + "_text\030\002 \001(\t\022H\n\nprovenance\030\003 \003(\01324.google" + + ".cloud.documentai.v1beta3.Document.Prove" + + "nanceB\010\n\006sourceB\352\001\n#com.google.cloud.doc" + + "umentai.v1beta3B\rDocumentProtoP\001ZIgoogle" + + ".golang.org/genproto/googleapis/cloud/do" + + "cumentai/v1beta3;documentai\252\002\037Google.Clo" + + "ud.DocumentAI.V1Beta3\312\002\037Google\\Cloud\\Doc" + + "umentAI\\V1beta3\352\002\"Google::Cloud::Documen" + + "tAI::V1beta3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto b/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto index 0e14be61..e9345f01 100644 --- a/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto +++ b/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto @@ -396,27 +396,19 @@ message Document { // known. If this field is present, the 'text' field is still populated. oneof structured_value { // Money value. See also: - // - // https: - // github.com/googleapis/googleapis/blob/master/google/type/money.proto + // https://github.com/googleapis/googleapis/blob/master/google/type/money.proto google.type.Money money_value = 2; // Date value. Includes year, month, day. See also: - // - // https: - // github.com/googleapis/googleapis/blob/master/google/type/date.proto + // https://github.com/googleapis/googleapis/blob/master/google/type/date.proto google.type.Date date_value = 3; // DateTime value. Includes date, time, and timezone. See also: - // - // https: - // github.com/googleapis/googleapis/blob/master/google/type/datetime.proto + // https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto google.type.DateTime datetime_value = 4; // Postal address. See also: - // - // https: - // github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto + // https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto google.type.PostalAddress address_value = 5; // Boolean value. Can be used for entities with binary values, or for @@ -434,18 +426,18 @@ message Document { string text = 1 [(google.api.field_behavior) = REQUIRED]; } - // Provenance of the entity. + // Optional. Provenance of the entity. // Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text]. - TextAnchor text_anchor = 1; + TextAnchor text_anchor = 1 [(google.api.field_behavior) = OPTIONAL]; // Entity type from a schema e.g. `Address`. string type = 2; - // Text value in the document e.g. `1600 Amphitheatre Pkwy`. - string mention_text = 3; + // Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. + string mention_text = 3 [(google.api.field_behavior) = OPTIONAL]; - // Deprecated. Use `id` field instead. - string mention_id = 4; + // Optional. Deprecated. Use `id` field instead. + string mention_id = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. Confidence of detected Schema entity. Range [0, 1]. float confidence = 5 [(google.api.field_behavior) = OPTIONAL]; @@ -594,9 +586,12 @@ message Document { // Element is requested for human review. EVAL_REQUESTED = 4; - // Element is review and approved at human review, confidence will be set - // to 1.0 + // Element is reviewed and approved at human review, confidence will be + // set to 1.0. EVAL_APPROVED = 5; + + // Element is skipped in the validation process. + EVAL_SKIPPED = 6; } // The index of the revision that produced this element. @@ -669,17 +664,17 @@ message Document { // Original source document from the user. oneof source { - // Currently supports Google Cloud Storage URI of the form + // Optional. Currently supports Google Cloud Storage URI of the form // `gs://bucket_name/object_name`. Object versioning is not supported. // See [Google Cloud Storage Request // URIs](https://cloud.google.com/storage/docs/reference-uris) for more // info. - string uri = 1; + string uri = 1 [(google.api.field_behavior) = OPTIONAL]; - // Inline document content, represented as a stream of bytes. + // Optional. Inline document content, represented as a stream of bytes. // Note: As with all `bytes` fields, protobuffers use a pure binary // representation, whereas JSON representations use base64. - bytes content = 2; + bytes content = 2 [(google.api.field_behavior) = OPTIONAL]; } // An IANA published MIME type (also referred to as media type). For more @@ -687,8 +682,8 @@ message Document { // https://www.iana.org/assignments/media-types/media-types.xhtml. string mime_type = 3; - // UTF-8 encoded text in reading order from the document. - string text = 4; + // Optional. UTF-8 encoded text in reading order from the document. + string text = 4 [(google.api.field_behavior) = OPTIONAL]; // Styles for the [Document.text][google.cloud.documentai.v1beta3.Document.text]. repeated Style text_styles = 5; diff --git a/synth.metadata b/synth.metadata index 8a486dde..fa12646f 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,31 +4,31 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-document-ai.git", - "sha": "136d1178d13f3a2bd3f93be6106a97f04aa7bcae" + "sha": "7ea5f43ee9081870fda6a71df6d62015c0ebfef6" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "1305ca41d554eb0725237561e34129373bb8cbc1", - "internalRef": "362856902" + "sha": "4fb2f3e141fb4a62c434e1964db0fd2f2763aa08", + "internalRef": "363478455" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "1305ca41d554eb0725237561e34129373bb8cbc1", - "internalRef": "362856902" + "sha": "4fb2f3e141fb4a62c434e1964db0fd2f2763aa08", + "internalRef": "363478455" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "1305ca41d554eb0725237561e34129373bb8cbc1", - "internalRef": "362856902" + "sha": "4fb2f3e141fb4a62c434e1964db0fd2f2763aa08", + "internalRef": "363478455" } }, {