Skip to content

Commit

Permalink
chore: regenerate contentwarehouse client (#18344)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Oct 12, 2023
1 parent 19160a5 commit a34d1a0
Show file tree
Hide file tree
Showing 12 changed files with 431 additions and 39 deletions.
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-contentwarehouse</artifactId>
<version>v1-rev20230929-2.0.0</version>
<version>v1-rev20231006-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-contentwarehouse:v1-rev20230929-2.0.0'
implementation 'com.google.apis:google-api-services-contentwarehouse:v1-rev20231006-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ public final class AppsPeopleOzExternalMergedpeopleapiPerson extends com.google.
}

/**
* ContactCreateContextInfo has a timestamp timestamp and additional metadata (e.g. the source of
* the creation) for when the contact was created. See also `ContactEditContextInfo`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand All @@ -194,6 +196,8 @@ public final class AppsPeopleOzExternalMergedpeopleapiPerson extends com.google.
}

/**
* ContactEditContextInfo is a timestamp and additional metadata (e.g. the source of the edit) for
* the last 'human initiated edit'. See also `ContactCreateContextInfo`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -1020,13 +1024,17 @@ public AppsPeopleOzExternalMergedpeopleapiPerson setConnectionReminder(java.util
}

/**
* ContactCreateContextInfo has a timestamp timestamp and additional metadata (e.g. the source of
* the creation) for when the contact was created. See also `ContactEditContextInfo`.
* @return value or {@code null} for none
*/
public java.util.List<AppsPeopleOzExternalMergedpeopleapiContactCreateContextInfo> getContactCreateContextInfo() {
return contactCreateContextInfo;
}

