-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: regenerate spanner client (#24977)
Generated in GitHub action: https://github.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
- Loading branch information
1 parent
cfebc69
commit eb67b1b
Showing
8 changed files
with
503 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 99 additions & 0 deletions
99
...ices-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/AddSplitPointsRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
/* | ||
* 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.spanner.v1.model; | ||
|
||
/** | ||
* The request for AddSplitPoints. | ||
* | ||
* <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 Cloud Spanner 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 AddSplitPointsRequest extends com.google.api.client.json.GenericJson { | ||
|
||
/** | ||
* Optional. A user-supplied tag associated with the split points. For example, | ||
* "intital_data_load", "special_event_1". Defaults to "CloudAddSplitPointsAPI" if not specified. | ||
* The length of the tag must not exceed 50 characters,else will be trimmed. Only valid UTF8 | ||
* characters are allowed. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.lang.String initiator; | ||
|
||
/** | ||
* Required. The split points to add. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.util.List<SplitPoints> splitPoints; | ||
|
||
/** | ||
* Optional. A user-supplied tag associated with the split points. For example, | ||
* "intital_data_load", "special_event_1". Defaults to "CloudAddSplitPointsAPI" if not specified. | ||
* The length of the tag must not exceed 50 characters,else will be trimmed. Only valid UTF8 | ||
* characters are allowed. | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.lang.String getInitiator() { | ||
return initiator; | ||
} | ||
|
||
/** | ||
* Optional. A user-supplied tag associated with the split points. For example, | ||
* "intital_data_load", "special_event_1". Defaults to "CloudAddSplitPointsAPI" if not specified. | ||
* The length of the tag must not exceed 50 characters,else will be trimmed. Only valid UTF8 | ||
* characters are allowed. | ||
* @param initiator initiator or {@code null} for none | ||
*/ | ||
public AddSplitPointsRequest setInitiator(java.lang.String initiator) { | ||
this.initiator = initiator; | ||
return this; | ||
} | ||
|
||
/** | ||
* Required. The split points to add. | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.util.List<SplitPoints> getSplitPoints() { | ||
return splitPoints; | ||
} | ||
|
||
/** | ||
* Required. The split points to add. | ||
* @param splitPoints splitPoints or {@code null} for none | ||
*/ | ||
public AddSplitPointsRequest setSplitPoints(java.util.List<SplitPoints> splitPoints) { | ||
this.splitPoints = splitPoints; | ||
return this; | ||
} | ||
|
||
@Override | ||
public AddSplitPointsRequest set(String fieldName, Object value) { | ||
return (AddSplitPointsRequest) super.set(fieldName, value); | ||
} | ||
|
||
@Override | ||
public AddSplitPointsRequest clone() { | ||
return (AddSplitPointsRequest) super.clone(); | ||
} | ||
|
||
} |
42 changes: 42 additions & 0 deletions
42
...ces-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/AddSplitPointsResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* | ||
* 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.spanner.v1.model; | ||
|
||
/** | ||
* The response for AddSplitPoints. | ||
* | ||
* <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 Cloud Spanner 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 AddSplitPointsResponse extends com.google.api.client.json.GenericJson { | ||
|
||
@Override | ||
public AddSplitPointsResponse set(String fieldName, Object value) { | ||
return (AddSplitPointsResponse) super.set(fieldName, value); | ||
} | ||
|
||
@Override | ||
public AddSplitPointsResponse clone() { | ||
return (AddSplitPointsResponse) super.clone(); | ||
} | ||
|
||
} |
66 changes: 66 additions & 0 deletions
66
...ts/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/Key.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/* | ||
* 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.spanner.v1.model; | ||
|
||
/** | ||
* A split key. | ||
* | ||
* <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 Cloud Spanner 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 Key extends com.google.api.client.json.GenericJson { | ||
|
||
/** | ||
* Required. The column values making up the split key. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.util.List<java.lang.Object> keyParts; | ||
|
||
/** | ||
* Required. The column values making up the split key. | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.util.List<java.lang.Object> getKeyParts() { | ||
return keyParts; | ||
} | ||
|
||
/** | ||
* Required. The column values making up the split key. | ||
* @param keyParts keyParts or {@code null} for none | ||
*/ | ||
public Key setKeyParts(java.util.List<java.lang.Object> keyParts) { | ||
this.keyParts = keyParts; | ||
return this; | ||
} | ||
|
||
@Override | ||
public Key set(String fieldName, Object value) { | ||
return (Key) super.set(fieldName, value); | ||
} | ||
|
||
@Override | ||
public Key clone() { | ||
return (Key) super.clone(); | ||
} | ||
|
||
} |
Oops, something went wrong.