diff --git a/google-cloud-logging/src/main/resources/META-INF/native-image/com.google.cloud.logging.v2/reflect-config.json b/google-cloud-logging/src/main/resources/META-INF/native-image/com.google.cloud.logging.v2/reflect-config.json index 6627c3cf1..061630fe2 100644 --- a/google-cloud-logging/src/main/resources/META-INF/native-image/com.google.cloud.logging.v2/reflect-config.json +++ b/google-cloud-logging/src/main/resources/META-INF/native-image/com.google.cloud.logging.v2/reflect-config.json @@ -2285,6 +2285,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.DescriptorProtos$Edition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto", "queryAllDeclaredConstructors": true, @@ -2420,6 +2429,114 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$FieldPresence", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$JsonFormat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$MessageEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$RepeatedFieldEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Utf8Validation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto", "queryAllDeclaredConstructors": true, @@ -2483,6 +2600,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", "queryAllDeclaredConstructors": true, diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDataset.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDataset.java index 80d749ba3..195da72e3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDataset.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDataset.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDatasetOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDatasetOrBuilder.java index a8663b770..49ff5cfc6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDatasetOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDatasetOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface BigQueryDatasetOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java index 99d7a8248..800ccb0c5 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java index 8b5c9bfcf..21fae25ad 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface BigQueryOptionsOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadata.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadata.java index 2a113d601..0718888b4 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadata.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadata.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -62,6 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.BucketMetadata.Builder.class); } + private int bitField0_; private int requestCase_ = 0; @SuppressWarnings("serial") @@ -126,7 +128,7 @@ public RequestCase getRequestCase() { */ @java.lang.Override public boolean hasStartTime() { - return startTime_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -172,7 +174,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { */ @java.lang.Override public boolean hasEndTime() { - return endTime_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -354,10 +356,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (startTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getStartTime()); } - if (endTime_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getEndTime()); } if (state_ != com.google.logging.v2.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { @@ -378,10 +380,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (startTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } - if (endTime_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (state_ != com.google.logging.v2.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { @@ -593,10 +595,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.BucketMetadata.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStartTimeFieldBuilder(); + getEndTimeFieldBuilder(); + } } @java.lang.Override @@ -658,15 +670,19 @@ public com.google.logging.v2.BucketMetadata buildPartial() { private void buildPartial0(com.google.logging.v2.BucketMetadata result) { int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.state_ = state_; } + result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(com.google.logging.v2.BucketMetadata result) { @@ -941,8 +957,10 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { } else { startTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000001; - onChanged(); + if (startTime_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } return this; } /** @@ -1120,8 +1138,10 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { } else { endTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (endTime_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadataOrBuilder.java index efb1b1017..d1bfeaac2 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadataOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadataOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface BucketMetadataOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java index b5d14a117..52053b1e4 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java index ecf740c4a..d5f6e50a6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface CmekSettingsOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadata.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadata.java index 26f1c73fa..18de516b8 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadata.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadata.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -63,6 +64,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.CopyLogEntriesMetadata.Builder.class); } + private int bitField0_; public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** @@ -78,7 +80,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { */ @java.lang.Override public boolean hasStartTime() { - return startTime_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -124,7 +126,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { */ @java.lang.Override public boolean hasEndTime() { - return endTime_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -223,7 +225,7 @@ public boolean getCancellationRequested() { */ @java.lang.Override public boolean hasRequest() { - return request_ != null; + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -353,10 +355,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (startTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getStartTime()); } - if (endTime_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getEndTime()); } if (state_ != com.google.logging.v2.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { @@ -365,7 +367,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (cancellationRequested_ != false) { output.writeBool(4, cancellationRequested_); } - if (request_ != null) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(5, getRequest()); } if (progress_ != 0) { @@ -383,10 +385,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (startTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } - if (endTime_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (state_ != com.google.logging.v2.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { @@ -395,7 +397,7 @@ public int getSerializedSize() { if (cancellationRequested_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, cancellationRequested_); } - if (request_ != null) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRequest()); } if (progress_ != 0) { @@ -596,10 +598,21 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.CopyLogEntriesMetadata.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStartTimeFieldBuilder(); + getEndTimeFieldBuilder(); + getRequestFieldBuilder(); + } } @java.lang.Override @@ -661,11 +674,14 @@ public com.google.logging.v2.CopyLogEntriesMetadata buildPartial() { private void buildPartial0(com.google.logging.v2.CopyLogEntriesMetadata result) { int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.state_ = state_; @@ -675,6 +691,7 @@ private void buildPartial0(com.google.logging.v2.CopyLogEntriesMetadata result) } if (((from_bitField0_ & 0x00000010) != 0)) { result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); + to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000020) != 0)) { result.progress_ = progress_; @@ -682,6 +699,7 @@ private void buildPartial0(com.google.logging.v2.CopyLogEntriesMetadata result) if (((from_bitField0_ & 0x00000040) != 0)) { result.writerIdentity_ = writerIdentity_; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -939,8 +957,10 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { } else { startTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000001; - onChanged(); + if (startTime_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } return this; } /** @@ -1118,8 +1138,10 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { } else { endTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (endTime_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** @@ -1442,8 +1464,10 @@ public Builder mergeRequest(com.google.logging.v2.CopyLogEntriesRequest value) { } else { requestBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000010; - onChanged(); + if (request_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadataOrBuilder.java index 9ab1d744a..6b57a4bc3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadataOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadataOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface CopyLogEntriesMetadataOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequest.java index c78d5a651..71352f5bb 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequestOrBuilder.java index 57270a66c..cf56ad132 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface CopyLogEntriesRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponse.java index 0c25e492b..a9ed895af 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponseOrBuilder.java index 7282a902a..3fdec37c1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface CopyLogEntriesResponseOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequest.java index 9822409ac..f2342adda 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -63,6 +64,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.CreateBucketRequest.Builder.class); } + private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -202,7 +204,7 @@ public com.google.protobuf.ByteString getBucketIdBytes() { */ @java.lang.Override public boolean hasBucket() { - return bucket_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -257,7 +259,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, bucketId_); } - if (bucket_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getBucket()); } getUnknownFields().writeTo(output); @@ -275,7 +277,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, bucketId_); } - if (bucket_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBucket()); } size += getUnknownFields().getSerializedSize(); @@ -448,10 +450,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.CreateBucketRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getBucketFieldBuilder(); + } } @java.lang.Override @@ -507,9 +518,12 @@ private void buildPartial0(com.google.logging.v2.CreateBucketRequest result) { if (((from_bitField0_ & 0x00000002) != 0)) { result.bucketId_ = bucketId_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.bucket_ = bucketBuilder_ == null ? bucket_ : bucketBuilder_.build(); + to_bitField0_ |= 0x00000001; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -1010,8 +1024,10 @@ public Builder mergeBucket(com.google.logging.v2.LogBucket value) { } else { bucketBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; - onChanged(); + if (bucket_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequestOrBuilder.java index 64db91786..8c0e24843 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface CreateBucketRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java index 985401045..77d3052e7 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -62,6 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.CreateExclusionRequest.Builder.class); } + private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -154,7 +156,7 @@ public com.google.protobuf.ByteString getParentBytes() { */ @java.lang.Override public boolean hasExclusion() { - return exclusion_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -210,7 +212,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (exclusion_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getExclusion()); } getUnknownFields().writeTo(output); @@ -225,7 +227,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (exclusion_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExclusion()); } size += getUnknownFields().getSerializedSize(); @@ -395,10 +397,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.CreateExclusionRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getExclusionFieldBuilder(); + } } @java.lang.Override @@ -450,9 +461,12 @@ private void buildPartial0(com.google.logging.v2.CreateExclusionRequest result) if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.exclusion_ = exclusionBuilder_ == null ? exclusion_ : exclusionBuilder_.build(); + to_bitField0_ |= 0x00000001; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -848,8 +862,10 @@ public Builder mergeExclusion(com.google.logging.v2.LogExclusion value) { } else { exclusionBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (exclusion_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java index 700c2af3b..1678c2a7b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface CreateExclusionRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequest.java index e02e18b5a..a72b8bc84 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -63,6 +64,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.CreateLinkRequest.Builder.class); } + private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -143,7 +145,7 @@ public com.google.protobuf.ByteString getParentBytes() { */ @java.lang.Override public boolean hasLink() { - return link_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -246,7 +248,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (link_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getLink()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkId_)) { @@ -264,7 +266,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (link_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLink()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkId_)) { @@ -439,10 +441,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.CreateLinkRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getLinkFieldBuilder(); + } } @java.lang.Override @@ -495,12 +506,15 @@ private void buildPartial0(com.google.logging.v2.CreateLinkRequest result) { if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.link_ = linkBuilder_ == null ? link_ : linkBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.linkId_ = linkId_; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -865,8 +879,10 @@ public Builder mergeLink(com.google.logging.v2.Link value) { } else { linkBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (link_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequestOrBuilder.java index 4accbc25f..3d7b77e29 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface CreateLinkRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java index 6ac8a2897..c28534779 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -62,6 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.CreateLogMetricRequest.Builder.class); } + private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -141,7 +143,7 @@ public com.google.protobuf.ByteString getParentBytes() { */ @java.lang.Override public boolean hasMetric() { - return metric_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -191,7 +193,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (metric_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getMetric()); } getUnknownFields().writeTo(output); @@ -206,7 +208,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (metric_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetric()); } size += getUnknownFields().getSerializedSize(); @@ -376,10 +378,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.CreateLogMetricRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getMetricFieldBuilder(); + } } @java.lang.Override @@ -431,9 +442,12 @@ private void buildPartial0(com.google.logging.v2.CreateLogMetricRequest result) if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.metric_ = metricBuilder_ == null ? metric_ : metricBuilder_.build(); + to_bitField0_ |= 0x00000001; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -792,8 +806,10 @@ public Builder mergeMetric(com.google.logging.v2.LogMetric value) { } else { metricBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (metric_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java index cf151e260..b7c04f8b7 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface CreateLogMetricRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java index 2b6781c1c..7052bec32 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -62,6 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.CreateSinkRequest.Builder.class); } + private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -153,7 +155,7 @@ public com.google.protobuf.ByteString getParentBytes() { */ @java.lang.Override public boolean hasSink() { - return sink_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -232,7 +234,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (sink_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getSink()); } if (uniqueWriterIdentity_ != false) { @@ -250,7 +252,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (sink_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSink()); } if (uniqueWriterIdentity_ != false) { @@ -425,10 +427,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.CreateSinkRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getSinkFieldBuilder(); + } } @java.lang.Override @@ -481,12 +492,15 @@ private void buildPartial0(com.google.logging.v2.CreateSinkRequest result) { if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.sink_ = sinkBuilder_ == null ? sink_ : sinkBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.uniqueWriterIdentity_ = uniqueWriterIdentity_; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -879,8 +893,10 @@ public Builder mergeSink(com.google.logging.v2.LogSink value) { } else { sinkBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (sink_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java index df9cd0c82..1420ec05a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface CreateSinkRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequest.java index 124ea65f6..64e0ae1d6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -63,6 +64,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.CreateViewRequest.Builder.class); } + private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -196,7 +198,7 @@ public com.google.protobuf.ByteString getViewIdBytes() { */ @java.lang.Override public boolean hasView() { - return view_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -247,7 +249,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(viewId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, viewId_); } - if (view_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getView()); } getUnknownFields().writeTo(output); @@ -265,7 +267,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(viewId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, viewId_); } - if (view_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getView()); } size += getUnknownFields().getSerializedSize(); @@ -437,10 +439,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.CreateViewRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getViewFieldBuilder(); + } } @java.lang.Override @@ -496,9 +507,12 @@ private void buildPartial0(com.google.logging.v2.CreateViewRequest result) { if (((from_bitField0_ & 0x00000002) != 0)) { result.viewId_ = viewId_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.view_ = viewBuilder_ == null ? view_ : viewBuilder_.build(); + to_bitField0_ |= 0x00000001; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -974,8 +988,10 @@ public Builder mergeView(com.google.logging.v2.LogView value) { } else { viewBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; - onChanged(); + if (view_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequestOrBuilder.java index 6d71bc41e..f62b087e8 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface CreateViewRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequest.java index 51a5e98ff..c54497934 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequestOrBuilder.java index d47f6c24a..d9b719ec3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface DeleteBucketRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java index 3cbda7632..55d35b698 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java index 9932ae618..eb1072cc2 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface DeleteExclusionRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequest.java index a25407ea0..203f824c4 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequestOrBuilder.java index 206c8a43e..3094fe67d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface DeleteLinkRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java index 8fe574965..f789f36c4 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java index de2645c9d..05ae26ccd 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface DeleteLogMetricRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java index 894deb1ad..707b34437 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java index af3903e60..65078ea42 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface DeleteLogRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java index d827d07da..286def16f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java index 2775fca68..6eaa428b1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface DeleteSinkRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequest.java index d1509f206..c32e08a26 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequestOrBuilder.java index b123592d0..16a088328 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface DeleteViewRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequest.java index 27924ff70..b330c9d8b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequestOrBuilder.java index cb09f98cd..91ffdd7e9 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface GetBucketRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java index dfde15fe5..8dc89548a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequestOrBuilder.java index b21b6f538..20331643b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface GetCmekSettingsRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java index 1f0907e18..ac33fe439 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java index faea95bc3..953fa32c9 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface GetExclusionRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequest.java index 01269e50f..61b51e46f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequestOrBuilder.java index 1a7d31e51..1d487a0a2 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface GetLinkRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java index 7cfdfd37e..53d9817a0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java index 509ea6390..3b156096e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface GetLogMetricRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequest.java index 0aa65f376..208a2098d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequestOrBuilder.java index 0b4c0c526..d56d09d54 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface GetSettingsRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java index 3a027bb50..f921e436b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java index 0fe4818f9..180e335eb 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface GetSinkRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequest.java index 9b0175e5a..08301afb4 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequestOrBuilder.java index cbed2e3b5..f7ecc91dc 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface GetViewRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfig.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfig.java index 078de16ce..39c85ac0c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfig.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfig.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -63,6 +64,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.IndexConfig.Builder.class); } + private int bitField0_; public static final int FIELD_PATH_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -181,7 +183,7 @@ public com.google.logging.v2.IndexType getType() { */ @java.lang.Override public boolean hasCreateTime() { - return createTime_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -240,7 +242,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (type_ != com.google.logging.v2.IndexType.INDEX_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } - if (createTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getCreateTime()); } getUnknownFields().writeTo(output); @@ -258,7 +260,7 @@ public int getSerializedSize() { if (type_ != com.google.logging.v2.IndexType.INDEX_TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } - if (createTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } size += getUnknownFields().getSerializedSize(); @@ -429,10 +431,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.IndexConfig.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCreateTimeFieldBuilder(); + } } @java.lang.Override @@ -487,9 +498,12 @@ private void buildPartial0(com.google.logging.v2.IndexConfig result) { if (((from_bitField0_ & 0x00000002) != 0)) { result.type_ = type_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -968,8 +982,10 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { } else { createTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; - onChanged(); + if (createTime_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfigOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfigOrBuilder.java index 556dda1db..2eafb2c8d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfigOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfigOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface IndexConfigOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexType.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexType.java index 3abf9cfeb..b574f03e5 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexType.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexType.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LifecycleState.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LifecycleState.java index 8e3053f83..bc2fba7ce 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LifecycleState.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LifecycleState.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Link.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Link.java index 3dffa5609..2162b23bf 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Link.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Link.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -63,6 +64,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.Link.class, com.google.logging.v2.Link.Builder.class); } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -207,7 +209,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { */ @java.lang.Override public boolean hasCreateTime() { - return createTime_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -297,7 +299,7 @@ public com.google.logging.v2.LifecycleState getLifecycleState() { */ @java.lang.Override public boolean hasBigqueryDataset() { - return bigqueryDataset_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -358,14 +360,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } - if (createTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getCreateTime()); } if (lifecycleState_ != com.google.logging.v2.LifecycleState.LIFECYCLE_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, lifecycleState_); } - if (bigqueryDataset_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(5, getBigqueryDataset()); } getUnknownFields().writeTo(output); @@ -383,14 +385,14 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } - if (createTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (lifecycleState_ != com.google.logging.v2.LifecycleState.LIFECYCLE_STATE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, lifecycleState_); } - if (bigqueryDataset_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getBigqueryDataset()); } size += getUnknownFields().getSerializedSize(); @@ -571,10 +573,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.Link.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCreateTimeFieldBuilder(); + getBigqueryDatasetFieldBuilder(); + } } @java.lang.Override @@ -635,8 +647,10 @@ private void buildPartial0(com.google.logging.v2.Link result) { if (((from_bitField0_ & 0x00000002) != 0)) { result.description_ = description_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.lifecycleState_ = lifecycleState_; @@ -644,7 +658,9 @@ private void buildPartial0(com.google.logging.v2.Link result) { if (((from_bitField0_ & 0x00000010) != 0)) { result.bigqueryDataset_ = bigqueryDatasetBuilder_ == null ? bigqueryDataset_ : bigqueryDatasetBuilder_.build(); + to_bitField0_ |= 0x00000002; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -1175,8 +1191,10 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { } else { createTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; - onChanged(); + if (createTime_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } return this; } /** @@ -1482,8 +1500,10 @@ public Builder mergeBigqueryDataset(com.google.logging.v2.BigQueryDataset value) } else { bigqueryDatasetBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000010; - onChanged(); + if (bigqueryDataset_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadata.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadata.java index 6f2ffcf69..ebdf7dd7b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadata.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadata.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -62,6 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.LinkMetadata.Builder.class); } + private int bitField0_; private int requestCase_ = 0; @SuppressWarnings("serial") @@ -126,7 +128,7 @@ public RequestCase getRequestCase() { */ @java.lang.Override public boolean hasStartTime() { - return startTime_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -172,7 +174,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { */ @java.lang.Override public boolean hasEndTime() { - return endTime_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -354,10 +356,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (startTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getStartTime()); } - if (endTime_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getEndTime()); } if (state_ != com.google.logging.v2.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { @@ -378,10 +380,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (startTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } - if (endTime_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (state_ != com.google.logging.v2.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { @@ -593,10 +595,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.LinkMetadata.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStartTimeFieldBuilder(); + getEndTimeFieldBuilder(); + } } @java.lang.Override @@ -658,15 +670,19 @@ public com.google.logging.v2.LinkMetadata buildPartial() { private void buildPartial0(com.google.logging.v2.LinkMetadata result) { int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.state_ = state_; } + result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(com.google.logging.v2.LinkMetadata result) { @@ -941,8 +957,10 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { } else { startTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000001; - onChanged(); + if (startTime_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } return this; } /** @@ -1120,8 +1138,10 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { } else { endTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (endTime_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadataOrBuilder.java index 932e9359d..363bd6af9 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadataOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadataOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface LinkMetadataOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkOrBuilder.java index 7c6086353..63cd74299 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface LinkOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequest.java index 6f5eb20c3..bdcf1f5c7 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequestOrBuilder.java index 371d2129f..be7cc957d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListBucketsRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponse.java index 1782f4689..ba7d4328f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponseOrBuilder.java index 2f1273cbe..484b42a82 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListBucketsResponseOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java index fcf8aa381..84aeb7014 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java index afd0ce6e0..0ee5c0923 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListExclusionsRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java index 808802644..2121021c0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java index a961c9641..5b1b26362 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListExclusionsResponseOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequest.java index cbe9258a3..be8cdf044 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequestOrBuilder.java index 59e5f042f..8b95b4012 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListLinksRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponse.java index 5b2d3e8a7..bf8a1355f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponseOrBuilder.java index 4bce776a8..9f44ad1e0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListLinksResponseOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java index 81630936f..be85882ae 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java index 79ce18a4d..5f32c8ccb 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListLogEntriesRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java index 86735965b..a19fd536b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java index 73f1d3854..73195bf6a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListLogEntriesResponseOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java index 17d857af6..4c940d15d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java index 10222a459..5888e2f52 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListLogMetricsRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java index 74067823d..10259790f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java index 5828946f1..48e2bb159 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListLogMetricsResponseOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java index 3ba88af95..714300ba7 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java index 5ff60b53c..89e13da72 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListLogsRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java index 53803ffbc..0fece570b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java index 9d79f3ca7..1f7fd4bc1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListLogsResponseOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java index b997c40e7..e31d7f165 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java index af7945be8..bbab7960f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListMonitoredResourceDescriptorsRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java index 746739bfd..3af656834 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java index a49d51190..b9a29828a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListMonitoredResourceDescriptorsResponseOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java index 5588e7467..03735620e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java index 7644ad769..b27c1f3ea 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListSinksRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java index 48fb86647..2defc92e5 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java index fedd90095..6a4fef5fb 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListSinksResponseOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequest.java index 8dd4ec137..c4d99338b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequestOrBuilder.java index 5d11a0503..badf949e7 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListViewsRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponse.java index dc8950d92..863ec3a13 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponseOrBuilder.java index 5ef06f12f..0e1a3b141 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface ListViewsResponseOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadata.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadata.java index 80746b78a..eb1710866 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadata.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadata.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadataOrBuilder.java index 0dcbed7dc..81a1aa246 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadataOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadataOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface LocationMetadataOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucket.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucket.java index ad09e4cdc..77fc411f6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucket.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucket.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -65,6 +66,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.LogBucket.class, com.google.logging.v2.LogBucket.Builder.class); } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -208,7 +210,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { */ @java.lang.Override public boolean hasCreateTime() { - return createTime_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -259,7 +261,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { */ @java.lang.Override public boolean hasUpdateTime() { - return updateTime_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -571,7 +573,7 @@ public com.google.logging.v2.IndexConfigOrBuilder getIndexConfigsOrBuilder(int i */ @java.lang.Override public boolean hasCmekSettings() { - return cmekSettings_ != null; + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -634,10 +636,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - if (createTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getCreateTime()); } - if (updateTime_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(5, getUpdateTime()); } if (locked_ != false) { @@ -659,7 +661,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < indexConfigs_.size(); i++) { output.writeMessage(17, indexConfigs_.get(i)); } - if (cmekSettings_ != null) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(19, getCmekSettings()); } getUnknownFields().writeTo(output); @@ -677,10 +679,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - if (createTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } - if (updateTime_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } if (locked_ != false) { @@ -707,7 +709,7 @@ public int getSerializedSize() { for (int i = 0; i < indexConfigs_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, indexConfigs_.get(i)); } - if (cmekSettings_ != null) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getCmekSettings()); } size += getUnknownFields().getSerializedSize(); @@ -915,10 +917,22 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.LogBucket.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCreateTimeFieldBuilder(); + getUpdateTimeFieldBuilder(); + getIndexConfigsFieldBuilder(); + getCmekSettingsFieldBuilder(); + } } @java.lang.Override @@ -1008,11 +1022,14 @@ private void buildPartial0(com.google.logging.v2.LogBucket result) { if (((from_bitField0_ & 0x00000002) != 0)) { result.description_ = description_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { result.retentionDays_ = retentionDays_; @@ -1033,7 +1050,9 @@ private void buildPartial0(com.google.logging.v2.LogBucket result) { if (((from_bitField0_ & 0x00000400) != 0)) { result.cmekSettings_ = cmekSettingsBuilder_ == null ? cmekSettings_ : cmekSettingsBuilder_.build(); + to_bitField0_ |= 0x00000004; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -1657,8 +1676,10 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { } else { createTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; - onChanged(); + if (createTime_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } return this; } /** @@ -1862,8 +1883,10 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { } else { updateTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000008; - onChanged(); + if (updateTime_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } return this; } /** @@ -2932,8 +2955,10 @@ public Builder mergeCmekSettings(com.google.logging.v2.CmekSettings value) { } else { cmekSettingsBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000400; - onChanged(); + if (cmekSettings_ != null) { + bitField0_ |= 0x00000400; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketOrBuilder.java index 669304a65..510e8504b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface LogBucketOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java index c3c349ed4..b2a1ae9ea 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -58,7 +59,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { switch (number) { case 11: return internalGetLabels(); @@ -76,6 +78,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.logging.v2.LogEntry.class, com.google.logging.v2.LogEntry.Builder.class); } + private int bitField0_; private int payloadCase_ = 0; @SuppressWarnings("serial") @@ -243,7 +246,7 @@ public com.google.protobuf.ByteString getLogNameBytes() { */ @java.lang.Override public boolean hasResource() { - return resource_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -507,7 +510,7 @@ public com.google.protobuf.StructOrBuilder getJsonPayloadOrBuilder() { */ @java.lang.Override public boolean hasTimestamp() { - return timestamp_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -579,7 +582,7 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { */ @java.lang.Override public boolean hasReceiveTimestamp() { - return receiveTimestamp_ != null; + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -746,7 +749,7 @@ public com.google.protobuf.ByteString getInsertIdBytes() { */ @java.lang.Override public boolean hasHttpRequest() { - return httpRequest_ != null; + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -959,7 +962,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { */ @java.lang.Override public boolean hasOperation() { - return operation_ != null; + return ((bitField0_ & 0x00000010) != 0); } /** * @@ -1218,7 +1221,7 @@ public boolean getTraceSampled() { */ @java.lang.Override public boolean hasSourceLocation() { - return sourceLocation_ != null; + return ((bitField0_ & 0x00000020) != 0); } /** * @@ -1275,7 +1278,7 @@ public com.google.logging.v2.LogEntrySourceLocationOrBuilder getSourceLocationOr */ @java.lang.Override public boolean hasSplit() { - return split_ != null; + return ((bitField0_ & 0x00000040) != 0); } /** * @@ -1334,13 +1337,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (payloadCase_ == 6) { output.writeMessage(6, (com.google.protobuf.Struct) payload_); } - if (httpRequest_ != null) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(7, getHttpRequest()); } - if (resource_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(8, getResource()); } - if (timestamp_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(9, getTimestamp()); } if (severity_ != com.google.logging.type.LogSeverity.DEFAULT.getNumber()) { @@ -1351,16 +1354,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, logName_); } - if (operation_ != null) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(15, getOperation()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(trace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 22, trace_); } - if (sourceLocation_ != null) { + if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(23, getSourceLocation()); } - if (receiveTimestamp_ != null) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(24, getReceiveTimestamp()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spanId_)) { @@ -1369,7 +1372,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (traceSampled_ != false) { output.writeBool(30, traceSampled_); } - if (split_ != null) { + if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(35, getSplit()); } getUnknownFields().writeTo(output); @@ -1397,13 +1400,13 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 6, (com.google.protobuf.Struct) payload_); } - if (httpRequest_ != null) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getHttpRequest()); } - if (resource_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getResource()); } - if (timestamp_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTimestamp()); } if (severity_ != com.google.logging.type.LogSeverity.DEFAULT.getNumber()) { @@ -1422,16 +1425,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, logName_); } - if (operation_ != null) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getOperation()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(trace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, trace_); } - if (sourceLocation_ != null) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getSourceLocation()); } - if (receiveTimestamp_ != null) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getReceiveTimestamp()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spanId_)) { @@ -1440,7 +1443,7 @@ public int getSerializedSize() { if (traceSampled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(30, traceSampled_); } - if (split_ != null) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(35, getSplit()); } size += getUnknownFields().getSerializedSize(); @@ -1696,7 +1699,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { switch (number) { case 11: return internalGetLabels(); @@ -1706,7 +1710,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { switch (number) { case 11: return internalGetMutableLabels(); @@ -1725,10 +1730,25 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { } // Construct using com.google.logging.v2.LogEntry.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getResourceFieldBuilder(); + getTimestampFieldBuilder(); + getReceiveTimestampFieldBuilder(); + getHttpRequestFieldBuilder(); + getOperationFieldBuilder(); + getSourceLocationFieldBuilder(); + getSplitFieldBuilder(); + } } @java.lang.Override @@ -1824,15 +1844,19 @@ private void buildPartial0(com.google.logging.v2.LogEntry result) { if (((from_bitField0_ & 0x00000001) != 0)) { result.logName_ = logName_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { result.timestamp_ = timestampBuilder_ == null ? timestamp_ : timestampBuilder_.build(); + to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000040) != 0)) { result.receiveTimestamp_ = receiveTimestampBuilder_ == null ? receiveTimestamp_ : receiveTimestampBuilder_.build(); + to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000080) != 0)) { result.severity_ = severity_; @@ -1843,6 +1867,7 @@ private void buildPartial0(com.google.logging.v2.LogEntry result) { if (((from_bitField0_ & 0x00000200) != 0)) { result.httpRequest_ = httpRequestBuilder_ == null ? httpRequest_ : httpRequestBuilder_.build(); + to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000400) != 0)) { result.labels_ = internalGetLabels(); @@ -1850,6 +1875,7 @@ private void buildPartial0(com.google.logging.v2.LogEntry result) { } if (((from_bitField0_ & 0x00000800) != 0)) { result.operation_ = operationBuilder_ == null ? operation_ : operationBuilder_.build(); + to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00001000) != 0)) { result.trace_ = trace_; @@ -1863,10 +1889,13 @@ private void buildPartial0(com.google.logging.v2.LogEntry result) { if (((from_bitField0_ & 0x00008000) != 0)) { result.sourceLocation_ = sourceLocationBuilder_ == null ? sourceLocation_ : sourceLocationBuilder_.build(); + to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00010000) != 0)) { result.split_ = splitBuilder_ == null ? split_ : splitBuilder_.build(); + to_bitField0_ |= 0x00000040; } + result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(com.google.logging.v2.LogEntry result) { @@ -2509,8 +2538,10 @@ public Builder mergeResource(com.google.api.MonitoredResource value) { } else { resourceBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (resource_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** @@ -3384,8 +3415,10 @@ public Builder mergeTimestamp(com.google.protobuf.Timestamp value) { } else { timestampBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000020; - onChanged(); + if (timestamp_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } return this; } /** @@ -3623,8 +3656,10 @@ public Builder mergeReceiveTimestamp(com.google.protobuf.Timestamp value) { } else { receiveTimestampBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000040; - onChanged(); + if (receiveTimestamp_ != null) { + bitField0_ |= 0x00000040; + onChanged(); + } return this; } /** @@ -4090,8 +4125,10 @@ public Builder mergeHttpRequest(com.google.logging.type.HttpRequest value) { } else { httpRequestBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000200; - onChanged(); + if (httpRequest_ != null) { + bitField0_ |= 0x00000200; + onChanged(); + } return this; } /** @@ -4554,8 +4591,10 @@ public Builder mergeOperation(com.google.logging.v2.LogEntryOperation value) { } else { operationBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000800; - onChanged(); + if (operation_ != null) { + bitField0_ |= 0x00000800; + onChanged(); + } return this; } /** @@ -5234,8 +5273,10 @@ public Builder mergeSourceLocation(com.google.logging.v2.LogEntrySourceLocation } else { sourceLocationBuilder_.mergeFrom(value); } - bitField0_ |= 0x00008000; - onChanged(); + if (sourceLocation_ != null) { + bitField0_ |= 0x00008000; + onChanged(); + } return this; } /** @@ -5437,8 +5478,10 @@ public Builder mergeSplit(com.google.logging.v2.LogSplit value) { } else { splitBuilder_.mergeFrom(value); } - bitField0_ |= 0x00010000; - onChanged(); + if (split_ != null) { + bitField0_ |= 0x00010000; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java index b3b65f774..be582468b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java index bf1313c9b..f748137b9 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface LogEntryOperationOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java index 1f357ae2e..3e684fae0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface LogEntryOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java index 954cba468..83a44cb6e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public final class LogEntryProto { @@ -64,44 +65,43 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "logging/type/log_severity.proto\032\031google/" + "protobuf/any.proto\032\034google/protobuf/stru" + "ct.proto\032\037google/protobuf/timestamp.prot" - + "o\"\221\010\n\010LogEntry\022\026\n\010log_name\030\014 \001(\tB\004\342A\001\002\0225" - + "\n\010resource\030\010 \001(\0132\035.google.api.MonitoredR" - + "esourceB\004\342A\001\002\022-\n\rproto_payload\030\002 \001(\0132\024.g" - + "oogle.protobuf.AnyH\000\022\026\n\014text_payload\030\003 \001" - + "(\tH\000\022/\n\014json_payload\030\006 \001(\0132\027.google.prot" - + "obuf.StructH\000\0223\n\ttimestamp\030\t \001(\0132\032.googl" - + "e.protobuf.TimestampB\004\342A\001\001\022;\n\021receive_ti" - + "mestamp\030\030 \001(\0132\032.google.protobuf.Timestam" - + "pB\004\342A\001\003\0228\n\010severity\030\n \001(\0162 .google.loggi" - + "ng.type.LogSeverityB\004\342A\001\001\022\027\n\tinsert_id\030\004" - + " \001(\tB\004\342A\001\001\022<\n\014http_request\030\007 \001(\0132 .googl" - + "e.logging.type.HttpRequestB\004\342A\001\001\022=\n\006labe" - + "ls\030\013 \003(\0132\'.google.logging.v2.LogEntry.La" - + "belsEntryB\004\342A\001\001\022=\n\toperation\030\017 \001(\0132$.goo" - + "gle.logging.v2.LogEntryOperationB\004\342A\001\001\022\023" - + "\n\005trace\030\026 \001(\tB\004\342A\001\001\022\025\n\007span_id\030\033 \001(\tB\004\342A" - + "\001\001\022\033\n\rtrace_sampled\030\036 \001(\010B\004\342A\001\001\022H\n\017sourc" - + "e_location\030\027 \001(\0132).google.logging.v2.Log" - + "EntrySourceLocationB\004\342A\001\001\0220\n\005split\030# \001(\013" - + "2\033.google.logging.v2.LogSplitB\004\342A\001\001\032-\n\013L" - + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - + "8\001:\275\001\352A\271\001\n\032logging.googleapis.com/Log\022\035p" - + "rojects/{project}/logs/{log}\022\'organizati" - + "ons/{organization}/logs/{log}\022\033folders/{" - + "folder}/logs/{log}\022,billingAccounts/{bil" - + "ling_account}/logs/{log}\032\010log_nameB\t\n\007pa" - + "yload\"f\n\021LogEntryOperation\022\020\n\002id\030\001 \001(\tB\004" - + "\342A\001\001\022\026\n\010producer\030\002 \001(\tB\004\342A\001\001\022\023\n\005first\030\003 " - + "\001(\010B\004\342A\001\001\022\022\n\004last\030\004 \001(\010B\004\342A\001\001\"X\n\026LogEntr" - + "ySourceLocation\022\022\n\004file\030\001 \001(\tB\004\342A\001\001\022\022\n\004l" - + "ine\030\002 \001(\003B\004\342A\001\001\022\026\n\010function\030\003 \001(\tB\004\342A\001\001\"" - + "<\n\010LogSplit\022\013\n\003uid\030\001 \001(\t\022\r\n\005index\030\002 \001(\005\022" - + "\024\n\014total_splits\030\003 \001(\005B\263\001\n\025com.google.log" - + "ging.v2B\rLogEntryProtoP\001Z5cloud.google.c" - + "om/go/logging/apiv2/loggingpb;loggingpb\370" - + "\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Cl" - + "oud\\Logging\\V2\352\002\032Google::Cloud::Logging:" - + ":V2b\006proto3" + + "o\"\203\010\n\010LogEntry\022\025\n\010log_name\030\014 \001(\tB\003\340A\002\0224\n" + + "\010resource\030\010 \001(\0132\035.google.api.MonitoredRe" + + "sourceB\003\340A\002\022-\n\rproto_payload\030\002 \001(\0132\024.goo" + + "gle.protobuf.AnyH\000\022\026\n\014text_payload\030\003 \001(\t" + + "H\000\022/\n\014json_payload\030\006 \001(\0132\027.google.protob" + + "uf.StructH\000\0222\n\ttimestamp\030\t \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\001\022:\n\021receive_times" + + "tamp\030\030 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\0227\n\010severity\030\n \001(\0162 .google.logging.t" + + "ype.LogSeverityB\003\340A\001\022\026\n\tinsert_id\030\004 \001(\tB" + + "\003\340A\001\022;\n\014http_request\030\007 \001(\0132 .google.logg" + + "ing.type.HttpRequestB\003\340A\001\022<\n\006labels\030\013 \003(" + + "\0132\'.google.logging.v2.LogEntry.LabelsEnt" + + "ryB\003\340A\001\022<\n\toperation\030\017 \001(\0132$.google.logg" + + "ing.v2.LogEntryOperationB\003\340A\001\022\022\n\005trace\030\026" + + " \001(\tB\003\340A\001\022\024\n\007span_id\030\033 \001(\tB\003\340A\001\022\032\n\rtrace" + + "_sampled\030\036 \001(\010B\003\340A\001\022G\n\017source_location\030\027" + + " \001(\0132).google.logging.v2.LogEntrySourceL" + + "ocationB\003\340A\001\022/\n\005split\030# \001(\0132\033.google.log" + + "ging.v2.LogSplitB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\275\001\352A\271\001\n\032log" + + "ging.googleapis.com/Log\022\035projects/{proje" + + "ct}/logs/{log}\022\'organizations/{organizat" + + "ion}/logs/{log}\022\033folders/{folder}/logs/{" + + "log}\022,billingAccounts/{billing_account}/" + + "logs/{log}\032\010log_nameB\t\n\007payload\"b\n\021LogEn" + + "tryOperation\022\017\n\002id\030\001 \001(\tB\003\340A\001\022\025\n\010produce" + + "r\030\002 \001(\tB\003\340A\001\022\022\n\005first\030\003 \001(\010B\003\340A\001\022\021\n\004last" + + "\030\004 \001(\010B\003\340A\001\"U\n\026LogEntrySourceLocation\022\021\n" + + "\004file\030\001 \001(\tB\003\340A\001\022\021\n\004line\030\002 \001(\003B\003\340A\001\022\025\n\010f" + + "unction\030\003 \001(\tB\003\340A\001\"<\n\010LogSplit\022\013\n\003uid\030\001 " + + "\001(\t\022\r\n\005index\030\002 \001(\005\022\024\n\014total_splits\030\003 \001(\005" + + "B\263\001\n\025com.google.logging.v2B\rLogEntryProt" + + "oP\001Z5cloud.google.com/go/logging/apiv2/l" + + "oggingpb;loggingpb\370\001\001\252\002\027Google.Cloud.Log" + + "ging.V2\312\002\027Google\\Cloud\\Logging\\V2\352\002\032Goog" + + "le::Cloud::Logging::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java index 783e58d5e..bb291e86d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java index 41f563d1a..baa0c6af4 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface LogEntrySourceLocationOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java index 30936d8c1..aa14bb05f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.LogExclusion.Builder.class); } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -284,7 +286,7 @@ public boolean getDisabled() { */ @java.lang.Override public boolean hasCreateTime() { - return createTime_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -339,7 +341,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { */ @java.lang.Override public boolean hasUpdateTime() { - return updateTime_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -402,10 +404,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (disabled_ != false) { output.writeBool(4, disabled_); } - if (createTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(5, getCreateTime()); } - if (updateTime_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(6, getUpdateTime()); } getUnknownFields().writeTo(output); @@ -429,10 +431,10 @@ public int getSerializedSize() { if (disabled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, disabled_); } - if (createTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } - if (updateTime_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); @@ -621,10 +623,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.LogExclusion.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCreateTimeFieldBuilder(); + getUpdateTimeFieldBuilder(); + } } @java.lang.Override @@ -692,12 +704,16 @@ private void buildPartial0(com.google.logging.v2.LogExclusion result) { if (((from_bitField0_ & 0x00000008) != 0)) { result.disabled_ = disabled_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -1412,8 +1428,10 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { } else { createTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000010; - onChanged(); + if (createTime_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } return this; } /** @@ -1631,8 +1649,10 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { } else { updateTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000020; - onChanged(); + if (updateTime_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java index 30dced7f9..4cb408537 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface LogExclusionOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java index 0f8b39365..5e03027fa 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -65,7 +66,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { switch (number) { case 7: return internalGetLabelExtractors(); @@ -218,6 +220,7 @@ private ApiVersion(int value) { // @@protoc_insertion_point(enum_scope:google.logging.v2.LogMetric.ApiVersion) } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -532,7 +535,7 @@ public boolean getDisabled() { */ @java.lang.Override public boolean hasMetricDescriptor() { - return metricDescriptor_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -879,7 +882,7 @@ public java.lang.String getLabelExtractorsOrThrow(java.lang.String key) { */ @java.lang.Override public boolean hasBucketOptions() { - return bucketOptions_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -940,7 +943,7 @@ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuil */ @java.lang.Override public boolean hasCreateTime() { - return createTime_ != null; + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -995,7 +998,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { */ @java.lang.Override public boolean hasUpdateTime() { - return updateTime_ != null; + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -1101,7 +1104,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (version_ != com.google.logging.v2.LogMetric.ApiVersion.V2.getNumber()) { output.writeEnum(4, version_); } - if (metricDescriptor_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(5, getMetricDescriptor()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(valueExtractor_)) { @@ -1109,13 +1112,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetLabelExtractors(), LabelExtractorsDefaultEntryHolder.defaultEntry, 7); - if (bucketOptions_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(8, getBucketOptions()); } - if (createTime_ != null) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(9, getCreateTime()); } - if (updateTime_ != null) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(10, getUpdateTime()); } if (disabled_ != false) { @@ -1145,7 +1148,7 @@ public int getSerializedSize() { if (version_ != com.google.logging.v2.LogMetric.ApiVersion.V2.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, version_); } - if (metricDescriptor_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMetricDescriptor()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(valueExtractor_)) { @@ -1161,13 +1164,13 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, labelExtractors__); } - if (bucketOptions_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getBucketOptions()); } - if (createTime_ != null) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCreateTime()); } - if (updateTime_ != null) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpdateTime()); } if (disabled_ != false) { @@ -1384,7 +1387,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { switch (number) { case 7: return internalGetLabelExtractors(); @@ -1394,7 +1398,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { switch (number) { case 7: return internalGetMutableLabelExtractors(); @@ -1413,10 +1418,22 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { } // Construct using com.google.logging.v2.LogMetric.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getMetricDescriptorFieldBuilder(); + getBucketOptionsFieldBuilder(); + getCreateTimeFieldBuilder(); + getUpdateTimeFieldBuilder(); + } } @java.lang.Override @@ -1501,9 +1518,11 @@ private void buildPartial0(com.google.logging.v2.LogMetric result) { if (((from_bitField0_ & 0x00000010) != 0)) { result.disabled_ = disabled_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000020) != 0)) { result.metricDescriptor_ = metricDescriptorBuilder_ == null ? metricDescriptor_ : metricDescriptorBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000040) != 0)) { result.valueExtractor_ = valueExtractor_; @@ -1515,16 +1534,20 @@ private void buildPartial0(com.google.logging.v2.LogMetric result) { if (((from_bitField0_ & 0x00000100) != 0)) { result.bucketOptions_ = bucketOptionsBuilder_ == null ? bucketOptions_ : bucketOptionsBuilder_.build(); + to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000200) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000400) != 0)) { result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000800) != 0)) { result.version_ = version_; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -2568,8 +2591,10 @@ public Builder mergeMetricDescriptor(com.google.api.MetricDescriptor value) { } else { metricDescriptorBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000020; - onChanged(); + if (metricDescriptor_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } return this; } /** @@ -3333,8 +3358,10 @@ public Builder mergeBucketOptions(com.google.api.Distribution.BucketOptions valu } else { bucketOptionsBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000100; - onChanged(); + if (bucketOptions_ != null) { + bitField0_ |= 0x00000100; + onChanged(); + } return this; } /** @@ -3552,8 +3579,10 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { } else { createTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000200; - onChanged(); + if (createTime_ != null) { + bitField0_ |= 0x00000200; + onChanged(); + } return this; } /** @@ -3771,8 +3800,10 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { } else { updateTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000400; - onChanged(); + if (updateTime_ != null) { + bitField0_ |= 0x00000400; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java index c7e7ae9a2..f9eaa3741 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface LogMetricOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java index bd6ad718d..b42cd681b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -228,6 +229,7 @@ private VersionFormat(int value) { // @@protoc_insertion_point(enum_scope:google.logging.v2.LogSink.VersionFormat) } + private int bitField0_; private int optionsCase_ = 0; @SuppressWarnings("serial") @@ -887,7 +889,7 @@ public com.google.logging.v2.BigQueryOptionsOrBuilder getBigqueryOptionsOrBuilde */ @java.lang.Override public boolean hasCreateTime() { - return createTime_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -942,7 +944,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { */ @java.lang.Override public boolean hasUpdateTime() { - return updateTime_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -1015,10 +1017,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (optionsCase_ == 12) { output.writeMessage(12, (com.google.logging.v2.BigQueryOptions) options_); } - if (createTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(13, getCreateTime()); } - if (updateTime_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(14, getUpdateTime()); } for (int i = 0; i < exclusions_.size(); i++) { @@ -1063,10 +1065,10 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 12, (com.google.logging.v2.BigQueryOptions) options_); } - if (createTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getCreateTime()); } - if (updateTime_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getUpdateTime()); } for (int i = 0; i < exclusions_.size(); i++) { @@ -1296,10 +1298,21 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.LogSink.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getExclusionsFieldBuilder(); + getCreateTimeFieldBuilder(); + getUpdateTimeFieldBuilder(); + } } @java.lang.Override @@ -1409,12 +1422,16 @@ private void buildPartial0(com.google.logging.v2.LogSink result) { if (((from_bitField0_ & 0x00000100) != 0)) { result.includeChildren_ = includeChildren_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000400) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000800) != 0)) { result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; } + result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(com.google.logging.v2.LogSink result) { @@ -3503,8 +3520,10 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { } else { createTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000400; - onChanged(); + if (createTime_ != null) { + bitField0_ |= 0x00000400; + onChanged(); + } return this; } /** @@ -3722,8 +3741,10 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { } else { updateTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000800; - onChanged(); + if (updateTime_ != null) { + bitField0_ |= 0x00000800; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java index 8f6c64366..3eec17c0f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface LogSinkOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java index 271ad4236..a044f6d25 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java index 57a586b8c..9d2e251b4 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface LogSplitOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java index 838851cad..cab222c75 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -63,6 +64,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.LogView.class, com.google.logging.v2.LogView.Builder.class); } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -189,7 +191,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { */ @java.lang.Override public boolean hasCreateTime() { - return createTime_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -238,7 +240,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { */ @java.lang.Override public boolean hasUpdateTime() { - return updateTime_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -368,10 +370,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - if (createTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getCreateTime()); } - if (updateTime_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(5, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { @@ -392,10 +394,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - if (createTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } - if (updateTime_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { @@ -579,10 +581,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.LogView.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCreateTimeFieldBuilder(); + getUpdateTimeFieldBuilder(); + } } @java.lang.Override @@ -643,15 +655,19 @@ private void buildPartial0(com.google.logging.v2.LogView result) { if (((from_bitField0_ & 0x00000002) != 0)) { result.description_ = description_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { result.filter_ = filter_; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -1139,8 +1155,10 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { } else { createTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; - onChanged(); + if (createTime_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } return this; } /** @@ -1340,8 +1358,10 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { } else { updateTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000008; - onChanged(); + if (updateTime_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java index 9a1e11e76..0f4a160f2 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface LogViewOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java index d1694a9e3..c6830e95b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public final class LoggingConfigProto { @@ -243,543 +244,541 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "resource.proto\032#google/longrunning/opera" + "tions.proto\032\033google/protobuf/empty.proto" + "\032 google/protobuf/field_mask.proto\032\037goog" - + "le/protobuf/timestamp.proto\"\220\001\n\013IndexCon" - + "fig\022\030\n\nfield_path\030\001 \001(\tB\004\342A\001\002\0220\n\004type\030\002 " - + "\001(\0162\034.google.logging.v2.IndexTypeB\004\342A\001\002\022" - + "5\n\013create_time\030\003 \001(\0132\032.google.protobuf.T" - + "imestampB\004\342A\001\003\"\331\005\n\tLogBucket\022\022\n\004name\030\001 \001" - + "(\tB\004\342A\001\003\022\023\n\013description\030\003 \001(\t\0225\n\013create_" - + "time\030\004 \001(\0132\032.google.protobuf.TimestampB\004" - + "\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.google.proto" - + "buf.TimestampB\004\342A\001\003\022\026\n\016retention_days\030\013 " - + "\001(\005\022\016\n\006locked\030\t \001(\010\022@\n\017lifecycle_state\030\014" - + " \001(\0162!.google.logging.v2.LifecycleStateB" - + "\004\342A\001\003\022\031\n\021analytics_enabled\030\016 \001(\010\022\031\n\021rest" - + "ricted_fields\030\017 \003(\t\0225\n\rindex_configs\030\021 \003" - + "(\0132\036.google.logging.v2.IndexConfig\0226\n\rcm" - + "ek_settings\030\023 \001(\0132\037.google.logging.v2.Cm" - + "ekSettings:\245\002\352A\241\002\n logging.googleapis.co" - + "m/LogBucket\0228projects/{project}/location" - + "s/{location}/buckets/{bucket}\022Borganizat" - + "ions/{organization}/locations/{location}" - + "/buckets/{bucket}\0226folders/{folder}/loca" - + "tions/{location}/buckets/{bucket}\022Gbilli" - + "ngAccounts/{billing_account}/locations/{" - + "location}/buckets/{bucket}\"\204\004\n\007LogView\022\014" - + "\n\004name\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\0225\n\013cre" - + "ate_time\030\004 \001(\0132\032.google.protobuf.Timesta" - + "mpB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.google.p" - + "rotobuf.TimestampB\004\342A\001\003\022\016\n\006filter\030\007 \001(\t:" - + "\327\002\352A\323\002\n\036logging.googleapis.com/LogView\022E" - + "projects/{project}/locations/{location}/" - + "buckets/{bucket}/views/{view}\022Oorganizat" - + "ions/{organization}/locations/{location}" - + "/buckets/{bucket}/views/{view}\022Cfolders/" - + "{folder}/locations/{location}/buckets/{b" - + "ucket}/views/{view}\022TbillingAccounts/{bi" - + "lling_account}/locations/{location}/buck" - + "ets/{bucket}/views/{view}\"\220\006\n\007LogSink\022\022\n" - + "\004name\030\001 \001(\tB\004\342A\001\002\022\037\n\013destination\030\003 \001(\tB\n" - + "\342A\001\002\372A\003\n\001*\022\024\n\006filter\030\005 \001(\tB\004\342A\001\001\022\031\n\013desc" - + "ription\030\022 \001(\tB\004\342A\001\001\022\026\n\010disabled\030\023 \001(\010B\004\342" - + "A\001\001\0229\n\nexclusions\030\020 \003(\0132\037.google.logging" - + ".v2.LogExclusionB\004\342A\001\001\022K\n\025output_version" - + "_format\030\006 \001(\0162(.google.logging.v2.LogSin" - + "k.VersionFormatB\002\030\001\022\035\n\017writer_identity\030\010" - + " \001(\tB\004\342A\001\003\022\036\n\020include_children\030\t \001(\010B\004\342A" - + "\001\001\022D\n\020bigquery_options\030\014 \001(\0132\".google.lo" - + "gging.v2.BigQueryOptionsB\004\342A\001\001H\000\0225\n\013crea" - + "te_time\030\r \001(\0132\032.google.protobuf.Timestam" - + "pB\004\342A\001\003\0225\n\013update_time\030\016 \001(\0132\032.google.pr" - + "otobuf.TimestampB\004\342A\001\003\"?\n\rVersionFormat\022" - + "\036\n\032VERSION_FORMAT_UNSPECIFIED\020\000\022\006\n\002V2\020\001\022" - + "\006\n\002V1\020\002:\277\001\352A\273\001\n\036logging.googleapis.com/L" - + "ogSink\022\037projects/{project}/sinks/{sink}\022" - + ")organizations/{organization}/sinks/{sin" - + "k}\022\035folders/{folder}/sinks/{sink}\022.billi" - + "ngAccounts/{billing_account}/sinks/{sink" - + "}B\t\n\007options\"+\n\017BigQueryDataset\022\030\n\ndatas" - + "et_id\030\001 \001(\tB\004\342A\001\003\"\267\004\n\004Link\022\014\n\004name\030\001 \001(\t" - + "\022\023\n\013description\030\002 \001(\t\0225\n\013create_time\030\003 \001" - + "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022@\n\017" - + "lifecycle_state\030\004 \001(\0162!.google.logging.v" - + "2.LifecycleStateB\004\342A\001\003\022<\n\020bigquery_datas" - + "et\030\005 \001(\0132\".google.logging.v2.BigQueryDat" - + "aset:\324\002\352A\320\002\n\033logging.googleapis.com/Link" - + "\022Eprojects/{project}/locations/{location" - + "}/buckets/{bucket}/links/{link}\022Oorganiz" - + "ations/{organization}/locations/{locatio" - + "n}/buckets/{bucket}/links/{link}\022Cfolder" - + "s/{folder}/locations/{location}/buckets/" - + "{bucket}/links/{link}\022TbillingAccounts/{" - + "billing_account}/locations/{location}/bu" - + "ckets/{bucket}/links/{link}\"i\n\017BigQueryO" - + "ptions\022$\n\026use_partitioned_tables\030\001 \001(\010B\004" - + "\342A\001\001\0220\n\"uses_timestamp_column_partitioni" - + "ng\030\003 \001(\010B\004\342A\001\003\"\202\001\n\022ListBucketsRequest\0229\n" - + "\006parent\030\001 \001(\tB)\342A\001\002\372A\"\022 logging.googleap" - + "is.com/LogBucket\022\030\n\npage_token\030\002 \001(\tB\004\342A" - + "\001\001\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\"]\n\023ListBucke" - + "tsResponse\022-\n\007buckets\030\001 \003(\0132\034.google.log" - + "ging.v2.LogBucket\022\027\n\017next_page_token\030\002 \001" - + "(\t\"\235\001\n\023CreateBucketRequest\0229\n\006parent\030\001 \001" - + "(\tB)\342A\001\002\372A\"\022 logging.googleapis.com/LogB" - + "ucket\022\027\n\tbucket_id\030\002 \001(\tB\004\342A\001\002\0222\n\006bucket" - + "\030\003 \001(\0132\034.google.logging.v2.LogBucketB\004\342A" - + "\001\002\"\271\001\n\023UpdateBucketRequest\0227\n\004name\030\001 \001(\t" - + "B)\342A\001\002\372A\"\n logging.googleapis.com/LogBuc" - + "ket\0222\n\006bucket\030\002 \001(\0132\034.google.logging.v2." - + "LogBucketB\004\342A\001\002\0225\n\013update_mask\030\004 \001(\0132\032.g" - + "oogle.protobuf.FieldMaskB\004\342A\001\002\"K\n\020GetBuc" - + "ketRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n loggi" - + "ng.googleapis.com/LogBucket\"N\n\023DeleteBuc" - + "ketRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n loggi" - + "ng.googleapis.com/LogBucket\"P\n\025UndeleteB" - + "ucketRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n log" - + "ging.googleapis.com/LogBucket\"[\n\020ListVie" - + "wsRequest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022\030\n\npage_" - + "token\030\002 \001(\tB\004\342A\001\001\022\027\n\tpage_size\030\003 \001(\005B\004\342A" - + "\001\001\"W\n\021ListViewsResponse\022)\n\005views\030\001 \003(\0132\032" - + ".google.logging.v2.LogView\022\027\n\017next_page_" - + "token\030\002 \001(\t\"p\n\021CreateViewRequest\022\024\n\006pare" - + "nt\030\001 \001(\tB\004\342A\001\002\022\025\n\007view_id\030\002 \001(\tB\004\342A\001\002\022.\n" - + "\004view\030\003 \001(\0132\032.google.logging.v2.LogViewB" - + "\004\342A\001\002\"\216\001\n\021UpdateViewRequest\022\022\n\004name\030\001 \001(" - + "\tB\004\342A\001\002\022.\n\004view\030\002 \001(\0132\032.google.logging.v" - + "2.LogViewB\004\342A\001\002\0225\n\013update_mask\030\004 \001(\0132\032.g" - + "oogle.protobuf.FieldMaskB\004\342A\001\001\"G\n\016GetVie" - + "wRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036logging" - + ".googleapis.com/LogView\"J\n\021DeleteViewReq" - + "uest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036logging.goo" - + "gleapis.com/LogView\"~\n\020ListSinksRequest\022" - + "7\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036logging.google" - + "apis.com/LogSink\022\030\n\npage_token\030\002 \001(\tB\004\342A" - + "\001\001\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\"W\n\021ListSinks" - + "Response\022)\n\005sinks\030\001 \003(\0132\032.google.logging" - + ".v2.LogSink\022\027\n\017next_page_token\030\002 \001(\t\"L\n\016" - + "GetSinkRequest\022:\n\tsink_name\030\001 \001(\tB\'\342A\001\002\372" - + "A \n\036logging.googleapis.com/LogSink\"\242\001\n\021C" - + "reateSinkRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A" - + " \022\036logging.googleapis.com/LogSink\022.\n\004sin" - + "k\030\002 \001(\0132\032.google.logging.v2.LogSinkB\004\342A\001" - + "\002\022$\n\026unique_writer_identity\030\003 \001(\010B\004\342A\001\001\"" - + "\334\001\n\021UpdateSinkRequest\022:\n\tsink_name\030\001 \001(\t" - + "B\'\342A\001\002\372A \n\036logging.googleapis.com/LogSin" - + "k\022.\n\004sink\030\002 \001(\0132\032.google.logging.v2.LogS" - + "inkB\004\342A\001\002\022$\n\026unique_writer_identity\030\003 \001(" - + "\010B\004\342A\001\001\0225\n\013update_mask\030\004 \001(\0132\032.google.pr" - + "otobuf.FieldMaskB\004\342A\001\001\"O\n\021DeleteSinkRequ" - + "est\022:\n\tsink_name\030\001 \001(\tB\'\342A\001\002\372A \n\036logging" - + ".googleapis.com/LogSink\"\215\001\n\021CreateLinkRe" - + "quest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033logging." - + "googleapis.com/Link\022+\n\004link\030\002 \001(\0132\027.goog" - + "le.logging.v2.LinkB\004\342A\001\002\022\025\n\007link_id\030\003 \001(" - + "\tB\004\342A\001\002\"G\n\021DeleteLinkRequest\0222\n\004name\030\001 \001" - + "(\tB$\342A\001\002\372A\035\n\033logging.googleapis.com/Link" - + "\"{\n\020ListLinksRequest\0224\n\006parent\030\001 \001(\tB$\342A" - + "\001\002\372A\035\022\033logging.googleapis.com/Link\022\030\n\npa" - + "ge_token\030\002 \001(\tB\004\342A\001\001\022\027\n\tpage_size\030\003 \001(\005B" - + "\004\342A\001\001\"T\n\021ListLinksResponse\022&\n\005links\030\001 \003(" - + "\0132\027.google.logging.v2.Link\022\027\n\017next_page_" - + "token\030\002 \001(\t\"D\n\016GetLinkRequest\0222\n\004name\030\001 " - + "\001(\tB$\342A\001\002\372A\035\n\033logging.googleapis.com/Lin" - + "k\"\310\003\n\014LogExclusion\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022\031" - + "\n\013description\030\002 \001(\tB\004\342A\001\001\022\024\n\006filter\030\003 \001(" - + "\tB\004\342A\001\002\022\026\n\010disabled\030\004 \001(\010B\004\342A\001\001\0225\n\013creat" - + "e_time\030\005 \001(\0132\032.google.protobuf.Timestamp" - + "B\004\342A\001\003\0225\n\013update_time\030\006 \001(\0132\032.google.pro" - + "tobuf.TimestampB\004\342A\001\003:\354\001\352A\350\001\n#logging.go" - + "ogleapis.com/LogExclusion\022)projects/{pro" - + "ject}/exclusions/{exclusion}\0223organizati" - + "ons/{organization}/exclusions/{exclusion" - + "}\022\'folders/{folder}/exclusions/{exclusio" - + "n}\0228billingAccounts/{billing_account}/ex" - + "clusions/{exclusion}\"\210\001\n\025ListExclusionsR" - + "equest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%\022#logging" - + ".googleapis.com/LogExclusion\022\030\n\npage_tok" - + "en\030\002 \001(\tB\004\342A\001\001\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\"" - + "f\n\026ListExclusionsResponse\0223\n\nexclusions\030" - + "\001 \003(\0132\037.google.logging.v2.LogExclusion\022\027" - + "\n\017next_page_token\030\002 \001(\t\"Q\n\023GetExclusionR" - + "equest\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#logging.g" - + "oogleapis.com/LogExclusion\"\220\001\n\026CreateExc" - + "lusionRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%\022#" - + "logging.googleapis.com/LogExclusion\0228\n\te" + + "le/protobuf/timestamp.proto\"\215\001\n\013IndexCon" + + "fig\022\027\n\nfield_path\030\001 \001(\tB\003\340A\002\022/\n\004type\030\002 \001" + + "(\0162\034.google.logging.v2.IndexTypeB\003\340A\002\0224\n" + + "\013create_time\030\003 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\"\325\005\n\tLogBucket\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\003\022\023\n\013description\030\003 \001(\t\0224\n\013create_time" + + "\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "4\n\013update_time\030\005 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\022\026\n\016retention_days\030\013 \001(\005\022\016\n" + + "\006locked\030\t \001(\010\022?\n\017lifecycle_state\030\014 \001(\0162!" + + ".google.logging.v2.LifecycleStateB\003\340A\003\022\031" + + "\n\021analytics_enabled\030\016 \001(\010\022\031\n\021restricted_" + + "fields\030\017 \003(\t\0225\n\rindex_configs\030\021 \003(\0132\036.go" + + "ogle.logging.v2.IndexConfig\0226\n\rcmek_sett" + + "ings\030\023 \001(\0132\037.google.logging.v2.CmekSetti" + + "ngs:\245\002\352A\241\002\n logging.googleapis.com/LogBu" + + "cket\0228projects/{project}/locations/{loca" + + "tion}/buckets/{bucket}\022Borganizations/{o" + + "rganization}/locations/{location}/bucket" + + "s/{bucket}\0226folders/{folder}/locations/{" + + "location}/buckets/{bucket}\022GbillingAccou" + + "nts/{billing_account}/locations/{locatio" + + "n}/buckets/{bucket}\"\202\004\n\007LogView\022\014\n\004name\030" + + "\001 \001(\t\022\023\n\013description\030\003 \001(\t\0224\n\013create_tim" + + "e\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0224\n\013update_time\030\005 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022\016\n\006filter\030\007 \001(\t:\327\002\352A\323\002\n\036l" + + "ogging.googleapis.com/LogView\022Eprojects/" + + "{project}/locations/{location}/buckets/{" + + "bucket}/views/{view}\022Oorganizations/{org" + + "anization}/locations/{location}/buckets/" + + "{bucket}/views/{view}\022Cfolders/{folder}/" + + "locations/{location}/buckets/{bucket}/vi" + + "ews/{view}\022TbillingAccounts/{billing_acc" + + "ount}/locations/{location}/buckets/{buck" + + "et}/views/{view}\"\205\006\n\007LogSink\022\021\n\004name\030\001 \001" + + "(\tB\003\340A\002\022\036\n\013destination\030\003 \001(\tB\t\340A\002\372A\003\n\001*\022" + + "\023\n\006filter\030\005 \001(\tB\003\340A\001\022\030\n\013description\030\022 \001(" + + "\tB\003\340A\001\022\025\n\010disabled\030\023 \001(\010B\003\340A\001\0228\n\nexclusi" + + "ons\030\020 \003(\0132\037.google.logging.v2.LogExclusi" + + "onB\003\340A\001\022K\n\025output_version_format\030\006 \001(\0162(" + + ".google.logging.v2.LogSink.VersionFormat" + + "B\002\030\001\022\034\n\017writer_identity\030\010 \001(\tB\003\340A\003\022\035\n\020in" + + "clude_children\030\t \001(\010B\003\340A\001\022C\n\020bigquery_op" + + "tions\030\014 \001(\0132\".google.logging.v2.BigQuery" + + "OptionsB\003\340A\001H\000\0224\n\013create_time\030\r \001(\0132\032.go" + + "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" + + "ime\030\016 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\"?\n\rVersionFormat\022\036\n\032VERSION_FORMAT_UN" + + "SPECIFIED\020\000\022\006\n\002V2\020\001\022\006\n\002V1\020\002:\277\001\352A\273\001\n\036logg" + + "ing.googleapis.com/LogSink\022\037projects/{pr" + + "oject}/sinks/{sink}\022)organizations/{orga" + + "nization}/sinks/{sink}\022\035folders/{folder}" + + "/sinks/{sink}\022.billingAccounts/{billing_" + + "account}/sinks/{sink}B\t\n\007options\"*\n\017BigQ" + + "ueryDataset\022\027\n\ndataset_id\030\001 \001(\tB\003\340A\003\"\265\004\n" + + "\004Link\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t" + + "\0224\n\013create_time\030\003 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022?\n\017lifecycle_state\030\004 \001(\0162" + + "!.google.logging.v2.LifecycleStateB\003\340A\003\022" + + "<\n\020bigquery_dataset\030\005 \001(\0132\".google.loggi" + + "ng.v2.BigQueryDataset:\324\002\352A\320\002\n\033logging.go" + + "ogleapis.com/Link\022Eprojects/{project}/lo" + + "cations/{location}/buckets/{bucket}/link" + + "s/{link}\022Oorganizations/{organization}/l" + + "ocations/{location}/buckets/{bucket}/lin" + + "ks/{link}\022Cfolders/{folder}/locations/{l" + + "ocation}/buckets/{bucket}/links/{link}\022T" + + "billingAccounts/{billing_account}/locati" + + "ons/{location}/buckets/{bucket}/links/{l" + + "ink}\"g\n\017BigQueryOptions\022#\n\026use_partition" + + "ed_tables\030\001 \001(\010B\003\340A\001\022/\n\"uses_timestamp_c" + + "olumn_partitioning\030\003 \001(\010B\003\340A\003\"\177\n\022ListBuc" + + "ketsRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\022 log" + + "ging.googleapis.com/LogBucket\022\027\n\npage_to" + + "ken\030\002 \001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\"]" + + "\n\023ListBucketsResponse\022-\n\007buckets\030\001 \003(\0132\034" + + ".google.logging.v2.LogBucket\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"\232\001\n\023CreateBucketRequest\0228\n" + + "\006parent\030\001 \001(\tB(\340A\002\372A\"\022 logging.googleapi" + + "s.com/LogBucket\022\026\n\tbucket_id\030\002 \001(\tB\003\340A\002\022" + + "1\n\006bucket\030\003 \001(\0132\034.google.logging.v2.LogB" + + "ucketB\003\340A\002\"\266\001\n\023UpdateBucketRequest\0226\n\004na" + + "me\030\001 \001(\tB(\340A\002\372A\"\n logging.googleapis.com" + + "/LogBucket\0221\n\006bucket\030\002 \001(\0132\034.google.logg" + + "ing.v2.LogBucketB\003\340A\002\0224\n\013update_mask\030\004 \001" + + "(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"J\n\020G" + + "etBucketRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n l" + + "ogging.googleapis.com/LogBucket\"M\n\023Delet" + + "eBucketRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n lo" + + "gging.googleapis.com/LogBucket\"O\n\025Undele" + + "teBucketRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n l" + + "ogging.googleapis.com/LogBucket\"X\n\020ListV" + + "iewsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\027\n\npage" + + "_token\030\002 \001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A" + + "\001\"W\n\021ListViewsResponse\022)\n\005views\030\001 \003(\0132\032." + + "google.logging.v2.LogView\022\027\n\017next_page_t" + + "oken\030\002 \001(\t\"m\n\021CreateViewRequest\022\023\n\006paren" + + "t\030\001 \001(\tB\003\340A\002\022\024\n\007view_id\030\002 \001(\tB\003\340A\002\022-\n\004vi" + + "ew\030\003 \001(\0132\032.google.logging.v2.LogViewB\003\340A" + + "\002\"\213\001\n\021UpdateViewRequest\022\021\n\004name\030\001 \001(\tB\003\340" + + "A\002\022-\n\004view\030\002 \001(\0132\032.google.logging.v2.Log" + + "ViewB\003\340A\002\0224\n\013update_mask\030\004 \001(\0132\032.google." + + "protobuf.FieldMaskB\003\340A\001\"F\n\016GetViewReques" + + "t\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036logging.googlea" + + "pis.com/LogView\"I\n\021DeleteViewRequest\0224\n\004" + + "name\030\001 \001(\tB&\340A\002\372A \n\036logging.googleapis.c" + + "om/LogView\"{\n\020ListSinksRequest\0226\n\006parent" + + "\030\001 \001(\tB&\340A\002\372A \022\036logging.googleapis.com/L" + + "ogSink\022\027\n\npage_token\030\002 \001(\tB\003\340A\001\022\026\n\tpage_" + + "size\030\003 \001(\005B\003\340A\001\"W\n\021ListSinksResponse\022)\n\005" + + "sinks\030\001 \003(\0132\032.google.logging.v2.LogSink\022" + + "\027\n\017next_page_token\030\002 \001(\t\"K\n\016GetSinkReque" + + "st\0229\n\tsink_name\030\001 \001(\tB&\340A\002\372A \n\036logging.g" + + "oogleapis.com/LogSink\"\237\001\n\021CreateSinkRequ" + + "est\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036logging.goo" + + "gleapis.com/LogSink\022-\n\004sink\030\002 \001(\0132\032.goog" + + "le.logging.v2.LogSinkB\003\340A\002\022#\n\026unique_wri" + + "ter_identity\030\003 \001(\010B\003\340A\001\"\330\001\n\021UpdateSinkRe" + + "quest\0229\n\tsink_name\030\001 \001(\tB&\340A\002\372A \n\036loggin" + + "g.googleapis.com/LogSink\022-\n\004sink\030\002 \001(\0132\032" + + ".google.logging.v2.LogSinkB\003\340A\002\022#\n\026uniqu" + + "e_writer_identity\030\003 \001(\010B\003\340A\001\0224\n\013update_m" + + "ask\030\004 \001(\0132\032.google.protobuf.FieldMaskB\003\340" + + "A\001\"N\n\021DeleteSinkRequest\0229\n\tsink_name\030\001 \001" + + "(\tB&\340A\002\372A \n\036logging.googleapis.com/LogSi" + + "nk\"\212\001\n\021CreateLinkRequest\0223\n\006parent\030\001 \001(\t" + + "B#\340A\002\372A\035\022\033logging.googleapis.com/Link\022*\n" + + "\004link\030\002 \001(\0132\027.google.logging.v2.LinkB\003\340A" + + "\002\022\024\n\007link_id\030\003 \001(\tB\003\340A\002\"F\n\021DeleteLinkReq" + + "uest\0221\n\004name\030\001 \001(\tB#\340A\002\372A\035\n\033logging.goog" + + "leapis.com/Link\"x\n\020ListLinksRequest\0223\n\006p" + + "arent\030\001 \001(\tB#\340A\002\372A\035\022\033logging.googleapis." + + "com/Link\022\027\n\npage_token\030\002 \001(\tB\003\340A\001\022\026\n\tpag" + + "e_size\030\003 \001(\005B\003\340A\001\"T\n\021ListLinksResponse\022&" + + "\n\005links\030\001 \003(\0132\027.google.logging.v2.Link\022\027" + + "\n\017next_page_token\030\002 \001(\t\"C\n\016GetLinkReques" + + "t\0221\n\004name\030\001 \001(\tB#\340A\002\372A\035\n\033logging.googlea" + + "pis.com/Link\"\302\003\n\014LogExclusion\022\021\n\004name\030\001 " + + "\001(\tB\003\340A\002\022\030\n\013description\030\002 \001(\tB\003\340A\001\022\023\n\006fi" + + "lter\030\003 \001(\tB\003\340A\002\022\025\n\010disabled\030\004 \001(\010B\003\340A\001\0224" + + "\n\013create_time\030\005 \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003:\354\001\352A\350\001\n#loggi" + + "ng.googleapis.com/LogExclusion\022)projects" + + "/{project}/exclusions/{exclusion}\0223organ" + + "izations/{organization}/exclusions/{excl" + + "usion}\022\'folders/{folder}/exclusions/{exc" + + "lusion}\0228billingAccounts/{billing_accoun" + + "t}/exclusions/{exclusion}\"\205\001\n\025ListExclus" + + "ionsRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#log" + + "ging.googleapis.com/LogExclusion\022\027\n\npage" + + "_token\030\002 \001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A" + + "\001\"f\n\026ListExclusionsResponse\0223\n\nexclusion" + + "s\030\001 \003(\0132\037.google.logging.v2.LogExclusion" + + "\022\027\n\017next_page_token\030\002 \001(\t\"P\n\023GetExclusio" + + "nRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#logging." + + "googleapis.com/LogExclusion\"\216\001\n\026CreateEx" + + "clusionRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#" + + "logging.googleapis.com/LogExclusion\0227\n\te" + "xclusion\030\002 \001(\0132\037.google.logging.v2.LogEx" - + "clusionB\004\342A\001\002\"\305\001\n\026UpdateExclusionRequest" - + "\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#logging.googlea" - + "pis.com/LogExclusion\0228\n\texclusion\030\002 \001(\0132" - + "\037.google.logging.v2.LogExclusionB\004\342A\001\002\0225" - + "\n\013update_mask\030\003 \001(\0132\032.google.protobuf.Fi" - + "eldMaskB\004\342A\001\002\"T\n\026DeleteExclusionRequest\022" - + ":\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#logging.googleap" - + "is.com/LogExclusion\"T\n\026GetCmekSettingsRe" - + "quest\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#logging.go" - + "ogleapis.com/CmekSettings\"\244\001\n\031UpdateCmek" - + "SettingsRequest\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022<\n\rc" - + "mek_settings\030\002 \001(\0132\037.google.logging.v2.C" - + "mekSettingsB\004\342A\001\002\0225\n\013update_mask\030\003 \001(\0132\032" - + ".google.protobuf.FieldMaskB\004\342A\001\001\"\277\002\n\014Cme" - + "kSettings\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014kms_key" - + "_name\030\002 \001(\t\022\034\n\024kms_key_version_name\030\004 \001(" - + "\t\022 \n\022service_account_id\030\003 \001(\tB\004\342A\001\003:\304\001\352A" - + "\300\001\n#logging.googleapis.com/CmekSettings\022" - + "\037projects/{project}/cmekSettings\022)organi" - + "zations/{organization}/cmekSettings\022\035fol" - + "ders/{folder}/cmekSettings\022.billingAccou" - + "nts/{billing_account}/cmekSettings\"L\n\022Ge" - + "tSettingsRequest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n" - + "\037logging.googleapis.com/Settings\"\227\001\n\025Upd" - + "ateSettingsRequest\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\0223" - + "\n\010settings\030\002 \001(\0132\033.google.logging.v2.Set" - + "tingsB\004\342A\001\002\0225\n\013update_mask\030\003 \001(\0132\032.googl" - + "e.protobuf.FieldMaskB\004\342A\001\001\"\327\002\n\010Settings\022" - + "\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\032\n\014kms_key_name\030\002 \001(" - + "\tB\004\342A\001\001\022$\n\026kms_service_account_id\030\003 \001(\tB" - + "\004\342A\001\003\022\036\n\020storage_location\030\004 \001(\tB\004\342A\001\001\022\"\n" - + "\024disable_default_sink\030\005 \001(\010B\004\342A\001\001:\260\001\352A\254\001" - + "\n\037logging.googleapis.com/Settings\022\033proje" - + "cts/{project}/settings\022%organizations/{o" - + "rganization}/settings\022\031folders/{folder}/" - + "settings\022*billingAccounts/{billing_accou" - + "nt}/settings\"\\\n\025CopyLogEntriesRequest\022\022\n" - + "\004name\030\001 \001(\tB\004\342A\001\002\022\024\n\006filter\030\003 \001(\tB\004\342A\001\001\022" - + "\031\n\013destination\030\004 \001(\tB\004\342A\001\002\"\256\002\n\026CopyLogEn" - + "triesMetadata\022.\n\nstart_time\030\001 \001(\0132\032.goog" - + "le.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132" - + "\032.google.protobuf.Timestamp\0220\n\005state\030\003 \001" - + "(\0162!.google.logging.v2.OperationState\022\036\n" - + "\026cancellation_requested\030\004 \001(\010\0229\n\007request" - + "\030\005 \001(\0132(.google.logging.v2.CopyLogEntrie" - + "sRequest\022\020\n\010progress\030\006 \001(\005\022\027\n\017writer_ide" - + "ntity\030\007 \001(\t\":\n\026CopyLogEntriesResponse\022 \n" - + "\030log_entries_copied_count\030\001 \001(\003\"\275\002\n\016Buck" - + "etMetadata\022.\n\nstart_time\030\001 \001(\0132\032.google." - + "protobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\0220\n\005state\030\003 \001(\0162" - + "!.google.logging.v2.OperationState\022G\n\025cr" - + "eate_bucket_request\030\004 \001(\0132&.google.loggi" - + "ng.v2.CreateBucketRequestH\000\022G\n\025update_bu" - + "cket_request\030\005 \001(\0132&.google.logging.v2.U" - + "pdateBucketRequestH\000B\t\n\007request\"\263\002\n\014Link" - + "Metadata\022.\n\nstart_time\030\001 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\0220\n\005state\030\003 \001(\0162!." - + "google.logging.v2.OperationState\022C\n\023crea" - + "te_link_request\030\004 \001(\0132$.google.logging.v" - + "2.CreateLinkRequestH\000\022C\n\023delete_link_req" - + "uest\030\005 \001(\0132$.google.logging.v2.DeleteLin" - + "kRequestH\000B\t\n\007request\"1\n\020LocationMetadat" - + "a\022\035\n\025log_analytics_enabled\030\001 \001(\010*\364\001\n\016Ope" - + "rationState\022\037\n\033OPERATION_STATE_UNSPECIFI" - + "ED\020\000\022\035\n\031OPERATION_STATE_SCHEDULED\020\001\022+\n\'O" - + "PERATION_STATE_WAITING_FOR_PERMISSIONS\020\002" - + "\022\033\n\027OPERATION_STATE_RUNNING\020\003\022\035\n\031OPERATI" - + "ON_STATE_SUCCEEDED\020\004\022\032\n\026OPERATION_STATE_" - + "FAILED\020\005\022\035\n\031OPERATION_STATE_CANCELLED\020\006*" - + "{\n\016LifecycleState\022\037\n\033LIFECYCLE_STATE_UNS" - + "PECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\024\n\020DELETE_REQUEST" - + "ED\020\002\022\014\n\010UPDATING\020\003\022\014\n\010CREATING\020\004\022\n\n\006FAIL" - + "ED\020\005*V\n\tIndexType\022\032\n\026INDEX_TYPE_UNSPECIF" - + "IED\020\000\022\025\n\021INDEX_TYPE_STRING\020\001\022\026\n\022INDEX_TY" - + "PE_INTEGER\020\0022\237Y\n\017ConfigServiceV2\022\334\002\n\013Lis" - + "tBuckets\022%.google.logging.v2.ListBuckets" - + "Request\032&.google.logging.v2.ListBucketsR" - + "esponse\"\375\001\332A\006parent\202\323\344\223\002\355\001\022$/v2/{parent=" - + "*/*/locations/*}/bucketsZ-\022+/v2/{parent=" - + "projects/*/locations/*}/bucketsZ2\0220/v2/{" - + "parent=organizations/*/locations/*}/buck" - + "etsZ,\022*/v2/{parent=folders/*/locations/*" - + "}/bucketsZ4\0222/v2/{parent=billingAccounts" - + "/*/locations/*}/buckets\022\305\002\n\tGetBucket\022#." - + "google.logging.v2.GetBucketRequest\032\034.goo" - + "gle.logging.v2.LogBucket\"\364\001\202\323\344\223\002\355\001\022$/v2/" - + "{name=*/*/locations/*/buckets/*}Z-\022+/v2/" - + "{name=projects/*/locations/*/buckets/*}Z" - + "2\0220/v2/{name=organizations/*/locations/*" - + "/buckets/*}Z,\022*/v2/{name=folders/*/locat" - + "ions/*/buckets/*}Z4\0222/v2/{name=billingAc" - + "counts/*/locations/*/buckets/*}\022\323\003\n\021Crea" - + "teBucketAsync\022&.google.logging.v2.Create" - + "BucketRequest\032\035.google.longrunning.Opera" - + "tion\"\366\002\312A\033\n\tLogBucket\022\016BucketMetadata\202\323\344" - + "\223\002\321\002\"0/v2/{parent=*/*/locations/*}/bucke" - + "ts:createAsync:\006bucketZA\"7/v2/{parent=pr" - + "ojects/*/locations/*}/buckets:createAsyn" - + "c:\006bucketZF\"/v2/{pare" - + "nt=billingAccounts/*/locations/*}/bucket" - + "s:createAsync:\006bucket\022\323\003\n\021UpdateBucketAs" - + "ync\022&.google.logging.v2.UpdateBucketRequ" - + "est\032\035.google.longrunning.Operation\"\366\002\312A\033" - + "\n\tLogBucket\022\016BucketMetadata\202\323\344\223\002\321\002\"0/v2/" - + "{name=*/*/locations/*/buckets/*}:updateA" - + "sync:\006bucketZA\"7/v2/{name=projects/*/loc" - + "ations/*/buckets/*}:updateAsync:\006bucketZ" - + "F\"/v2/{name=billingAc" - + "counts/*/locations/*/buckets/*}:updateAs" - + "ync:\006bucket\022\363\002\n\014CreateBucket\022&.google.lo" - + "gging.v2.CreateBucketRequest\032\034.google.lo" - + "gging.v2.LogBucket\"\234\002\202\323\344\223\002\225\002\"$/v2/{paren" - + "t=*/*/locations/*}/buckets:\006bucketZ5\"+/v" - + "2/{parent=projects/*/locations/*}/bucket" - + "s:\006bucketZ:\"0/v2/{parent=organizations/*" - + "/locations/*}/buckets:\006bucketZ4\"*/v2/{pa" - + "rent=folders/*/locations/*}/buckets:\006buc" - + "ketZ<\"2/v2/{parent=billingAccounts/*/loc" - + "ations/*}/buckets:\006bucket\022\363\002\n\014UpdateBuck" - + "et\022&.google.logging.v2.UpdateBucketReque" - + "st\032\034.google.logging.v2.LogBucket\"\234\002\202\323\344\223\002" - + "\225\0022$/v2/{name=*/*/locations/*/buckets/*}" - + ":\006bucketZ52+/v2/{name=projects/*/locatio" - + "ns/*/buckets/*}:\006bucketZ:20/v2/{name=org" - + "anizations/*/locations/*/buckets/*}:\006buc" - + "ketZ42*/v2/{name=folders/*/locations/*/b" - + "uckets/*}:\006bucketZ<22/v2/{name=billingAc" - + "counts/*/locations/*/buckets/*}:\006bucket\022" - + "\305\002\n\014DeleteBucket\022&.google.logging.v2.Del" - + "eteBucketRequest\032\026.google.protobuf.Empty" - + "\"\364\001\202\323\344\223\002\355\001*$/v2/{name=*/*/locations/*/bu" - + "ckets/*}Z-*+/v2/{name=projects/*/locatio" - + "ns/*/buckets/*}Z2*0/v2/{name=organizatio" - + "ns/*/locations/*/buckets/*}Z,**/v2/{name" - + "=folders/*/locations/*/buckets/*}Z4*2/v2" - + "/{name=billingAccounts/*/locations/*/buc" - + "kets/*}\022\205\003\n\016UndeleteBucket\022(.google.logg" - + "ing.v2.UndeleteBucketRequest\032\026.google.pr" - + "otobuf.Empty\"\260\002\202\323\344\223\002\251\002\"-/v2/{name=*/*/lo" - + "cations/*/buckets/*}:undelete:\001*Z9\"4/v2/" - + "{name=projects/*/locations/*/buckets/*}:" - + "undelete:\001*Z>\"9/v2/{name=organizations/*" - + "/locations/*/buckets/*}:undelete:\001*Z8\"3/" - + "v2/{name=folders/*/locations/*/buckets/*" - + "}:undelete:\001*Z@\";/v2/{name=billingAccoun" - + "ts/*/locations/*/buckets/*}:undelete:\001*\022" - + "\376\002\n\tListViews\022#.google.logging.v2.ListVi" - + "ewsRequest\032$.google.logging.v2.ListViews" - + "Response\"\245\002\332A\006parent\202\323\344\223\002\225\002\022,/v2/{parent" - + "=*/*/locations/*/buckets/*}/viewsZ5\0223/v2" - + "/{parent=projects/*/locations/*/buckets/" - + "*}/viewsZ:\0228/v2/{parent=organizations/*/" - + "locations/*/buckets/*}/viewsZ4\0222/v2/{par" - + "ent=folders/*/locations/*/buckets/*}/vie" - + "wsZ<\022:/v2/{parent=billingAccounts/*/loca" - + "tions/*/buckets/*}/views\022\347\002\n\007GetView\022!.g" - + "oogle.logging.v2.GetViewRequest\032\032.google" - + ".logging.v2.LogView\"\234\002\202\323\344\223\002\225\002\022,/v2/{name" - + "=*/*/locations/*/buckets/*/views/*}Z5\0223/" - + "v2/{name=projects/*/locations/*/buckets/" - + "*/views/*}Z:\0228/v2/{name=organizations/*/" - + "locations/*/buckets/*/views/*}Z4\0222/v2/{n" - + "ame=folders/*/locations/*/buckets/*/view" - + "s/*}Z<\022:/v2/{name=billingAccounts/*/loca" - + "tions/*/buckets/*/views/*}\022\213\003\n\nCreateVie" - + "w\022$.google.logging.v2.CreateViewRequest\032" - + "\032.google.logging.v2.LogView\"\272\002\202\323\344\223\002\263\002\",/" - + "v2/{parent=*/*/locations/*/buckets/*}/vi" - + "ews:\004viewZ;\"3/v2/{parent=projects/*/loca" - + "tions/*/buckets/*}/views:\004viewZ@\"8/v2/{p" - + "arent=organizations/*/locations/*/bucket" - + "s/*}/views:\004viewZ:\"2/v2/{parent=folders/" - + "*/locations/*/buckets/*}/views:\004viewZB\":" - + "/v2/{parent=billingAccounts/*/locations/" - + "*/buckets/*}/views:\004view\022\213\003\n\nUpdateView\022" - + "$.google.logging.v2.UpdateViewRequest\032\032." - + "google.logging.v2.LogView\"\272\002\202\323\344\223\002\263\0022,/v2" - + "/{name=*/*/locations/*/buckets/*/views/*" - + "}:\004viewZ;23/v2/{name=projects/*/location" - + "s/*/buckets/*/views/*}:\004viewZ@28/v2/{nam" - + "e=organizations/*/locations/*/buckets/*/" - + "views/*}:\004viewZ:22/v2/{name=folders/*/lo" - + "cations/*/buckets/*/views/*}:\004viewZB2:/v" + + "clusionB\003\340A\002\"\302\001\n\026UpdateExclusionRequest\022" + + "9\n\004name\030\001 \001(\tB+\340A\002\372A%\n#logging.googleapi" + + "s.com/LogExclusion\0227\n\texclusion\030\002 \001(\0132\037." + + "google.logging.v2.LogExclusionB\003\340A\002\0224\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "MaskB\003\340A\002\"S\n\026DeleteExclusionRequest\0229\n\004n" + + "ame\030\001 \001(\tB+\340A\002\372A%\n#logging.googleapis.co" + + "m/LogExclusion\"S\n\026GetCmekSettingsRequest" + + "\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#logging.googleap" + + "is.com/CmekSettings\"\241\001\n\031UpdateCmekSettin" + + "gsRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\rcmek_set" + + "tings\030\002 \001(\0132\037.google.logging.v2.CmekSett" + + "ingsB\003\340A\002\0224\n\013update_mask\030\003 \001(\0132\032.google." + + "protobuf.FieldMaskB\003\340A\001\"\275\002\n\014CmekSettings" + + "\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014kms_key_name\030\002 \001(" + + "\t\022\034\n\024kms_key_version_name\030\004 \001(\t\022\037\n\022servi" + + "ce_account_id\030\003 \001(\tB\003\340A\003:\304\001\352A\300\001\n#logging" + + ".googleapis.com/CmekSettings\022\037projects/{" + + "project}/cmekSettings\022)organizations/{or" + + "ganization}/cmekSettings\022\035folders/{folde" + + "r}/cmekSettings\022.billingAccounts/{billin" + + "g_account}/cmekSettings\"K\n\022GetSettingsRe" + + "quest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037logging.goo" + + "gleapis.com/Settings\"\224\001\n\025UpdateSettingsR" + + "equest\022\021\n\004name\030\001 \001(\tB\003\340A\002\0222\n\010settings\030\002 " + + "\001(\0132\033.google.logging.v2.SettingsB\003\340A\002\0224\n" + + "\013update_mask\030\003 \001(\0132\032.google.protobuf.Fie" + + "ldMaskB\003\340A\001\"\322\002\n\010Settings\022\021\n\004name\030\001 \001(\tB\003" + + "\340A\003\022\031\n\014kms_key_name\030\002 \001(\tB\003\340A\001\022#\n\026kms_se" + + "rvice_account_id\030\003 \001(\tB\003\340A\003\022\035\n\020storage_l" + + "ocation\030\004 \001(\tB\003\340A\001\022!\n\024disable_default_si" + + "nk\030\005 \001(\010B\003\340A\001:\260\001\352A\254\001\n\037logging.googleapis" + + ".com/Settings\022\033projects/{project}/settin" + + "gs\022%organizations/{organization}/setting" + + "s\022\031folders/{folder}/settings\022*billingAcc" + + "ounts/{billing_account}/settings\"Y\n\025Copy" + + "LogEntriesRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\006" + + "filter\030\003 \001(\tB\003\340A\001\022\030\n\013destination\030\004 \001(\tB\003" + + "\340A\002\"\256\002\n\026CopyLogEntriesMetadata\022.\n\nstart_" + + "time\030\001 \001(\0132\032.google.protobuf.Timestamp\022," + + "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tamp\0220\n\005state\030\003 \001(\0162!.google.logging.v2." + + "OperationState\022\036\n\026cancellation_requested" + + "\030\004 \001(\010\0229\n\007request\030\005 \001(\0132(.google.logging" + + ".v2.CopyLogEntriesRequest\022\020\n\010progress\030\006 " + + "\001(\005\022\027\n\017writer_identity\030\007 \001(\t\":\n\026CopyLogE" + + "ntriesResponse\022 \n\030log_entries_copied_cou" + + "nt\030\001 \001(\003\"\275\002\n\016BucketMetadata\022.\n\nstart_tim" + + "e\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" + + "nd_time\030\002 \001(\0132\032.google.protobuf.Timestam" + + "p\0220\n\005state\030\003 \001(\0162!.google.logging.v2.Ope" + + "rationState\022G\n\025create_bucket_request\030\004 \001" + + "(\0132&.google.logging.v2.CreateBucketReque" + + "stH\000\022G\n\025update_bucket_request\030\005 \001(\0132&.go" + + "ogle.logging.v2.UpdateBucketRequestH\000B\t\n" + + "\007request\"\263\002\n\014LinkMetadata\022.\n\nstart_time\030" + + "\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end" + + "_time\030\002 \001(\0132\032.google.protobuf.Timestamp\022" + + "0\n\005state\030\003 \001(\0162!.google.logging.v2.Opera" + + "tionState\022C\n\023create_link_request\030\004 \001(\0132$" + + ".google.logging.v2.CreateLinkRequestH\000\022C" + + "\n\023delete_link_request\030\005 \001(\0132$.google.log" + + "ging.v2.DeleteLinkRequestH\000B\t\n\007request\"1" + + "\n\020LocationMetadata\022\035\n\025log_analytics_enab" + + "led\030\001 \001(\010*\364\001\n\016OperationState\022\037\n\033OPERATIO" + + "N_STATE_UNSPECIFIED\020\000\022\035\n\031OPERATION_STATE" + + "_SCHEDULED\020\001\022+\n\'OPERATION_STATE_WAITING_" + + "FOR_PERMISSIONS\020\002\022\033\n\027OPERATION_STATE_RUN" + + "NING\020\003\022\035\n\031OPERATION_STATE_SUCCEEDED\020\004\022\032\n" + + "\026OPERATION_STATE_FAILED\020\005\022\035\n\031OPERATION_S" + + "TATE_CANCELLED\020\006*{\n\016LifecycleState\022\037\n\033LI" + + "FECYCLE_STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022" + + "\024\n\020DELETE_REQUESTED\020\002\022\014\n\010UPDATING\020\003\022\014\n\010C" + + "REATING\020\004\022\n\n\006FAILED\020\005*V\n\tIndexType\022\032\n\026IN" + + "DEX_TYPE_UNSPECIFIED\020\000\022\025\n\021INDEX_TYPE_STR" + + "ING\020\001\022\026\n\022INDEX_TYPE_INTEGER\020\0022\237Y\n\017Config" + + "ServiceV2\022\334\002\n\013ListBuckets\022%.google.loggi" + + "ng.v2.ListBucketsRequest\032&.google.loggin" + + "g.v2.ListBucketsResponse\"\375\001\332A\006parent\202\323\344\223" + + "\002\355\001\022$/v2/{parent=*/*/locations/*}/bucket" + + "sZ-\022+/v2/{parent=projects/*/locations/*}" + + "/bucketsZ2\0220/v2/{parent=organizations/*/" + + "locations/*}/bucketsZ,\022*/v2/{parent=fold" + + "ers/*/locations/*}/bucketsZ4\0222/v2/{paren" + + "t=billingAccounts/*/locations/*}/buckets" + + "\022\305\002\n\tGetBucket\022#.google.logging.v2.GetBu" + + "cketRequest\032\034.google.logging.v2.LogBucke" + + "t\"\364\001\202\323\344\223\002\355\001\022$/v2/{name=*/*/locations/*/b" + + "uckets/*}Z-\022+/v2/{name=projects/*/locati" + + "ons/*/buckets/*}Z2\0220/v2/{name=organizati" + + "ons/*/locations/*/buckets/*}Z,\022*/v2/{nam" + + "e=folders/*/locations/*/buckets/*}Z4\0222/v" + "2/{name=billingAccounts/*/locations/*/bu" - + "ckets/*/views/*}:\004view\022\351\002\n\nDeleteView\022$." - + "google.logging.v2.DeleteViewRequest\032\026.go" - + "ogle.protobuf.Empty\"\234\002\202\323\344\223\002\225\002*,/v2/{name" - + "=*/*/locations/*/buckets/*/views/*}Z5*3/" - + "v2/{name=projects/*/locations/*/buckets/" - + "*/views/*}Z:*8/v2/{name=organizations/*/" - + "locations/*/buckets/*/views/*}Z4*2/v2/{n" - + "ame=folders/*/locations/*/buckets/*/view" - + "s/*}Z<*:/v2/{name=billingAccounts/*/loca" - + "tions/*/buckets/*/views/*}\022\220\002\n\tListSinks" - + "\022#.google.logging.v2.ListSinksRequest\032$." - + "google.logging.v2.ListSinksResponse\"\267\001\332A" - + "\006parent\202\323\344\223\002\247\001\022\026/v2/{parent=*/*}/sinksZ\037" - + "\022\035/v2/{parent=projects/*}/sinksZ$\022\"/v2/{" - + "parent=organizations/*}/sinksZ\036\022\034/v2/{pa" - + "rent=folders/*}/sinksZ&\022$/v2/{parent=bil" - + "lingAccounts/*}/sinks\022\236\002\n\007GetSink\022!.goog" - + "le.logging.v2.GetSinkRequest\032\032.google.lo" - + "gging.v2.LogSink\"\323\001\332A\tsink_name\202\323\344\223\002\300\001\022\033" - + "/v2/{sink_name=*/*/sinks/*}Z$\022\"/v2/{sink" - + "_name=projects/*/sinks/*}Z)\022\'/v2/{sink_n" - + "ame=organizations/*/sinks/*}Z#\022!/v2/{sin" - + "k_name=folders/*/sinks/*}Z+\022)/v2/{sink_n" - + "ame=billingAccounts/*/sinks/*}\022\253\002\n\nCreat" - + "eSink\022$.google.logging.v2.CreateSinkRequ" - + "est\032\032.google.logging.v2.LogSink\"\332\001\332A\013par" - + "ent,sink\202\323\344\223\002\305\001\"\026/v2/{parent=*/*}/sinks:" - + "\004sinkZ%\"\035/v2/{parent=projects/*}/sinks:\004" - + "sinkZ*\"\"/v2/{parent=organizations/*}/sin" - + "ks:\004sinkZ$\"\034/v2/{parent=folders/*}/sinks" - + ":\004sinkZ,\"$/v2/{parent=billingAccounts/*}" - + "/sinks:\004sink\022\237\004\n\nUpdateSink\022$.google.log" - + "ging.v2.UpdateSinkRequest\032\032.google.loggi" - + "ng.v2.LogSink\"\316\003\332A\032sink_name,sink,update" - + "_mask\332A\016sink_name,sink\202\323\344\223\002\231\003\032\033/v2/{sink" - + "_name=*/*/sinks/*}:\004sinkZ*\032\"/v2/{sink_na" - + "me=projects/*/sinks/*}:\004sinkZ/\032\'/v2/{sin" - + "k_name=organizations/*/sinks/*}:\004sinkZ)\032", - "!/v2/{sink_name=folders/*/sinks/*}:\004sink" - + "Z1\032)/v2/{sink_name=billingAccounts/*/sin" - + "ks/*}:\004sinkZ*2\"/v2/{sink_name=projects/*" - + "/sinks/*}:\004sinkZ/2\'/v2/{sink_name=organi" - + "zations/*/sinks/*}:\004sinkZ)2!/v2/{sink_na" - + "me=folders/*/sinks/*}:\004sinkZ12)/v2/{sink" - + "_name=billingAccounts/*/sinks/*}:\004sink\022\240" - + "\002\n\nDeleteSink\022$.google.logging.v2.Delete" - + "SinkRequest\032\026.google.protobuf.Empty\"\323\001\332A" - + "\tsink_name\202\323\344\223\002\300\001*\033/v2/{sink_name=*/*/si" - + "nks/*}Z$*\"/v2/{sink_name=projects/*/sink" - + "s/*}Z)*\'/v2/{sink_name=organizations/*/s" - + "inks/*}Z#*!/v2/{sink_name=folders/*/sink" - + "s/*}Z+*)/v2/{sink_name=billingAccounts/*" - + "/sinks/*}\022\273\003\n\nCreateLink\022$.google.loggin" - + "g.v2.CreateLinkRequest\032\035.google.longrunn" - + "ing.Operation\"\347\002\312A\024\n\004Link\022\014LinkMetadata\332" - + "A\023parent,link,link_id\202\323\344\223\002\263\002\",/v2/{paren" - + "t=*/*/locations/*/buckets/*}/links:\004link" - + "Z;\"3/v2/{parent=projects/*/locations/*/b" - + "uckets/*}/links:\004linkZ@\"8/v2/{parent=org" - + "anizations/*/locations/*/buckets/*}/link" - + "s:\004linkZ:\"2/v2/{parent=folders/*/locatio" - + "ns/*/buckets/*}/links:\004linkZB\":/v2/{pare" - + "nt=billingAccounts/*/locations/*/buckets" - + "/*}/links:\004link\022\237\003\n\nDeleteLink\022$.google." - + "logging.v2.DeleteLinkRequest\032\035.google.lo" - + "ngrunning.Operation\"\313\002\312A%\n\025google.protob" - + "uf.Empty\022\014LinkMetadata\332A\004name\202\323\344\223\002\225\002*,/v" - + "2/{name=*/*/locations/*/buckets/*/links/" - + "*}Z5*3/v2/{name=projects/*/locations/*/b" - + "uckets/*/links/*}Z:*8/v2/{name=organizat" - + "ions/*/locations/*/buckets/*/links/*}Z4*" - + "2/v2/{name=folders/*/locations/*/buckets" - + "/*/links/*}Z<*:/v2/{name=billingAccounts" - + "/*/locations/*/buckets/*/links/*}\022\376\002\n\tLi" - + "stLinks\022#.google.logging.v2.ListLinksReq" - + "uest\032$.google.logging.v2.ListLinksRespon" - + "se\"\245\002\332A\006parent\202\323\344\223\002\225\002\022,/v2/{parent=*/*/l" - + "ocations/*/buckets/*}/linksZ5\0223/v2/{pare" - + "nt=projects/*/locations/*/buckets/*}/lin" - + "ksZ:\0228/v2/{parent=organizations/*/locati" - + "ons/*/buckets/*}/linksZ4\0222/v2/{parent=fo" - + "lders/*/locations/*/buckets/*}/linksZ<\022:" - + "/v2/{parent=billingAccounts/*/locations/" - + "*/buckets/*}/links\022\353\002\n\007GetLink\022!.google." - + "logging.v2.GetLinkRequest\032\027.google.loggi" - + "ng.v2.Link\"\243\002\332A\004name\202\323\344\223\002\225\002\022,/v2/{name=*" - + "/*/locations/*/buckets/*/links/*}Z5\0223/v2" - + "/{name=projects/*/locations/*/buckets/*/" - + "links/*}Z:\0228/v2/{name=organizations/*/lo" - + "cations/*/buckets/*/links/*}Z4\0222/v2/{nam" - + "e=folders/*/locations/*/buckets/*/links/" - + "*}Z<\022:/v2/{name=billingAccounts/*/locati" - + "ons/*/buckets/*/links/*}\022\270\002\n\016ListExclusi" - + "ons\022(.google.logging.v2.ListExclusionsRe" - + "quest\032).google.logging.v2.ListExclusions" - + "Response\"\320\001\332A\006parent\202\323\344\223\002\300\001\022\033/v2/{parent" - + "=*/*}/exclusionsZ$\022\"/v2/{parent=projects" - + "/*}/exclusionsZ)\022\'/v2/{parent=organizati" - + "ons/*}/exclusionsZ#\022!/v2/{parent=folders" - + "/*}/exclusionsZ+\022)/v2/{parent=billingAcc" - + "ounts/*}/exclusions\022\250\002\n\014GetExclusion\022&.g" - + "oogle.logging.v2.GetExclusionRequest\032\037.g" - + "oogle.logging.v2.LogExclusion\"\316\001\332A\004name\202" - + "\323\344\223\002\300\001\022\033/v2/{name=*/*/exclusions/*}Z$\022\"/" - + "v2/{name=projects/*/exclusions/*}Z)\022\'/v2" - + "/{name=organizations/*/exclusions/*}Z#\022!" - + "/v2/{name=folders/*/exclusions/*}Z+\022)/v2" - + "/{name=billingAccounts/*/exclusions/*}\022\361" - + "\002\n\017CreateExclusion\022).google.logging.v2.C" - + "reateExclusionRequest\032\037.google.logging.v" - + "2.LogExclusion\"\221\002\332A\020parent,exclusion\202\323\344\223" - + "\002\367\001\"\033/v2/{parent=*/*}/exclusions:\texclus" - + "ionZ/\"\"/v2/{parent=projects/*}/exclusion" - + "s:\texclusionZ4\"\'/v2/{parent=organization" - + "s/*}/exclusions:\texclusionZ.\"!/v2/{paren" - + "t=folders/*}/exclusions:\texclusionZ6\")/v" - + "2/{parent=billingAccounts/*}/exclusions:" - + "\texclusion\022\373\002\n\017UpdateExclusion\022).google." - + "logging.v2.UpdateExclusionRequest\032\037.goog" - + "le.logging.v2.LogExclusion\"\233\002\332A\032name,exc" - + "lusion,update_mask\202\323\344\223\002\367\0012\033/v2/{name=*/*" - + "/exclusions/*}:\texclusionZ/2\"/v2/{name=p" - + "rojects/*/exclusions/*}:\texclusionZ42\'/v" - + "2/{name=organizations/*/exclusions/*}:\te" - + "xclusionZ.2!/v2/{name=folders/*/exclusio" - + "ns/*}:\texclusionZ62)/v2/{name=billingAcc" - + "ounts/*/exclusions/*}:\texclusion\022\245\002\n\017Del" - + "eteExclusion\022).google.logging.v2.DeleteE" - + "xclusionRequest\032\026.google.protobuf.Empty\"" - + "\316\001\332A\004name\202\323\344\223\002\300\001*\033/v2/{name=*/*/exclusio" - + "ns/*}Z$*\"/v2/{name=projects/*/exclusions" - + "/*}Z)*\'/v2/{name=organizations/*/exclusi" - + "ons/*}Z#*!/v2/{name=folders/*/exclusions" - + "/*}Z+*)/v2/{name=billingAccounts/*/exclu" - + "sions/*}\022\247\002\n\017GetCmekSettings\022).google.lo" - + "gging.v2.GetCmekSettingsRequest\032\037.google" - + ".logging.v2.CmekSettings\"\307\001\202\323\344\223\002\300\001\022\033/v2/" - + "{name=*/*}/cmekSettingsZ$\022\"/v2/{name=pro" - + "jects/*}/cmekSettingsZ)\022\'/v2/{name=organ" - + "izations/*}/cmekSettingsZ#\022!/v2/{name=fo" - + "lders/*}/cmekSettingsZ+\022)/v2/{name=billi" - + "ngAccounts/*}/cmekSettings\022\321\001\n\022UpdateCme" - + "kSettings\022,.google.logging.v2.UpdateCmek" - + "SettingsRequest\032\037.google.logging.v2.Cmek" - + "Settings\"l\202\323\344\223\002f2\033/v2/{name=*/*}/cmekSet" - + "tings:\rcmek_settingsZ82\'/v2/{name=organi" - + "zations/*}/cmekSettings:\rcmek_settings\022\216" - + "\002\n\013GetSettings\022%.google.logging.v2.GetSe" - + "ttingsRequest\032\033.google.logging.v2.Settin" - + "gs\"\272\001\332A\004name\202\323\344\223\002\254\001\022\027/v2/{name=*/*}/sett" - + "ingsZ \022\036/v2/{name=projects/*}/settingsZ%" - + "\022#/v2/{name=organizations/*}/settingsZ\037\022" - + "\035/v2/{name=folders/*}/settingsZ\'\022%/v2/{n" - + "ame=billingAccounts/*}/settings\022\366\001\n\016Upda" - + "teSettings\022(.google.logging.v2.UpdateSet" - + "tingsRequest\032\033.google.logging.v2.Setting" - + "s\"\234\001\332A\024settings,update_mask\202\323\344\223\002\1772\027/v2/{" - + "name=*/*}/settings:\010settingsZ/2#/v2/{nam" - + "e=organizations/*}/settings:\010settingsZ)2" - + "\035/v2/{name=folders/*}/settings:\010settings" - + "\022\251\001\n\016CopyLogEntries\022(.google.logging.v2." - + "CopyLogEntriesRequest\032\035.google.longrunni" - + "ng.Operation\"N\312A0\n\026CopyLogEntriesRespons" - + "e\022\026CopyLogEntriesMetadata\202\323\344\223\002\025\"\020/v2/ent" - + "ries:copy:\001*\032\337\001\312A\026logging.googleapis.com" - + "\322A\302\001https://www.googleapis.com/auth/clou" - + "d-platform,https://www.googleapis.com/au" - + "th/cloud-platform.read-only,https://www." - + "googleapis.com/auth/logging.admin,https:" - + "//www.googleapis.com/auth/logging.readB\326" - + "\003\n\025com.google.logging.v2B\022LoggingConfigP" - + "rotoP\001Z5cloud.google.com/go/logging/apiv" - + "2/loggingpb;loggingpb\370\001\001\252\002\027Google.Cloud." - + "Logging.V2\312\002\027Google\\Cloud\\Logging\\V2\352\002\032G" - + "oogle::Cloud::Logging::V2\352A`\n+logging.go" - + "ogleapis.com/OrganizationLocation\0221organ" - + "izations/{organization}/locations/{locat" - + "ion}\352AN\n%logging.googleapis.com/FolderLo" - + "cation\022%folders/{folder}/locations/{loca" - + "tion}\352Ag\n-logging.googleapis.com/Billing" - + "AccountLocation\0226billingAccounts/{billin" - + "g_account}/locations/{location}b\006proto3" + + "ckets/*}\022\323\003\n\021CreateBucketAsync\022&.google." + + "logging.v2.CreateBucketRequest\032\035.google." + + "longrunning.Operation\"\366\002\312A\033\n\tLogBucket\022\016" + + "BucketMetadata\202\323\344\223\002\321\002\"0/v2/{parent=*/*/l" + + "ocations/*}/buckets:createAsync:\006bucketZ" + + "A\"7/v2/{parent=projects/*/locations/*}/b" + + "uckets:createAsync:\006bucketZF\"/v2/{parent=billingAccounts/*/lo" + + "cations/*}/buckets:createAsync:\006bucket\022\323" + + "\003\n\021UpdateBucketAsync\022&.google.logging.v2" + + ".UpdateBucketRequest\032\035.google.longrunnin" + + "g.Operation\"\366\002\312A\033\n\tLogBucket\022\016BucketMeta" + + "data\202\323\344\223\002\321\002\"0/v2/{name=*/*/locations/*/b" + + "uckets/*}:updateAsync:\006bucketZA\"7/v2/{na" + + "me=projects/*/locations/*/buckets/*}:upd" + + "ateAsync:\006bucketZF\"/v" + + "2/{name=billingAccounts/*/locations/*/bu" + + "ckets/*}:updateAsync:\006bucket\022\363\002\n\014CreateB" + + "ucket\022&.google.logging.v2.CreateBucketRe" + + "quest\032\034.google.logging.v2.LogBucket\"\234\002\202\323" + + "\344\223\002\225\002\"$/v2/{parent=*/*/locations/*}/buck" + + "ets:\006bucketZ5\"+/v2/{parent=projects/*/lo" + + "cations/*}/buckets:\006bucketZ:\"0/v2/{paren" + + "t=organizations/*/locations/*}/buckets:\006" + + "bucketZ4\"*/v2/{parent=folders/*/location" + + "s/*}/buckets:\006bucketZ<\"2/v2/{parent=bill" + + "ingAccounts/*/locations/*}/buckets:\006buck" + + "et\022\363\002\n\014UpdateBucket\022&.google.logging.v2." + + "UpdateBucketRequest\032\034.google.logging.v2." + + "LogBucket\"\234\002\202\323\344\223\002\225\0022$/v2/{name=*/*/locat" + + "ions/*/buckets/*}:\006bucketZ52+/v2/{name=p" + + "rojects/*/locations/*/buckets/*}:\006bucket" + + "Z:20/v2/{name=organizations/*/locations/" + + "*/buckets/*}:\006bucketZ42*/v2/{name=folder" + + "s/*/locations/*/buckets/*}:\006bucketZ<22/v" + + "2/{name=billingAccounts/*/locations/*/bu" + + "ckets/*}:\006bucket\022\305\002\n\014DeleteBucket\022&.goog" + + "le.logging.v2.DeleteBucketRequest\032\026.goog" + + "le.protobuf.Empty\"\364\001\202\323\344\223\002\355\001*$/v2/{name=*" + + "/*/locations/*/buckets/*}Z-*+/v2/{name=p" + + "rojects/*/locations/*/buckets/*}Z2*0/v2/" + + "{name=organizations/*/locations/*/bucket" + + "s/*}Z,**/v2/{name=folders/*/locations/*/" + + "buckets/*}Z4*2/v2/{name=billingAccounts/" + + "*/locations/*/buckets/*}\022\205\003\n\016UndeleteBuc" + + "ket\022(.google.logging.v2.UndeleteBucketRe" + + "quest\032\026.google.protobuf.Empty\"\260\002\202\323\344\223\002\251\002\"" + + "-/v2/{name=*/*/locations/*/buckets/*}:un" + + "delete:\001*Z9\"4/v2/{name=projects/*/locati" + + "ons/*/buckets/*}:undelete:\001*Z>\"9/v2/{nam" + + "e=organizations/*/locations/*/buckets/*}" + + ":undelete:\001*Z8\"3/v2/{name=folders/*/loca" + + "tions/*/buckets/*}:undelete:\001*Z@\";/v2/{n" + + "ame=billingAccounts/*/locations/*/bucket" + + "s/*}:undelete:\001*\022\376\002\n\tListViews\022#.google." + + "logging.v2.ListViewsRequest\032$.google.log" + + "ging.v2.ListViewsResponse\"\245\002\332A\006parent\202\323\344" + + "\223\002\225\002\022,/v2/{parent=*/*/locations/*/bucket" + + "s/*}/viewsZ5\0223/v2/{parent=projects/*/loc" + + "ations/*/buckets/*}/viewsZ:\0228/v2/{parent" + + "=organizations/*/locations/*/buckets/*}/" + + "viewsZ4\0222/v2/{parent=folders/*/locations" + + "/*/buckets/*}/viewsZ<\022:/v2/{parent=billi" + + "ngAccounts/*/locations/*/buckets/*}/view" + + "s\022\347\002\n\007GetView\022!.google.logging.v2.GetVie" + + "wRequest\032\032.google.logging.v2.LogView\"\234\002\202" + + "\323\344\223\002\225\002\022,/v2/{name=*/*/locations/*/bucket" + + "s/*/views/*}Z5\0223/v2/{name=projects/*/loc" + + "ations/*/buckets/*/views/*}Z:\0228/v2/{name" + + "=organizations/*/locations/*/buckets/*/v" + + "iews/*}Z4\0222/v2/{name=folders/*/locations" + + "/*/buckets/*/views/*}Z<\022:/v2/{name=billi" + + "ngAccounts/*/locations/*/buckets/*/views" + + "/*}\022\213\003\n\nCreateView\022$.google.logging.v2.C" + + "reateViewRequest\032\032.google.logging.v2.Log" + + "View\"\272\002\202\323\344\223\002\263\002\",/v2/{parent=*/*/location" + + "s/*/buckets/*}/views:\004viewZ;\"3/v2/{paren" + + "t=projects/*/locations/*/buckets/*}/view" + + "s:\004viewZ@\"8/v2/{parent=organizations/*/l" + + "ocations/*/buckets/*}/views:\004viewZ:\"2/v2" + + "/{parent=folders/*/locations/*/buckets/*" + + "}/views:\004viewZB\":/v2/{parent=billingAcco" + + "unts/*/locations/*/buckets/*}/views:\004vie" + + "w\022\213\003\n\nUpdateView\022$.google.logging.v2.Upd" + + "ateViewRequest\032\032.google.logging.v2.LogVi" + + "ew\"\272\002\202\323\344\223\002\263\0022,/v2/{name=*/*/locations/*/" + + "buckets/*/views/*}:\004viewZ;23/v2/{name=pr" + + "ojects/*/locations/*/buckets/*/views/*}:" + + "\004viewZ@28/v2/{name=organizations/*/locat" + + "ions/*/buckets/*/views/*}:\004viewZ:22/v2/{" + + "name=folders/*/locations/*/buckets/*/vie" + + "ws/*}:\004viewZB2:/v2/{name=billingAccounts" + + "/*/locations/*/buckets/*/views/*}:\004view\022" + + "\351\002\n\nDeleteView\022$.google.logging.v2.Delet" + + "eViewRequest\032\026.google.protobuf.Empty\"\234\002\202" + + "\323\344\223\002\225\002*,/v2/{name=*/*/locations/*/bucket" + + "s/*/views/*}Z5*3/v2/{name=projects/*/loc" + + "ations/*/buckets/*/views/*}Z:*8/v2/{name" + + "=organizations/*/locations/*/buckets/*/v" + + "iews/*}Z4*2/v2/{name=folders/*/locations" + + "/*/buckets/*/views/*}Z<*:/v2/{name=billi" + + "ngAccounts/*/locations/*/buckets/*/views" + + "/*}\022\220\002\n\tListSinks\022#.google.logging.v2.Li" + + "stSinksRequest\032$.google.logging.v2.ListS" + + "inksResponse\"\267\001\332A\006parent\202\323\344\223\002\247\001\022\026/v2/{pa" + + "rent=*/*}/sinksZ\037\022\035/v2/{parent=projects/" + + "*}/sinksZ$\022\"/v2/{parent=organizations/*}" + + "/sinksZ\036\022\034/v2/{parent=folders/*}/sinksZ&" + + "\022$/v2/{parent=billingAccounts/*}/sinks\022\236" + + "\002\n\007GetSink\022!.google.logging.v2.GetSinkRe" + + "quest\032\032.google.logging.v2.LogSink\"\323\001\332A\ts" + + "ink_name\202\323\344\223\002\300\001\022\033/v2/{sink_name=*/*/sink" + + "s/*}Z$\022\"/v2/{sink_name=projects/*/sinks/" + + "*}Z)\022\'/v2/{sink_name=organizations/*/sin" + + "ks/*}Z#\022!/v2/{sink_name=folders/*/sinks/" + + "*}Z+\022)/v2/{sink_name=billingAccounts/*/s" + + "inks/*}\022\253\002\n\nCreateSink\022$.google.logging." + + "v2.CreateSinkRequest\032\032.google.logging.v2" + + ".LogSink\"\332\001\332A\013parent,sink\202\323\344\223\002\305\001\"\026/v2/{p" + + "arent=*/*}/sinks:\004sinkZ%\"\035/v2/{parent=pr" + + "ojects/*}/sinks:\004sinkZ*\"\"/v2/{parent=org" + + "anizations/*}/sinks:\004sinkZ$\"\034/v2/{parent" + + "=folders/*}/sinks:\004sinkZ,\"$/v2/{parent=b" + + "illingAccounts/*}/sinks:\004sink\022\237\004\n\nUpdate" + + "Sink\022$.google.logging.v2.UpdateSinkReque" + + "st\032\032.google.logging.v2.LogSink\"\316\003\332A\032sink" + + "_name,sink,update_mask\332A\016sink_name,sink\202" + + "\323\344\223\002\231\003\032\033/v2/{sink_name=*/*/sinks/*}:\004sin" + + "kZ*\032\"/v2/{sink_name=projects/*/sinks/*}:" + + "\004sinkZ/\032\'/v2/{sink_name=organizations/*/" + + "sinks/*}:\004sinkZ)\032!/v2/{sink_name=folders" + + "/*/sinks/*}:\004sinkZ1\032)/v2/{sink_name=bill" + + "ingAccounts/*/sinks/*}:\004sinkZ*2\"/v2/{sin", + "k_name=projects/*/sinks/*}:\004sinkZ/2\'/v2/" + + "{sink_name=organizations/*/sinks/*}:\004sin" + + "kZ)2!/v2/{sink_name=folders/*/sinks/*}:\004" + + "sinkZ12)/v2/{sink_name=billingAccounts/*" + + "/sinks/*}:\004sink\022\240\002\n\nDeleteSink\022$.google." + + "logging.v2.DeleteSinkRequest\032\026.google.pr" + + "otobuf.Empty\"\323\001\332A\tsink_name\202\323\344\223\002\300\001*\033/v2/" + + "{sink_name=*/*/sinks/*}Z$*\"/v2/{sink_nam" + + "e=projects/*/sinks/*}Z)*\'/v2/{sink_name=" + + "organizations/*/sinks/*}Z#*!/v2/{sink_na" + + "me=folders/*/sinks/*}Z+*)/v2/{sink_name=" + + "billingAccounts/*/sinks/*}\022\273\003\n\nCreateLin" + + "k\022$.google.logging.v2.CreateLinkRequest\032" + + "\035.google.longrunning.Operation\"\347\002\312A\024\n\004Li" + + "nk\022\014LinkMetadata\332A\023parent,link,link_id\202\323" + + "\344\223\002\263\002\",/v2/{parent=*/*/locations/*/bucke" + + "ts/*}/links:\004linkZ;\"3/v2/{parent=project" + + "s/*/locations/*/buckets/*}/links:\004linkZ@" + + "\"8/v2/{parent=organizations/*/locations/" + + "*/buckets/*}/links:\004linkZ:\"2/v2/{parent=" + + "folders/*/locations/*/buckets/*}/links:\004" + + "linkZB\":/v2/{parent=billingAccounts/*/lo" + + "cations/*/buckets/*}/links:\004link\022\237\003\n\nDel" + + "eteLink\022$.google.logging.v2.DeleteLinkRe" + + "quest\032\035.google.longrunning.Operation\"\313\002\312" + + "A%\n\025google.protobuf.Empty\022\014LinkMetadata\332" + + "A\004name\202\323\344\223\002\225\002*,/v2/{name=*/*/locations/*" + + "/buckets/*/links/*}Z5*3/v2/{name=project" + + "s/*/locations/*/buckets/*/links/*}Z:*8/v" + + "2/{name=organizations/*/locations/*/buck" + + "ets/*/links/*}Z4*2/v2/{name=folders/*/lo" + + "cations/*/buckets/*/links/*}Z<*:/v2/{nam" + + "e=billingAccounts/*/locations/*/buckets/" + + "*/links/*}\022\376\002\n\tListLinks\022#.google.loggin" + + "g.v2.ListLinksRequest\032$.google.logging.v" + + "2.ListLinksResponse\"\245\002\332A\006parent\202\323\344\223\002\225\002\022," + + "/v2/{parent=*/*/locations/*/buckets/*}/l" + + "inksZ5\0223/v2/{parent=projects/*/locations" + + "/*/buckets/*}/linksZ:\0228/v2/{parent=organ" + + "izations/*/locations/*/buckets/*}/linksZ" + + "4\0222/v2/{parent=folders/*/locations/*/buc" + + "kets/*}/linksZ<\022:/v2/{parent=billingAcco" + + "unts/*/locations/*/buckets/*}/links\022\353\002\n\007" + + "GetLink\022!.google.logging.v2.GetLinkReque" + + "st\032\027.google.logging.v2.Link\"\243\002\332A\004name\202\323\344" + + "\223\002\225\002\022,/v2/{name=*/*/locations/*/buckets/" + + "*/links/*}Z5\0223/v2/{name=projects/*/locat" + + "ions/*/buckets/*/links/*}Z:\0228/v2/{name=o" + + "rganizations/*/locations/*/buckets/*/lin" + + "ks/*}Z4\0222/v2/{name=folders/*/locations/*" + + "/buckets/*/links/*}Z<\022:/v2/{name=billing" + + "Accounts/*/locations/*/buckets/*/links/*" + + "}\022\270\002\n\016ListExclusions\022(.google.logging.v2" + + ".ListExclusionsRequest\032).google.logging." + + "v2.ListExclusionsResponse\"\320\001\332A\006parent\202\323\344" + + "\223\002\300\001\022\033/v2/{parent=*/*}/exclusionsZ$\022\"/v2" + + "/{parent=projects/*}/exclusionsZ)\022\'/v2/{" + + "parent=organizations/*}/exclusionsZ#\022!/v" + + "2/{parent=folders/*}/exclusionsZ+\022)/v2/{" + + "parent=billingAccounts/*}/exclusions\022\250\002\n" + + "\014GetExclusion\022&.google.logging.v2.GetExc" + + "lusionRequest\032\037.google.logging.v2.LogExc" + + "lusion\"\316\001\332A\004name\202\323\344\223\002\300\001\022\033/v2/{name=*/*/e" + + "xclusions/*}Z$\022\"/v2/{name=projects/*/exc" + + "lusions/*}Z)\022\'/v2/{name=organizations/*/" + + "exclusions/*}Z#\022!/v2/{name=folders/*/exc" + + "lusions/*}Z+\022)/v2/{name=billingAccounts/" + + "*/exclusions/*}\022\361\002\n\017CreateExclusion\022).go" + + "ogle.logging.v2.CreateExclusionRequest\032\037" + + ".google.logging.v2.LogExclusion\"\221\002\332A\020par" + + "ent,exclusion\202\323\344\223\002\367\001\"\033/v2/{parent=*/*}/e" + + "xclusions:\texclusionZ/\"\"/v2/{parent=proj" + + "ects/*}/exclusions:\texclusionZ4\"\'/v2/{pa" + + "rent=organizations/*}/exclusions:\texclus" + + "ionZ.\"!/v2/{parent=folders/*}/exclusions" + + ":\texclusionZ6\")/v2/{parent=billingAccoun" + + "ts/*}/exclusions:\texclusion\022\373\002\n\017UpdateEx" + + "clusion\022).google.logging.v2.UpdateExclus" + + "ionRequest\032\037.google.logging.v2.LogExclus" + + "ion\"\233\002\332A\032name,exclusion,update_mask\202\323\344\223\002" + + "\367\0012\033/v2/{name=*/*/exclusions/*}:\texclusi" + + "onZ/2\"/v2/{name=projects/*/exclusions/*}" + + ":\texclusionZ42\'/v2/{name=organizations/*" + + "/exclusions/*}:\texclusionZ.2!/v2/{name=f" + + "olders/*/exclusions/*}:\texclusionZ62)/v2" + + "/{name=billingAccounts/*/exclusions/*}:\t" + + "exclusion\022\245\002\n\017DeleteExclusion\022).google.l" + + "ogging.v2.DeleteExclusionRequest\032\026.googl" + + "e.protobuf.Empty\"\316\001\332A\004name\202\323\344\223\002\300\001*\033/v2/{" + + "name=*/*/exclusions/*}Z$*\"/v2/{name=proj" + + "ects/*/exclusions/*}Z)*\'/v2/{name=organi" + + "zations/*/exclusions/*}Z#*!/v2/{name=fol" + + "ders/*/exclusions/*}Z+*)/v2/{name=billin" + + "gAccounts/*/exclusions/*}\022\247\002\n\017GetCmekSet" + + "tings\022).google.logging.v2.GetCmekSetting" + + "sRequest\032\037.google.logging.v2.CmekSetting" + + "s\"\307\001\202\323\344\223\002\300\001\022\033/v2/{name=*/*}/cmekSettings" + + "Z$\022\"/v2/{name=projects/*}/cmekSettingsZ)" + + "\022\'/v2/{name=organizations/*}/cmekSetting" + + "sZ#\022!/v2/{name=folders/*}/cmekSettingsZ+" + + "\022)/v2/{name=billingAccounts/*}/cmekSetti" + + "ngs\022\321\001\n\022UpdateCmekSettings\022,.google.logg" + + "ing.v2.UpdateCmekSettingsRequest\032\037.googl" + + "e.logging.v2.CmekSettings\"l\202\323\344\223\002f2\033/v2/{" + + "name=*/*}/cmekSettings:\rcmek_settingsZ82" + + "\'/v2/{name=organizations/*}/cmekSettings" + + ":\rcmek_settings\022\216\002\n\013GetSettings\022%.google" + + ".logging.v2.GetSettingsRequest\032\033.google." + + "logging.v2.Settings\"\272\001\332A\004name\202\323\344\223\002\254\001\022\027/v" + + "2/{name=*/*}/settingsZ \022\036/v2/{name=proje" + + "cts/*}/settingsZ%\022#/v2/{name=organizatio" + + "ns/*}/settingsZ\037\022\035/v2/{name=folders/*}/s" + + "ettingsZ\'\022%/v2/{name=billingAccounts/*}/" + + "settings\022\366\001\n\016UpdateSettings\022(.google.log" + + "ging.v2.UpdateSettingsRequest\032\033.google.l" + + "ogging.v2.Settings\"\234\001\332A\024settings,update_" + + "mask\202\323\344\223\002\1772\027/v2/{name=*/*}/settings:\010set" + + "tingsZ/2#/v2/{name=organizations/*}/sett" + + "ings:\010settingsZ)2\035/v2/{name=folders/*}/s" + + "ettings:\010settings\022\251\001\n\016CopyLogEntries\022(.g" + + "oogle.logging.v2.CopyLogEntriesRequest\032\035" + + ".google.longrunning.Operation\"N\312A0\n\026Copy" + + "LogEntriesResponse\022\026CopyLogEntriesMetada" + + "ta\202\323\344\223\002\025\"\020/v2/entries:copy:\001*\032\337\001\312A\026loggi" + + "ng.googleapis.com\322A\302\001https://www.googlea" + + "pis.com/auth/cloud-platform,https://www." + + "googleapis.com/auth/cloud-platform.read-" + + "only,https://www.googleapis.com/auth/log" + + "ging.admin,https://www.googleapis.com/au" + + "th/logging.readB\326\003\n\025com.google.logging.v" + + "2B\022LoggingConfigProtoP\001Z5cloud.google.co" + + "m/go/logging/apiv2/loggingpb;loggingpb\370\001" + + "\001\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Clo" + + "ud\\Logging\\V2\352\002\032Google::Cloud::Logging::" + + "V2\352A`\n+logging.googleapis.com/Organizati" + + "onLocation\0221organizations/{organization}" + + "/locations/{location}\352AN\n%logging.google" + + "apis.com/FolderLocation\022%folders/{folder" + + "}/locations/{location}\352Ag\n-logging.googl" + + "eapis.com/BillingAccountLocation\0226billin" + + "gAccounts/{billing_account}/locations/{l" + + "ocation}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java index c133ff15b..4ca9ca633 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public final class LoggingMetricsProto { @@ -75,74 +76,73 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ield_behavior.proto\032\027google/api/metric.p" + "roto\032\031google/api/resource.proto\032\033google/" + "protobuf/empty.proto\032\037google/protobuf/ti" - + "mestamp.proto\"\310\005\n\tLogMetric\022\022\n\004name\030\001 \001(" - + "\tB\004\342A\001\002\022\031\n\013description\030\002 \001(\tB\004\342A\001\001\022\024\n\006fi" - + "lter\030\003 \001(\tB\004\342A\001\002\022\031\n\013bucket_name\030\r \001(\tB\004\342" - + "A\001\001\022\026\n\010disabled\030\014 \001(\010B\004\342A\001\001\022=\n\021metric_de" - + "scriptor\030\005 \001(\0132\034.google.api.MetricDescri" - + "ptorB\004\342A\001\001\022\035\n\017value_extractor\030\006 \001(\tB\004\342A\001" - + "\001\022Q\n\020label_extractors\030\007 \003(\01321.google.log" - + "ging.v2.LogMetric.LabelExtractorsEntryB\004" - + "\342A\001\001\022D\n\016bucket_options\030\010 \001(\0132&.google.ap" - + "i.Distribution.BucketOptionsB\004\342A\001\001\0225\n\013cr" - + "eate_time\030\t \001(\0132\032.google.protobuf.Timest" - + "ampB\004\342A\001\003\0225\n\013update_time\030\n \001(\0132\032.google." - + "protobuf.TimestampB\004\342A\001\003\022<\n\007version\030\004 \001(" - + "\0162\'.google.logging.v2.LogMetric.ApiVersi" - + "onB\002\030\001\0326\n\024LabelExtractorsEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\034\n\nApiVersion\022\006\n\002" - + "V2\020\000\022\006\n\002V1\020\001:J\352AG\n logging.googleapis.co" - + "m/LogMetric\022#projects/{project}/metrics/" - + "{metric}\"\220\001\n\025ListLogMetricsRequest\022D\n\006pa" - + "rent\030\001 \001(\tB4\342A\001\002\372A-\n+cloudresourcemanage" - + "r.googleapis.com/Project\022\030\n\npage_token\030\002" - + " \001(\tB\004\342A\001\001\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\"`\n\026L" - + "istLogMetricsResponse\022-\n\007metrics\030\001 \003(\0132\034" - + ".google.logging.v2.LogMetric\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"U\n\023GetLogMetricRequest\022>\n\013" - + "metric_name\030\001 \001(\tB)\342A\001\002\372A\"\n logging.goog" - + "leapis.com/LogMetric\"\207\001\n\026CreateLogMetric" - + "Request\0229\n\006parent\030\001 \001(\tB)\342A\001\002\372A\"\022 loggin" - + "g.googleapis.com/LogMetric\0222\n\006metric\030\002 \001" - + "(\0132\034.google.logging.v2.LogMetricB\004\342A\001\002\"\214" - + "\001\n\026UpdateLogMetricRequest\022>\n\013metric_name" - + "\030\001 \001(\tB)\342A\001\002\372A\"\n logging.googleapis.com/" - + "LogMetric\0222\n\006metric\030\002 \001(\0132\034.google.loggi" - + "ng.v2.LogMetricB\004\342A\001\002\"X\n\026DeleteLogMetric" - + "Request\022>\n\013metric_name\030\001 \001(\tB)\342A\001\002\372A\"\n l" - + "ogging.googleapis.com/LogMetric2\256\010\n\020Metr" - + "icsServiceV2\022\227\001\n\016ListLogMetrics\022(.google" - + ".logging.v2.ListLogMetricsRequest\032).goog" - + "le.logging.v2.ListLogMetricsResponse\"0\332A" - + "\006parent\202\323\344\223\002!\022\037/v2/{parent=projects/*}/m" - + "etrics\022\222\001\n\014GetLogMetric\022&.google.logging" - + ".v2.GetLogMetricRequest\032\034.google.logging" - + ".v2.LogMetric\"<\332A\013metric_name\202\323\344\223\002(\022&/v2" - + "/{metric_name=projects/*/metrics/*}\022\233\001\n\017" - + "CreateLogMetric\022).google.logging.v2.Crea" - + "teLogMetricRequest\032\034.google.logging.v2.L" - + "ogMetric\"?\332A\rparent,metric\202\323\344\223\002)\"\037/v2/{p" - + "arent=projects/*}/metrics:\006metric\022\247\001\n\017Up" - + "dateLogMetric\022).google.logging.v2.Update" - + "LogMetricRequest\032\034.google.logging.v2.Log" - + "Metric\"K\332A\022metric_name,metric\202\323\344\223\0020\032&/v2" - + "/{metric_name=projects/*/metrics/*}:\006met" - + "ric\022\222\001\n\017DeleteLogMetric\022).google.logging" - + ".v2.DeleteLogMetricRequest\032\026.google.prot" - + "obuf.Empty\"<\332A\013metric_name\202\323\344\223\002(*&/v2/{m" - + "etric_name=projects/*/metrics/*}\032\215\002\312A\026lo" - + "gging.googleapis.com\322A\360\001https://www.goog" - + "leapis.com/auth/cloud-platform,https://w" - + "ww.googleapis.com/auth/cloud-platform.re" - + "ad-only,https://www.googleapis.com/auth/" - + "logging.admin,https://www.googleapis.com" - + "/auth/logging.read,https://www.googleapi" - + "s.com/auth/logging.writeB\271\001\n\025com.google." - + "logging.v2B\023LoggingMetricsProtoP\001Z5cloud" - + ".google.com/go/logging/apiv2/loggingpb;l" - + "oggingpb\370\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027" - + "Google\\Cloud\\Logging\\V2\352\002\032Google::Cloud:" - + ":Logging::V2b\006proto3" + + "mestamp.proto\"\275\005\n\tLogMetric\022\021\n\004name\030\001 \001(" + + "\tB\003\340A\002\022\030\n\013description\030\002 \001(\tB\003\340A\001\022\023\n\006filt" + + "er\030\003 \001(\tB\003\340A\002\022\030\n\013bucket_name\030\r \001(\tB\003\340A\001\022" + + "\025\n\010disabled\030\014 \001(\010B\003\340A\001\022<\n\021metric_descrip" + + "tor\030\005 \001(\0132\034.google.api.MetricDescriptorB" + + "\003\340A\001\022\034\n\017value_extractor\030\006 \001(\tB\003\340A\001\022P\n\020la" + + "bel_extractors\030\007 \003(\01321.google.logging.v2" + + ".LogMetric.LabelExtractorsEntryB\003\340A\001\022C\n\016" + + "bucket_options\030\010 \001(\0132&.google.api.Distri" + + "bution.BucketOptionsB\003\340A\001\0224\n\013create_time" + + "\030\t \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "4\n\013update_time\030\n \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\022<\n\007version\030\004 \001(\0162\'.google." + + "logging.v2.LogMetric.ApiVersionB\002\030\001\0326\n\024L" + + "abelExtractorsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001\"\034\n\nApiVersion\022\006\n\002V2\020\000\022\006\n\002V1\020" + + "\001:J\352AG\n logging.googleapis.com/LogMetric" + + "\022#projects/{project}/metrics/{metric}\"\215\001" + + "\n\025ListLogMetricsRequest\022C\n\006parent\030\001 \001(\tB" + + "3\340A\002\372A-\n+cloudresourcemanager.googleapis" + + ".com/Project\022\027\n\npage_token\030\002 \001(\tB\003\340A\001\022\026\n" + + "\tpage_size\030\003 \001(\005B\003\340A\001\"`\n\026ListLogMetricsR" + + "esponse\022-\n\007metrics\030\001 \003(\0132\034.google.loggin" + + "g.v2.LogMetric\022\027\n\017next_page_token\030\002 \001(\t\"" + + "T\n\023GetLogMetricRequest\022=\n\013metric_name\030\001 " + + "\001(\tB(\340A\002\372A\"\n logging.googleapis.com/LogM" + + "etric\"\205\001\n\026CreateLogMetricRequest\0228\n\006pare" + + "nt\030\001 \001(\tB(\340A\002\372A\"\022 logging.googleapis.com" + + "/LogMetric\0221\n\006metric\030\002 \001(\0132\034.google.logg" + + "ing.v2.LogMetricB\003\340A\002\"\212\001\n\026UpdateLogMetri" + + "cRequest\022=\n\013metric_name\030\001 \001(\tB(\340A\002\372A\"\n l" + + "ogging.googleapis.com/LogMetric\0221\n\006metri" + + "c\030\002 \001(\0132\034.google.logging.v2.LogMetricB\003\340" + + "A\002\"W\n\026DeleteLogMetricRequest\022=\n\013metric_n" + + "ame\030\001 \001(\tB(\340A\002\372A\"\n logging.googleapis.co" + + "m/LogMetric2\256\010\n\020MetricsServiceV2\022\227\001\n\016Lis" + + "tLogMetrics\022(.google.logging.v2.ListLogM" + + "etricsRequest\032).google.logging.v2.ListLo" + + "gMetricsResponse\"0\332A\006parent\202\323\344\223\002!\022\037/v2/{" + + "parent=projects/*}/metrics\022\222\001\n\014GetLogMet" + + "ric\022&.google.logging.v2.GetLogMetricRequ" + + "est\032\034.google.logging.v2.LogMetric\"<\332A\013me" + + "tric_name\202\323\344\223\002(\022&/v2/{metric_name=projec" + + "ts/*/metrics/*}\022\233\001\n\017CreateLogMetric\022).go" + + "ogle.logging.v2.CreateLogMetricRequest\032\034" + + ".google.logging.v2.LogMetric\"?\332A\rparent," + + "metric\202\323\344\223\002)\"\037/v2/{parent=projects/*}/me" + + "trics:\006metric\022\247\001\n\017UpdateLogMetric\022).goog" + + "le.logging.v2.UpdateLogMetricRequest\032\034.g" + + "oogle.logging.v2.LogMetric\"K\332A\022metric_na" + + "me,metric\202\323\344\223\0020\032&/v2/{metric_name=projec" + + "ts/*/metrics/*}:\006metric\022\222\001\n\017DeleteLogMet" + + "ric\022).google.logging.v2.DeleteLogMetricR" + + "equest\032\026.google.protobuf.Empty\"<\332A\013metri" + + "c_name\202\323\344\223\002(*&/v2/{metric_name=projects/" + + "*/metrics/*}\032\215\002\312A\026logging.googleapis.com" + + "\322A\360\001https://www.googleapis.com/auth/clou" + + "d-platform,https://www.googleapis.com/au" + + "th/cloud-platform.read-only,https://www." + + "googleapis.com/auth/logging.admin,https:" + + "//www.googleapis.com/auth/logging.read,h" + + "ttps://www.googleapis.com/auth/logging.w" + + "riteB\271\001\n\025com.google.logging.v2B\023LoggingM" + + "etricsProtoP\001Z5cloud.google.com/go/loggi" + + "ng/apiv2/loggingpb;loggingpb\370\001\001\252\002\027Google" + + ".Cloud.Logging.V2\312\002\027Google\\Cloud\\Logging" + + "\\V2\352\002\032Google::Cloud::Logging::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java index 2d15d902c..664adac40 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public final class LoggingProto { @@ -104,104 +105,103 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "roto\032!google/logging/v2/log_entry.proto\032" + "\036google/protobuf/duration.proto\032\033google/" + "protobuf/empty.proto\032\027google/rpc/status." - + "proto\"I\n\020DeleteLogRequest\0225\n\010log_name\030\001 " - + "\001(\tB#\342A\001\002\372A\034\n\032logging.googleapis.com/Log" - + "\"\354\002\n\026WriteLogEntriesRequest\0225\n\010log_name\030" - + "\001 \001(\tB#\342A\001\001\372A\034\n\032logging.googleapis.com/L" - + "og\0225\n\010resource\030\002 \001(\0132\035.google.api.Monito" - + "redResourceB\004\342A\001\001\022K\n\006labels\030\003 \003(\01325.goog" - + "le.logging.v2.WriteLogEntriesRequest.Lab" - + "elsEntryB\004\342A\001\001\0222\n\007entries\030\004 \003(\0132\033.google" - + ".logging.v2.LogEntryB\004\342A\001\002\022\035\n\017partial_su" - + "ccess\030\005 \001(\010B\004\342A\001\001\022\025\n\007dry_run\030\006 \001(\010B\004\342A\001\001" - + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " - + "\001(\t:\0028\001\"\031\n\027WriteLogEntriesResponse\"\310\001\n\034W" - + "riteLogEntriesPartialErrors\022]\n\020log_entry" - + "_errors\030\001 \003(\0132C.google.logging.v2.WriteL" - + "ogEntriesPartialErrors.LogEntryErrorsEnt" - + "ry\032I\n\023LogEntryErrorsEntry\022\013\n\003key\030\001 \001(\005\022!" - + "\n\005value\030\002 \001(\0132\022.google.rpc.Status:\0028\001\"\265\001" - + "\n\025ListLogEntriesRequest\022;\n\016resource_name" - + "s\030\010 \003(\tB#\342A\001\002\372A\034\022\032logging.googleapis.com" - + "/Log\022\024\n\006filter\030\002 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\003" - + " \001(\tB\004\342A\001\001\022\027\n\tpage_size\030\004 \001(\005B\004\342A\001\001\022\030\n\np" - + "age_token\030\005 \001(\tB\004\342A\001\001\"_\n\026ListLogEntriesR" - + "esponse\022,\n\007entries\030\001 \003(\0132\033.google.loggin" - + "g.v2.LogEntry\022\027\n\017next_page_token\030\002 \001(\t\"\\" - + "\n\'ListMonitoredResourceDescriptorsReques" - + "t\022\027\n\tpage_size\030\001 \001(\005B\004\342A\001\001\022\030\n\npage_token" - + "\030\002 \001(\tB\004\342A\001\001\"\212\001\n(ListMonitoredResourceDe" - + "scriptorsResponse\022E\n\024resource_descriptor" - + "s\030\001 \003(\0132\'.google.api.MonitoredResourceDe" - + "scriptor\022\027\n\017next_page_token\030\002 \001(\t\"\266\001\n\017Li" - + "stLogsRequest\0223\n\006parent\030\001 \001(\tB#\342A\001\002\372A\034\022\032" - + "logging.googleapis.com/Log\022;\n\016resource_n" - + "ames\030\010 \003(\tB#\342A\001\001\372A\034\022\032logging.googleapis." - + "com/Log\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage" - + "_token\030\003 \001(\tB\004\342A\001\001\">\n\020ListLogsResponse\022\021" - + "\n\tlog_names\030\003 \003(\t\022\027\n\017next_page_token\030\002 \001" - + "(\t\"\203\001\n\025TailLogEntriesRequest\022\034\n\016resource" - + "_names\030\001 \003(\tB\004\342A\001\002\022\024\n\006filter\030\002 \001(\tB\004\342A\001\001" - + "\0226\n\rbuffer_window\030\003 \001(\0132\031.google.protobu" - + "f.DurationB\004\342A\001\001\"\337\002\n\026TailLogEntriesRespo" - + "nse\022,\n\007entries\030\001 \003(\0132\033.google.logging.v2" - + ".LogEntry\022S\n\020suppression_info\030\002 \003(\01329.go" - + "ogle.logging.v2.TailLogEntriesResponse.S" - + "uppressionInfo\032\301\001\n\017SuppressionInfo\022P\n\006re" - + "ason\030\001 \001(\0162@.google.logging.v2.TailLogEn" - + "triesResponse.SuppressionInfo.Reason\022\030\n\020" - + "suppressed_count\030\002 \001(\005\"B\n\006Reason\022\026\n\022REAS" - + "ON_UNSPECIFIED\020\000\022\016\n\nRATE_LIMIT\020\001\022\020\n\014NOT_" - + "CONSUMED\020\0022\351\r\n\020LoggingServiceV2\022\223\002\n\tDele" - + "teLog\022#.google.logging.v2.DeleteLogReque" - + "st\032\026.google.protobuf.Empty\"\310\001\332A\010log_name" - + "\202\323\344\223\002\266\001* /v2/{log_name=projects/*/logs/*" - + "}Z\033*\031/v2/{log_name=*/*/logs/*}Z\'*%/v2/{l" - + "og_name=organizations/*/logs/*}Z!*\037/v2/{" - + "log_name=folders/*/logs/*}Z)*\'/v2/{log_n" - + "ame=billingAccounts/*/logs/*}\022\251\001\n\017WriteL" - + "ogEntries\022).google.logging.v2.WriteLogEn" - + "triesRequest\032*.google.logging.v2.WriteLo" - + "gEntriesResponse\"?\332A log_name,resource,l" - + "abels,entries\202\323\344\223\002\026\"\021/v2/entries:write:\001" - + "*\022\243\001\n\016ListLogEntries\022(.google.logging.v2" - + ".ListLogEntriesRequest\032).google.logging." - + "v2.ListLogEntriesResponse\"<\332A\036resource_n" - + "ames,filter,order_by\202\323\344\223\002\025\"\020/v2/entries:" - + "list:\001*\022\305\001\n ListMonitoredResourceDescrip" - + "tors\022:.google.logging.v2.ListMonitoredRe" - + "sourceDescriptorsRequest\032;.google.loggin" - + "g.v2.ListMonitoredResourceDescriptorsRes" - + "ponse\"(\202\323\344\223\002\"\022 /v2/monitoredResourceDesc" - + "riptors\022\213\004\n\010ListLogs\022\".google.logging.v2" - + ".ListLogsRequest\032#.google.logging.v2.Lis" - + "tLogsResponse\"\265\003\332A\006parent\202\323\344\223\002\245\003\022\025/v2/{p" - + "arent=*/*}/logsZ\036\022\034/v2/{parent=projects/" - + "*}/logsZ#\022!/v2/{parent=organizations/*}/" - + "logsZ\035\022\033/v2/{parent=folders/*}/logsZ%\022#/" - + "v2/{parent=billingAccounts/*}/logsZ<\022:/v" - + "2/{parent=projects/*/locations/*/buckets" - + "/*/views/*}/logsZA\022?/v2/{parent=organiza" - + "tions/*/locations/*/buckets/*/views/*}/l" - + "ogsZ;\0229/v2/{parent=folders/*/locations/*" - + "/buckets/*/views/*}/logsZC\022A/v2/{parent=" - + "billingAccounts/*/locations/*/buckets/*/" - + "views/*}/logs\022\206\001\n\016TailLogEntries\022(.googl" - + "e.logging.v2.TailLogEntriesRequest\032).goo" - + "gle.logging.v2.TailLogEntriesResponse\"\033\202" - + "\323\344\223\002\025\"\020/v2/entries:tail:\001*(\0010\001\032\215\002\312A\026logg" - + "ing.googleapis.com\322A\360\001https://www.google" - + "apis.com/auth/cloud-platform,https://www" - + ".googleapis.com/auth/cloud-platform.read" - + "-only,https://www.googleapis.com/auth/lo" - + "gging.admin,https://www.googleapis.com/a" - + "uth/logging.read,https://www.googleapis." - + "com/auth/logging.writeB\262\001\n\025com.google.lo" - + "gging.v2B\014LoggingProtoP\001Z5cloud.google.c" - + "om/go/logging/apiv2/loggingpb;loggingpb\370" - + "\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Cl" - + "oud\\Logging\\V2\352\002\032Google::Cloud::Logging:" - + ":V2b\006proto3" + + "proto\"H\n\020DeleteLogRequest\0224\n\010log_name\030\001 " + + "\001(\tB\"\340A\002\372A\034\n\032logging.googleapis.com/Log\"" + + "\346\002\n\026WriteLogEntriesRequest\0224\n\010log_name\030\001" + + " \001(\tB\"\340A\001\372A\034\n\032logging.googleapis.com/Log" + + "\0224\n\010resource\030\002 \001(\0132\035.google.api.Monitore" + + "dResourceB\003\340A\001\022J\n\006labels\030\003 \003(\01325.google." + + "logging.v2.WriteLogEntriesRequest.Labels" + + "EntryB\003\340A\001\0221\n\007entries\030\004 \003(\0132\033.google.log" + + "ging.v2.LogEntryB\003\340A\002\022\034\n\017partial_success" + + "\030\005 \001(\010B\003\340A\001\022\024\n\007dry_run\030\006 \001(\010B\003\340A\001\032-\n\013Lab" + + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + "\"\031\n\027WriteLogEntriesResponse\"\310\001\n\034WriteLog" + + "EntriesPartialErrors\022]\n\020log_entry_errors" + + "\030\001 \003(\0132C.google.logging.v2.WriteLogEntri" + + "esPartialErrors.LogEntryErrorsEntry\032I\n\023L" + + "ogEntryErrorsEntry\022\013\n\003key\030\001 \001(\005\022!\n\005value" + + "\030\002 \001(\0132\022.google.rpc.Status:\0028\001\"\260\001\n\025ListL" + + "ogEntriesRequest\022:\n\016resource_names\030\010 \003(\t" + + "B\"\340A\002\372A\034\022\032logging.googleapis.com/Log\022\023\n\006" + + "filter\030\002 \001(\tB\003\340A\001\022\025\n\010order_by\030\003 \001(\tB\003\340A\001" + + "\022\026\n\tpage_size\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005" + + " \001(\tB\003\340A\001\"_\n\026ListLogEntriesResponse\022,\n\007e" + + "ntries\030\001 \003(\0132\033.google.logging.v2.LogEntr" + + "y\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\'ListMonito" + + "redResourceDescriptorsRequest\022\026\n\tpage_si" + + "ze\030\001 \001(\005B\003\340A\001\022\027\n\npage_token\030\002 \001(\tB\003\340A\001\"\212" + + "\001\n(ListMonitoredResourceDescriptorsRespo" + + "nse\022E\n\024resource_descriptors\030\001 \003(\0132\'.goog" + + "le.api.MonitoredResourceDescriptor\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"\262\001\n\017ListLogsRequest\022" + + "2\n\006parent\030\001 \001(\tB\"\340A\002\372A\034\022\032logging.googlea" + + "pis.com/Log\022:\n\016resource_names\030\010 \003(\tB\"\340A\001" + + "\372A\034\022\032logging.googleapis.com/Log\022\026\n\tpage_" + + "size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001" + + "\">\n\020ListLogsResponse\022\021\n\tlog_names\030\003 \003(\t\022" + + "\027\n\017next_page_token\030\002 \001(\t\"\200\001\n\025TailLogEntr" + + "iesRequest\022\033\n\016resource_names\030\001 \003(\tB\003\340A\002\022" + + "\023\n\006filter\030\002 \001(\tB\003\340A\001\0225\n\rbuffer_window\030\003 " + + "\001(\0132\031.google.protobuf.DurationB\003\340A\001\"\337\002\n\026" + + "TailLogEntriesResponse\022,\n\007entries\030\001 \003(\0132" + + "\033.google.logging.v2.LogEntry\022S\n\020suppress" + + "ion_info\030\002 \003(\01329.google.logging.v2.TailL" + + "ogEntriesResponse.SuppressionInfo\032\301\001\n\017Su" + + "ppressionInfo\022P\n\006reason\030\001 \001(\0162@.google.l" + + "ogging.v2.TailLogEntriesResponse.Suppres" + + "sionInfo.Reason\022\030\n\020suppressed_count\030\002 \001(" + + "\005\"B\n\006Reason\022\026\n\022REASON_UNSPECIFIED\020\000\022\016\n\nR" + + "ATE_LIMIT\020\001\022\020\n\014NOT_CONSUMED\020\0022\351\r\n\020Loggin" + + "gServiceV2\022\223\002\n\tDeleteLog\022#.google.loggin" + + "g.v2.DeleteLogRequest\032\026.google.protobuf." + + "Empty\"\310\001\332A\010log_name\202\323\344\223\002\266\001* /v2/{log_nam" + + "e=projects/*/logs/*}Z\033*\031/v2/{log_name=*/" + + "*/logs/*}Z\'*%/v2/{log_name=organizations" + + "/*/logs/*}Z!*\037/v2/{log_name=folders/*/lo" + + "gs/*}Z)*\'/v2/{log_name=billingAccounts/*" + + "/logs/*}\022\251\001\n\017WriteLogEntries\022).google.lo" + + "gging.v2.WriteLogEntriesRequest\032*.google" + + ".logging.v2.WriteLogEntriesResponse\"?\332A " + + "log_name,resource,labels,entries\202\323\344\223\002\026\"\021" + + "/v2/entries:write:\001*\022\243\001\n\016ListLogEntries\022" + + "(.google.logging.v2.ListLogEntriesReques" + + "t\032).google.logging.v2.ListLogEntriesResp" + + "onse\"<\332A\036resource_names,filter,order_by\202" + + "\323\344\223\002\025\"\020/v2/entries:list:\001*\022\305\001\n ListMonit" + + "oredResourceDescriptors\022:.google.logging" + + ".v2.ListMonitoredResourceDescriptorsRequ" + + "est\032;.google.logging.v2.ListMonitoredRes" + + "ourceDescriptorsResponse\"(\202\323\344\223\002\"\022 /v2/mo" + + "nitoredResourceDescriptors\022\213\004\n\010ListLogs\022" + + "\".google.logging.v2.ListLogsRequest\032#.go" + + "ogle.logging.v2.ListLogsResponse\"\265\003\332A\006pa" + + "rent\202\323\344\223\002\245\003\022\025/v2/{parent=*/*}/logsZ\036\022\034/v" + + "2/{parent=projects/*}/logsZ#\022!/v2/{paren" + + "t=organizations/*}/logsZ\035\022\033/v2/{parent=f" + + "olders/*}/logsZ%\022#/v2/{parent=billingAcc" + + "ounts/*}/logsZ<\022:/v2/{parent=projects/*/" + + "locations/*/buckets/*/views/*}/logsZA\022?/" + + "v2/{parent=organizations/*/locations/*/b" + + "uckets/*/views/*}/logsZ;\0229/v2/{parent=fo" + + "lders/*/locations/*/buckets/*/views/*}/l" + + "ogsZC\022A/v2/{parent=billingAccounts/*/loc" + + "ations/*/buckets/*/views/*}/logs\022\206\001\n\016Tai" + + "lLogEntries\022(.google.logging.v2.TailLogE" + + "ntriesRequest\032).google.logging.v2.TailLo" + + "gEntriesResponse\"\033\202\323\344\223\002\025\"\020/v2/entries:ta" + + "il:\001*(\0010\001\032\215\002\312A\026logging.googleapis.com\322A\360" + + "\001https://www.googleapis.com/auth/cloud-p" + + "latform,https://www.googleapis.com/auth/" + + "cloud-platform.read-only,https://www.goo" + + "gleapis.com/auth/logging.admin,https://w" + + "ww.googleapis.com/auth/logging.read,http" + + "s://www.googleapis.com/auth/logging.writ" + + "eB\262\001\n\025com.google.logging.v2B\014LoggingProt" + + "oP\001Z5cloud.google.com/go/logging/apiv2/l" + + "oggingpb;loggingpb\370\001\001\252\002\027Google.Cloud.Log" + + "ging.V2\312\002\027Google\\Cloud\\Logging\\V2\352\002\032Goog" + + "le::Cloud::Logging::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java index b45a557a5..112ac404d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java index e93bbd036..1fd8e8e1d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java index 5edc5ff58..49dd3f8a9 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface SettingsOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java index 9e98d012c..7bfd27560 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -63,6 +64,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.TailLogEntriesRequest.Builder.class); } + private int bitField0_; public static final int RESOURCE_NAMES_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -253,7 +255,7 @@ public com.google.protobuf.ByteString getFilterBytes() { */ @java.lang.Override public boolean hasBufferWindow() { - return bufferWindow_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -316,7 +318,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); } - if (bufferWindow_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getBufferWindow()); } getUnknownFields().writeTo(output); @@ -339,7 +341,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } - if (bufferWindow_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBufferWindow()); } size += getUnknownFields().getSerializedSize(); @@ -514,10 +516,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.TailLogEntriesRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getBufferWindowFieldBuilder(); + } } @java.lang.Override @@ -574,10 +585,13 @@ private void buildPartial0(com.google.logging.v2.TailLogEntriesRequest result) { if (((from_bitField0_ & 0x00000002) != 0)) { result.filter_ = filter_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.bufferWindow_ = bufferWindowBuilder_ == null ? bufferWindow_ : bufferWindowBuilder_.build(); + to_bitField0_ |= 0x00000001; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -1237,8 +1251,10 @@ public Builder mergeBufferWindow(com.google.protobuf.Duration value) { } else { bufferWindowBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; - onChanged(); + if (bufferWindow_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java index 26e8a6cdb..0c8e5bab9 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface TailLogEntriesRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java index 9b4751658..35aac9a15 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java index 26e8c40a9..1c0b1e0ed 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface TailLogEntriesResponseOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java index 0c34449fe..be102aa14 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java index deeec7e1a..4f93ab375 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface UndeleteBucketRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java index b757225a9..60f66f470 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -62,6 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.UpdateBucketRequest.Builder.class); } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -150,7 +152,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasBucket() { - return bucket_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -204,7 +206,7 @@ public com.google.logging.v2.LogBucketOrBuilder getBucketOrBuilder() { */ @java.lang.Override public boolean hasUpdateMask() { - return updateMask_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -268,10 +270,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (bucket_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getBucket()); } - if (updateMask_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(4, getUpdateMask()); } getUnknownFields().writeTo(output); @@ -286,10 +288,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (bucket_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getBucket()); } - if (updateMask_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); @@ -467,10 +469,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.UpdateBucketRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getBucketFieldBuilder(); + getUpdateMaskFieldBuilder(); + } } @java.lang.Override @@ -527,12 +539,16 @@ private void buildPartial0(com.google.logging.v2.UpdateBucketRequest result) { if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.bucket_ = bucketBuilder_ == null ? bucket_ : bucketBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + to_bitField0_ |= 0x00000002; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -920,8 +936,10 @@ public Builder mergeBucket(com.google.logging.v2.LogBucket value) { } else { bucketBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (bucket_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** @@ -1145,8 +1163,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { } else { updateMaskBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; - onChanged(); + if (updateMask_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java index ea683252d..ad40a786e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface UpdateBucketRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java index d1bd841af..e8174ca18 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -67,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.UpdateCmekSettingsRequest.Builder.class); } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -165,7 +167,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasCmekSettings() { - return cmekSettings_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -234,7 +236,7 @@ public com.google.logging.v2.CmekSettingsOrBuilder getCmekSettingsOrBuilder() { */ @java.lang.Override public boolean hasUpdateMask() { - return updateMask_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -296,10 +298,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (cmekSettings_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getCmekSettings()); } - if (updateMask_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getUpdateMask()); } getUnknownFields().writeTo(output); @@ -314,10 +316,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (cmekSettings_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCmekSettings()); } - if (updateMask_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); @@ -500,10 +502,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.UpdateCmekSettingsRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCmekSettingsFieldBuilder(); + getUpdateMaskFieldBuilder(); + } } @java.lang.Override @@ -560,13 +572,17 @@ private void buildPartial0(com.google.logging.v2.UpdateCmekSettingsRequest resul if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.cmekSettings_ = cmekSettingsBuilder_ == null ? cmekSettings_ : cmekSettingsBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + to_bitField0_ |= 0x00000002; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -992,8 +1008,10 @@ public Builder mergeCmekSettings(com.google.logging.v2.CmekSettings value) { } else { cmekSettingsBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (cmekSettings_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** @@ -1234,8 +1252,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { } else { updateMaskBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; - onChanged(); + if (updateMask_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java index 4683952ea..d263f2546 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface UpdateCmekSettingsRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java index 5b3007e39..f78550920 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -62,6 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.UpdateExclusionRequest.Builder.class); } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -152,7 +154,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasExclusion() { - return exclusion_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -214,7 +216,7 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { */ @java.lang.Override public boolean hasUpdateMask() { - return updateMask_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -278,10 +280,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (exclusion_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getExclusion()); } - if (updateMask_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getUpdateMask()); } getUnknownFields().writeTo(output); @@ -296,10 +298,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (exclusion_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExclusion()); } - if (updateMask_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); @@ -477,10 +479,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.UpdateExclusionRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getExclusionFieldBuilder(); + getUpdateMaskFieldBuilder(); + } } @java.lang.Override @@ -537,12 +549,16 @@ private void buildPartial0(com.google.logging.v2.UpdateExclusionRequest result) if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.exclusion_ = exclusionBuilder_ == null ? exclusion_ : exclusionBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + to_bitField0_ |= 0x00000002; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -942,8 +958,10 @@ public Builder mergeExclusion(com.google.logging.v2.LogExclusion value) { } else { exclusionBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (exclusion_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** @@ -1177,8 +1195,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { } else { updateMaskBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; - onChanged(); + if (updateMask_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java index f28d1f445..e4fc70762 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface UpdateExclusionRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java index fcc401e35..752728b9e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -62,6 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.UpdateLogMetricRequest.Builder.class); } + private int bitField0_; public static final int METRIC_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -144,7 +146,7 @@ public com.google.protobuf.ByteString getMetricNameBytes() { */ @java.lang.Override public boolean hasMetric() { - return metric_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -192,7 +194,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); } - if (metric_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getMetric()); } getUnknownFields().writeTo(output); @@ -207,7 +209,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricName_); } - if (metric_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetric()); } size += getUnknownFields().getSerializedSize(); @@ -377,10 +379,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.UpdateLogMetricRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getMetricFieldBuilder(); + } } @java.lang.Override @@ -432,9 +443,12 @@ private void buildPartial0(com.google.logging.v2.UpdateLogMetricRequest result) if (((from_bitField0_ & 0x00000001) != 0)) { result.metricName_ = metricName_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.metric_ = metricBuilder_ == null ? metric_ : metricBuilder_.build(); + to_bitField0_ |= 0x00000001; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -798,8 +812,10 @@ public Builder mergeMetric(com.google.logging.v2.LogMetric value) { } else { metricBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (metric_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java index 82dff0ca4..b8df5329a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface UpdateLogMetricRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java index 2555b3039..d57e26039 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -67,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.UpdateSettingsRequest.Builder.class); } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -158,7 +160,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasSettings() { - return settings_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -221,7 +223,7 @@ public com.google.logging.v2.SettingsOrBuilder getSettingsOrBuilder() { */ @java.lang.Override public boolean hasUpdateMask() { - return updateMask_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -283,10 +285,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (settings_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getSettings()); } - if (updateMask_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getUpdateMask()); } getUnknownFields().writeTo(output); @@ -301,10 +303,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (settings_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSettings()); } - if (updateMask_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); @@ -487,10 +489,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.UpdateSettingsRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getSettingsFieldBuilder(); + getUpdateMaskFieldBuilder(); + } } @java.lang.Override @@ -547,12 +559,16 @@ private void buildPartial0(com.google.logging.v2.UpdateSettingsRequest result) { if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.settings_ = settingsBuilder_ == null ? settings_ : settingsBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + to_bitField0_ |= 0x00000002; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -955,8 +971,10 @@ public Builder mergeSettings(com.google.logging.v2.Settings value) { } else { settingsBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (settings_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** @@ -1191,8 +1209,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { } else { updateMaskBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; - onChanged(); + if (updateMask_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java index 0ebe19476..62b6d1021 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface UpdateSettingsRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java index 1b4819de8..9fa611bef 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -62,6 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.UpdateSinkRequest.Builder.class); } + private int bitField0_; public static final int SINK_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -153,7 +155,7 @@ public com.google.protobuf.ByteString getSinkNameBytes() { */ @java.lang.Override public boolean hasSink() { - return sink_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -245,7 +247,7 @@ public boolean getUniqueWriterIdentity() { */ @java.lang.Override public boolean hasUpdateMask() { - return updateMask_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -325,13 +327,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sinkName_); } - if (sink_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getSink()); } if (uniqueWriterIdentity_ != false) { output.writeBool(3, uniqueWriterIdentity_); } - if (updateMask_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(4, getUpdateMask()); } getUnknownFields().writeTo(output); @@ -346,13 +348,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sinkName_); } - if (sink_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSink()); } if (uniqueWriterIdentity_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, uniqueWriterIdentity_); } - if (updateMask_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); @@ -532,10 +534,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.UpdateSinkRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getSinkFieldBuilder(); + getUpdateMaskFieldBuilder(); + } } @java.lang.Override @@ -593,15 +605,19 @@ private void buildPartial0(com.google.logging.v2.UpdateSinkRequest result) { if (((from_bitField0_ & 0x00000001) != 0)) { result.sinkName_ = sinkName_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.sink_ = sinkBuilder_ == null ? sink_ : sinkBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.uniqueWriterIdentity_ = uniqueWriterIdentity_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + to_bitField0_ |= 0x00000002; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -1003,8 +1019,10 @@ public Builder mergeSink(com.google.logging.v2.LogSink value) { } else { sinkBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (sink_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** @@ -1351,8 +1369,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { } else { updateMaskBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000008; - onChanged(); + if (updateMask_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java index 8b5966131..9b04aa7af 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface UpdateSinkRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java index 708b4d567..b9c0dad41 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -62,6 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.logging.v2.UpdateViewRequest.Builder.class); } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -140,7 +142,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasView() { - return view_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -194,7 +196,7 @@ public com.google.logging.v2.LogViewOrBuilder getViewOrBuilder() { */ @java.lang.Override public boolean hasUpdateMask() { - return updateMask_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -258,10 +260,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getView()); } - if (updateMask_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(4, getUpdateMask()); } getUnknownFields().writeTo(output); @@ -276,10 +278,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getView()); } - if (updateMask_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); @@ -456,10 +458,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.logging.v2.UpdateViewRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getViewFieldBuilder(); + getUpdateMaskFieldBuilder(); + } } @java.lang.Override @@ -516,12 +528,16 @@ private void buildPartial0(com.google.logging.v2.UpdateViewRequest result) { if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.view_ = viewBuilder_ == null ? view_ : viewBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + to_bitField0_ |= 0x00000002; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -879,8 +895,10 @@ public Builder mergeView(com.google.logging.v2.LogView value) { } else { viewBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (view_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** @@ -1100,8 +1118,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { } else { updateMaskBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; - onChanged(); + if (updateMask_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java index 4edf6cf25..dccb71c31 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface UpdateViewRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java index 5fd8cec7b..0d09643fe 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -52,7 +53,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { switch (number) { case 1: return internalGetLogEntryErrors(); @@ -379,7 +381,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { switch (number) { case 1: return internalGetLogEntryErrors(); @@ -389,7 +392,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { switch (number) { case 1: return internalGetMutableLogEntryErrors(); @@ -457,8 +461,8 @@ public com.google.logging.v2.WriteLogEntriesPartialErrors buildPartial() { private void buildPartial0(com.google.logging.v2.WriteLogEntriesPartialErrors result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.logEntryErrors_ = internalGetLogEntryErrors(); - result.logEntryErrors_.makeImmutable(); + result.logEntryErrors_ = + internalGetLogEntryErrors().build(LogEntryErrorsDefaultEntryHolder.defaultEntry); } } @@ -544,7 +548,7 @@ public Builder mergeFrom( LogEntryErrorsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableLogEntryErrors() - .getMutableMap() + .ensureBuilderMap() .put(logEntryErrors__.getKey(), logEntryErrors__.getValue()); bitField0_ |= 0x00000001; break; @@ -568,25 +572,53 @@ public Builder mergeFrom( private int bitField0_; - private com.google.protobuf.MapField logEntryErrors_; + private static final class LogEntryErrorsConverter + implements com.google.protobuf.MapFieldBuilder.Converter< + java.lang.Integer, com.google.rpc.StatusOrBuilder, com.google.rpc.Status> { + @java.lang.Override + public com.google.rpc.Status build(com.google.rpc.StatusOrBuilder val) { + if (val instanceof com.google.rpc.Status) { + return (com.google.rpc.Status) val; + } + return ((com.google.rpc.Status.Builder) val).build(); + } - private com.google.protobuf.MapField + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return LogEntryErrorsDefaultEntryHolder.defaultEntry; + } + }; + + private static final LogEntryErrorsConverter logEntryErrorsConverter = + new LogEntryErrorsConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.Integer, + com.google.rpc.StatusOrBuilder, + com.google.rpc.Status, + com.google.rpc.Status.Builder> + logEntryErrors_; + + private com.google.protobuf.MapFieldBuilder< + java.lang.Integer, + com.google.rpc.StatusOrBuilder, + com.google.rpc.Status, + com.google.rpc.Status.Builder> internalGetLogEntryErrors() { if (logEntryErrors_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LogEntryErrorsDefaultEntryHolder.defaultEntry); + return new com.google.protobuf.MapFieldBuilder<>(logEntryErrorsConverter); } return logEntryErrors_; } - private com.google.protobuf.MapField + private com.google.protobuf.MapFieldBuilder< + java.lang.Integer, + com.google.rpc.StatusOrBuilder, + com.google.rpc.Status, + com.google.rpc.Status.Builder> internalGetMutableLogEntryErrors() { if (logEntryErrors_ == null) { - logEntryErrors_ = - com.google.protobuf.MapField.newMapField(LogEntryErrorsDefaultEntryHolder.defaultEntry); - } - if (!logEntryErrors_.isMutable()) { - logEntryErrors_ = logEntryErrors_.copy(); + logEntryErrors_ = new com.google.protobuf.MapFieldBuilder<>(logEntryErrorsConverter); } bitField0_ |= 0x00000001; onChanged(); @@ -594,7 +626,7 @@ public Builder mergeFrom( } public int getLogEntryErrorsCount() { - return internalGetLogEntryErrors().getMap().size(); + return internalGetLogEntryErrors().ensureBuilderMap().size(); } /** * @@ -613,7 +645,7 @@ public int getLogEntryErrorsCount() { @java.lang.Override public boolean containsLogEntryErrors(int key) { - return internalGetLogEntryErrors().getMap().containsKey(key); + return internalGetLogEntryErrors().ensureBuilderMap().containsKey(key); } /** Use {@link #getLogEntryErrorsMap()} instead. */ @java.lang.Override @@ -637,7 +669,7 @@ public java.util.Map getLogEntryErrors */ @java.lang.Override public java.util.Map getLogEntryErrorsMap() { - return internalGetLogEntryErrors().getMap(); + return internalGetLogEntryErrors().getImmutableMap(); } /** * @@ -659,9 +691,9 @@ public java.util.Map getLogEntryErrors /* nullable */ com.google.rpc.Status defaultValue) { - java.util.Map map = - internalGetLogEntryErrors().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + java.util.Map map = + internalGetMutableLogEntryErrors().ensureBuilderMap(); + return map.containsKey(key) ? logEntryErrorsConverter.build(map.get(key)) : defaultValue; } /** * @@ -680,17 +712,17 @@ public java.util.Map getLogEntryErrors @java.lang.Override public com.google.rpc.Status getLogEntryErrorsOrThrow(int key) { - java.util.Map map = - internalGetLogEntryErrors().getMap(); + java.util.Map map = + internalGetMutableLogEntryErrors().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } - return map.get(key); + return logEntryErrorsConverter.build(map.get(key)); } public Builder clearLogEntryErrors() { bitField0_ = (bitField0_ & ~0x00000001); - internalGetMutableLogEntryErrors().getMutableMap().clear(); + internalGetMutableLogEntryErrors().clear(); return this; } /** @@ -709,14 +741,14 @@ public Builder clearLogEntryErrors() { */ public Builder removeLogEntryErrors(int key) { - internalGetMutableLogEntryErrors().getMutableMap().remove(key); + internalGetMutableLogEntryErrors().ensureBuilderMap().remove(key); return this; } /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLogEntryErrors() { bitField0_ |= 0x00000001; - return internalGetMutableLogEntryErrors().getMutableMap(); + return internalGetMutableLogEntryErrors().ensureMessageMap(); } /** * @@ -737,7 +769,7 @@ public Builder putLogEntryErrors(int key, com.google.rpc.Status value) { if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLogEntryErrors().getMutableMap().put(key, value); + internalGetMutableLogEntryErrors().ensureBuilderMap().put(key, value); bitField0_ |= 0x00000001; return this; } @@ -757,10 +789,43 @@ public Builder putLogEntryErrors(int key, com.google.rpc.Status value) { */ public Builder putAllLogEntryErrors( java.util.Map values) { - internalGetMutableLogEntryErrors().getMutableMap().putAll(values); + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableLogEntryErrors().ensureBuilderMap().putAll(values); bitField0_ |= 0x00000001; return this; } + /** + * + * + *
+     * When `WriteLogEntriesRequest.partial_success` is true, records the error
+     * status for entries that were not written due to a permanent error, keyed
+     * by the entry's zero-based index in `WriteLogEntriesRequest.entries`.
+     *
+     * Failed requests for which no entries are written will not include
+     * per-entry errors.
+     * 
+ * + * map<int32, .google.rpc.Status> log_entry_errors = 1; + */ + public com.google.rpc.Status.Builder putLogEntryErrorsBuilderIfAbsent(int key) { + java.util.Map builderMap = + internalGetMutableLogEntryErrors().ensureBuilderMap(); + com.google.rpc.StatusOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.google.rpc.Status.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.google.rpc.Status) { + entry = ((com.google.rpc.Status) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.google.rpc.Status.Builder) entry; + } @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java index f6478cf19..d51feb41b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface WriteLogEntriesPartialErrorsOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java index 6b2779225..95538e6f1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** @@ -55,7 +56,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { switch (number) { case 3: return internalGetLabels(); @@ -74,6 +76,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.logging.v2.WriteLogEntriesRequest.Builder.class); } + private int bitField0_; public static final int LOG_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -184,7 +187,7 @@ public com.google.protobuf.ByteString getLogNameBytes() { */ @java.lang.Override public boolean hasResource() { - return resource_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -602,7 +605,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, logName_); } - if (resource_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getResource()); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( @@ -628,7 +631,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, logName_); } - if (resource_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResource()); } for (java.util.Map.Entry entry : @@ -823,7 +826,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { switch (number) { case 3: return internalGetLabels(); @@ -833,7 +837,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { switch (number) { case 3: return internalGetMutableLabels(); @@ -853,10 +858,20 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { } // Construct using com.google.logging.v2.WriteLogEntriesRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getResourceFieldBuilder(); + getEntriesFieldBuilder(); + } } @java.lang.Override @@ -931,8 +946,10 @@ private void buildPartial0(com.google.logging.v2.WriteLogEntriesRequest result) if (((from_bitField0_ & 0x00000001) != 0)) { result.logName_ = logName_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.labels_ = internalGetLabels(); @@ -944,6 +961,7 @@ private void buildPartial0(com.google.logging.v2.WriteLogEntriesRequest result) if (((from_bitField0_ & 0x00000020) != 0)) { result.dryRun_ = dryRun_; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -1465,8 +1483,10 @@ public Builder mergeResource(com.google.api.MonitoredResource value) { } else { resourceBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (resource_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java index c9c827188..16cec0e28 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface WriteLogEntriesRequestOrBuilder diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java index a47ea7d2f..d8d165bd6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; /** diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java index f7314ad33..21ec111c0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/logging/v2/logging.proto +// Protobuf Java Version: 3.25.2 package com.google.logging.v2; public interface WriteLogEntriesResponseOrBuilder