diff --git a/proto-google-cloud-talent-v4beta1/clirr-ignored-differences.xml b/proto-google-cloud-talent-v4beta1/clirr-ignored-differences.xml index 9fe3cad6..76722805 100644 --- a/proto-google-cloud-talent-v4beta1/clirr-ignored-differences.xml +++ b/proto-google-cloud-talent-v4beta1/clirr-ignored-differences.xml @@ -16,4 +16,9 @@ com/google/cloud/talent/v4beta1/*OrBuilder boolean has*(*) + + + 8001 + com/google/cloud/talent/v4beta1/BatchProto + diff --git a/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java b/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java deleted file mode 100644 index 96adcb5d..00000000 --- a/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/batch.proto - -package com.google.cloud.talent.v4beta1; - -public final class BatchProto { - private BatchProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/talent/v4beta1/batch.prot" - + "o\022\033google.cloud.talent.v4beta1\032\034google/a" - + "pi/annotations.protoBx\n\037com.google.cloud" - + ".talent.v4beta1B\nBatchProtoP\001ZAgoogle.go" - + "lang.org/genproto/googleapis/cloud/talen" - + "t/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/synth.py b/synth.py index 57f1170a..0f002b93 100644 --- a/synth.py +++ b/synth.py @@ -15,6 +15,7 @@ """This script is used to synthesize generated parts of this library.""" import synthtool.languages.java as java +import os AUTOSYNTH_MULTIPLE_COMMITS = True @@ -27,7 +28,7 @@ version=version, bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java', ) - +os.remove('proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java') java.common_templates(excludes=[ '.kokoro/build.sh', '.kokoro/nightly/samples.cfg',