/**
* ContactCreateContextInfo has a timestamp timestamp and additional metadata (e.g. the source of
* the creation) for when the contact was created. See also `ContactEditContextInfo`.
* @param contactCreateContextInfo contactCreateContextInfo or {@code null} for none
*/
public AppsPeopleOzExternalMergedpeopleapiPerson setContactCreateContextInfo(java.util.List<AppsPeopleOzExternalMergedpeopleapiContactCreateContextInfo> contactCreateContextInfo) {
Expand All @@ -1035,13 +1043,17 @@ public AppsPeopleOzExternalMergedpeopleapiPerson setContactCreateContextInfo(jav
}

/**
* ContactEditContextInfo is a timestamp and additional metadata (e.g. the source of the edit) for
* the last 'human initiated edit'. See also `ContactCreateContextInfo`.
* @return value or {@code null} for none
*/
public java.util.List<AppsPeopleOzExternalMergedpeopleapiContactEditContextInfo> getContactEditContextInfo() {
return contactEditContextInfo;
}

/**
* ContactEditContextInfo is a timestamp and additional metadata (e.g. the source of the edit) for
* the last 'human initiated edit'. See also `ContactCreateContextInfo`.
* @param contactEditContextInfo contactEditContextInfo or {@code null} for none
*/
public AppsPeopleOzExternalMergedpeopleapiPerson setContactEditContextInfo(java.util.List<AppsPeopleOzExternalMergedpeopleapiContactEditContextInfo> contactEditContextInfo) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@ public final class ClassifierPornQueryClassifierOutput extends com.google.api.cl
@com.google.api.client.util.Key
private java.lang.String csaiClassification;

/**
* DO NOT USE: This field is temporary and should be used only for the CSAI Onebox. This field is
* the result of the regular expression classifier alone as opposed to a combination with Seti
* classifier as in csai_classification field.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String csaiRegexpHighConfidenceClassification;

/**
* Human-readable debug information about the classification. This field is only set if
* output_debug is set in the classification input.
Expand Down Expand Up @@ -86,27 +77,6 @@ public ClassifierPornQueryClassifierOutput setCsaiClassification(java.lang.Strin
return this;
}

/**
* DO NOT USE: This field is temporary and should be used only for the CSAI Onebox. This field is
* the result of the regular expression classifier alone as opposed to a combination with Seti
* classifier as in csai_classification field.
* @return value or {@code null} for none
*/
public java.lang.String getCsaiRegexpHighConfidenceClassification() {
return csaiRegexpHighConfidenceClassification;
}

/**
* DO NOT USE: This field is temporary and should be used only for the CSAI Onebox. This field is
* the result of the regular expression classifier alone as opposed to a combination with Seti
* classifier as in csai_classification field.
* @param csaiRegexpHighConfidenceClassification csaiRegexpHighConfidenceClassification or {@code null} for none
*/
public ClassifierPornQueryClassifierOutput setCsaiRegexpHighConfidenceClassification(java.lang.String csaiRegexpHighConfidenceClassification) {
this.csaiRegexpHighConfidenceClassification = csaiRegexpHighConfidenceClassification;
return this;
}

/**
* Human-readable debug information about the classification. This field is only set if
* output_debug is set in the classification input.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public final class GeostoreCityJsonProtoTransform extends com.google.api.client.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GeostoreCityJsonProtoTransformXyzVector translate;
private GeostoreCityJsonProtoTransformTranslate translate;

/**
* Relative scale of the vertices in the new coordinate system relative to the old coordinate
Expand All @@ -69,15 +69,15 @@ public GeostoreCityJsonProtoTransform setScale(java.lang.Double scale) {
* Offset of each vertex in the new coordinate system relative to the old coordinate system.
* @return value or {@code null} for none
*/
public GeostoreCityJsonProtoTransformXyzVector getTranslate() {
public GeostoreCityJsonProtoTransformTranslate getTranslate() {
return translate;
}

/**
* Offset of each vertex in the new coordinate system relative to the old coordinate system.
* @param translate translate or {@code null} for none
*/
public GeostoreCityJsonProtoTransform setTranslate(GeostoreCityJsonProtoTransformXyzVector translate) {
public GeostoreCityJsonProtoTransform setTranslate(GeostoreCityJsonProtoTransformTranslate translate) {
this.translate = translate;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.contentwarehouse.v1.model;

/**
* How the object will be moved along the x, y, and z axes, respectively.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Document AI Warehouse API. For a detailed explanation
* see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GeostoreCityJsonProtoTransformTranslate extends com.google.api.client.json.GenericJson {

/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Double x;

/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Double y;

/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Double z;

/**
* @return value or {@code null} for none
*/
public java.lang.Double getX() {
return x;
}

/**
* @param x x or {@code null} for none
*/
public GeostoreCityJsonProtoTransformTranslate setX(java.lang.Double x) {
this.x = x;
return this;
}

/**
* @return value or {@code null} for none
*/
public java.lang.Double getY() {
return y;
}

/**
* @param y y or {@code null} for none
*/
public GeostoreCityJsonProtoTransformTranslate setY(java.lang.Double y) {
this.y = y;
return this;
}

/**
* @return value or {@code null} for none
*/
public java.lang.Double getZ() {
return z;
}

/**
* @param z z or {@code null} for none
*/
public GeostoreCityJsonProtoTransformTranslate setZ(java.lang.Double z) {
this.z = z;
return this;
}

@Override
public GeostoreCityJsonProtoTransformTranslate set(String fieldName, Object value) {
return (GeostoreCityJsonProtoTransformTranslate) super.set(fieldName, value);
}

@Override
public GeostoreCityJsonProtoTransformTranslate clone() {
return (GeostoreCityJsonProtoTransformTranslate) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

/**
* Information about the state of the device. This contains any state that Assistant may need to
* know about in order to fulfill requests, for example which timers and alarms are set. Next ID: 11
* know about in order to fulfill requests, for example which timers and alarms are set. Next ID: 13
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Document AI Warehouse API. For a detailed explanation
Expand Down Expand Up @@ -87,6 +87,20 @@ public final class GoogleAssistantAccessoryV1DeviceState extends com.google.api.
@com.google.api.client.util.Key
private GoogleAssistantEmbeddedV1FitnessActivities fitnessActivitiesState;

/**
* Information about apps currently installed on device.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleAssistantAccessoryV1DeviceStateInstalledAppsState installedApps;

/**
* This contains a zlib-compressed binary-encoded `InstalledAppsState` proto message.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String installedAppsZlib;

/**
* *Optional* Information about on-device timers. For devices that support timers, all on-device
* timers must be sent up with the DeviceState in order for Assistant Server to be able to perform
Expand Down Expand Up @@ -265,6 +279,68 @@ public GoogleAssistantAccessoryV1DeviceState setFitnessActivitiesState(GoogleAss
return this;
}

/**
* Information about apps currently installed on device.
* @return value or {@code null} for none
*/
public GoogleAssistantAccessoryV1DeviceStateInstalledAppsState getInstalledApps() {
return installedApps;
}

/**
* Information about apps currently installed on device.
* @param installedApps installedApps or {@code null} for none
*/
public GoogleAssistantAccessoryV1DeviceState setInstalledApps(GoogleAssistantAccessoryV1DeviceStateInstalledAppsState installedApps) {
this.installedApps = installedApps;
return this;
}

/**
* This contains a zlib-compressed binary-encoded `InstalledAppsState` proto message.
* @see #decodeInstalledAppsZlib()
* @return value or {@code null} for none
*/
public java.lang.String getInstalledAppsZlib() {
return installedAppsZlib;
}

/**
* This contains a zlib-compressed binary-encoded `InstalledAppsState` proto message.
* @see #getInstalledAppsZlib()
* @return Base64 decoded value or {@code null} for none
*
* @since 1.14
*/
public byte[] decodeInstalledAppsZlib() {
return com.google.api.client.util.Base64.decodeBase64(installedAppsZlib);
}

/**
* This contains a zlib-compressed binary-encoded `InstalledAppsState` proto message.
* @see #encodeInstalledAppsZlib()
* @param installedAppsZlib installedAppsZlib or {@code null} for none
*/
public GoogleAssistantAccessoryV1DeviceState setInstalledAppsZlib(java.lang.String installedAppsZlib) {
this.installedAppsZlib = installedAppsZlib;
return this;
}

/**
* This contains a zlib-compressed binary-encoded `InstalledAppsState` proto message.
* @see #setInstalledAppsZlib()
*
* <p>
* The value is encoded Base64 or {@code null} for none.
* </p>
*
* @since 1.14
*/
public GoogleAssistantAccessoryV1DeviceState encodeInstalledAppsZlib(byte[] installedAppsZlib) {
this.installedAppsZlib = com.google.api.client.util.Base64.encodeBase64URLSafeString(installedAppsZlib);
return this;
}

/**
* *Optional* Information about on-device timers. For devices that support timers, all on-device
* timers must be sent up with the DeviceState in order for Assistant Server to be able to perform
Expand Down
Loading

0 comments on commit a34d1a0

Please sign in to comment.