Skip to content

Commit

Permalink
chore: generate libraries at Sat Jan 11 02:25:59 UTC 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-java-bot committed Jan 11, 2025
1 parent c076c4f commit ebea673
Show file tree
Hide file tree
Showing 10 changed files with 301 additions and 152 deletions.
8 changes: 4 additions & 4 deletions java-cloudbuild/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-build</artifactId>
<version>3.57.0</version>
<version>3.58.0</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-build:3.57.0'
implementation 'com.google.cloud:google-cloud-build:3.58.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.57.0"
libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.58.0"
```

## Authentication
Expand Down Expand Up @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-build.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.57.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.58.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2624,6 +2624,26 @@ public int getDefaultLogsBucketBehaviorValue() {
: result;
}

public static final int ENABLE_STRUCTURED_LOGGING_FIELD_NUMBER = 23;
private boolean enableStructuredLogging_ = false;
/**
*
*
* <pre>
* Optional. Option to specify whether structured logging is enabled.
*
* If true, JSON-formatted logs are parsed as structured logs.
* </pre>
*
* <code>bool enable_structured_logging = 23 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The enableStructuredLogging.
*/
@java.lang.Override
public boolean getEnableStructuredLogging() {
return enableStructuredLogging_;
}

private byte memoizedIsInitialized = -1;

@java.lang.Override
Expand Down Expand Up @@ -2695,6 +2715,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (automapSubstitutions_ != false) {
output.writeBool(22, automapSubstitutions_);
}
if (enableStructuredLogging_ != false) {
output.writeBool(23, enableStructuredLogging_);
}
getUnknownFields().writeTo(output);
}

Expand Down Expand Up @@ -2777,6 +2800,9 @@ public int getSerializedSize() {
if (automapSubstitutions_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(22, automapSubstitutions_);
}
if (enableStructuredLogging_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(23, enableStructuredLogging_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
Expand Down Expand Up @@ -2810,6 +2836,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getSecretEnvList().equals(other.getSecretEnvList())) return false;
if (!getVolumesList().equals(other.getVolumesList())) return false;
if (defaultLogsBucketBehavior_ != other.defaultLogsBucketBehavior_) return false;
if (getEnableStructuredLogging() != other.getEnableStructuredLogging()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
Expand Down Expand Up @@ -2861,6 +2888,8 @@ public int hashCode() {
}
hash = (37 * hash) + DEFAULT_LOGS_BUCKET_BEHAVIOR_FIELD_NUMBER;
hash = (53 * hash) + defaultLogsBucketBehavior_;
hash = (37 * hash) + ENABLE_STRUCTURED_LOGGING_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableStructuredLogging());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
Expand Down Expand Up @@ -3035,6 +3064,7 @@ public Builder clear() {
}
bitField0_ = (bitField0_ & ~0x00002000);
defaultLogsBucketBehavior_ = 0;
enableStructuredLogging_ = false;
return this;
}

Expand Down Expand Up @@ -3132,6 +3162,9 @@ private void buildPartial0(com.google.cloudbuild.v1.BuildOptions result) {
if (((from_bitField0_ & 0x00004000) != 0)) {
result.defaultLogsBucketBehavior_ = defaultLogsBucketBehavior_;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.enableStructuredLogging_ = enableStructuredLogging_;
}
result.bitField0_ |= to_bitField0_;
}

Expand Down Expand Up @@ -3272,6 +3305,9 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildOptions other) {
if (other.defaultLogsBucketBehavior_ != 0) {
setDefaultLogsBucketBehaviorValue(other.getDefaultLogsBucketBehaviorValue());
}
if (other.getEnableStructuredLogging() != false) {
setEnableStructuredLogging(other.getEnableStructuredLogging());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
Expand Down Expand Up @@ -3409,6 +3445,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000040;
break;
} // case 176
case 184:
{
enableStructuredLogging_ = input.readBool();
bitField0_ |= 0x00008000;
break;
} // case 184
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
Expand Down Expand Up @@ -5741,6 +5783,65 @@ public Builder clearDefaultLogsBucketBehavior() {
return this;
}

private boolean enableStructuredLogging_;
/**
*
*
* <pre>
* Optional. Option to specify whether structured logging is enabled.
*
* If true, JSON-formatted logs are parsed as structured logs.
* </pre>
*
* <code>bool enable_structured_logging = 23 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The enableStructuredLogging.
*/
@java.lang.Override
public boolean getEnableStructuredLogging() {
return enableStructuredLogging_;
}
/**
*
*
* <pre>
* Optional. Option to specify whether structured logging is enabled.
*
* If true, JSON-formatted logs are parsed as structured logs.
* </pre>
*
* <code>bool enable_structured_logging = 23 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @param value The enableStructuredLogging to set.
* @return This builder for chaining.
*/
public Builder setEnableStructuredLogging(boolean value) {

enableStructuredLogging_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
*
*
* <pre>
* Optional. Option to specify whether structured logging is enabled.
*
* If true, JSON-formatted logs are parsed as structured logs.
* </pre>
*
* <code>bool enable_structured_logging = 23 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return This builder for chaining.
*/
public Builder clearEnableStructuredLogging() {
bitField0_ = (bitField0_ & ~0x00008000);
enableStructuredLogging_ = false;
onChanged();
return this;
}

@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -616,4 +616,19 @@ public interface BuildOptionsOrBuilder
* @return The defaultLogsBucketBehavior.
*/
com.google.cloudbuild.v1.BuildOptions.DefaultLogsBucketBehavior getDefaultLogsBucketBehavior();

/**
*
*
* <pre>
* Optional. Option to specify whether structured logging is enabled.
*
* If true, JSON-formatted logs are parsed as structured logs.
* </pre>
*
* <code>bool enable_structured_logging = 23 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The enableStructuredLogging.
*/
boolean getEnableStructuredLogging();
}
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\027\n\ntrigger_id\030\002 \001(\tB\003\340A\002\022A\n\007trigger\030\003 \001("
+ "\0132+.google.devtools.cloudbuild.v1.BuildT"
+ "riggerB\003\340A\002\022/\n\013update_mask\030\005 \001(\0132\032.googl"
+ "e.protobuf.FieldMask\"\372\013\n\014BuildOptions\022L\n"
+ "e.protobuf.FieldMask\"\242\014\n\014BuildOptions\022L\n"
+ "\026source_provenance_hash\030\001 \003(\0162,.google.d"
+ "evtools.cloudbuild.v1.Hash.HashType\022Y\n\027r"
+ "equested_verify_option\030\002 \001(\01628.google.de"
Expand All @@ -765,7 +765,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "loudbuild.v1.Volume\022p\n\034default_logs_buck"
+ "et_behavior\030\025 \001(\0162E.google.devtools.clou"
+ "dbuild.v1.BuildOptions.DefaultLogsBucket"
+ "BehaviorB\003\340A\001\032E\n\nPoolOption\0227\n\004name\030\001 \001("
+ "BehaviorB\003\340A\001\022&\n\031enable_structured_loggi"
+ "ng\030\027 \001(\010B\003\340A\001\032E\n\nPoolOption\0227\n\004name\030\001 \001("
+ "\tB)\372A&\n$cloudbuild.googleapis.com/Worker"
+ "Pool\".\n\014VerifyOption\022\020\n\014NOT_VERIFIED\020\000\022\014"
+ "\n\010VERIFIED\020\001\"w\n\013MachineType\022\017\n\013UNSPECIFI"
Expand All @@ -779,9 +780,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "_ONLY\020\002\022\030\n\020STACKDRIVER_ONLY\020\003\032\002\010\001\022\026\n\022CLO"
+ "UD_LOGGING_ONLY\020\005\022\010\n\004NONE\020\004\"|\n\031DefaultLo"
+ "gsBucketBehavior\022,\n(DEFAULT_LOGS_BUCKET_"
+ "BEHAVIOR_UNSPECIFIED\020\000\022\036\n\032REGIONAL_USER_"
+ "OWNED_BUCKET\020\001\022\021\n\rLEGACY_BUCKET\020\002\"\205\001\n\034Re",
"ceiveTriggerWebhookRequest\022\014\n\004name\030\005 \001(\t"
+ "BEHAVIOR_UNSPECIFIED\020\000\022\036\n\032REGIONAL_USER_",
"OWNED_BUCKET\020\001\022\021\n\rLEGACY_BUCKET\020\002\"\205\001\n\034Re"
+ "ceiveTriggerWebhookRequest\022\014\n\004name\030\005 \001(\t"
+ "\022\"\n\004body\030\001 \001(\0132\024.google.api.HttpBody\022\022\n\n"
+ "project_id\030\002 \001(\t\022\017\n\007trigger\030\003 \001(\t\022\016\n\006sec"
+ "ret\030\004 \001(\t\"\037\n\035ReceiveTriggerWebhookRespon"
Expand Down Expand Up @@ -1723,6 +1724,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"SecretEnv",
"Volumes",
"DefaultLogsBucketBehavior",
"EnableStructuredLogging",
});
internal_static_google_devtools_cloudbuild_v1_BuildOptions_PoolOption_descriptor =
internal_static_google_devtools_cloudbuild_v1_BuildOptions_descriptor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2388,6 +2388,11 @@ message BuildOptions {
// Optional. Option to specify how default logs buckets are setup.
DefaultLogsBucketBehavior default_logs_bucket_behavior = 21
[(google.api.field_behavior) = OPTIONAL];

// Optional. Option to specify whether structured logging is enabled.
//
// If true, JSON-formatted logs are parsed as structured logs.
bool enable_structured_logging = 23 [(google.api.field_behavior) = OPTIONAL];
}

// ReceiveTriggerWebhookRequest [Experimental] is the request object accepted by
Expand Down
8 changes: 4 additions & 4 deletions java-tpu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-tpu</artifactId>
<version>2.56.0</version>
<version>2.57.0</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-tpu:2.56.0'
implementation 'com.google.cloud:google-cloud-tpu:2.57.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.56.0"
libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.57.0"
```

## Authentication
Expand Down Expand Up @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-tpu.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/2.56.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/2.57.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Loading

0 comments on commit ebea673

Please sign in to comment.