Skip to content

Commit b3fc697

Browse files
chore: Update generation configuration at Thu May 15 02:31:07 UTC 2025 (#11585)
* chore: Update generation configuration at Thu May 15 02:31:07 UTC 2025 * chore: generate libraries at Thu May 15 02:33:15 UTC 2025
1 parent 2059de9 commit b3fc697

File tree

261 files changed

+77244
-2950
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+77244
-2950
lines changed

.github/workflows/hermetic_library_generation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
fetch-depth: 0
3939
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
40-
- uses: googleapis/sdk-platform-java/.github/scripts@v2.57.0
40+
- uses: googleapis/sdk-platform-java/.github/scripts@v2.58.0
4141
if: env.SHOULD_RUN == 'true'
4242
with:
4343
base_ref: ${{ github.base_ref }}

generation_config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
gapic_generator_version: 2.57.0
2-
googleapis_commitish: 295a170ba55e5241a85751cbf5b1e4b2011dfa96
1+
gapic_generator_version: 2.58.0
2+
googleapis_commitish: f319bbc88abd22cd8c39c349e776cf3dc2722214
33
libraries_bom_version: 26.60.0
44

55
# the libraries are ordered with respect to library name, which is

java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModel.java

Lines changed: 197 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ private DeployedModel() {
4545
modelVersionId_ = "";
4646
displayName_ = "";
4747
serviceAccount_ = "";
48+
checkpointId_ = "";
4849
}
4950

5051
@java.lang.Override
@@ -2283,6 +2284,59 @@ public java.lang.String getSystemLabelsOrThrow(java.lang.String key) {
22832284
return map.get(key);
22842285
}
22852286

2287+
public static final int CHECKPOINT_ID_FIELD_NUMBER = 29;
2288+
2289+
@SuppressWarnings("serial")
2290+
private volatile java.lang.Object checkpointId_ = "";
2291+
2292+
/**
2293+
*
2294+
*
2295+
* <pre>
2296+
* The checkpoint id of the model.
2297+
* </pre>
2298+
*
2299+
* <code>string checkpoint_id = 29;</code>
2300+
*
2301+
* @return The checkpointId.
2302+
*/
2303+
@java.lang.Override
2304+
public java.lang.String getCheckpointId() {
2305+
java.lang.Object ref = checkpointId_;
2306+
if (ref instanceof java.lang.String) {
2307+
return (java.lang.String) ref;
2308+
} else {
2309+
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
2310+
java.lang.String s = bs.toStringUtf8();
2311+
checkpointId_ = s;
2312+
return s;
2313+
}
2314+
}
2315+
2316+
/**
2317+
*
2318+
*
2319+
* <pre>
2320+
* The checkpoint id of the model.
2321+
* </pre>
2322+
*
2323+
* <code>string checkpoint_id = 29;</code>
2324+
*
2325+
* @return The bytes for checkpointId.
2326+
*/
2327+
@java.lang.Override
2328+
public com.google.protobuf.ByteString getCheckpointIdBytes() {
2329+
java.lang.Object ref = checkpointId_;
2330+
if (ref instanceof java.lang.String) {
2331+
com.google.protobuf.ByteString b =
2332+
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
2333+
checkpointId_ = b;
2334+
return b;
2335+
} else {
2336+
return (com.google.protobuf.ByteString) ref;
2337+
}
2338+
}
2339+
22862340
public static final int SPECULATIVE_DECODING_SPEC_FIELD_NUMBER = 30;
22872341
private com.google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculativeDecodingSpec_;
22882342

@@ -2409,6 +2463,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
24092463
}
24102464
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
24112465
output, internalGetSystemLabels(), SystemLabelsDefaultEntryHolder.defaultEntry, 28);
2466+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkpointId_)) {
2467+
com.google.protobuf.GeneratedMessageV3.writeString(output, 29, checkpointId_);
2468+
}
24122469
if (((bitField0_ & 0x00000020) != 0)) {
24132470
output.writeMessage(30, getSpeculativeDecodingSpec());
24142471
}
@@ -2484,6 +2541,9 @@ public int getSerializedSize() {
24842541
.build();
24852542
size += com.google.protobuf.CodedOutputStream.computeMessageSize(28, systemLabels__);
24862543
}
2544+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkpointId_)) {
2545+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, checkpointId_);
2546+
}
24872547
if (((bitField0_ & 0x00000020) != 0)) {
24882548
size +=
24892549
com.google.protobuf.CodedOutputStream.computeMessageSize(
@@ -2534,6 +2594,7 @@ public boolean equals(final java.lang.Object obj) {
25342594
if (!getStatus().equals(other.getStatus())) return false;
25352595
}
25362596
if (!internalGetSystemLabels().equals(other.internalGetSystemLabels())) return false;
2597+
if (!getCheckpointId().equals(other.getCheckpointId())) return false;
25372598
if (hasSpeculativeDecodingSpec() != other.hasSpeculativeDecodingSpec()) return false;
25382599
if (hasSpeculativeDecodingSpec()) {
25392600
if (!getSpeculativeDecodingSpec().equals(other.getSpeculativeDecodingSpec())) return false;
@@ -2603,6 +2664,8 @@ public int hashCode() {
26032664
hash = (37 * hash) + SYSTEM_LABELS_FIELD_NUMBER;
26042665
hash = (53 * hash) + internalGetSystemLabels().hashCode();
26052666
}
2667+
hash = (37 * hash) + CHECKPOINT_ID_FIELD_NUMBER;
2668+
hash = (53 * hash) + getCheckpointId().hashCode();
26062669
if (hasSpeculativeDecodingSpec()) {
26072670
hash = (37 * hash) + SPECULATIVE_DECODING_SPEC_FIELD_NUMBER;
26082671
hash = (53 * hash) + getSpeculativeDecodingSpec().hashCode();
@@ -2839,6 +2902,7 @@ public Builder clear() {
28392902
statusBuilder_ = null;
28402903
}
28412904
internalGetMutableSystemLabels().clear();
2905+
checkpointId_ = "";
28422906
speculativeDecodingSpec_ = null;
28432907
if (speculativeDecodingSpecBuilder_ != null) {
28442908
speculativeDecodingSpecBuilder_.dispose();
@@ -2938,6 +3002,9 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.DeployedModel result)
29383002
result.systemLabels_.makeImmutable();
29393003
}
29403004
if (((from_bitField0_ & 0x00020000) != 0)) {
3005+
result.checkpointId_ = checkpointId_;
3006+
}
3007+
if (((from_bitField0_ & 0x00040000) != 0)) {
29413008
result.speculativeDecodingSpec_ =
29423009
speculativeDecodingSpecBuilder_ == null
29433010
? speculativeDecodingSpec_
@@ -3054,6 +3121,11 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeployedModel other) {
30543121
}
30553122
internalGetMutableSystemLabels().mergeFrom(other.internalGetSystemLabels());
30563123
bitField0_ |= 0x00010000;
3124+
if (!other.getCheckpointId().isEmpty()) {
3125+
checkpointId_ = other.checkpointId_;
3126+
bitField0_ |= 0x00020000;
3127+
onChanged();
3128+
}
30573129
if (other.hasSpeculativeDecodingSpec()) {
30583130
mergeSpeculativeDecodingSpec(other.getSpeculativeDecodingSpec());
30593131
}
@@ -3219,11 +3291,17 @@ public Builder mergeFrom(
32193291
bitField0_ |= 0x00010000;
32203292
break;
32213293
} // case 226
3294+
case 234:
3295+
{
3296+
checkpointId_ = input.readStringRequireUtf8();
3297+
bitField0_ |= 0x00020000;
3298+
break;
3299+
} // case 234
32223300
case 242:
32233301
{
32243302
input.readMessage(
32253303
getSpeculativeDecodingSpecFieldBuilder().getBuilder(), extensionRegistry);
3226-
bitField0_ |= 0x00020000;
3304+
bitField0_ |= 0x00040000;
32273305
break;
32283306
} // case 242
32293307
default:
@@ -6151,6 +6229,117 @@ public Builder putAllSystemLabels(java.util.Map<java.lang.String, java.lang.Stri
61516229
return this;
61526230
}
61536231

6232+
private java.lang.Object checkpointId_ = "";
6233+
6234+
/**
6235+
*
6236+
*
6237+
* <pre>
6238+
* The checkpoint id of the model.
6239+
* </pre>
6240+
*
6241+
* <code>string checkpoint_id = 29;</code>
6242+
*
6243+
* @return The checkpointId.
6244+
*/
6245+
public java.lang.String getCheckpointId() {
6246+
java.lang.Object ref = checkpointId_;
6247+
if (!(ref instanceof java.lang.String)) {
6248+
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
6249+
java.lang.String s = bs.toStringUtf8();
6250+
checkpointId_ = s;
6251+
return s;
6252+
} else {
6253+
return (java.lang.String) ref;
6254+
}
6255+
}
6256+
6257+
/**
6258+
*
6259+
*
6260+
* <pre>
6261+
* The checkpoint id of the model.
6262+
* </pre>
6263+
*
6264+
* <code>string checkpoint_id = 29;</code>
6265+
*
6266+
* @return The bytes for checkpointId.
6267+
*/
6268+
public com.google.protobuf.ByteString getCheckpointIdBytes() {
6269+
java.lang.Object ref = checkpointId_;
6270+
if (ref instanceof String) {
6271+
com.google.protobuf.ByteString b =
6272+
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
6273+
checkpointId_ = b;
6274+
return b;
6275+
} else {
6276+
return (com.google.protobuf.ByteString) ref;
6277+
}
6278+
}
6279+
6280+
/**
6281+
*
6282+
*
6283+
* <pre>
6284+
* The checkpoint id of the model.
6285+
* </pre>
6286+
*
6287+
* <code>string checkpoint_id = 29;</code>
6288+
*
6289+
* @param value The checkpointId to set.
6290+
* @return This builder for chaining.
6291+
*/
6292+
public Builder setCheckpointId(java.lang.String value) {
6293+
if (value == null) {
6294+
throw new NullPointerException();
6295+
}
6296+
checkpointId_ = value;
6297+
bitField0_ |= 0x00020000;
6298+
onChanged();
6299+
return this;
6300+
}
6301+
6302+
/**
6303+
*
6304+
*
6305+
* <pre>
6306+
* The checkpoint id of the model.
6307+
* </pre>
6308+
*
6309+
* <code>string checkpoint_id = 29;</code>
6310+
*
6311+
* @return This builder for chaining.
6312+
*/
6313+
public Builder clearCheckpointId() {
6314+
checkpointId_ = getDefaultInstance().getCheckpointId();
6315+
bitField0_ = (bitField0_ & ~0x00020000);
6316+
onChanged();
6317+
return this;
6318+
}
6319+
6320+
/**
6321+
*
6322+
*
6323+
* <pre>
6324+
* The checkpoint id of the model.
6325+
* </pre>
6326+
*
6327+
* <code>string checkpoint_id = 29;</code>
6328+
*
6329+
* @param value The bytes for checkpointId to set.
6330+
* @return This builder for chaining.
6331+
*/
6332+
public Builder setCheckpointIdBytes(com.google.protobuf.ByteString value) {
6333+
if (value == null) {
6334+
throw new NullPointerException();
6335+
}
6336+
checkByteStringIsUtf8(value);
6337+
checkpointId_ = value;
6338+
bitField0_ |= 0x00020000;
6339+
onChanged();
6340+
return this;
6341+
}
6342+
61546343
private com.google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculativeDecodingSpec_;
61556344
private com.google.protobuf.SingleFieldBuilderV3<
61566345
com.google.cloud.aiplatform.v1.SpeculativeDecodingSpec,
@@ -6172,7 +6361,7 @@ public Builder putAllSystemLabels(java.util.Map<java.lang.String, java.lang.Stri
61726361
* @return Whether the speculativeDecodingSpec field is set.
61736362
*/
61746363
public boolean hasSpeculativeDecodingSpec() {
6175-
return ((bitField0_ & 0x00020000) != 0);
6364+
return ((bitField0_ & 0x00040000) != 0);
61766365
}
61776366

61786367
/**
@@ -6219,7 +6408,7 @@ public Builder setSpeculativeDecodingSpec(
62196408
} else {
62206409
speculativeDecodingSpecBuilder_.setMessage(value);
62216410
}
6222-
bitField0_ |= 0x00020000;
6411+
bitField0_ |= 0x00040000;
62236412
onChanged();
62246413
return this;
62256414
}
@@ -6242,7 +6431,7 @@ public Builder setSpeculativeDecodingSpec(
62426431
} else {
62436432
speculativeDecodingSpecBuilder_.setMessage(builderForValue.build());
62446433
}
6245-
bitField0_ |= 0x00020000;
6434+
bitField0_ |= 0x00040000;
62466435
onChanged();
62476436
return this;
62486437
}
@@ -6261,7 +6450,7 @@ public Builder setSpeculativeDecodingSpec(
62616450
public Builder mergeSpeculativeDecodingSpec(
62626451
com.google.cloud.aiplatform.v1.SpeculativeDecodingSpec value) {
62636452
if (speculativeDecodingSpecBuilder_ == null) {
6264-
if (((bitField0_ & 0x00020000) != 0)
6453+
if (((bitField0_ & 0x00040000) != 0)
62656454
&& speculativeDecodingSpec_ != null
62666455
&& speculativeDecodingSpec_
62676456
!= com.google.cloud.aiplatform.v1.SpeculativeDecodingSpec.getDefaultInstance()) {
@@ -6273,7 +6462,7 @@ public Builder mergeSpeculativeDecodingSpec(
62736462
speculativeDecodingSpecBuilder_.mergeFrom(value);
62746463
}
62756464
if (speculativeDecodingSpec_ != null) {
6276-
bitField0_ |= 0x00020000;
6465+
bitField0_ |= 0x00040000;
62776466
onChanged();
62786467
}
62796468
return this;
@@ -6291,7 +6480,7 @@ public Builder mergeSpeculativeDecodingSpec(
62916480
* </code>
62926481
*/
62936482
public Builder clearSpeculativeDecodingSpec() {
6294-
bitField0_ = (bitField0_ & ~0x00020000);
6483+
bitField0_ = (bitField0_ & ~0x00040000);
62956484
speculativeDecodingSpec_ = null;
62966485
if (speculativeDecodingSpecBuilder_ != null) {
62976486
speculativeDecodingSpecBuilder_.dispose();
@@ -6314,7 +6503,7 @@ public Builder clearSpeculativeDecodingSpec() {
63146503
*/
63156504
public com.google.cloud.aiplatform.v1.SpeculativeDecodingSpec.Builder
63166505
getSpeculativeDecodingSpecBuilder() {
6317-
bitField0_ |= 0x00020000;
6506+
bitField0_ |= 0x00040000;
63186507
onChanged();
63196508
return getSpeculativeDecodingSpecFieldBuilder().getBuilder();
63206509
}

java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelOrBuilder.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,32 @@ java.lang.String getSystemLabelsOrDefault(
703703
*/
704704
java.lang.String getSystemLabelsOrThrow(java.lang.String key);
705705

706+
/**
707+
*
708+
*
709+
* <pre>
710+
* The checkpoint id of the model.
711+
* </pre>
712+
*
713+
* <code>string checkpoint_id = 29;</code>
714+
*
715+
* @return The checkpointId.
716+
*/
717+
java.lang.String getCheckpointId();
718+
719+
/**
720+
*
721+
*
722+
* <pre>
723+
* The checkpoint id of the model.
724+
* </pre>
725+
*
726+
* <code>string checkpoint_id = 29;</code>
727+
*
728+
* @return The bytes for checkpointId.
729+
*/
730+
com.google.protobuf.ByteString getCheckpointIdBytes();
731+
706732
/**
707733
*
708734
*

0 commit comments

Comments
 (0)