Skip to content

Regenerate documentai client #13372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-documentai/v1/1.31.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-documentai</artifactId>
<version>v1-rev20220713-1.32.1</version>
<version>v1-rev20220720-1.32.1</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-documentai:v1-rev20220713-1.32.1'
implementation 'com.google.apis:google-api-services-documentai:v1-rev20220720-1.32.1'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ public final class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata extends
@com.google.api.client.util.Key
private java.util.List<GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus> individualImportStatuses;

/**
* Total number of the documents that are qualified for importing.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer totalDocumentCount;

/**
* The basic metadata of the long running operation.
* @return value or {@code null} for none
Expand Down Expand Up @@ -78,6 +85,23 @@ public GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata setIndividualImport
return this;
}

/**
* Total number of the documents that are qualified for importing.
* @return value or {@code null} for none
*/
public java.lang.Integer getTotalDocumentCount() {
return totalDocumentCount;
}

/**
* Total number of the documents that are qualified for importing.
* @param totalDocumentCount totalDocumentCount or {@code null} for none
*/
public GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata setTotalDocumentCount(java.lang.Integer totalDocumentCount) {
this.totalDocumentCount = totalDocumentCount;
return this;
}

@Override
public GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata set(String fieldName, Object value) {
return (GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata) super.set(fieldName, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
* calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset:
* a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset
* is set: a civil time on a calendar day in local time. The date is relative to the Proleptic
* Gregorian Calendar. If year is 0, the DateTime is considered not to have a specific year. month
* and day must have valid, non-zero values. This type may also be used to represent a physical time
* if all the date and time fields are set and either case of the `time_offset` oneof is set.
* Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a
* specific year, month, or day respectively. This type may also be used to represent a physical
* time if all the date and time fields are set and either case of the `time_offset` oneof is set.
* Consider using `Timestamp` message for physical time instead. If your use case also would like to
* store the user's timezone, that can be done in another field. This type is more flexible than
* some applications may want. Make sure to document and validate your application's limitations.
Expand All @@ -41,44 +41,45 @@
public final class GoogleTypeDateTime extends com.google.api.client.json.GenericJson {

/**
* Required. Day of month. Must be from 1 to 31 and valid for the year and month.
* Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
* specifying a datetime without a day.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer day;

/**
* Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow
* the value "24:00:00" for scenarios like business closing time.
* Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An
* API may choose to allow the value "24:00:00" for scenarios like business closing time.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer hours;

/**
* Required. Minutes of hour of day. Must be from 0 to 59.
* Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer minutes;

/**
* Required. Month of year. Must be from 1 to 12.
* Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer month;

/**
* Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
* Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer nanos;

/**
* Required. Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the
* value 60 if it allows leap-seconds.
* Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API
* may allow the value 60 if it allows leap-seconds.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -107,15 +108,17 @@ public final class GoogleTypeDateTime extends com.google.api.client.json.Generic
private java.lang.Integer year;

/**
* Required. Day of month. Must be from 1 to 31 and valid for the year and month.
* Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
* specifying a datetime without a day.
* @return value or {@code null} for none
*/
public java.lang.Integer getDay() {
return day;
}

/**
* Required. Day of month. Must be from 1 to 31 and valid for the year and month.
* Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
* specifying a datetime without a day.
* @param day day or {@code null} for none
*/
public GoogleTypeDateTime setDay(java.lang.Integer day) {
Expand All @@ -124,17 +127,17 @@ public GoogleTypeDateTime setDay(java.lang.Integer day) {
}

/**
* Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow
* the value "24:00:00" for scenarios like business closing time.
* Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An
* API may choose to allow the value "24:00:00" for scenarios like business closing time.
* @return value or {@code null} for none
*/
public java.lang.Integer getHours() {
return hours;
}

/**
* Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow
* the value "24:00:00" for scenarios like business closing time.
* Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An
* API may choose to allow the value "24:00:00" for scenarios like business closing time.
* @param hours hours or {@code null} for none
*/
public GoogleTypeDateTime setHours(java.lang.Integer hours) {
Expand All @@ -143,15 +146,15 @@ public GoogleTypeDateTime setHours(java.lang.Integer hours) {
}

/**
* Required. Minutes of hour of day. Must be from 0 to 59.
* Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
* @return value or {@code null} for none
*/
public java.lang.Integer getMinutes() {
return minutes;
}

/**
* Required. Minutes of hour of day. Must be from 0 to 59.
* Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
* @param minutes minutes or {@code null} for none
*/
public GoogleTypeDateTime setMinutes(java.lang.Integer minutes) {
Expand All @@ -160,15 +163,15 @@ public GoogleTypeDateTime setMinutes(java.lang.Integer minutes) {
}

/**
* Required. Month of year. Must be from 1 to 12.
* Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.
* @return value or {@code null} for none
*/
public java.lang.Integer getMonth() {
return month;
}

/**
* Required. Month of year. Must be from 1 to 12.
* Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.
* @param month month or {@code null} for none
*/
public GoogleTypeDateTime setMonth(java.lang.Integer month) {
Expand All @@ -177,15 +180,15 @@ public GoogleTypeDateTime setMonth(java.lang.Integer month) {
}

/**
* Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
* Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
* @return value or {@code null} for none
*/
public java.lang.Integer getNanos() {
return nanos;
}

/**
* Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
* Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
* @param nanos nanos or {@code null} for none
*/
public GoogleTypeDateTime setNanos(java.lang.Integer nanos) {
Expand All @@ -194,17 +197,17 @@ public GoogleTypeDateTime setNanos(java.lang.Integer nanos) {
}

/**
* Required. Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the
* value 60 if it allows leap-seconds.
* Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API
* may allow the value 60 if it allows leap-seconds.
* @return value or {@code null} for none
*/
public java.lang.Integer getSeconds() {
return seconds;
}

/**
* Required. Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the
* value 60 if it allows leap-seconds.
* Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API
* may allow the value 60 if it allows leap-seconds.
* @param seconds seconds or {@code null} for none
*/
public GoogleTypeDateTime setSeconds(java.lang.Integer seconds) {
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-documentai/v1/1.31.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-documentai</artifactId>
<version>v1-rev20220713-1.32.1</version>
<name>Cloud Document AI API v1-rev20220713-1.32.1</name>
<version>v1-rev20220720-1.32.1</version>
<name>Cloud Document AI API v1-rev20220720-1.32.1</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-documentai</artifactId>
<version>v1beta2-rev20220713-1.32.1</version>
<version>v1beta2-rev20220720-1.32.1</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-documentai:v1beta2-rev20220713-1.32.1'
implementation 'com.google.apis:google-api-services-documentai:v1beta2-rev20220720-1.32.1'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ public final class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata extends
@com.google.api.client.util.Key
private java.util.List<GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus> individualImportStatuses;

/**
* Total number of the documents that are qualified for importing.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer totalDocumentCount;

/**
* The basic metadata of the long running operation.
* @return value or {@code null} for none
Expand Down Expand Up @@ -78,6 +85,23 @@ public GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata setIndividualImport
return this;
}

/**
* Total number of the documents that are qualified for importing.
* @return value or {@code null} for none
*/
public java.lang.Integer getTotalDocumentCount() {
return totalDocumentCount;
}

/**
* Total number of the documents that are qualified for importing.
* @param totalDocumentCount totalDocumentCount or {@code null} for none
*/
public GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata setTotalDocumentCount(java.lang.Integer totalDocumentCount) {
this.totalDocumentCount = totalDocumentCount;
return this;
}

@Override
public GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata set(String fieldName, Object value) {
return (GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata) super.set(fieldName, value);
Expand Down
Loading