Skip to content
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

feat: [batch] add a CloudLoggingOption and use_generic_task_monitored_resource fields for users to opt out new batch monitored resource in cloud logging #10073

Merged
merged 4 commits into from Nov 27, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -971,6 +971,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.batch.v1.LogsPolicy$CloudLoggingOption",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.batch.v1.LogsPolicy$CloudLoggingOption$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.batch.v1.LogsPolicy$Destination",
"queryAllDeclaredConstructors": true,
Expand Down
Expand Up @@ -4466,7 +4466,7 @@ public interface AcceleratorOrBuilder
* <code>bool install_gpu_drivers = 3 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
* deprecated. See google/cloud/batch/v1/job.proto;l=340
* deprecated. See google/cloud/batch/v1/job.proto;l=349
* @return The installGpuDrivers.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -4637,7 +4637,7 @@ public long getCount() {
* <code>bool install_gpu_drivers = 3 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
* deprecated. See google/cloud/batch/v1/job.proto;l=340
* deprecated. See google/cloud/batch/v1/job.proto;l=349
* @return The installGpuDrivers.
*/
@java.lang.Override
Expand Down Expand Up @@ -5299,7 +5299,7 @@ public Builder clearCount() {
* <code>bool install_gpu_drivers = 3 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
* deprecated. See google/cloud/batch/v1/job.proto;l=340
* deprecated. See google/cloud/batch/v1/job.proto;l=349
* @return The installGpuDrivers.
*/
@java.lang.Override
Expand All @@ -5317,7 +5317,7 @@ public boolean getInstallGpuDrivers() {
* <code>bool install_gpu_drivers = 3 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
* deprecated. See google/cloud/batch/v1/job.proto;l=340
* deprecated. See google/cloud/batch/v1/job.proto;l=349
* @param value The installGpuDrivers to set.
* @return This builder for chaining.
*/
Expand All @@ -5339,7 +5339,7 @@ public Builder setInstallGpuDrivers(boolean value) {
* <code>bool install_gpu_drivers = 3 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
* deprecated. See google/cloud/batch/v1/job.proto;l=340
* deprecated. See google/cloud/batch/v1/job.proto;l=349
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -13018,6 +13018,10 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
*
* <pre>
* The network policy.
*
* If you define an instance template in the InstancePolicyOrTemplate field,
* Batch will use the network settings in the instance template instead of
* this field.
* </pre>
*
* <code>.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy network = 7;</code>
Expand All @@ -13033,6 +13037,10 @@ public boolean hasNetwork() {
*
* <pre>
* The network policy.
*
* If you define an instance template in the InstancePolicyOrTemplate field,
* Batch will use the network settings in the instance template instead of
* this field.
* </pre>
*
* <code>.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy network = 7;</code>
Expand All @@ -13050,6 +13058,10 @@ public com.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy getNetwork() {
*
* <pre>
* The network policy.
*
* If you define an instance template in the InstancePolicyOrTemplate field,
* Batch will use the network settings in the instance template instead of
* this field.
* </pre>
*
* <code>.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy network = 7;</code>
Expand Down Expand Up @@ -14699,6 +14711,10 @@ public Builder putAllLabels(java.util.Map<java.lang.String, java.lang.String> va
*
* <pre>
* The network policy.
*
* If you define an instance template in the InstancePolicyOrTemplate field,
* Batch will use the network settings in the instance template instead of
* this field.
* </pre>
*
* <code>.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy network = 7;</code>
Expand All @@ -14713,6 +14729,10 @@ public boolean hasNetwork() {
*
* <pre>
* The network policy.
*
* If you define an instance template in the InstancePolicyOrTemplate field,
* Batch will use the network settings in the instance template instead of
* this field.
* </pre>
*
* <code>.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy network = 7;</code>
Expand All @@ -14733,6 +14753,10 @@ public com.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy getNetwork() {
*
* <pre>
* The network policy.
*
* If you define an instance template in the InstancePolicyOrTemplate field,
* Batch will use the network settings in the instance template instead of
* this field.
* </pre>
*
* <code>.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy network = 7;</code>
Expand All @@ -14755,6 +14779,10 @@ public Builder setNetwork(com.google.cloud.batch.v1.AllocationPolicy.NetworkPoli
*
* <pre>
* The network policy.
*
* If you define an instance template in the InstancePolicyOrTemplate field,
* Batch will use the network settings in the instance template instead of
* this field.
* </pre>
*
* <code>.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy network = 7;</code>
Expand All @@ -14775,6 +14803,10 @@ public Builder setNetwork(
*
* <pre>
* The network policy.
*
* If you define an instance template in the InstancePolicyOrTemplate field,
* Batch will use the network settings in the instance template instead of
* this field.
* </pre>
*
* <code>.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy network = 7;</code>
Expand All @@ -14801,6 +14833,10 @@ public Builder mergeNetwork(com.google.cloud.batch.v1.AllocationPolicy.NetworkPo
*
* <pre>
* The network policy.
*
* If you define an instance template in the InstancePolicyOrTemplate field,
* Batch will use the network settings in the instance template instead of
* this field.
* </pre>
*
* <code>.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy network = 7;</code>
Expand All @@ -14820,6 +14856,10 @@ public Builder clearNetwork() {
*
* <pre>
* The network policy.
*
* If you define an instance template in the InstancePolicyOrTemplate field,
* Batch will use the network settings in the instance template instead of
* this field.
* </pre>
*
* <code>.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy network = 7;</code>
Expand All @@ -14834,6 +14874,10 @@ public com.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy.Builder getNetwo
*
* <pre>
* The network policy.
*
* If you define an instance template in the InstancePolicyOrTemplate field,
* Batch will use the network settings in the instance template instead of
* this field.
* </pre>
*
* <code>.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy network = 7;</code>
Expand All @@ -14852,6 +14896,10 @@ public com.google.cloud.batch.v1.AllocationPolicy.NetworkPolicyOrBuilder getNetw
*
* <pre>
* The network policy.
*
* If you define an instance template in the InstancePolicyOrTemplate field,
* Batch will use the network settings in the instance template instead of
* this field.
* </pre>
*
* <code>.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy network = 7;</code>
Expand Down
Expand Up @@ -251,6 +251,10 @@ java.lang.String getLabelsOrDefault(
*
* <pre>
* The network policy.
*
* If you define an instance template in the InstancePolicyOrTemplate field,
* Batch will use the network settings in the instance template instead of
* this field.
* </pre>
*
* <code>.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy network = 7;</code>
Expand All @@ -263,6 +267,10 @@ java.lang.String getLabelsOrDefault(
*
* <pre>
* The network policy.
*
* If you define an instance template in the InstancePolicyOrTemplate field,
* Batch will use the network settings in the instance template instead of
* this field.
* </pre>
*
* <code>.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy network = 7;</code>
Expand All @@ -275,6 +283,10 @@ java.lang.String getLabelsOrDefault(
*
* <pre>
* The network policy.
*
* If you define an instance template in the InstancePolicyOrTemplate field,
* Batch will use the network settings in the instance template instead of
* this field.
* </pre>
*
* <code>.google.cloud.batch.v1.AllocationPolicy.NetworkPolicy network = 7;</code>
Expand Down