diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Activity.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Activity.java index 2208d5f3e757..cfd4b5e352dd 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Activity.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Activity.java @@ -111,7 +111,7 @@ private Activity( case 50: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { teamMembers_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000020; } @@ -120,7 +120,7 @@ private Activity( } case 58: { - if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { + if (!((mutable_bitField0_ & 0x00000040) != 0)) { skillsUsed_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } @@ -146,7 +146,7 @@ private Activity( case 82: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { + if (!((mutable_bitField0_ & 0x00000200) != 0)) { skillsUsedSnippet_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000200; } @@ -155,7 +155,7 @@ private Activity( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -167,13 +167,13 @@ private Activity( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + if (((mutable_bitField0_ & 0x00000020) != 0)) { teamMembers_ = teamMembers_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { + if (((mutable_bitField0_ & 0x00000040) != 0)) { skillsUsed_ = java.util.Collections.unmodifiableList(skillsUsed_); } - if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { + if (((mutable_bitField0_ & 0x00000200) != 0)) { skillsUsedSnippet_ = skillsUsedSnippet_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -828,26 +828,25 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.talent.v4beta1.Activity other = (com.google.cloud.talent.v4beta1.Activity) obj; - boolean result = true; - result = result && getDisplayName().equals(other.getDisplayName()); - result = result && getDescription().equals(other.getDescription()); - result = result && getUri().equals(other.getUri()); - result = result && (hasCreateDate() == other.hasCreateDate()); + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getUri().equals(other.getUri())) return false; + if (hasCreateDate() != other.hasCreateDate()) return false; if (hasCreateDate()) { - result = result && getCreateDate().equals(other.getCreateDate()); + if (!getCreateDate().equals(other.getCreateDate())) return false; } - result = result && (hasUpdateDate() == other.hasUpdateDate()); + if (hasUpdateDate() != other.hasUpdateDate()) return false; if (hasUpdateDate()) { - result = result && getUpdateDate().equals(other.getUpdateDate()); - } - result = result && getTeamMembersList().equals(other.getTeamMembersList()); - result = result && getSkillsUsedList().equals(other.getSkillsUsedList()); - result = result && getActivityNameSnippet().equals(other.getActivityNameSnippet()); - result = - result && getActivityDescriptionSnippet().equals(other.getActivityDescriptionSnippet()); - result = result && getSkillsUsedSnippetList().equals(other.getSkillsUsedSnippetList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getUpdateDate().equals(other.getUpdateDate())) return false; + } + if (!getTeamMembersList().equals(other.getTeamMembersList())) return false; + if (!getSkillsUsedList().equals(other.getSkillsUsedList())) return false; + if (!getActivityNameSnippet().equals(other.getActivityNameSnippet())) return false; + if (!getActivityDescriptionSnippet().equals(other.getActivityDescriptionSnippet())) + return false; + if (!getSkillsUsedSnippetList().equals(other.getSkillsUsedSnippetList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1110,13 +1109,13 @@ public com.google.cloud.talent.v4beta1.Activity buildPartial() { } else { result.updateDate_ = updateDateBuilder_.build(); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { teamMembers_ = teamMembers_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000020); } result.teamMembers_ = teamMembers_; if (skillsUsedBuilder_ == null) { - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { skillsUsed_ = java.util.Collections.unmodifiableList(skillsUsed_); bitField0_ = (bitField0_ & ~0x00000040); } @@ -1126,7 +1125,7 @@ public com.google.cloud.talent.v4beta1.Activity buildPartial() { } result.activityNameSnippet_ = activityNameSnippet_; result.activityDescriptionSnippet_ = activityDescriptionSnippet_; - if (((bitField0_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000200) != 0)) { skillsUsedSnippet_ = skillsUsedSnippet_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000200); } @@ -1138,35 +1137,35 @@ public com.google.cloud.talent.v4beta1.Activity buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1597,7 +1596,7 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.type.Date createDate_ = null; + private com.google.type.Date createDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> createDateBuilder_; @@ -1775,7 +1774,7 @@ public com.google.type.DateOrBuilder getCreateDateOrBuilder() { return createDateBuilder_; } - private com.google.type.Date updateDate_ = null; + private com.google.type.Date updateDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> updateDateBuilder_; @@ -1957,7 +1956,7 @@ public com.google.type.DateOrBuilder getUpdateDateOrBuilder() { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTeamMembersIsMutable() { - if (!((bitField0_ & 0x00000020) == 0x00000020)) { + if (!((bitField0_ & 0x00000020) != 0)) { teamMembers_ = new com.google.protobuf.LazyStringArrayList(teamMembers_); bitField0_ |= 0x00000020; } @@ -2118,7 +2117,7 @@ public Builder addTeamMembersBytes(com.google.protobuf.ByteString value) { java.util.Collections.emptyList(); private void ensureSkillsUsedIsMutable() { - if (!((bitField0_ & 0x00000040) == 0x00000040)) { + if (!((bitField0_ & 0x00000040) != 0)) { skillsUsed_ = new java.util.ArrayList(skillsUsed_); bitField0_ |= 0x00000040; } @@ -2475,10 +2474,7 @@ public com.google.cloud.talent.v4beta1.Skill.Builder addSkillsUsedBuilder(int in com.google.cloud.talent.v4beta1.Skill, com.google.cloud.talent.v4beta1.Skill.Builder, com.google.cloud.talent.v4beta1.SkillOrBuilder>( - skillsUsed_, - ((bitField0_ & 0x00000040) == 0x00000040), - getParentForChildren(), - isClean()); + skillsUsed_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); skillsUsed_ = null; } return skillsUsedBuilder_; @@ -2716,7 +2712,7 @@ public Builder setActivityDescriptionSnippetBytes(com.google.protobuf.ByteString com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSkillsUsedSnippetIsMutable() { - if (!((bitField0_ & 0x00000200) == 0x00000200)) { + if (!((bitField0_ & 0x00000200) != 0)) { skillsUsedSnippet_ = new com.google.protobuf.LazyStringArrayList(skillsUsedSnippet_); bitField0_ |= 0x00000200; } @@ -2893,7 +2889,7 @@ public Builder addSkillsUsedSnippetBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/AdditionalContactInfo.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/AdditionalContactInfo.java index 548ff5329f07..4d4c0a769a79 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/AdditionalContactInfo.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/AdditionalContactInfo.java @@ -76,7 +76,7 @@ private AdditionalContactInfo( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -297,12 +297,11 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.AdditionalContactInfo other = (com.google.cloud.talent.v4beta1.AdditionalContactInfo) obj; - boolean result = true; - result = result && usage_ == other.usage_; - result = result && getName().equals(other.getName()); - result = result && getContactId().equals(other.getContactId()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (usage_ != other.usage_) return false; + if (!getName().equals(other.getName())) return false; + if (!getContactId().equals(other.getContactId())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -507,35 +506,35 @@ public com.google.cloud.talent.v4beta1.AdditionalContactInfo buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -890,7 +889,7 @@ public Builder setContactIdBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Address.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Address.java index c4fb4095393d..41209ab913ed 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Address.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Address.java @@ -96,7 +96,7 @@ private Address( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -420,26 +420,24 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.talent.v4beta1.Address other = (com.google.cloud.talent.v4beta1.Address) obj; - boolean result = true; - result = result && usage_ == other.usage_; - result = result && (hasCurrent() == other.hasCurrent()); + if (usage_ != other.usage_) return false; + if (hasCurrent() != other.hasCurrent()) return false; if (hasCurrent()) { - result = result && getCurrent().equals(other.getCurrent()); + if (!getCurrent().equals(other.getCurrent())) return false; } - result = result && getAddressCase().equals(other.getAddressCase()); - if (!result) return false; + if (!getAddressCase().equals(other.getAddressCase())) return false; switch (addressCase_) { case 2: - result = result && getUnstructuredAddress().equals(other.getUnstructuredAddress()); + if (!getUnstructuredAddress().equals(other.getUnstructuredAddress())) return false; break; case 3: - result = result && getStructuredAddress().equals(other.getStructuredAddress()); + if (!getStructuredAddress().equals(other.getStructuredAddress())) return false; break; case 0: default: } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -672,35 +670,35 @@ public com.google.cloud.talent.v4beta1.Address buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1205,7 +1203,7 @@ public com.google.type.PostalAddressOrBuilder getStructuredAddressOrBuilder() { return structuredAddressBuilder_; } - private com.google.protobuf.BoolValue current_ = null; + private com.google.protobuf.BoolValue current_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, @@ -1391,7 +1389,7 @@ public com.google.protobuf.BoolValueOrBuilder getCurrentOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Application.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Application.java index c6091c383335..1fd00e0669f9 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Application.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Application.java @@ -119,7 +119,7 @@ private Application( } case 130: { - if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) { + if (!((mutable_bitField0_ & 0x00000100) != 0)) { interviews_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000100; } @@ -218,7 +218,7 @@ private Application( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -230,7 +230,7 @@ private Application( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) { + if (((mutable_bitField0_ & 0x00000100) != 0)) { interviews_ = java.util.Collections.unmodifiableList(interviews_); } this.unknownFields = unknownFields.build(); @@ -1636,40 +1636,39 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.Application other = (com.google.cloud.talent.v4beta1.Application) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && getExternalId().equals(other.getExternalId()); - result = result && getProfile().equals(other.getProfile()); - result = result && getJob().equals(other.getJob()); - result = result && getCompany().equals(other.getCompany()); - result = result && (hasApplicationDate() == other.hasApplicationDate()); + if (!getName().equals(other.getName())) return false; + if (!getExternalId().equals(other.getExternalId())) return false; + if (!getProfile().equals(other.getProfile())) return false; + if (!getJob().equals(other.getJob())) return false; + if (!getCompany().equals(other.getCompany())) return false; + if (hasApplicationDate() != other.hasApplicationDate()) return false; if (hasApplicationDate()) { - result = result && getApplicationDate().equals(other.getApplicationDate()); + if (!getApplicationDate().equals(other.getApplicationDate())) return false; } - result = result && stage_ == other.stage_; - result = result && state_ == other.state_; - result = result && getInterviewsList().equals(other.getInterviewsList()); - result = result && (hasReferral() == other.hasReferral()); + if (stage_ != other.stage_) return false; + if (state_ != other.state_) return false; + if (!getInterviewsList().equals(other.getInterviewsList())) return false; + if (hasReferral() != other.hasReferral()) return false; if (hasReferral()) { - result = result && getReferral().equals(other.getReferral()); + if (!getReferral().equals(other.getReferral())) return false; } - result = result && (hasCreateTime() == other.hasCreateTime()); + if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - result = result && getCreateTime().equals(other.getCreateTime()); + if (!getCreateTime().equals(other.getCreateTime())) return false; } - result = result && (hasUpdateTime() == other.hasUpdateTime()); + if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - result = result && getUpdateTime().equals(other.getUpdateTime()); + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - result = result && getOutcomeNotes().equals(other.getOutcomeNotes()); - result = result && outcome_ == other.outcome_; - result = result && (hasIsMatch() == other.hasIsMatch()); + if (!getOutcomeNotes().equals(other.getOutcomeNotes())) return false; + if (outcome_ != other.outcome_) return false; + if (hasIsMatch() != other.hasIsMatch()) return false; if (hasIsMatch()) { - result = result && getIsMatch().equals(other.getIsMatch()); + if (!getIsMatch().equals(other.getIsMatch())) return false; } - result = result && getJobTitleSnippet().equals(other.getJobTitleSnippet()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getJobTitleSnippet().equals(other.getJobTitleSnippet())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1968,7 +1967,7 @@ public com.google.cloud.talent.v4beta1.Application buildPartial() { result.stage_ = stage_; result.state_ = state_; if (interviewsBuilder_ == null) { - if (((bitField0_ & 0x00000100) == 0x00000100)) { + if (((bitField0_ & 0x00000100) != 0)) { interviews_ = java.util.Collections.unmodifiableList(interviews_); bitField0_ = (bitField0_ & ~0x00000100); } @@ -2006,35 +2005,35 @@ public com.google.cloud.talent.v4beta1.Application buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -2729,7 +2728,7 @@ public Builder setCompanyBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.type.Date applicationDate_ = null; + private com.google.type.Date applicationDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> applicationDateBuilder_; @@ -3096,7 +3095,7 @@ public Builder clearState() { java.util.Collections.emptyList(); private void ensureInterviewsIsMutable() { - if (!((bitField0_ & 0x00000100) == 0x00000100)) { + if (!((bitField0_ & 0x00000100) != 0)) { interviews_ = new java.util.ArrayList(interviews_); bitField0_ |= 0x00000100; @@ -3491,16 +3490,13 @@ public com.google.cloud.talent.v4beta1.Interview.Builder addInterviewsBuilder(in com.google.cloud.talent.v4beta1.Interview, com.google.cloud.talent.v4beta1.Interview.Builder, com.google.cloud.talent.v4beta1.InterviewOrBuilder>( - interviews_, - ((bitField0_ & 0x00000100) == 0x00000100), - getParentForChildren(), - isClean()); + interviews_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); interviews_ = null; } return interviewsBuilder_; } - private com.google.protobuf.BoolValue referral_ = null; + private com.google.protobuf.BoolValue referral_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, @@ -3684,7 +3680,7 @@ public com.google.protobuf.BoolValueOrBuilder getReferralOrBuilder() { return referralBuilder_; } - private com.google.protobuf.Timestamp createTime_ = null; + private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -3872,7 +3868,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return createTimeBuilder_; } - private com.google.protobuf.Timestamp updateTime_ = null; + private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -4250,7 +4246,7 @@ public Builder clearOutcome() { return this; } - private com.google.protobuf.BoolValue isMatch_ = null; + private com.google.protobuf.BoolValue isMatch_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, @@ -4549,7 +4545,7 @@ public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationDateFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationDateFilter.java index 8fb0fe0102e2..a66bcf12110f 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationDateFilter.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationDateFilter.java @@ -86,7 +86,7 @@ private ApplicationDateFilter( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -259,17 +259,16 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ApplicationDateFilter other = (com.google.cloud.talent.v4beta1.ApplicationDateFilter) obj; - boolean result = true; - result = result && (hasStartDate() == other.hasStartDate()); + if (hasStartDate() != other.hasStartDate()) return false; if (hasStartDate()) { - result = result && getStartDate().equals(other.getStartDate()); + if (!getStartDate().equals(other.getStartDate())) return false; } - result = result && (hasEndDate() == other.hasEndDate()); + if (hasEndDate() != other.hasEndDate()) return false; if (hasEndDate()) { - result = result && getEndDate().equals(other.getEndDate()); + if (!getEndDate().equals(other.getEndDate())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -496,35 +495,35 @@ public com.google.cloud.talent.v4beta1.ApplicationDateFilter buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -576,7 +575,7 @@ public Builder mergeFrom( return this; } - private com.google.type.Date startDate_ = null; + private com.google.type.Date startDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> startDateBuilder_; @@ -762,7 +761,7 @@ public com.google.type.DateOrBuilder getStartDateOrBuilder() { return startDateBuilder_; } - private com.google.type.Date endDate_ = null; + private com.google.type.Date endDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> endDateBuilder_; @@ -950,7 +949,7 @@ public com.google.type.DateOrBuilder getEndDateOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationJobFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationJobFilter.java index 9fc076a5f651..070a0dfb3697 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationJobFilter.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationJobFilter.java @@ -27,7 +27,6 @@ private ApplicationJobFilter() { job_ = ""; jobRequisitionId_ = ""; jobTitle_ = ""; - negated_ = false; } @java.lang.Override @@ -82,7 +81,7 @@ private ApplicationJobFilter( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -342,13 +341,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ApplicationJobFilter other = (com.google.cloud.talent.v4beta1.ApplicationJobFilter) obj; - boolean result = true; - result = result && getJob().equals(other.getJob()); - result = result && getJobRequisitionId().equals(other.getJobRequisitionId()); - result = result && getJobTitle().equals(other.getJobTitle()); - result = result && (getNegated() == other.getNegated()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getJob().equals(other.getJob())) return false; + if (!getJobRequisitionId().equals(other.getJobRequisitionId())) return false; + if (!getJobTitle().equals(other.getJobTitle())) return false; + if (getNegated() != other.getNegated()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -557,35 +555,35 @@ public com.google.cloud.talent.v4beta1.ApplicationJobFilter buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1028,7 +1026,7 @@ public Builder clearNegated() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationLastStageFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationLastStageFilter.java index f9c626c60ef5..6109c5124bf0 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationLastStageFilter.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationLastStageFilter.java @@ -25,7 +25,6 @@ private ApplicationLastStageFilter(com.google.protobuf.GeneratedMessageV3.Builde private ApplicationLastStageFilter() { lastStage_ = ""; - negated_ = false; } @java.lang.Override @@ -66,7 +65,7 @@ private ApplicationLastStageFilter( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -216,11 +215,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ApplicationLastStageFilter other = (com.google.cloud.talent.v4beta1.ApplicationLastStageFilter) obj; - boolean result = true; - result = result && getLastStage().equals(other.getLastStage()); - result = result && (getNegated() == other.getNegated()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getLastStage().equals(other.getLastStage())) return false; + if (getNegated() != other.getNegated()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -420,35 +418,35 @@ public com.google.cloud.talent.v4beta1.ApplicationLastStageFilter buildPartial() @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -665,7 +663,7 @@ public Builder clearNegated() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationOutcomeNotesFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationOutcomeNotesFilter.java index 153e4237214e..62ba9246beb4 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationOutcomeNotesFilter.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationOutcomeNotesFilter.java @@ -25,7 +25,6 @@ private ApplicationOutcomeNotesFilter(com.google.protobuf.GeneratedMessageV3.Bui private ApplicationOutcomeNotesFilter() { outcomeNotes_ = ""; - negated_ = false; } @java.lang.Override @@ -66,7 +65,7 @@ private ApplicationOutcomeNotesFilter( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -216,11 +215,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter other = (com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter) obj; - boolean result = true; - result = result && getOutcomeNotes().equals(other.getOutcomeNotes()); - result = result && (getNegated() == other.getNegated()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getOutcomeNotes().equals(other.getOutcomeNotes())) return false; + if (getNegated() != other.getNegated()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -421,35 +419,35 @@ public com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter buildPartia @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -668,7 +666,7 @@ public Builder clearNegated() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationStatusFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationStatusFilter.java index 23bf80ea43bd..a4b25b1f4756 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationStatusFilter.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationStatusFilter.java @@ -25,7 +25,6 @@ private ApplicationStatusFilter(com.google.protobuf.GeneratedMessageV3.Builder acquireDateBuilder_; @@ -1047,7 +1046,7 @@ public com.google.type.DateOrBuilder getAcquireDateOrBuilder() { return acquireDateBuilder_; } - private com.google.type.Date expireDate_ = null; + private com.google.type.Date expireDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> expireDateBuilder_; @@ -1435,7 +1434,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java index 285af5b8b71c..86044a30c390 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java @@ -126,7 +126,7 @@ private ClientEvent( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -552,28 +552,26 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ClientEvent other = (com.google.cloud.talent.v4beta1.ClientEvent) obj; - boolean result = true; - result = result && getRequestId().equals(other.getRequestId()); - result = result && getEventId().equals(other.getEventId()); - result = result && (hasCreateTime() == other.hasCreateTime()); + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getEventId().equals(other.getEventId())) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - result = result && getCreateTime().equals(other.getCreateTime()); + if (!getCreateTime().equals(other.getCreateTime())) return false; } - result = result && getEventNotes().equals(other.getEventNotes()); - result = result && getEventCase().equals(other.getEventCase()); - if (!result) return false; + if (!getEventNotes().equals(other.getEventNotes())) return false; + if (!getEventCase().equals(other.getEventCase())) return false; switch (eventCase_) { case 5: - result = result && getJobEvent().equals(other.getJobEvent()); + if (!getJobEvent().equals(other.getJobEvent())) return false; break; case 6: - result = result && getProfileEvent().equals(other.getProfileEvent()); + if (!getProfileEvent().equals(other.getProfileEvent())) return false; break; case 0: default: } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -824,35 +822,35 @@ public com.google.cloud.talent.v4beta1.ClientEvent buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1144,7 +1142,7 @@ public Builder setEventIdBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.Timestamp createTime_ = null; + private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -1859,7 +1857,7 @@ public Builder setEventNotesBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java index 56e6e37655e2..6fcb3271a258 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java @@ -25,7 +25,6 @@ private CommuteFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) private CommuteFilter() { commuteMethod_ = 0; - allowImpreciseAddresses_ = false; } @java.lang.Override @@ -118,7 +117,7 @@ private CommuteFilter( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -655,31 +654,29 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.CommuteFilter other = (com.google.cloud.talent.v4beta1.CommuteFilter) obj; - boolean result = true; - result = result && commuteMethod_ == other.commuteMethod_; - result = result && (hasStartCoordinates() == other.hasStartCoordinates()); + if (commuteMethod_ != other.commuteMethod_) return false; + if (hasStartCoordinates() != other.hasStartCoordinates()) return false; if (hasStartCoordinates()) { - result = result && getStartCoordinates().equals(other.getStartCoordinates()); + if (!getStartCoordinates().equals(other.getStartCoordinates())) return false; } - result = result && (hasTravelDuration() == other.hasTravelDuration()); + if (hasTravelDuration() != other.hasTravelDuration()) return false; if (hasTravelDuration()) { - result = result && getTravelDuration().equals(other.getTravelDuration()); + if (!getTravelDuration().equals(other.getTravelDuration())) return false; } - result = result && (getAllowImpreciseAddresses() == other.getAllowImpreciseAddresses()); - result = result && getTrafficOptionCase().equals(other.getTrafficOptionCase()); - if (!result) return false; + if (getAllowImpreciseAddresses() != other.getAllowImpreciseAddresses()) return false; + if (!getTrafficOptionCase().equals(other.getTrafficOptionCase())) return false; switch (trafficOptionCase_) { case 5: - result = result && getRoadTrafficValue() == other.getRoadTrafficValue(); + if (getRoadTrafficValue() != other.getRoadTrafficValue()) return false; break; case 6: - result = result && getDepartureTime().equals(other.getDepartureTime()); + if (!getDepartureTime().equals(other.getDepartureTime())) return false; break; case 0: default: } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -933,35 +930,35 @@ public com.google.cloud.talent.v4beta1.CommuteFilter buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1128,7 +1125,7 @@ public Builder clearCommuteMethod() { return this; } - private com.google.type.LatLng startCoordinates_ = null; + private com.google.type.LatLng startCoordinates_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> startCoordinatesBuilder_; @@ -1321,7 +1318,7 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { return startCoordinatesBuilder_; } - private com.google.protobuf.Duration travelDuration_ = null; + private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, @@ -1898,7 +1895,7 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java index c67390d3a1ae..7f82992f4402 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java @@ -30,13 +30,11 @@ private Company() { externalId_ = ""; size_ = 0; headquartersAddress_ = ""; - hiringAgency_ = false; eeoText_ = ""; websiteUri_ = ""; careerSiteUri_ = ""; imageUri_ = ""; keywordSearchableJobCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - suspended_ = false; } @java.lang.Override @@ -134,7 +132,7 @@ private Company( case 90: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) { + if (!((mutable_bitField0_ & 0x00000400) != 0)) { keywordSearchableJobCustomAttributes_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000400; @@ -166,7 +164,7 @@ private Company( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -178,7 +176,7 @@ private Company( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) { + if (((mutable_bitField0_ & 0x00000400) != 0)) { keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_.getUnmodifiableView(); } @@ -304,7 +302,7 @@ private DerivedInfo( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -426,13 +424,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.Company.DerivedInfo other = (com.google.cloud.talent.v4beta1.Company.DerivedInfo) obj; - boolean result = true; - result = result && (hasHeadquartersLocation() == other.hasHeadquartersLocation()); + if (hasHeadquartersLocation() != other.hasHeadquartersLocation()) return false; if (hasHeadquartersLocation()) { - result = result && getHeadquartersLocation().equals(other.getHeadquartersLocation()); + if (!getHeadquartersLocation().equals(other.getHeadquartersLocation())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -638,23 +635,23 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfo buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override @@ -662,13 +659,13 @@ public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -717,7 +714,7 @@ public Builder mergeFrom( return this; } - private com.google.cloud.talent.v4beta1.Location headquartersLocation_ = null; + private com.google.cloud.talent.v4beta1.Location headquartersLocation_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, @@ -911,7 +908,7 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocation @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override @@ -1666,28 +1663,25 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.talent.v4beta1.Company other = (com.google.cloud.talent.v4beta1.Company) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && getDisplayName().equals(other.getDisplayName()); - result = result && getExternalId().equals(other.getExternalId()); - result = result && size_ == other.size_; - result = result && getHeadquartersAddress().equals(other.getHeadquartersAddress()); - result = result && (getHiringAgency() == other.getHiringAgency()); - result = result && getEeoText().equals(other.getEeoText()); - result = result && getWebsiteUri().equals(other.getWebsiteUri()); - result = result && getCareerSiteUri().equals(other.getCareerSiteUri()); - result = result && getImageUri().equals(other.getImageUri()); - result = - result - && getKeywordSearchableJobCustomAttributesList() - .equals(other.getKeywordSearchableJobCustomAttributesList()); - result = result && (hasDerivedInfo() == other.hasDerivedInfo()); + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getExternalId().equals(other.getExternalId())) return false; + if (size_ != other.size_) return false; + if (!getHeadquartersAddress().equals(other.getHeadquartersAddress())) return false; + if (getHiringAgency() != other.getHiringAgency()) return false; + if (!getEeoText().equals(other.getEeoText())) return false; + if (!getWebsiteUri().equals(other.getWebsiteUri())) return false; + if (!getCareerSiteUri().equals(other.getCareerSiteUri())) return false; + if (!getImageUri().equals(other.getImageUri())) return false; + if (!getKeywordSearchableJobCustomAttributesList() + .equals(other.getKeywordSearchableJobCustomAttributesList())) return false; + if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - result = result && getDerivedInfo().equals(other.getDerivedInfo()); + if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; } - result = result && (getSuspended() == other.getSuspended()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (getSuspended() != other.getSuspended()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1943,7 +1937,7 @@ public com.google.cloud.talent.v4beta1.Company buildPartial() { result.websiteUri_ = websiteUri_; result.careerSiteUri_ = careerSiteUri_; result.imageUri_ = imageUri_; - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000400); @@ -1962,35 +1956,35 @@ public com.google.cloud.talent.v4beta1.Company buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -3110,7 +3104,7 @@ public Builder setImageUriBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKeywordSearchableJobCustomAttributesIsMutable() { - if (!((bitField0_ & 0x00000400) == 0x00000400)) { + if (!((bitField0_ & 0x00000400) != 0)) { keywordSearchableJobCustomAttributes_ = new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); bitField0_ |= 0x00000400; @@ -3316,7 +3310,7 @@ public Builder addKeywordSearchableJobCustomAttributesBytes( return this; } - private com.google.cloud.talent.v4beta1.Company.DerivedInfo derivedInfo_ = null; + private com.google.cloud.talent.v4beta1.Company.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Company.DerivedInfo, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, @@ -3550,7 +3544,7 @@ public Builder clearSuspended() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java index a4f53092842f..478f32c6b20c 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java @@ -26,7 +26,6 @@ private CompensationFilter(com.google.protobuf.GeneratedMessageV3.Builder bui private CompensationFilter() { type_ = 0; units_ = java.util.Collections.emptyList(); - includeJobsWithUnspecifiedCompensationRange_ = false; } @java.lang.Override @@ -63,7 +62,7 @@ private CompensationFilter( case 16: { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { units_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } @@ -76,7 +75,7 @@ private CompensationFilter( int oldLimit = input.pushLimit(length); while (input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { units_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } @@ -110,7 +109,7 @@ private CompensationFilter( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -122,7 +121,7 @@ private CompensationFilter( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { units_ = java.util.Collections.unmodifiableList(units_); } this.unknownFields = unknownFields.build(); @@ -655,19 +654,16 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.CompensationFilter other = (com.google.cloud.talent.v4beta1.CompensationFilter) obj; - boolean result = true; - result = result && type_ == other.type_; - result = result && units_.equals(other.units_); - result = result && (hasRange() == other.hasRange()); + if (type_ != other.type_) return false; + if (!units_.equals(other.units_)) return false; + if (hasRange() != other.hasRange()) return false; if (hasRange()) { - result = result && getRange().equals(other.getRange()); - } - result = - result - && (getIncludeJobsWithUnspecifiedCompensationRange() - == other.getIncludeJobsWithUnspecifiedCompensationRange()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getRange().equals(other.getRange())) return false; + } + if (getIncludeJobsWithUnspecifiedCompensationRange() + != other.getIncludeJobsWithUnspecifiedCompensationRange()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -880,7 +876,7 @@ public com.google.cloud.talent.v4beta1.CompensationFilter buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.type_ = type_; - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { units_ = java.util.Collections.unmodifiableList(units_); bitField0_ = (bitField0_ & ~0x00000002); } @@ -899,35 +895,35 @@ public com.google.cloud.talent.v4beta1.CompensationFilter buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1081,7 +1077,7 @@ public Builder clearType() { private java.util.List units_ = java.util.Collections.emptyList(); private void ensureUnitsIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000002) != 0)) { units_ = new java.util.ArrayList(units_); bitField0_ |= 0x00000002; } @@ -1306,7 +1302,7 @@ public Builder addAllUnitsValue(java.lang.Iterable values) { return this; } - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range_ = null; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, @@ -1553,7 +1549,7 @@ public Builder clearIncludeJobsWithUnspecifiedCompensationRange() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java index 2882f322f519..b71891831075 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java @@ -52,7 +52,7 @@ private CompensationInfo( break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { entries_ = new java.util.ArrayList< com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry>(); @@ -102,7 +102,7 @@ private CompensationInfo( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -114,7 +114,7 @@ private CompensationInfo( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { entries_ = java.util.Collections.unmodifiableList(entries_); } this.unknownFields = unknownFields.build(); @@ -1057,7 +1057,7 @@ private CompensationEntry( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -1519,28 +1519,26 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other = (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) obj; - boolean result = true; - result = result && type_ == other.type_; - result = result && unit_ == other.unit_; - result = result && getDescription().equals(other.getDescription()); - result = result && (hasExpectedUnitsPerYear() == other.hasExpectedUnitsPerYear()); + if (type_ != other.type_) return false; + if (unit_ != other.unit_) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (hasExpectedUnitsPerYear() != other.hasExpectedUnitsPerYear()) return false; if (hasExpectedUnitsPerYear()) { - result = result && getExpectedUnitsPerYear().equals(other.getExpectedUnitsPerYear()); + if (!getExpectedUnitsPerYear().equals(other.getExpectedUnitsPerYear())) return false; } - result = result && getCompensationAmountCase().equals(other.getCompensationAmountCase()); - if (!result) return false; + if (!getCompensationAmountCase().equals(other.getCompensationAmountCase())) return false; switch (compensationAmountCase_) { case 3: - result = result && getAmount().equals(other.getAmount()); + if (!getAmount().equals(other.getAmount())) return false; break; case 4: - result = result && getRange().equals(other.getRange()); + if (!getRange().equals(other.getRange())) return false; break; case 0: default: } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1808,23 +1806,23 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry buildP @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override @@ -1832,13 +1830,13 @@ public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -2653,7 +2651,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.DoubleValue expectedUnitsPerYear_ = null; + private com.google.protobuf.DoubleValue expectedUnitsPerYear_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, @@ -2928,7 +2926,7 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override @@ -3145,7 +3143,7 @@ private CompensationRange( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -3331,17 +3329,16 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other = (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) obj; - boolean result = true; - result = result && (hasMaxCompensation() == other.hasMaxCompensation()); + if (hasMaxCompensation() != other.hasMaxCompensation()) return false; if (hasMaxCompensation()) { - result = result && getMaxCompensation().equals(other.getMaxCompensation()); + if (!getMaxCompensation().equals(other.getMaxCompensation())) return false; } - result = result && (hasMinCompensation() == other.hasMinCompensation()); + if (hasMinCompensation() != other.hasMinCompensation()) return false; if (hasMinCompensation()) { - result = result && getMinCompensation().equals(other.getMinCompensation()); + if (!getMinCompensation().equals(other.getMinCompensation())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -3566,23 +3563,23 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange buildP @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override @@ -3590,13 +3587,13 @@ public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -3652,7 +3649,7 @@ public Builder mergeFrom( return this; } - private com.google.type.Money maxCompensation_ = null; + private com.google.type.Money maxCompensation_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> maxCompensationBuilder_; @@ -3863,7 +3860,7 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() { return maxCompensationBuilder_; } - private com.google.type.Money minCompensation_ = null; + private com.google.type.Money minCompensation_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> minCompensationBuilder_; @@ -4068,7 +4065,7 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() { @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override @@ -4405,29 +4402,21 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.CompensationInfo other = (com.google.cloud.talent.v4beta1.CompensationInfo) obj; - boolean result = true; - result = result && getEntriesList().equals(other.getEntriesList()); - result = - result - && (hasAnnualizedBaseCompensationRange() == other.hasAnnualizedBaseCompensationRange()); + if (!getEntriesList().equals(other.getEntriesList())) return false; + if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) + return false; if (hasAnnualizedBaseCompensationRange()) { - result = - result - && getAnnualizedBaseCompensationRange() - .equals(other.getAnnualizedBaseCompensationRange()); - } - result = - result - && (hasAnnualizedTotalCompensationRange() - == other.hasAnnualizedTotalCompensationRange()); + if (!getAnnualizedBaseCompensationRange().equals(other.getAnnualizedBaseCompensationRange())) + return false; + } + if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) + return false; if (hasAnnualizedTotalCompensationRange()) { - result = - result - && getAnnualizedTotalCompensationRange() - .equals(other.getAnnualizedTotalCompensationRange()); + if (!getAnnualizedTotalCompensationRange() + .equals(other.getAnnualizedTotalCompensationRange())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -4644,7 +4633,7 @@ public com.google.cloud.talent.v4beta1.CompensationInfo buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (entriesBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { entries_ = java.util.Collections.unmodifiableList(entries_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -4669,35 +4658,35 @@ public com.google.cloud.talent.v4beta1.CompensationInfo buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -4781,7 +4770,7 @@ public Builder mergeFrom( entries_ = java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { entries_ = new java.util.ArrayList< com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry>(entries_); @@ -5236,17 +5225,14 @@ public Builder removeEntries(int index) { com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder>( - entries_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); + entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entries_ = null; } return entriesBuilder_; } private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - annualizedBaseCompensationRange_ = null; + annualizedBaseCompensationRange_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, @@ -5502,7 +5488,7 @@ public Builder clearAnnualizedBaseCompensationRange() { } private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - annualizedTotalCompensationRange_ = null; + annualizedTotalCompensationRange_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, @@ -5759,7 +5745,7 @@ public Builder clearAnnualizedTotalCompensationRange() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java index 1fccc1643e87..46e92142c689 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java @@ -27,7 +27,6 @@ private CompleteQueryRequest() { parent_ = ""; query_ = ""; languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - pageSize_ = 0; company_ = ""; scope_ = 0; type_ = 0; @@ -74,7 +73,7 @@ private CompleteQueryRequest( case 26: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } @@ -109,7 +108,7 @@ private CompleteQueryRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -121,7 +120,7 @@ private CompleteQueryRequest( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { languageCodes_ = languageCodes_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -946,16 +945,15 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.CompleteQueryRequest other = (com.google.cloud.talent.v4beta1.CompleteQueryRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && getQuery().equals(other.getQuery()); - result = result && getLanguageCodesList().equals(other.getLanguageCodesList()); - result = result && (getPageSize() == other.getPageSize()); - result = result && getCompany().equals(other.getCompany()); - result = result && scope_ == other.scope_; - result = result && type_ == other.type_; - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getParent().equals(other.getParent())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getCompany().equals(other.getCompany())) return false; + if (scope_ != other.scope_) return false; + if (type_ != other.type_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1172,7 +1170,7 @@ public com.google.cloud.talent.v4beta1.CompleteQueryRequest buildPartial() { int to_bitField0_ = 0; result.parent_ = parent_; result.query_ = query_; - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { languageCodes_ = languageCodes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } @@ -1188,35 +1186,35 @@ public com.google.cloud.talent.v4beta1.CompleteQueryRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1522,7 +1520,7 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLanguageCodesIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { + if (!((bitField0_ & 0x00000004) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000004; } @@ -2213,7 +2211,7 @@ public Builder clearType() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java index 10807621f658..0a8153535cfd 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java @@ -53,7 +53,7 @@ private CompleteQueryResponse( break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { completionResults_ = new java.util.ArrayList< com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult>(); @@ -84,7 +84,7 @@ private CompleteQueryResponse( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -96,7 +96,7 @@ private CompleteQueryResponse( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { completionResults_ = java.util.Collections.unmodifiableList(completionResults_); } this.unknownFields = unknownFields.build(); @@ -260,7 +260,7 @@ private CompletionResult( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -474,12 +474,11 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other = (com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) obj; - boolean result = true; - result = result && getSuggestion().equals(other.getSuggestion()); - result = result && type_ == other.type_; - result = result && getImageUri().equals(other.getImageUri()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getSuggestion().equals(other.getSuggestion())) return false; + if (type_ != other.type_) return false; + if (!getImageUri().equals(other.getImageUri())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -692,23 +691,23 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult bu @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override @@ -716,13 +715,13 @@ public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1054,7 +1053,7 @@ public Builder setImageUriBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override @@ -1283,14 +1282,13 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.CompleteQueryResponse other = (com.google.cloud.talent.v4beta1.CompleteQueryResponse) obj; - boolean result = true; - result = result && getCompletionResultsList().equals(other.getCompletionResultsList()); - result = result && (hasMetadata() == other.hasMetadata()); + if (!getCompletionResultsList().equals(other.getCompletionResultsList())) return false; + if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - result = result && getMetadata().equals(other.getMetadata()); + if (!getMetadata().equals(other.getMetadata())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1499,7 +1497,7 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (completionResultsBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { completionResults_ = java.util.Collections.unmodifiableList(completionResults_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -1519,35 +1517,35 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1629,7 +1627,7 @@ public Builder mergeFrom( completionResults_ = java.util.Collections.emptyList(); private void ensureCompletionResultsIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { completionResults_ = new java.util.ArrayList< com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult>( @@ -2033,7 +2031,7 @@ public Builder removeCompletionResults(int index) { com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder>( completionResults_, - ((bitField0_ & 0x00000001) == 0x00000001), + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); completionResults_ = null; @@ -2041,7 +2039,7 @@ public Builder removeCompletionResults(int index) { return completionResultsBuilder_; } - private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_ = null; + private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, @@ -2234,7 +2232,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateApplicationRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateApplicationRequest.java index e64de487246b..0c4943c8d149 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateApplicationRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateApplicationRequest.java @@ -75,7 +75,7 @@ private CreateApplicationRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -253,14 +253,13 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.CreateApplicationRequest other = (com.google.cloud.talent.v4beta1.CreateApplicationRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && (hasApplication() == other.hasApplication()); + if (!getParent().equals(other.getParent())) return false; + if (hasApplication() != other.hasApplication()) return false; if (hasApplication()) { - result = result && getApplication().equals(other.getApplication()); + if (!getApplication().equals(other.getApplication())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -469,35 +468,35 @@ public com.google.cloud.talent.v4beta1.CreateApplicationRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -664,7 +663,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.Application application_ = null; + private com.google.cloud.talent.v4beta1.Application application_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Application, com.google.cloud.talent.v4beta1.Application.Builder, @@ -857,7 +856,7 @@ public com.google.cloud.talent.v4beta1.ApplicationOrBuilder getApplicationOrBuil @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java index 205341053fea..40ac42965646 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java @@ -75,7 +75,7 @@ private CreateClientEventRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -258,14 +258,13 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.CreateClientEventRequest other = (com.google.cloud.talent.v4beta1.CreateClientEventRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && (hasClientEvent() == other.hasClientEvent()); + if (!getParent().equals(other.getParent())) return false; + if (hasClientEvent() != other.hasClientEvent()) return false; if (hasClientEvent()) { - result = result && getClientEvent().equals(other.getClientEvent()); + if (!getClientEvent().equals(other.getClientEvent())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -474,35 +473,35 @@ public com.google.cloud.talent.v4beta1.CreateClientEventRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -674,7 +673,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.ClientEvent clientEvent_ = null; + private com.google.cloud.talent.v4beta1.ClientEvent clientEvent_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.ClientEvent, com.google.cloud.talent.v4beta1.ClientEvent.Builder, @@ -876,7 +875,7 @@ public com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuil @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java index 1ffb10476510..7a08326e5816 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java @@ -75,7 +75,7 @@ private CreateCompanyRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -255,14 +255,13 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.CreateCompanyRequest other = (com.google.cloud.talent.v4beta1.CreateCompanyRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && (hasCompany() == other.hasCompany()); + if (!getParent().equals(other.getParent())) return false; + if (hasCompany() != other.hasCompany()) return false; if (hasCompany()) { - result = result && getCompany().equals(other.getCompany()); + if (!getCompany().equals(other.getCompany())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -470,35 +469,35 @@ public com.google.cloud.talent.v4beta1.CreateCompanyRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -670,7 +669,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.Company company_ = null; + private com.google.cloud.talent.v4beta1.Company company_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, @@ -862,7 +861,7 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java index 1b8d0110931a..7872acd68318 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java @@ -76,7 +76,7 @@ private CreateJobRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -254,14 +254,13 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.CreateJobRequest other = (com.google.cloud.talent.v4beta1.CreateJobRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && (hasJob() == other.hasJob()); + if (!getParent().equals(other.getParent())) return false; + if (hasJob() != other.hasJob()) return false; if (hasJob()) { - result = result && getJob().equals(other.getJob()); + if (!getJob().equals(other.getJob())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -470,35 +469,35 @@ public com.google.cloud.talent.v4beta1.CreateJobRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -669,7 +668,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.Job job_ = null; + private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, @@ -855,7 +854,7 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateProfileRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateProfileRequest.java index 4bc6ce2c11d5..73d0deb4729b 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateProfileRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateProfileRequest.java @@ -75,7 +75,7 @@ private CreateProfileRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -251,14 +251,13 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.CreateProfileRequest other = (com.google.cloud.talent.v4beta1.CreateProfileRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && (hasProfile() == other.hasProfile()); + if (!getParent().equals(other.getParent())) return false; + if (hasProfile() != other.hasProfile()) return false; if (hasProfile()) { - result = result && getProfile().equals(other.getProfile()); + if (!getProfile().equals(other.getProfile())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -466,35 +465,35 @@ public com.google.cloud.talent.v4beta1.CreateProfileRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -656,7 +655,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.Profile profile_ = null; + private com.google.cloud.talent.v4beta1.Profile profile_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Profile, com.google.cloud.talent.v4beta1.Profile.Builder, @@ -848,7 +847,7 @@ public com.google.cloud.talent.v4beta1.ProfileOrBuilder getProfileOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java index 2c99d90fa316..8a9fbce1c3dc 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java @@ -75,7 +75,7 @@ private CreateTenantRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -249,14 +249,13 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.CreateTenantRequest other = (com.google.cloud.talent.v4beta1.CreateTenantRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && (hasTenant() == other.hasTenant()); + if (!getParent().equals(other.getParent())) return false; + if (hasTenant() != other.hasTenant()) return false; if (hasTenant()) { - result = result && getTenant().equals(other.getTenant()); + if (!getTenant().equals(other.getTenant())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -464,35 +463,35 @@ public com.google.cloud.talent.v4beta1.CreateTenantRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -654,7 +653,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.Tenant tenant_ = null; + private com.google.cloud.talent.v4beta1.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, @@ -846,7 +845,7 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java index dfa5c3b82e5e..958fe6d03faa 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java @@ -24,8 +24,7 @@ private CustomAttribute(com.google.protobuf.GeneratedMessageV3.Builder builde private CustomAttribute() { stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; - longValues_ = java.util.Collections.emptyList(); - filterable_ = false; + longValues_ = emptyLongList(); } @java.lang.Override @@ -55,7 +54,7 @@ private CustomAttribute( case 10: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { stringValues_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -64,24 +63,23 @@ private CustomAttribute( } case 16: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - longValues_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + longValues_ = newLongList(); mutable_bitField0_ |= 0x00000002; } - longValues_.add(input.readInt64()); + longValues_.addLong(input.readInt64()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) - && input.getBytesUntilLimit() > 0) { - longValues_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { + longValues_ = newLongList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { - longValues_.add(input.readInt64()); + longValues_.addLong(input.readInt64()); } input.popLimit(limit); break; @@ -93,7 +91,7 @@ private CustomAttribute( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -105,11 +103,11 @@ private CustomAttribute( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { stringValues_ = stringValues_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - longValues_ = java.util.Collections.unmodifiableList(longValues_); + if (((mutable_bitField0_ & 0x00000002) != 0)) { + longValues_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -224,7 +222,7 @@ public com.google.protobuf.ByteString getStringValuesBytes(int index) { } public static final int LONG_VALUES_FIELD_NUMBER = 2; - private java.util.List longValues_; + private com.google.protobuf.Internal.LongList longValues_; /** * * @@ -283,7 +281,7 @@ public int getLongValuesCount() { * repeated int64 long_values = 2; */ public long getLongValues(int index) { - return longValues_.get(index); + return longValues_.getLong(index); } private int longValuesMemoizedSerializedSize = -1; @@ -329,7 +327,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeUInt32NoTag(longValuesMemoizedSerializedSize); } for (int i = 0; i < longValues_.size(); i++) { - output.writeInt64NoTag(longValues_.get(i)); + output.writeInt64NoTag(longValues_.getLong(i)); } if (filterable_ != false) { output.writeBool(3, filterable_); @@ -354,7 +352,8 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < longValues_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag(longValues_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag(longValues_.getLong(i)); } size += dataSize; if (!getLongValuesList().isEmpty()) { @@ -382,12 +381,11 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.CustomAttribute other = (com.google.cloud.talent.v4beta1.CustomAttribute) obj; - boolean result = true; - result = result && getStringValuesList().equals(other.getStringValuesList()); - result = result && getLongValuesList().equals(other.getLongValuesList()); - result = result && (getFilterable() == other.getFilterable()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getStringValuesList().equals(other.getStringValuesList())) return false; + if (!getLongValuesList().equals(other.getLongValuesList())) return false; + if (getFilterable() != other.getFilterable()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -554,7 +552,7 @@ public Builder clear() { super.clear(); stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); - longValues_ = java.util.Collections.emptyList(); + longValues_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000002); filterable_ = false; @@ -587,13 +585,13 @@ public com.google.cloud.talent.v4beta1.CustomAttribute buildPartial() { new com.google.cloud.talent.v4beta1.CustomAttribute(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { stringValues_ = stringValues_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.stringValues_ = stringValues_; - if (((bitField0_ & 0x00000002) == 0x00000002)) { - longValues_ = java.util.Collections.unmodifiableList(longValues_); + if (((bitField0_ & 0x00000002) != 0)) { + longValues_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000002); } result.longValues_ = longValues_; @@ -605,35 +603,35 @@ public com.google.cloud.talent.v4beta1.CustomAttribute buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -707,7 +705,7 @@ public Builder mergeFrom( com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStringValuesIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { stringValues_ = new com.google.protobuf.LazyStringArrayList(stringValues_); bitField0_ |= 0x00000001; } @@ -936,11 +934,11 @@ public Builder addStringValuesBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List longValues_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.LongList longValues_ = emptyLongList(); private void ensureLongValuesIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { - longValues_ = new java.util.ArrayList(longValues_); + if (!((bitField0_ & 0x00000002) != 0)) { + longValues_ = mutableCopy(longValues_); bitField0_ |= 0x00000002; } } @@ -962,7 +960,9 @@ private void ensureLongValuesIsMutable() { * repeated int64 long_values = 2; */ public java.util.List getLongValuesList() { - return java.util.Collections.unmodifiableList(longValues_); + return ((bitField0_ & 0x00000002) != 0) + ? java.util.Collections.unmodifiableList(longValues_) + : longValues_; } /** * @@ -1002,7 +1002,7 @@ public int getLongValuesCount() { * repeated int64 long_values = 2; */ public long getLongValues(int index) { - return longValues_.get(index); + return longValues_.getLong(index); } /** * @@ -1023,7 +1023,7 @@ public long getLongValues(int index) { */ public Builder setLongValues(int index, long value) { ensureLongValuesIsMutable(); - longValues_.set(index, value); + longValues_.setLong(index, value); onChanged(); return this; } @@ -1046,7 +1046,7 @@ public Builder setLongValues(int index, long value) { */ public Builder addLongValues(long value) { ensureLongValuesIsMutable(); - longValues_.add(value); + longValues_.addLong(value); onChanged(); return this; } @@ -1091,7 +1091,7 @@ public Builder addAllLongValues(java.lang.Iterable val * repeated int64 long_values = 2; */ public Builder clearLongValues() { - longValues_ = java.util.Collections.emptyList(); + longValues_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; @@ -1152,7 +1152,7 @@ public Builder clearFilterable() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Degree.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Degree.java index 68640edd5605..395f70a4f4bc 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Degree.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Degree.java @@ -69,7 +69,7 @@ private Degree( case 26: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { fieldsOfStudy_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } @@ -78,7 +78,7 @@ private Degree( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -90,7 +90,7 @@ private Degree( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { fieldsOfStudy_ = fieldsOfStudy_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -321,12 +321,11 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.talent.v4beta1.Degree other = (com.google.cloud.talent.v4beta1.Degree) obj; - boolean result = true; - result = result && degreeType_ == other.degreeType_; - result = result && getDegreeName().equals(other.getDegreeName()); - result = result && getFieldsOfStudyList().equals(other.getFieldsOfStudyList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (degreeType_ != other.degreeType_) return false; + if (!getDegreeName().equals(other.getDegreeName())) return false; + if (!getFieldsOfStudyList().equals(other.getFieldsOfStudyList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -526,7 +525,7 @@ public com.google.cloud.talent.v4beta1.Degree buildPartial() { int to_bitField0_ = 0; result.degreeType_ = degreeType_; result.degreeName_ = degreeName_; - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { fieldsOfStudy_ = fieldsOfStudy_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } @@ -538,35 +537,35 @@ public com.google.cloud.talent.v4beta1.Degree buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -823,7 +822,7 @@ public Builder setDegreeNameBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFieldsOfStudyIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { + if (!((bitField0_ & 0x00000004) != 0)) { fieldsOfStudy_ = new com.google.protobuf.LazyStringArrayList(fieldsOfStudy_); bitField0_ |= 0x00000004; } @@ -991,7 +990,7 @@ public Builder addFieldsOfStudyBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteApplicationRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteApplicationRequest.java index e3a5b8bb5098..72adaf23c2d9 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteApplicationRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteApplicationRequest.java @@ -59,7 +59,7 @@ private DeleteApplicationRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -189,10 +189,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.DeleteApplicationRequest other = (com.google.cloud.talent.v4beta1.DeleteApplicationRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getName().equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -386,35 +385,35 @@ public com.google.cloud.talent.v4beta1.DeleteApplicationRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -585,7 +584,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java index 7c95d4c8b9bd..f36d424d7fcc 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java @@ -59,7 +59,7 @@ private DeleteCompanyRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -191,10 +191,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.DeleteCompanyRequest other = (com.google.cloud.talent.v4beta1.DeleteCompanyRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getName().equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -387,35 +386,35 @@ public com.google.cloud.talent.v4beta1.DeleteCompanyRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -591,7 +590,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java index fc370f961d60..444e7cc431e7 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java @@ -60,7 +60,7 @@ private DeleteJobRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -192,10 +192,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.DeleteJobRequest other = (com.google.cloud.talent.v4beta1.DeleteJobRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getName().equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -389,35 +388,35 @@ public com.google.cloud.talent.v4beta1.DeleteJobRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -592,7 +591,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteProfileRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteProfileRequest.java index 382bffe0e76c..4b2489ad3af8 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteProfileRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteProfileRequest.java @@ -59,7 +59,7 @@ private DeleteProfileRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -187,10 +187,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.DeleteProfileRequest other = (com.google.cloud.talent.v4beta1.DeleteProfileRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getName().equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -383,35 +382,35 @@ public com.google.cloud.talent.v4beta1.DeleteProfileRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -577,7 +576,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java index 4739050142e8..df47126d8167 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java @@ -59,7 +59,7 @@ private DeleteTenantRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -185,10 +185,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.DeleteTenantRequest other = (com.google.cloud.talent.v4beta1.DeleteTenantRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getName().equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -381,35 +380,35 @@ public com.google.cloud.talent.v4beta1.DeleteTenantRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -570,7 +569,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java index 98de700c318a..4f678c5fd077 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java @@ -69,7 +69,7 @@ private DeviceInfo( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -476,11 +476,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.DeviceInfo other = (com.google.cloud.talent.v4beta1.DeviceInfo) obj; - boolean result = true; - result = result && deviceType_ == other.deviceType_; - result = result && getId().equals(other.getId()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (deviceType_ != other.deviceType_) return false; + if (!getId().equals(other.getId())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -680,35 +679,35 @@ public com.google.cloud.talent.v4beta1.DeviceInfo buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -948,7 +947,7 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EducationFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EducationFilter.java index 63a5deb31220..f8f90e49c53b 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EducationFilter.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EducationFilter.java @@ -27,7 +27,6 @@ private EducationFilter() { school_ = ""; fieldOfStudy_ = ""; degreeType_ = 0; - negated_ = false; } @java.lang.Override @@ -82,7 +81,7 @@ private EducationFilter( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -326,13 +325,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.EducationFilter other = (com.google.cloud.talent.v4beta1.EducationFilter) obj; - boolean result = true; - result = result && getSchool().equals(other.getSchool()); - result = result && getFieldOfStudy().equals(other.getFieldOfStudy()); - result = result && degreeType_ == other.degreeType_; - result = result && (getNegated() == other.getNegated()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getSchool().equals(other.getSchool())) return false; + if (!getFieldOfStudy().equals(other.getFieldOfStudy())) return false; + if (degreeType_ != other.degreeType_) return false; + if (getNegated() != other.getNegated()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -541,35 +539,35 @@ public com.google.cloud.talent.v4beta1.EducationFilter buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -979,7 +977,7 @@ public Builder clearNegated() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EducationRecord.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EducationRecord.java index a839d523931a..42c3b927392f 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EducationRecord.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EducationRecord.java @@ -180,7 +180,7 @@ private EducationRecord( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -877,45 +877,43 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.EducationRecord other = (com.google.cloud.talent.v4beta1.EducationRecord) obj; - boolean result = true; - result = result && (hasStartDate() == other.hasStartDate()); + if (hasStartDate() != other.hasStartDate()) return false; if (hasStartDate()) { - result = result && getStartDate().equals(other.getStartDate()); + if (!getStartDate().equals(other.getStartDate())) return false; } - result = result && (hasEndDate() == other.hasEndDate()); + if (hasEndDate() != other.hasEndDate()) return false; if (hasEndDate()) { - result = result && getEndDate().equals(other.getEndDate()); + if (!getEndDate().equals(other.getEndDate())) return false; } - result = result && (hasExpectedGraduationDate() == other.hasExpectedGraduationDate()); + if (hasExpectedGraduationDate() != other.hasExpectedGraduationDate()) return false; if (hasExpectedGraduationDate()) { - result = result && getExpectedGraduationDate().equals(other.getExpectedGraduationDate()); + if (!getExpectedGraduationDate().equals(other.getExpectedGraduationDate())) return false; } - result = result && getSchoolName().equals(other.getSchoolName()); - result = result && (hasAddress() == other.hasAddress()); + if (!getSchoolName().equals(other.getSchoolName())) return false; + if (hasAddress() != other.hasAddress()) return false; if (hasAddress()) { - result = result && getAddress().equals(other.getAddress()); + if (!getAddress().equals(other.getAddress())) return false; } - result = result && getDescription().equals(other.getDescription()); - result = result && (hasIsCurrent() == other.hasIsCurrent()); + if (!getDescription().equals(other.getDescription())) return false; + if (hasIsCurrent() != other.hasIsCurrent()) return false; if (hasIsCurrent()) { - result = result && getIsCurrent().equals(other.getIsCurrent()); + if (!getIsCurrent().equals(other.getIsCurrent())) return false; } - result = result && getSchoolNameSnippet().equals(other.getSchoolNameSnippet()); - result = result && getDegreeSnippet().equals(other.getDegreeSnippet()); - result = result && getDegreeCase().equals(other.getDegreeCase()); - if (!result) return false; + if (!getSchoolNameSnippet().equals(other.getSchoolNameSnippet())) return false; + if (!getDegreeSnippet().equals(other.getDegreeSnippet())) return false; + if (!getDegreeCase().equals(other.getDegreeCase())) return false; switch (degreeCase_) { case 6: - result = result && getDegreeDescription().equals(other.getDegreeDescription()); + if (!getDegreeDescription().equals(other.getDegreeDescription())) return false; break; case 7: - result = result && getStructuredDegree().equals(other.getStructuredDegree()); + if (!getStructuredDegree().equals(other.getStructuredDegree())) return false; break; case 0: default: } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1223,35 +1221,35 @@ public com.google.cloud.talent.v4beta1.EducationRecord buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1359,7 +1357,7 @@ public Builder clearDegree() { return this; } - private com.google.type.Date startDate_ = null; + private com.google.type.Date startDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> startDateBuilder_; @@ -1536,7 +1534,7 @@ public com.google.type.DateOrBuilder getStartDateOrBuilder() { return startDateBuilder_; } - private com.google.type.Date endDate_ = null; + private com.google.type.Date endDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> endDateBuilder_; @@ -1713,7 +1711,7 @@ public com.google.type.DateOrBuilder getEndDateOrBuilder() { return endDateBuilder_; } - private com.google.type.Date expectedGraduationDate_ = null; + private com.google.type.Date expectedGraduationDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> expectedGraduationDateBuilder_; @@ -2006,7 +2004,7 @@ public Builder setSchoolNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.Address address_ = null; + private com.google.cloud.talent.v4beta1.Address address_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Address, com.google.cloud.talent.v4beta1.Address.Builder, @@ -2631,7 +2629,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.BoolValue isCurrent_ = null; + private com.google.protobuf.BoolValue isCurrent_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, @@ -3045,7 +3043,7 @@ public Builder setDegreeSnippetBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Email.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Email.java index 8d5623f7194d..1f36c1979b3d 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Email.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Email.java @@ -67,7 +67,7 @@ private Email( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -232,11 +232,10 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.talent.v4beta1.Email other = (com.google.cloud.talent.v4beta1.Email) obj; - boolean result = true; - result = result && usage_ == other.usage_; - result = result && getEmailAddress().equals(other.getEmailAddress()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (usage_ != other.usage_) return false; + if (!getEmailAddress().equals(other.getEmailAddress())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -433,35 +432,35 @@ public com.google.cloud.talent.v4beta1.Email buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -701,7 +700,7 @@ public Builder setEmailAddressBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmployerFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmployerFilter.java index 1bcb27c02484..2e327abfc3a6 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmployerFilter.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmployerFilter.java @@ -26,7 +26,6 @@ private EmployerFilter(com.google.protobuf.GeneratedMessageV3.Builder builder private EmployerFilter() { employer_ = ""; mode_ = 0; - negated_ = false; } @java.lang.Override @@ -74,7 +73,7 @@ private EmployerFilter( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -451,12 +450,11 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.EmployerFilter other = (com.google.cloud.talent.v4beta1.EmployerFilter) obj; - boolean result = true; - result = result && getEmployer().equals(other.getEmployer()); - result = result && mode_ == other.mode_; - result = result && (getNegated() == other.getNegated()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getEmployer().equals(other.getEmployer())) return false; + if (mode_ != other.mode_) return false; + if (getNegated() != other.getNegated()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -660,35 +658,35 @@ public com.google.cloud.talent.v4beta1.EmployerFilter buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -997,7 +995,7 @@ public Builder clearNegated() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentRecord.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentRecord.java index b3b353d8f26c..72c0eda235b5 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentRecord.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentRecord.java @@ -196,7 +196,7 @@ private EmploymentRecord( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -983,40 +983,39 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.EmploymentRecord other = (com.google.cloud.talent.v4beta1.EmploymentRecord) obj; - boolean result = true; - result = result && (hasStartDate() == other.hasStartDate()); + if (hasStartDate() != other.hasStartDate()) return false; if (hasStartDate()) { - result = result && getStartDate().equals(other.getStartDate()); + if (!getStartDate().equals(other.getStartDate())) return false; } - result = result && (hasEndDate() == other.hasEndDate()); + if (hasEndDate() != other.hasEndDate()) return false; if (hasEndDate()) { - result = result && getEndDate().equals(other.getEndDate()); + if (!getEndDate().equals(other.getEndDate())) return false; } - result = result && getEmployerName().equals(other.getEmployerName()); - result = result && getDivisionName().equals(other.getDivisionName()); - result = result && (hasAddress() == other.hasAddress()); + if (!getEmployerName().equals(other.getEmployerName())) return false; + if (!getDivisionName().equals(other.getDivisionName())) return false; + if (hasAddress() != other.hasAddress()) return false; if (hasAddress()) { - result = result && getAddress().equals(other.getAddress()); + if (!getAddress().equals(other.getAddress())) return false; } - result = result && getJobTitle().equals(other.getJobTitle()); - result = result && getJobDescription().equals(other.getJobDescription()); - result = result && (hasIsSupervisor() == other.hasIsSupervisor()); + if (!getJobTitle().equals(other.getJobTitle())) return false; + if (!getJobDescription().equals(other.getJobDescription())) return false; + if (hasIsSupervisor() != other.hasIsSupervisor()) return false; if (hasIsSupervisor()) { - result = result && getIsSupervisor().equals(other.getIsSupervisor()); + if (!getIsSupervisor().equals(other.getIsSupervisor())) return false; } - result = result && (hasIsSelfEmployed() == other.hasIsSelfEmployed()); + if (hasIsSelfEmployed() != other.hasIsSelfEmployed()) return false; if (hasIsSelfEmployed()) { - result = result && getIsSelfEmployed().equals(other.getIsSelfEmployed()); + if (!getIsSelfEmployed().equals(other.getIsSelfEmployed())) return false; } - result = result && (hasIsCurrent() == other.hasIsCurrent()); + if (hasIsCurrent() != other.hasIsCurrent()) return false; if (hasIsCurrent()) { - result = result && getIsCurrent().equals(other.getIsCurrent()); + if (!getIsCurrent().equals(other.getIsCurrent())) return false; } - result = result && getJobTitleSnippet().equals(other.getJobTitleSnippet()); - result = result && getJobDescriptionSnippet().equals(other.getJobDescriptionSnippet()); - result = result && getEmployerNameSnippet().equals(other.getEmployerNameSnippet()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getJobTitleSnippet().equals(other.getJobTitleSnippet())) return false; + if (!getJobDescriptionSnippet().equals(other.getJobDescriptionSnippet())) return false; + if (!getEmployerNameSnippet().equals(other.getEmployerNameSnippet())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1329,35 +1328,35 @@ public com.google.cloud.talent.v4beta1.EmploymentRecord buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1448,7 +1447,7 @@ public Builder mergeFrom( return this; } - private com.google.type.Date startDate_ = null; + private com.google.type.Date startDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> startDateBuilder_; @@ -1724,7 +1723,7 @@ public com.google.type.DateOrBuilder getStartDateOrBuilder() { return startDateBuilder_; } - private com.google.type.Date endDate_ = null; + private com.google.type.Date endDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> endDateBuilder_; @@ -2119,7 +2118,7 @@ public Builder setDivisionNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.Address address_ = null; + private com.google.cloud.talent.v4beta1.Address address_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Address, com.google.cloud.talent.v4beta1.Address.Builder, @@ -2522,7 +2521,7 @@ public Builder setJobDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.BoolValue isSupervisor_ = null; + private com.google.protobuf.BoolValue isSupervisor_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, @@ -2712,7 +2711,7 @@ public com.google.protobuf.BoolValueOrBuilder getIsSupervisorOrBuilder() { return isSupervisorBuilder_; } - private com.google.protobuf.BoolValue isSelfEmployed_ = null; + private com.google.protobuf.BoolValue isSelfEmployed_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, @@ -2902,7 +2901,7 @@ public com.google.protobuf.BoolValueOrBuilder getIsSelfEmployedOrBuilder() { return isSelfEmployedBuilder_; } - private com.google.protobuf.BoolValue isCurrent_ = null; + private com.google.protobuf.BoolValue isCurrent_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, @@ -3430,7 +3429,7 @@ public Builder setEmployerNameSnippetBytes(com.google.protobuf.ByteString value) @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetApplicationRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetApplicationRequest.java index 03a7d4e957e0..00b992d2751f 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetApplicationRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetApplicationRequest.java @@ -59,7 +59,7 @@ private GetApplicationRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -189,10 +189,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.GetApplicationRequest other = (com.google.cloud.talent.v4beta1.GetApplicationRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getName().equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -386,35 +385,35 @@ public com.google.cloud.talent.v4beta1.GetApplicationRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -585,7 +584,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java index e0754d13e557..4c10769d12f2 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java @@ -59,7 +59,7 @@ private GetCompanyRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -191,10 +191,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.GetCompanyRequest other = (com.google.cloud.talent.v4beta1.GetCompanyRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getName().equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -387,35 +386,35 @@ public com.google.cloud.talent.v4beta1.GetCompanyRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -591,7 +590,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java index ce9cf0e042d0..5c5a05f7fca5 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java @@ -60,7 +60,7 @@ private GetJobRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -192,10 +192,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.GetJobRequest other = (com.google.cloud.talent.v4beta1.GetJobRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getName().equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -389,35 +388,35 @@ public com.google.cloud.talent.v4beta1.GetJobRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -591,7 +590,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetProfileRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetProfileRequest.java index aa2092ef850e..6529b6067cdb 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetProfileRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetProfileRequest.java @@ -59,7 +59,7 @@ private GetProfileRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -187,10 +187,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.GetProfileRequest other = (com.google.cloud.talent.v4beta1.GetProfileRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getName().equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -383,35 +382,35 @@ public com.google.cloud.talent.v4beta1.GetProfileRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -577,7 +576,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java index 947fa851628b..187216f0afd5 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java @@ -59,7 +59,7 @@ private GetTenantRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -185,10 +185,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.GetTenantRequest other = (com.google.cloud.talent.v4beta1.GetTenantRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getName().equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -381,35 +380,35 @@ public com.google.cloud.talent.v4beta1.GetTenantRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -569,7 +568,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java index 148d1eaefbd8..f7d57b4973ac 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java @@ -60,7 +60,7 @@ private HistogramQuery( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -192,10 +192,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.HistogramQuery other = (com.google.cloud.talent.v4beta1.HistogramQuery) obj; - boolean result = true; - result = result && getHistogramQuery().equals(other.getHistogramQuery()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getHistogramQuery().equals(other.getHistogramQuery())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -389,35 +388,35 @@ public com.google.cloud.talent.v4beta1.HistogramQuery buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -591,7 +590,7 @@ public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java index 3354371df173..01251c1d26c1 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java @@ -60,7 +60,7 @@ private HistogramQueryResult( } case 18: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { histogram_ = com.google.protobuf.MapField.newMapField( HistogramDefaultEntryHolder.defaultEntry); @@ -75,7 +75,7 @@ private HistogramQueryResult( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -340,11 +340,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.HistogramQueryResult other = (com.google.cloud.talent.v4beta1.HistogramQueryResult) obj; - boolean result = true; - result = result && getHistogramQuery().equals(other.getHistogramQuery()); - result = result && internalGetHistogram().equals(other.internalGetHistogram()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getHistogramQuery().equals(other.getHistogramQuery())) return false; + if (!internalGetHistogram().equals(other.internalGetHistogram())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -568,35 +567,35 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResult buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -944,7 +943,7 @@ public Builder putAllHistogram(java.util.Map v @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Interview.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Interview.java index 0afc017d614d..80b5f781ff35 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Interview.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Interview.java @@ -75,7 +75,7 @@ private Interview( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -234,14 +234,13 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.Interview other = (com.google.cloud.talent.v4beta1.Interview) obj; - boolean result = true; - result = result && (hasRating() == other.hasRating()); + if (hasRating() != other.hasRating()) return false; if (hasRating()) { - result = result && getRating().equals(other.getRating()); + if (!getRating().equals(other.getRating())) return false; } - result = result && outcome_ == other.outcome_; - result = result && unknownFields.equals(other.unknownFields); - return result; + if (outcome_ != other.outcome_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -449,35 +448,35 @@ public com.google.cloud.talent.v4beta1.Interview buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -527,7 +526,7 @@ public Builder mergeFrom( return this; } - private com.google.cloud.talent.v4beta1.Rating rating_ = null; + private com.google.cloud.talent.v4beta1.Rating rating_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Rating, com.google.cloud.talent.v4beta1.Rating.Builder, @@ -805,7 +804,7 @@ public Builder clearOutcome() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java index 3cca7153dd31..271504635d6a 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java @@ -39,7 +39,6 @@ private Job() { incentives_ = ""; languageCode_ = ""; jobLevel_ = 0; - promotionValue_ = 0; qualifications_ = ""; responsibilities_ = ""; postingRegion_ = 0; @@ -109,7 +108,7 @@ private Job( case 50: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { addresses_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000020; } @@ -136,7 +135,7 @@ private Job( case 64: { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { + if (!((mutable_bitField0_ & 0x00000080) != 0)) { jobBenefits_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } @@ -149,7 +148,7 @@ private Job( int oldLimit = input.pushLimit(length); while (input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { + if (!((mutable_bitField0_ & 0x00000080) != 0)) { jobBenefits_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } @@ -176,7 +175,7 @@ private Job( } case 82: { - if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { + if (!((mutable_bitField0_ & 0x00000200) != 0)) { customAttributes_ = com.google.protobuf.MapField.newMapField( CustomAttributesDefaultEntryHolder.defaultEntry); @@ -196,7 +195,7 @@ private Job( case 88: { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) { + if (!((mutable_bitField0_ & 0x00000400) != 0)) { degreeTypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000400; } @@ -209,7 +208,7 @@ private Job( int oldLimit = input.pushLimit(length); while (input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) { + if (!((mutable_bitField0_ & 0x00000400) != 0)) { degreeTypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000400; } @@ -228,7 +227,7 @@ private Job( case 104: { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) { + if (!((mutable_bitField0_ & 0x00001000) != 0)) { employmentTypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00001000; } @@ -241,7 +240,7 @@ private Job( int oldLimit = input.pushLimit(length); while (input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) { + if (!((mutable_bitField0_ & 0x00001000) != 0)) { employmentTypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00001000; } @@ -436,7 +435,7 @@ private Job( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -448,16 +447,16 @@ private Job( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + if (((mutable_bitField0_ & 0x00000020) != 0)) { addresses_ = addresses_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { + if (((mutable_bitField0_ & 0x00000080) != 0)) { jobBenefits_ = java.util.Collections.unmodifiableList(jobBenefits_); } - if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) { + if (((mutable_bitField0_ & 0x00000400) != 0)) { degreeTypes_ = java.util.Collections.unmodifiableList(degreeTypes_); } - if (((mutable_bitField0_ & 0x00001000) == 0x00001000)) { + if (((mutable_bitField0_ & 0x00001000) != 0)) { employmentTypes_ = java.util.Collections.unmodifiableList(employmentTypes_); } this.unknownFields = unknownFields.build(); @@ -725,7 +724,7 @@ private ApplicationInfo( case 10: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { emails_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -742,7 +741,7 @@ private ApplicationInfo( case 26: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } @@ -751,7 +750,7 @@ private ApplicationInfo( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -763,10 +762,10 @@ private ApplicationInfo( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { emails_ = emails_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { uris_ = uris_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -1076,12 +1075,11 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.Job.ApplicationInfo other = (com.google.cloud.talent.v4beta1.Job.ApplicationInfo) obj; - boolean result = true; - result = result && getEmailsList().equals(other.getEmailsList()); - result = result && getInstruction().equals(other.getInstruction()); - result = result && getUrisList().equals(other.getUrisList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getEmailsList().equals(other.getEmailsList())) return false; + if (!getInstruction().equals(other.getInstruction())) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1284,13 +1282,13 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo buildPartial() { new com.google.cloud.talent.v4beta1.Job.ApplicationInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { emails_ = emails_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.emails_ = emails_; result.instruction_ = instruction_; - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { uris_ = uris_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } @@ -1302,23 +1300,23 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override @@ -1326,13 +1324,13 @@ public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1408,7 +1406,7 @@ public Builder mergeFrom( com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureEmailsIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { emails_ = new com.google.protobuf.LazyStringArrayList(emails_); bitField0_ |= 0x00000001; } @@ -1753,7 +1751,7 @@ public Builder setInstructionBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { + if (!((bitField0_ & 0x00000004) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000004; } @@ -1958,7 +1956,7 @@ public Builder addUrisBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override @@ -2201,7 +2199,7 @@ private DerivedInfo( break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { locations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -2213,7 +2211,7 @@ private DerivedInfo( case 24: { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { jobCategories_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } @@ -2226,7 +2224,7 @@ private DerivedInfo( int oldLimit = input.pushLimit(length); while (input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { jobCategories_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } @@ -2237,7 +2235,7 @@ private DerivedInfo( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -2249,10 +2247,10 @@ private DerivedInfo( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { locations_ = java.util.Collections.unmodifiableList(locations_); } - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { jobCategories_ = java.util.Collections.unmodifiableList(jobCategories_); } this.unknownFields = unknownFields.build(); @@ -2521,11 +2519,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.Job.DerivedInfo other = (com.google.cloud.talent.v4beta1.Job.DerivedInfo) obj; - boolean result = true; - result = result && getLocationsList().equals(other.getLocationsList()); - result = result && jobCategories_.equals(other.jobCategories_); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getLocationsList().equals(other.getLocationsList())) return false; + if (!jobCategories_.equals(other.jobCategories_)) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -2730,7 +2727,7 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfo buildPartial() { new com.google.cloud.talent.v4beta1.Job.DerivedInfo(this); int from_bitField0_ = bitField0_; if (locationsBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { locations_ = java.util.Collections.unmodifiableList(locations_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -2738,7 +2735,7 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfo buildPartial() { } else { result.locations_ = locationsBuilder_.build(); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { jobCategories_ = java.util.Collections.unmodifiableList(jobCategories_); bitField0_ = (bitField0_ & ~0x00000002); } @@ -2749,23 +2746,23 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfo buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override @@ -2773,13 +2770,13 @@ public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -2868,7 +2865,7 @@ public Builder mergeFrom( java.util.Collections.emptyList(); private void ensureLocationsIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new java.util.ArrayList(locations_); bitField0_ |= 0x00000001; @@ -3299,10 +3296,7 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder(int com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>( - locations_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); + locations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); locations_ = null; } return locationsBuilder_; @@ -3311,7 +3305,7 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder(int private java.util.List jobCategories_ = java.util.Collections.emptyList(); private void ensureJobCategoriesIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000002) != 0)) { jobCategories_ = new java.util.ArrayList(jobCategories_); bitField0_ |= 0x00000002; } @@ -3523,7 +3517,7 @@ public Builder addAllJobCategoriesValue(java.lang.Iterable va @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override @@ -3652,7 +3646,6 @@ private ProcessingOptions(com.google.protobuf.GeneratedMessageV3.Builder buil } private ProcessingOptions() { - disableStreetAddressResolution_ = false; htmlSanitization_ = 0; } @@ -3694,7 +3687,7 @@ private ProcessingOptions( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -3852,13 +3845,11 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.Job.ProcessingOptions other = (com.google.cloud.talent.v4beta1.Job.ProcessingOptions) obj; - boolean result = true; - result = - result - && (getDisableStreetAddressResolution() == other.getDisableStreetAddressResolution()); - result = result && htmlSanitization_ == other.htmlSanitization_; - result = result && unknownFields.equals(other.unknownFields); - return result; + if (getDisableStreetAddressResolution() != other.getDisableStreetAddressResolution()) + return false; + if (htmlSanitization_ != other.htmlSanitization_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -4062,23 +4053,23 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override @@ -4086,13 +4077,13 @@ public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -4325,7 +4316,7 @@ public Builder clearHtmlSanitization() { @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override @@ -6459,69 +6450,68 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.talent.v4beta1.Job other = (com.google.cloud.talent.v4beta1.Job) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && getCompany().equals(other.getCompany()); - result = result && getRequisitionId().equals(other.getRequisitionId()); - result = result && getTitle().equals(other.getTitle()); - result = result && getDescription().equals(other.getDescription()); - result = result && getAddressesList().equals(other.getAddressesList()); - result = result && (hasApplicationInfo() == other.hasApplicationInfo()); + if (!getName().equals(other.getName())) return false; + if (!getCompany().equals(other.getCompany())) return false; + if (!getRequisitionId().equals(other.getRequisitionId())) return false; + if (!getTitle().equals(other.getTitle())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getAddressesList().equals(other.getAddressesList())) return false; + if (hasApplicationInfo() != other.hasApplicationInfo()) return false; if (hasApplicationInfo()) { - result = result && getApplicationInfo().equals(other.getApplicationInfo()); + if (!getApplicationInfo().equals(other.getApplicationInfo())) return false; } - result = result && jobBenefits_.equals(other.jobBenefits_); - result = result && (hasCompensationInfo() == other.hasCompensationInfo()); + if (!jobBenefits_.equals(other.jobBenefits_)) return false; + if (hasCompensationInfo() != other.hasCompensationInfo()) return false; if (hasCompensationInfo()) { - result = result && getCompensationInfo().equals(other.getCompensationInfo()); - } - result = result && internalGetCustomAttributes().equals(other.internalGetCustomAttributes()); - result = result && degreeTypes_.equals(other.degreeTypes_); - result = result && getDepartment().equals(other.getDepartment()); - result = result && employmentTypes_.equals(other.employmentTypes_); - result = result && getIncentives().equals(other.getIncentives()); - result = result && getLanguageCode().equals(other.getLanguageCode()); - result = result && jobLevel_ == other.jobLevel_; - result = result && (getPromotionValue() == other.getPromotionValue()); - result = result && getQualifications().equals(other.getQualifications()); - result = result && getResponsibilities().equals(other.getResponsibilities()); - result = result && postingRegion_ == other.postingRegion_; - result = result && visibility_ == other.visibility_; - result = result && (hasJobStartTime() == other.hasJobStartTime()); + if (!getCompensationInfo().equals(other.getCompensationInfo())) return false; + } + if (!internalGetCustomAttributes().equals(other.internalGetCustomAttributes())) return false; + if (!degreeTypes_.equals(other.degreeTypes_)) return false; + if (!getDepartment().equals(other.getDepartment())) return false; + if (!employmentTypes_.equals(other.employmentTypes_)) return false; + if (!getIncentives().equals(other.getIncentives())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (jobLevel_ != other.jobLevel_) return false; + if (getPromotionValue() != other.getPromotionValue()) return false; + if (!getQualifications().equals(other.getQualifications())) return false; + if (!getResponsibilities().equals(other.getResponsibilities())) return false; + if (postingRegion_ != other.postingRegion_) return false; + if (visibility_ != other.visibility_) return false; + if (hasJobStartTime() != other.hasJobStartTime()) return false; if (hasJobStartTime()) { - result = result && getJobStartTime().equals(other.getJobStartTime()); + if (!getJobStartTime().equals(other.getJobStartTime())) return false; } - result = result && (hasJobEndTime() == other.hasJobEndTime()); + if (hasJobEndTime() != other.hasJobEndTime()) return false; if (hasJobEndTime()) { - result = result && getJobEndTime().equals(other.getJobEndTime()); + if (!getJobEndTime().equals(other.getJobEndTime())) return false; } - result = result && (hasPostingPublishTime() == other.hasPostingPublishTime()); + if (hasPostingPublishTime() != other.hasPostingPublishTime()) return false; if (hasPostingPublishTime()) { - result = result && getPostingPublishTime().equals(other.getPostingPublishTime()); + if (!getPostingPublishTime().equals(other.getPostingPublishTime())) return false; } - result = result && (hasPostingExpireTime() == other.hasPostingExpireTime()); + if (hasPostingExpireTime() != other.hasPostingExpireTime()) return false; if (hasPostingExpireTime()) { - result = result && getPostingExpireTime().equals(other.getPostingExpireTime()); + if (!getPostingExpireTime().equals(other.getPostingExpireTime())) return false; } - result = result && (hasPostingCreateTime() == other.hasPostingCreateTime()); + if (hasPostingCreateTime() != other.hasPostingCreateTime()) return false; if (hasPostingCreateTime()) { - result = result && getPostingCreateTime().equals(other.getPostingCreateTime()); + if (!getPostingCreateTime().equals(other.getPostingCreateTime())) return false; } - result = result && (hasPostingUpdateTime() == other.hasPostingUpdateTime()); + if (hasPostingUpdateTime() != other.hasPostingUpdateTime()) return false; if (hasPostingUpdateTime()) { - result = result && getPostingUpdateTime().equals(other.getPostingUpdateTime()); + if (!getPostingUpdateTime().equals(other.getPostingUpdateTime())) return false; } - result = result && getCompanyDisplayName().equals(other.getCompanyDisplayName()); - result = result && (hasDerivedInfo() == other.hasDerivedInfo()); + if (!getCompanyDisplayName().equals(other.getCompanyDisplayName())) return false; + if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - result = result && getDerivedInfo().equals(other.getDerivedInfo()); + if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; } - result = result && (hasProcessingOptions() == other.hasProcessingOptions()); + if (hasProcessingOptions() != other.hasProcessingOptions()) return false; if (hasProcessingOptions()) { - result = result && getProcessingOptions().equals(other.getProcessingOptions()); + if (!getProcessingOptions().equals(other.getProcessingOptions())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -6920,7 +6910,7 @@ public com.google.cloud.talent.v4beta1.Job buildPartial() { result.requisitionId_ = requisitionId_; result.title_ = title_; result.description_ = description_; - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { addresses_ = addresses_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000020); } @@ -6930,7 +6920,7 @@ public com.google.cloud.talent.v4beta1.Job buildPartial() { } else { result.applicationInfo_ = applicationInfoBuilder_.build(); } - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { jobBenefits_ = java.util.Collections.unmodifiableList(jobBenefits_); bitField0_ = (bitField0_ & ~0x00000080); } @@ -6942,13 +6932,13 @@ public com.google.cloud.talent.v4beta1.Job buildPartial() { } result.customAttributes_ = internalGetCustomAttributes(); result.customAttributes_.makeImmutable(); - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { degreeTypes_ = java.util.Collections.unmodifiableList(degreeTypes_); bitField0_ = (bitField0_ & ~0x00000400); } result.degreeTypes_ = degreeTypes_; result.department_ = department_; - if (((bitField0_ & 0x00001000) == 0x00001000)) { + if (((bitField0_ & 0x00001000) != 0)) { employmentTypes_ = java.util.Collections.unmodifiableList(employmentTypes_); bitField0_ = (bitField0_ & ~0x00001000); } @@ -7009,35 +6999,35 @@ public com.google.cloud.talent.v4beta1.Job buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -7859,7 +7849,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAddressesIsMutable() { - if (!((bitField0_ & 0x00000020) == 0x00000020)) { + if (!((bitField0_ & 0x00000020) != 0)) { addresses_ = new com.google.protobuf.LazyStringArrayList(addresses_); bitField0_ |= 0x00000020; } @@ -8133,7 +8123,7 @@ public Builder addAddressesBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.Job.ApplicationInfo applicationInfo_ = null; + private com.google.cloud.talent.v4beta1.Job.ApplicationInfo applicationInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Job.ApplicationInfo, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, @@ -8346,7 +8336,7 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder getApplicatio private java.util.List jobBenefits_ = java.util.Collections.emptyList(); private void ensureJobBenefitsIsMutable() { - if (!((bitField0_ & 0x00000080) == 0x00000080)) { + if (!((bitField0_ & 0x00000080) != 0)) { jobBenefits_ = new java.util.ArrayList(jobBenefits_); bitField0_ |= 0x00000080; } @@ -8542,7 +8532,7 @@ public Builder addAllJobBenefitsValue(java.lang.Iterable valu return this; } - private com.google.cloud.talent.v4beta1.CompensationInfo compensationInfo_ = null; + private com.google.cloud.talent.v4beta1.CompensationInfo compensationInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.CompensationInfo, com.google.cloud.talent.v4beta1.CompensationInfo.Builder, @@ -8991,7 +8981,7 @@ public Builder putAllCustomAttributes( private java.util.List degreeTypes_ = java.util.Collections.emptyList(); private void ensureDegreeTypesIsMutable() { - if (!((bitField0_ & 0x00000400) == 0x00000400)) { + if (!((bitField0_ & 0x00000400) != 0)) { degreeTypes_ = new java.util.ArrayList(degreeTypes_); bitField0_ |= 0x00000400; } @@ -9299,7 +9289,7 @@ public Builder setDepartmentBytes(com.google.protobuf.ByteString value) { private java.util.List employmentTypes_ = java.util.Collections.emptyList(); private void ensureEmploymentTypesIsMutable() { - if (!((bitField0_ & 0x00001000) == 0x00001000)) { + if (!((bitField0_ & 0x00001000) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); bitField0_ |= 0x00001000; } @@ -10396,7 +10386,7 @@ public Builder clearVisibility() { return this; } - private com.google.protobuf.Timestamp jobStartTime_ = null; + private com.google.protobuf.Timestamp jobStartTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -10595,7 +10585,7 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() { return jobStartTimeBuilder_; } - private com.google.protobuf.Timestamp jobEndTime_ = null; + private com.google.protobuf.Timestamp jobEndTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -10792,7 +10782,7 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() { return jobEndTimeBuilder_; } - private com.google.protobuf.Timestamp postingPublishTime_ = null; + private com.google.protobuf.Timestamp postingPublishTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -11000,7 +10990,7 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() { return postingPublishTimeBuilder_; } - private com.google.protobuf.Timestamp postingExpireTime_ = null; + private com.google.protobuf.Timestamp postingExpireTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -11433,7 +11423,7 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() { return postingExpireTimeBuilder_; } - private com.google.protobuf.Timestamp postingCreateTime_ = null; + private com.google.protobuf.Timestamp postingCreateTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -11614,7 +11604,7 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { return postingCreateTimeBuilder_; } - private com.google.protobuf.Timestamp postingUpdateTime_ = null; + private com.google.protobuf.Timestamp postingUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -11889,7 +11879,7 @@ public Builder setCompanyDisplayNameBytes(com.google.protobuf.ByteString value) return this; } - private com.google.cloud.talent.v4beta1.Job.DerivedInfo derivedInfo_ = null; + private com.google.cloud.talent.v4beta1.Job.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Job.DerivedInfo, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, @@ -12071,7 +12061,7 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOr return derivedInfoBuilder_; } - private com.google.cloud.talent.v4beta1.Job.ProcessingOptions processingOptions_ = null; + private com.google.cloud.talent.v4beta1.Job.ProcessingOptions processingOptions_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Job.ProcessingOptions, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, @@ -12268,7 +12258,7 @@ public Builder clearProcessingOptions() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java index 0d60fb0a0927..ad6cc7aa09e8 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java @@ -62,7 +62,7 @@ private JobEvent( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { jobs_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } @@ -71,7 +71,7 @@ private JobEvent( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -83,7 +83,7 @@ private JobEvent( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { jobs_ = jobs_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -833,11 +833,10 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.talent.v4beta1.JobEvent other = (com.google.cloud.talent.v4beta1.JobEvent) obj; - boolean result = true; - result = result && type_ == other.type_; - result = result && getJobsList().equals(other.getJobsList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (type_ != other.type_) return false; + if (!getJobsList().equals(other.getJobsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1033,7 +1032,7 @@ public com.google.cloud.talent.v4beta1.JobEvent buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.type_ = type_; - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { jobs_ = jobs_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } @@ -1045,35 +1044,35 @@ public com.google.cloud.talent.v4beta1.JobEvent buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1224,7 +1223,7 @@ public Builder clearType() { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureJobsIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000002) != 0)) { jobs_ = new com.google.protobuf.LazyStringArrayList(jobs_); bitField0_ |= 0x00000002; } @@ -1428,7 +1427,7 @@ public Builder addJobsBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java index dde0157b5457..ea78d5f5c18e 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java @@ -30,7 +30,6 @@ private JobQuery() { jobCategories_ = java.util.Collections.emptyList(); companyDisplayNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; customAttributeFilter_ = ""; - disableSpellCheck_ = false; employmentTypes_ = java.util.Collections.emptyList(); languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; excludedJobs_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -70,7 +69,7 @@ private JobQuery( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { companies_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } @@ -79,7 +78,7 @@ private JobQuery( } case 26: { - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { locationFilters_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; @@ -92,7 +91,7 @@ private JobQuery( case 32: { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { jobCategories_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } @@ -105,7 +104,7 @@ private JobQuery( int oldLimit = input.pushLimit(length); while (input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { jobCategories_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } @@ -133,7 +132,7 @@ private JobQuery( case 50: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { companyDisplayNames_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000020; } @@ -172,7 +171,7 @@ private JobQuery( case 80: { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { + if (!((mutable_bitField0_ & 0x00000200) != 0)) { employmentTypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } @@ -185,7 +184,7 @@ private JobQuery( int oldLimit = input.pushLimit(length); while (input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { + if (!((mutable_bitField0_ & 0x00000200) != 0)) { employmentTypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } @@ -197,7 +196,7 @@ private JobQuery( case 90: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) { + if (!((mutable_bitField0_ & 0x00000400) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000400; } @@ -223,7 +222,7 @@ private JobQuery( case 106: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) { + if (!((mutable_bitField0_ & 0x00001000) != 0)) { excludedJobs_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00001000; } @@ -232,7 +231,7 @@ private JobQuery( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -244,25 +243,25 @@ private JobQuery( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { companies_ = companies_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { locationFilters_ = java.util.Collections.unmodifiableList(locationFilters_); } - if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { jobCategories_ = java.util.Collections.unmodifiableList(jobCategories_); } - if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + if (((mutable_bitField0_ & 0x00000020) != 0)) { companyDisplayNames_ = companyDisplayNames_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { + if (((mutable_bitField0_ & 0x00000200) != 0)) { employmentTypes_ = java.util.Collections.unmodifiableList(employmentTypes_); } - if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) { + if (((mutable_bitField0_ & 0x00000400) != 0)) { languageCodes_ = languageCodes_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00001000) == 0x00001000)) { + if (((mutable_bitField0_ & 0x00001000) != 0)) { excludedJobs_ = excludedJobs_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -1416,31 +1415,30 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.talent.v4beta1.JobQuery other = (com.google.cloud.talent.v4beta1.JobQuery) obj; - boolean result = true; - result = result && getQuery().equals(other.getQuery()); - result = result && getCompaniesList().equals(other.getCompaniesList()); - result = result && getLocationFiltersList().equals(other.getLocationFiltersList()); - result = result && jobCategories_.equals(other.jobCategories_); - result = result && (hasCommuteFilter() == other.hasCommuteFilter()); + if (!getQuery().equals(other.getQuery())) return false; + if (!getCompaniesList().equals(other.getCompaniesList())) return false; + if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; + if (!jobCategories_.equals(other.jobCategories_)) return false; + if (hasCommuteFilter() != other.hasCommuteFilter()) return false; if (hasCommuteFilter()) { - result = result && getCommuteFilter().equals(other.getCommuteFilter()); + if (!getCommuteFilter().equals(other.getCommuteFilter())) return false; } - result = result && getCompanyDisplayNamesList().equals(other.getCompanyDisplayNamesList()); - result = result && (hasCompensationFilter() == other.hasCompensationFilter()); + if (!getCompanyDisplayNamesList().equals(other.getCompanyDisplayNamesList())) return false; + if (hasCompensationFilter() != other.hasCompensationFilter()) return false; if (hasCompensationFilter()) { - result = result && getCompensationFilter().equals(other.getCompensationFilter()); + if (!getCompensationFilter().equals(other.getCompensationFilter())) return false; } - result = result && getCustomAttributeFilter().equals(other.getCustomAttributeFilter()); - result = result && (getDisableSpellCheck() == other.getDisableSpellCheck()); - result = result && employmentTypes_.equals(other.employmentTypes_); - result = result && getLanguageCodesList().equals(other.getLanguageCodesList()); - result = result && (hasPublishTimeRange() == other.hasPublishTimeRange()); + if (!getCustomAttributeFilter().equals(other.getCustomAttributeFilter())) return false; + if (getDisableSpellCheck() != other.getDisableSpellCheck()) return false; + if (!employmentTypes_.equals(other.employmentTypes_)) return false; + if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; + if (hasPublishTimeRange() != other.hasPublishTimeRange()) return false; if (hasPublishTimeRange()) { - result = result && getPublishTimeRange().equals(other.getPublishTimeRange()); + if (!getPublishTimeRange().equals(other.getPublishTimeRange())) return false; } - result = result && getExcludedJobsList().equals(other.getExcludedJobsList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getExcludedJobsList().equals(other.getExcludedJobsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1716,13 +1714,13 @@ public com.google.cloud.talent.v4beta1.JobQuery buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.query_ = query_; - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { companies_ = companies_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.companies_ = companies_; if (locationFiltersBuilder_ == null) { - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { locationFilters_ = java.util.Collections.unmodifiableList(locationFilters_); bitField0_ = (bitField0_ & ~0x00000004); } @@ -1730,7 +1728,7 @@ public com.google.cloud.talent.v4beta1.JobQuery buildPartial() { } else { result.locationFilters_ = locationFiltersBuilder_.build(); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { jobCategories_ = java.util.Collections.unmodifiableList(jobCategories_); bitField0_ = (bitField0_ & ~0x00000008); } @@ -1740,7 +1738,7 @@ public com.google.cloud.talent.v4beta1.JobQuery buildPartial() { } else { result.commuteFilter_ = commuteFilterBuilder_.build(); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { companyDisplayNames_ = companyDisplayNames_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000020); } @@ -1752,12 +1750,12 @@ public com.google.cloud.talent.v4beta1.JobQuery buildPartial() { } result.customAttributeFilter_ = customAttributeFilter_; result.disableSpellCheck_ = disableSpellCheck_; - if (((bitField0_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000200) != 0)) { employmentTypes_ = java.util.Collections.unmodifiableList(employmentTypes_); bitField0_ = (bitField0_ & ~0x00000200); } result.employmentTypes_ = employmentTypes_; - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { languageCodes_ = languageCodes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000400); } @@ -1767,7 +1765,7 @@ public com.google.cloud.talent.v4beta1.JobQuery buildPartial() { } else { result.publishTimeRange_ = publishTimeRangeBuilder_.build(); } - if (((bitField0_ & 0x00001000) == 0x00001000)) { + if (((bitField0_ & 0x00001000) != 0)) { excludedJobs_ = excludedJobs_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00001000); } @@ -1779,35 +1777,35 @@ public com.google.cloud.talent.v4beta1.JobQuery buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -2073,7 +2071,7 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCompaniesIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000002) != 0)) { companies_ = new com.google.protobuf.LazyStringArrayList(companies_); bitField0_ |= 0x00000002; } @@ -2315,7 +2313,7 @@ public Builder addCompaniesBytes(com.google.protobuf.ByteString value) { java.util.Collections.emptyList(); private void ensureLocationFiltersIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { + if (!((bitField0_ & 0x00000004) != 0)) { locationFilters_ = new java.util.ArrayList( locationFilters_); @@ -2861,7 +2859,7 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters com.google.cloud.talent.v4beta1.LocationFilter.Builder, com.google.cloud.talent.v4beta1.LocationFilterOrBuilder>( locationFilters_, - ((bitField0_ & 0x00000004) == 0x00000004), + ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); locationFilters_ = null; @@ -2872,7 +2870,7 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters private java.util.List jobCategories_ = java.util.Collections.emptyList(); private void ensureJobCategoriesIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { + if (!((bitField0_ & 0x00000008) != 0)) { jobCategories_ = new java.util.ArrayList(jobCategories_); bitField0_ |= 0x00000008; } @@ -3116,7 +3114,7 @@ public Builder addAllJobCategoriesValue(java.lang.Iterable va return this; } - private com.google.cloud.talent.v4beta1.CommuteFilter commuteFilter_ = null; + private com.google.cloud.talent.v4beta1.CommuteFilter commuteFilter_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.CommuteFilter, com.google.cloud.talent.v4beta1.CommuteFilter.Builder, @@ -3347,7 +3345,7 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCompanyDisplayNamesIsMutable() { - if (!((bitField0_ & 0x00000020) == 0x00000020)) { + if (!((bitField0_ & 0x00000020) != 0)) { companyDisplayNames_ = new com.google.protobuf.LazyStringArrayList(companyDisplayNames_); bitField0_ |= 0x00000020; } @@ -3549,7 +3547,7 @@ public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value) return this; } - private com.google.cloud.talent.v4beta1.CompensationFilter compensationFilter_ = null; + private com.google.cloud.talent.v4beta1.CompensationFilter compensationFilter_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.CompensationFilter, com.google.cloud.talent.v4beta1.CompensationFilter.Builder, @@ -4022,7 +4020,7 @@ public Builder clearDisableSpellCheck() { private java.util.List employmentTypes_ = java.util.Collections.emptyList(); private void ensureEmploymentTypesIsMutable() { - if (!((bitField0_ & 0x00000200) == 0x00000200)) { + if (!((bitField0_ & 0x00000200) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); bitField0_ |= 0x00000200; } @@ -4295,7 +4293,7 @@ public Builder addAllEmploymentTypesValue(java.lang.Iterable com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLanguageCodesIsMutable() { - if (!((bitField0_ & 0x00000400) == 0x00000400)) { + if (!((bitField0_ & 0x00000400) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000400; } @@ -4506,7 +4504,7 @@ public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.TimestampRange publishTimeRange_ = null; + private com.google.cloud.talent.v4beta1.TimestampRange publishTimeRange_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.TimestampRange, com.google.cloud.talent.v4beta1.TimestampRange.Builder, @@ -4710,7 +4708,7 @@ public com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRan com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExcludedJobsIsMutable() { - if (!((bitField0_ & 0x00001000) == 0x00001000)) { + if (!((bitField0_ & 0x00001000) != 0)) { excludedJobs_ = new com.google.protobuf.LazyStringArrayList(excludedJobs_); bitField0_ |= 0x00001000; } @@ -4869,7 +4867,7 @@ public Builder addExcludedJobsBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobTitleFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobTitleFilter.java index e40192c690d7..511d26e050e9 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobTitleFilter.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobTitleFilter.java @@ -25,7 +25,6 @@ private JobTitleFilter(com.google.protobuf.GeneratedMessageV3.Builder builder private JobTitleFilter() { jobTitle_ = ""; - negated_ = false; } @java.lang.Override @@ -66,7 +65,7 @@ private JobTitleFilter( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -211,11 +210,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.JobTitleFilter other = (com.google.cloud.talent.v4beta1.JobTitleFilter) obj; - boolean result = true; - result = result && getJobTitle().equals(other.getJobTitle()); - result = result && (getNegated() == other.getNegated()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getJobTitle().equals(other.getJobTitle())) return false; + if (getNegated() != other.getNegated()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -414,35 +412,35 @@ public com.google.cloud.talent.v4beta1.JobTitleFilter buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -644,7 +642,7 @@ public Builder clearNegated() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListApplicationsRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListApplicationsRequest.java index d2dc9caec0ea..cfe7ee122f11 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListApplicationsRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListApplicationsRequest.java @@ -25,7 +25,6 @@ private ListApplicationsRequest(com.google.protobuf.GeneratedMessageV3.Builder(); mutable_bitField0_ |= 0x00000001; @@ -89,7 +89,7 @@ private ListApplicationsResponse( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -101,7 +101,7 @@ private ListApplicationsResponse( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { applications_ = java.util.Collections.unmodifiableList(applications_); } this.unknownFields = unknownFields.build(); @@ -333,15 +333,14 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ListApplicationsResponse other = (com.google.cloud.talent.v4beta1.ListApplicationsResponse) obj; - boolean result = true; - result = result && getApplicationsList().equals(other.getApplicationsList()); - result = result && getNextPageToken().equals(other.getNextPageToken()); - result = result && (hasMetadata() == other.hasMetadata()); + if (!getApplicationsList().equals(other.getApplicationsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - result = result && getMetadata().equals(other.getMetadata()); + if (!getMetadata().equals(other.getMetadata())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -554,7 +553,7 @@ public com.google.cloud.talent.v4beta1.ListApplicationsResponse buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (applicationsBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { applications_ = java.util.Collections.unmodifiableList(applications_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -575,35 +574,35 @@ public com.google.cloud.talent.v4beta1.ListApplicationsResponse buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -689,7 +688,7 @@ public Builder mergeFrom( java.util.Collections.emptyList(); private void ensureApplicationsIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { applications_ = new java.util.ArrayList(applications_); bitField0_ |= 0x00000001; @@ -1031,10 +1030,7 @@ public com.google.cloud.talent.v4beta1.Application.Builder addApplicationsBuilde com.google.cloud.talent.v4beta1.Application, com.google.cloud.talent.v4beta1.Application.Builder, com.google.cloud.talent.v4beta1.ApplicationOrBuilder>( - applications_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); + applications_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); applications_ = null; } return applicationsBuilder_; @@ -1134,7 +1130,7 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_ = null; + private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, @@ -1327,7 +1323,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java index d2e61c39fd40..cf6ef06e7d00 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java @@ -25,8 +25,6 @@ private ListCompaniesRequest(com.google.protobuf.GeneratedMessageV3.Builder b private ListCompaniesRequest() { parent_ = ""; pageToken_ = ""; - pageSize_ = 0; - requireOpenJobs_ = false; } @java.lang.Override @@ -79,7 +77,7 @@ private ListCompaniesRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -309,13 +307,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ListCompaniesRequest other = (com.google.cloud.talent.v4beta1.ListCompaniesRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && getPageToken().equals(other.getPageToken()); - result = result && (getPageSize() == other.getPageSize()); - result = result && (getRequireOpenJobs() == other.getRequireOpenJobs()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (getRequireOpenJobs() != other.getRequireOpenJobs()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -523,35 +520,35 @@ public com.google.cloud.talent.v4beta1.ListCompaniesRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -940,7 +937,7 @@ public Builder clearRequireOpenJobs() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java index 8c2317acf46e..fed72ed5eb17 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java @@ -54,7 +54,7 @@ private ListCompaniesResponse( break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { companies_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -88,7 +88,7 @@ private ListCompaniesResponse( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -100,7 +100,7 @@ private ListCompaniesResponse( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { companies_ = java.util.Collections.unmodifiableList(companies_); } this.unknownFields = unknownFields.build(); @@ -332,15 +332,14 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ListCompaniesResponse other = (com.google.cloud.talent.v4beta1.ListCompaniesResponse) obj; - boolean result = true; - result = result && getCompaniesList().equals(other.getCompaniesList()); - result = result && getNextPageToken().equals(other.getNextPageToken()); - result = result && (hasMetadata() == other.hasMetadata()); + if (!getCompaniesList().equals(other.getCompaniesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - result = result && getMetadata().equals(other.getMetadata()); + if (!getMetadata().equals(other.getMetadata())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -553,7 +552,7 @@ public com.google.cloud.talent.v4beta1.ListCompaniesResponse buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (companiesBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { companies_ = java.util.Collections.unmodifiableList(companies_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -574,35 +573,35 @@ public com.google.cloud.talent.v4beta1.ListCompaniesResponse buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -688,7 +687,7 @@ public Builder mergeFrom( java.util.Collections.emptyList(); private void ensureCompaniesIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new java.util.ArrayList(companies_); bitField0_ |= 0x00000001; } @@ -1027,10 +1026,7 @@ public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder(int i com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder>( - companies_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); + companies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); companies_ = null; } return companiesBuilder_; @@ -1130,7 +1126,7 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_ = null; + private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, @@ -1323,7 +1319,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java index 3f969b37b115..c5a2ef7384a2 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java @@ -27,7 +27,6 @@ private ListJobsRequest() { parent_ = ""; filter_ = ""; pageToken_ = ""; - pageSize_ = 0; jobView_ = 0; } @@ -90,7 +89,7 @@ private ListJobsRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -418,14 +417,13 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ListJobsRequest other = (com.google.cloud.talent.v4beta1.ListJobsRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && getFilter().equals(other.getFilter()); - result = result && getPageToken().equals(other.getPageToken()); - result = result && (getPageSize() == other.getPageSize()); - result = result && jobView_ == other.jobView_; - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (jobView_ != other.jobView_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -639,35 +637,35 @@ public com.google.cloud.talent.v4beta1.ListJobsRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1270,7 +1268,7 @@ public Builder clearJobView() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java index bb07334aab85..27bc374a6d26 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java @@ -54,7 +54,7 @@ private ListJobsResponse( break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -88,7 +88,7 @@ private ListJobsResponse( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -100,7 +100,7 @@ private ListJobsResponse( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { jobs_ = java.util.Collections.unmodifiableList(jobs_); } this.unknownFields = unknownFields.build(); @@ -342,15 +342,14 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ListJobsResponse other = (com.google.cloud.talent.v4beta1.ListJobsResponse) obj; - boolean result = true; - result = result && getJobsList().equals(other.getJobsList()); - result = result && getNextPageToken().equals(other.getNextPageToken()); - result = result && (hasMetadata() == other.hasMetadata()); + if (!getJobsList().equals(other.getJobsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - result = result && getMetadata().equals(other.getMetadata()); + if (!getMetadata().equals(other.getMetadata())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -562,7 +561,7 @@ public com.google.cloud.talent.v4beta1.ListJobsResponse buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (jobsBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { jobs_ = java.util.Collections.unmodifiableList(jobs_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -583,35 +582,35 @@ public com.google.cloud.talent.v4beta1.ListJobsResponse buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -696,7 +695,7 @@ public Builder mergeFrom( java.util.Collections.emptyList(); private void ensureJobsIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; } @@ -1068,10 +1067,7 @@ public java.util.List getJobsBuilde com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( - jobs_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); + jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobs_ = null; } return jobsBuilder_; @@ -1171,7 +1167,7 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_ = null; + private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, @@ -1364,7 +1360,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesRequest.java index 39efad5b2b7e..64502aaad162 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesRequest.java @@ -25,7 +25,6 @@ private ListProfilesRequest(com.google.protobuf.GeneratedMessageV3.Builder bu private ListProfilesRequest() { parent_ = ""; pageToken_ = ""; - pageSize_ = 0; } @java.lang.Override @@ -88,7 +87,7 @@ private ListProfilesRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -351,16 +350,15 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ListProfilesRequest other = (com.google.cloud.talent.v4beta1.ListProfilesRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && getPageToken().equals(other.getPageToken()); - result = result && (getPageSize() == other.getPageSize()); - result = result && (hasReadMask() == other.hasReadMask()); + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - result = result && getReadMask().equals(other.getReadMask()); + if (!getReadMask().equals(other.getReadMask())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -578,35 +576,35 @@ public com.google.cloud.talent.v4beta1.ListProfilesRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -939,7 +937,7 @@ public Builder clearPageSize() { return this; } - private com.google.protobuf.FieldMask readMask_ = null; + private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, @@ -1152,7 +1150,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesResponse.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesResponse.java index b523fd92215a..3223a29b77c3 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesResponse.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesResponse.java @@ -53,7 +53,7 @@ private ListProfilesResponse( break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { profiles_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -71,7 +71,7 @@ private ListProfilesResponse( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -83,7 +83,7 @@ private ListProfilesResponse( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { profiles_ = java.util.Collections.unmodifiableList(profiles_); } this.unknownFields = unknownFields.build(); @@ -267,11 +267,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ListProfilesResponse other = (com.google.cloud.talent.v4beta1.ListProfilesResponse) obj; - boolean result = true; - result = result && getProfilesList().equals(other.getProfilesList()); - result = result && getNextPageToken().equals(other.getNextPageToken()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getProfilesList().equals(other.getProfilesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -472,7 +471,7 @@ public com.google.cloud.talent.v4beta1.ListProfilesResponse buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (profilesBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { profiles_ = java.util.Collections.unmodifiableList(profiles_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -488,35 +487,35 @@ public com.google.cloud.talent.v4beta1.ListProfilesResponse buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -599,7 +598,7 @@ public Builder mergeFrom( java.util.Collections.emptyList(); private void ensureProfilesIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { profiles_ = new java.util.ArrayList(profiles_); bitField0_ |= 0x00000001; } @@ -938,10 +937,7 @@ public com.google.cloud.talent.v4beta1.Profile.Builder addProfilesBuilder(int in com.google.cloud.talent.v4beta1.Profile, com.google.cloud.talent.v4beta1.Profile.Builder, com.google.cloud.talent.v4beta1.ProfileOrBuilder>( - profiles_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); + profiles_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); profiles_ = null; } return profilesBuilder_; @@ -1048,7 +1044,7 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java index 681261be2f00..23507162c32a 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java @@ -25,7 +25,6 @@ private ListTenantsRequest(com.google.protobuf.GeneratedMessageV3.Builder bui private ListTenantsRequest() { parent_ = ""; pageToken_ = ""; - pageSize_ = 0; } @java.lang.Override @@ -73,7 +72,7 @@ private ListTenantsRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -273,12 +272,11 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ListTenantsRequest other = (com.google.cloud.talent.v4beta1.ListTenantsRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && getPageToken().equals(other.getPageToken()); - result = result && (getPageSize() == other.getPageSize()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -481,35 +479,35 @@ public com.google.cloud.talent.v4beta1.ListTenantsRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -826,7 +824,7 @@ public Builder clearPageSize() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java index 59b06d30cb17..e4b1510f8607 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java @@ -54,7 +54,7 @@ private ListTenantsResponse( break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { tenants_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -88,7 +88,7 @@ private ListTenantsResponse( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -100,7 +100,7 @@ private ListTenantsResponse( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { tenants_ = java.util.Collections.unmodifiableList(tenants_); } this.unknownFields = unknownFields.build(); @@ -332,15 +332,14 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ListTenantsResponse other = (com.google.cloud.talent.v4beta1.ListTenantsResponse) obj; - boolean result = true; - result = result && getTenantsList().equals(other.getTenantsList()); - result = result && getNextPageToken().equals(other.getNextPageToken()); - result = result && (hasMetadata() == other.hasMetadata()); + if (!getTenantsList().equals(other.getTenantsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - result = result && getMetadata().equals(other.getMetadata()); + if (!getMetadata().equals(other.getMetadata())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -552,7 +551,7 @@ public com.google.cloud.talent.v4beta1.ListTenantsResponse buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (tenantsBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { tenants_ = java.util.Collections.unmodifiableList(tenants_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -573,35 +572,35 @@ public com.google.cloud.talent.v4beta1.ListTenantsResponse buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -687,7 +686,7 @@ public Builder mergeFrom( java.util.Collections.emptyList(); private void ensureTenantsIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { tenants_ = new java.util.ArrayList(tenants_); bitField0_ |= 0x00000001; } @@ -1025,10 +1024,7 @@ public java.util.List getTenants com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder>( - tenants_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); + tenants_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tenants_ = null; } return tenantsBuilder_; @@ -1128,7 +1124,7 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_ = null; + private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, @@ -1321,7 +1317,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java index 80eb5f9b3f2b..2e2edeb2fa92 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java @@ -25,7 +25,6 @@ private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { private Location() { locationType_ = 0; - radiusMiles_ = 0D; } @java.lang.Override @@ -95,7 +94,7 @@ private Location( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -668,22 +667,19 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.talent.v4beta1.Location other = (com.google.cloud.talent.v4beta1.Location) obj; - boolean result = true; - result = result && locationType_ == other.locationType_; - result = result && (hasPostalAddress() == other.hasPostalAddress()); + if (locationType_ != other.locationType_) return false; + if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - result = result && getPostalAddress().equals(other.getPostalAddress()); + if (!getPostalAddress().equals(other.getPostalAddress())) return false; } - result = result && (hasLatLng() == other.hasLatLng()); + if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - result = result && getLatLng().equals(other.getLatLng()); - } - result = - result - && (java.lang.Double.doubleToLongBits(getRadiusMiles()) - == java.lang.Double.doubleToLongBits(other.getRadiusMiles())); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getLatLng().equals(other.getLatLng())) return false; + } + if (java.lang.Double.doubleToLongBits(getRadiusMiles()) + != java.lang.Double.doubleToLongBits(other.getRadiusMiles())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -915,35 +911,35 @@ public com.google.cloud.talent.v4beta1.Location buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1092,7 +1088,7 @@ public Builder clearLocationType() { return this; } - private com.google.type.PostalAddress postalAddress_ = null; + private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, @@ -1300,7 +1296,7 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { return postalAddressBuilder_; } - private com.google.type.LatLng latLng_ = null; + private com.google.type.LatLng latLng_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_; @@ -1527,7 +1523,7 @@ public Builder clearRadiusMiles() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java index 40f7bbb05452..66a5439786a0 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java @@ -26,9 +26,7 @@ private LocationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder private LocationFilter() { address_ = ""; regionCode_ = ""; - distanceInMiles_ = 0D; telecommutePreference_ = 0; - negated_ = false; } @java.lang.Override @@ -102,7 +100,7 @@ private LocationFilter( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -622,21 +620,18 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.LocationFilter other = (com.google.cloud.talent.v4beta1.LocationFilter) obj; - boolean result = true; - result = result && getAddress().equals(other.getAddress()); - result = result && getRegionCode().equals(other.getRegionCode()); - result = result && (hasLatLng() == other.hasLatLng()); + if (!getAddress().equals(other.getAddress())) return false; + if (!getRegionCode().equals(other.getRegionCode())) return false; + if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - result = result && getLatLng().equals(other.getLatLng()); - } - result = - result - && (java.lang.Double.doubleToLongBits(getDistanceInMiles()) - == java.lang.Double.doubleToLongBits(other.getDistanceInMiles())); - result = result && telecommutePreference_ == other.telecommutePreference_; - result = result && (getNegated() == other.getNegated()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getLatLng().equals(other.getLatLng())) return false; + } + if (java.lang.Double.doubleToLongBits(getDistanceInMiles()) + != java.lang.Double.doubleToLongBits(other.getDistanceInMiles())) return false; + if (telecommutePreference_ != other.telecommutePreference_) return false; + if (getNegated() != other.getNegated()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -868,35 +863,35 @@ public com.google.cloud.talent.v4beta1.LocationFilter buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1193,7 +1188,7 @@ public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.type.LatLng latLng_ = null; + private com.google.type.LatLng latLng_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_; @@ -1669,7 +1664,7 @@ public Builder clearNegated() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Patent.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Patent.java index 232d20a3dda3..424e7425a810 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Patent.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Patent.java @@ -66,7 +66,7 @@ private Patent( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { inventors_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } @@ -133,7 +133,7 @@ private Patent( } case 74: { - if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) { + if (!((mutable_bitField0_ & 0x00000100) != 0)) { skillsUsed_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000100; } @@ -144,7 +144,7 @@ private Patent( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -156,10 +156,10 @@ private Patent( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { inventors_ = inventors_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) { + if (((mutable_bitField0_ & 0x00000100) != 0)) { skillsUsed_ = java.util.Collections.unmodifiableList(skillsUsed_); } this.unknownFields = unknownFields.build(); @@ -731,24 +731,23 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.talent.v4beta1.Patent other = (com.google.cloud.talent.v4beta1.Patent) obj; - boolean result = true; - result = result && getDisplayName().equals(other.getDisplayName()); - result = result && getInventorsList().equals(other.getInventorsList()); - result = result && getPatentStatus().equals(other.getPatentStatus()); - result = result && (hasPatentStatusDate() == other.hasPatentStatusDate()); + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getInventorsList().equals(other.getInventorsList())) return false; + if (!getPatentStatus().equals(other.getPatentStatus())) return false; + if (hasPatentStatusDate() != other.hasPatentStatusDate()) return false; if (hasPatentStatusDate()) { - result = result && getPatentStatusDate().equals(other.getPatentStatusDate()); + if (!getPatentStatusDate().equals(other.getPatentStatusDate())) return false; } - result = result && (hasPatentFilingDate() == other.hasPatentFilingDate()); + if (hasPatentFilingDate() != other.hasPatentFilingDate()) return false; if (hasPatentFilingDate()) { - result = result && getPatentFilingDate().equals(other.getPatentFilingDate()); - } - result = result && getPatentOffice().equals(other.getPatentOffice()); - result = result && getPatentNumber().equals(other.getPatentNumber()); - result = result && getPatentDescription().equals(other.getPatentDescription()); - result = result && getSkillsUsedList().equals(other.getSkillsUsedList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getPatentFilingDate().equals(other.getPatentFilingDate())) return false; + } + if (!getPatentOffice().equals(other.getPatentOffice())) return false; + if (!getPatentNumber().equals(other.getPatentNumber())) return false; + if (!getPatentDescription().equals(other.getPatentDescription())) return false; + if (!getSkillsUsedList().equals(other.getSkillsUsedList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -991,7 +990,7 @@ public com.google.cloud.talent.v4beta1.Patent buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.displayName_ = displayName_; - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { inventors_ = inventors_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } @@ -1011,7 +1010,7 @@ public com.google.cloud.talent.v4beta1.Patent buildPartial() { result.patentNumber_ = patentNumber_; result.patentDescription_ = patentDescription_; if (skillsUsedBuilder_ == null) { - if (((bitField0_ & 0x00000100) == 0x00000100)) { + if (((bitField0_ & 0x00000100) != 0)) { skillsUsed_ = java.util.Collections.unmodifiableList(skillsUsed_); bitField0_ = (bitField0_ & ~0x00000100); } @@ -1026,35 +1025,35 @@ public com.google.cloud.talent.v4beta1.Patent buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1271,7 +1270,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInventorsIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000002) != 0)) { inventors_ = new com.google.protobuf.LazyStringArrayList(inventors_); bitField0_ |= 0x00000002; } @@ -1532,7 +1531,7 @@ public Builder setPatentStatusBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.type.Date patentStatusDate_ = null; + private com.google.type.Date patentStatusDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> patentStatusDateBuilder_; @@ -1714,7 +1713,7 @@ public com.google.type.DateOrBuilder getPatentStatusDateOrBuilder() { return patentStatusDateBuilder_; } - private com.google.type.Date patentFilingDate_ = null; + private com.google.type.Date patentFilingDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> patentFilingDateBuilder_; @@ -2212,7 +2211,7 @@ public Builder setPatentDescriptionBytes(com.google.protobuf.ByteString value) { java.util.Collections.emptyList(); private void ensureSkillsUsedIsMutable() { - if (!((bitField0_ & 0x00000100) == 0x00000100)) { + if (!((bitField0_ & 0x00000100) != 0)) { skillsUsed_ = new java.util.ArrayList(skillsUsed_); bitField0_ |= 0x00000100; } @@ -2569,10 +2568,7 @@ public com.google.cloud.talent.v4beta1.Skill.Builder addSkillsUsedBuilder(int in com.google.cloud.talent.v4beta1.Skill, com.google.cloud.talent.v4beta1.Skill.Builder, com.google.cloud.talent.v4beta1.SkillOrBuilder>( - skillsUsed_, - ((bitField0_ & 0x00000100) == 0x00000100), - getParentForChildren(), - isClean()); + skillsUsed_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); skillsUsed_ = null; } return skillsUsedBuilder_; @@ -2580,7 +2576,7 @@ public com.google.cloud.talent.v4beta1.Skill.Builder addSkillsUsedBuilder(int in @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PersonName.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PersonName.java index 434ac7d22ab0..18f7220acbc9 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PersonName.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PersonName.java @@ -87,7 +87,7 @@ private PersonName( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -390,7 +390,7 @@ private PersonStructuredName( case 34: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { suffixes_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000008; } @@ -400,7 +400,7 @@ private PersonStructuredName( case 42: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { prefixes_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000010; } @@ -409,7 +409,7 @@ private PersonStructuredName( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -421,10 +421,10 @@ private PersonStructuredName( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { suffixes_ = suffixes_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + if (((mutable_bitField0_ & 0x00000010) != 0)) { prefixes_ = prefixes_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -804,14 +804,13 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.PersonName.PersonStructuredName other = (com.google.cloud.talent.v4beta1.PersonName.PersonStructuredName) obj; - boolean result = true; - result = result && getGivenName().equals(other.getGivenName()); - result = result && getMiddleInitial().equals(other.getMiddleInitial()); - result = result && getFamilyName().equals(other.getFamilyName()); - result = result && getSuffixesList().equals(other.getSuffixesList()); - result = result && getPrefixesList().equals(other.getPrefixesList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getGivenName().equals(other.getGivenName())) return false; + if (!getMiddleInitial().equals(other.getMiddleInitial())) return false; + if (!getFamilyName().equals(other.getFamilyName())) return false; + if (!getSuffixesList().equals(other.getSuffixesList())) return false; + if (!getPrefixesList().equals(other.getPrefixesList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1028,12 +1027,12 @@ public com.google.cloud.talent.v4beta1.PersonName.PersonStructuredName buildPart result.givenName_ = givenName_; result.middleInitial_ = middleInitial_; result.familyName_ = familyName_; - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { suffixes_ = suffixes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); } result.suffixes_ = suffixes_; - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { prefixes_ = prefixes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000010); } @@ -1045,23 +1044,23 @@ public com.google.cloud.talent.v4beta1.PersonName.PersonStructuredName buildPart @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override @@ -1069,13 +1068,13 @@ public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1519,7 +1518,7 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSuffixesIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { + if (!((bitField0_ & 0x00000008) != 0)) { suffixes_ = new com.google.protobuf.LazyStringArrayList(suffixes_); bitField0_ |= 0x00000008; } @@ -1680,7 +1679,7 @@ public Builder addSuffixesBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePrefixesIsMutable() { - if (!((bitField0_ & 0x00000010) == 0x00000010)) { + if (!((bitField0_ & 0x00000010) != 0)) { prefixes_ = new com.google.protobuf.LazyStringArrayList(prefixes_); bitField0_ |= 0x00000010; } @@ -1840,7 +1839,7 @@ public Builder addPrefixesBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override @@ -2141,22 +2140,20 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.PersonName other = (com.google.cloud.talent.v4beta1.PersonName) obj; - boolean result = true; - result = result && getPreferredName().equals(other.getPreferredName()); - result = result && getPersonNameCase().equals(other.getPersonNameCase()); - if (!result) return false; + if (!getPreferredName().equals(other.getPreferredName())) return false; + if (!getPersonNameCase().equals(other.getPersonNameCase())) return false; switch (personNameCase_) { case 1: - result = result && getFormattedName().equals(other.getFormattedName()); + if (!getFormattedName().equals(other.getFormattedName())) return false; break; case 2: - result = result && getStructuredName().equals(other.getStructuredName()); + if (!getStructuredName().equals(other.getStructuredName())) return false; break; case 0: default: } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -2374,35 +2371,35 @@ public com.google.cloud.talent.v4beta1.PersonName buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -2925,7 +2922,7 @@ public Builder setPreferredNameBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PersonalUri.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PersonalUri.java index b36f80bf7100..97cac641a894 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PersonalUri.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PersonalUri.java @@ -59,7 +59,7 @@ private PersonalUri( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -183,10 +183,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.PersonalUri other = (com.google.cloud.talent.v4beta1.PersonalUri) obj; - boolean result = true; - result = result && getUri().equals(other.getUri()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getUri().equals(other.getUri())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -379,35 +378,35 @@ public com.google.cloud.talent.v4beta1.PersonalUri buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -561,7 +560,7 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Phone.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Phone.java index 9b822c84812d..b48ba7e1bb35 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Phone.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Phone.java @@ -83,7 +83,7 @@ private Phone( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -660,13 +660,12 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.talent.v4beta1.Phone other = (com.google.cloud.talent.v4beta1.Phone) obj; - boolean result = true; - result = result && usage_ == other.usage_; - result = result && type_ == other.type_; - result = result && getNumber().equals(other.getNumber()); - result = result && getWhenAvailable().equals(other.getWhenAvailable()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (usage_ != other.usage_) return false; + if (type_ != other.type_) return false; + if (!getNumber().equals(other.getNumber())) return false; + if (!getWhenAvailable().equals(other.getWhenAvailable())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -873,35 +872,35 @@ public com.google.cloud.talent.v4beta1.Phone buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1353,7 +1352,7 @@ public Builder setWhenAvailableBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Profile.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Profile.java index 5cae9bcf923e..d668ae4e0d6d 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Profile.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Profile.java @@ -47,7 +47,6 @@ private Profile() { certifications_ = java.util.Collections.emptyList(); applications_ = com.google.protobuf.LazyStringArrayList.EMPTY; assignments_ = com.google.protobuf.LazyStringArrayList.EMPTY; - processed_ = false; keywordSnippet_ = ""; } @@ -164,7 +163,7 @@ private Profile( } case 90: { - if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { + if (!((mutable_bitField0_ & 0x00000200) != 0)) { personNames_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; @@ -176,7 +175,7 @@ private Profile( } case 98: { - if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) { + if (!((mutable_bitField0_ & 0x00000400) != 0)) { addresses_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000400; } @@ -187,7 +186,7 @@ private Profile( } case 106: { - if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) { + if (!((mutable_bitField0_ & 0x00000800) != 0)) { emailAddresses_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000800; } @@ -198,7 +197,7 @@ private Profile( } case 114: { - if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) { + if (!((mutable_bitField0_ & 0x00001000) != 0)) { phoneNumbers_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00001000; } @@ -209,7 +208,7 @@ private Profile( } case 122: { - if (!((mutable_bitField0_ & 0x00002000) == 0x00002000)) { + if (!((mutable_bitField0_ & 0x00002000) != 0)) { personalUris_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00002000; @@ -221,7 +220,7 @@ private Profile( } case 130: { - if (!((mutable_bitField0_ & 0x00004000) == 0x00004000)) { + if (!((mutable_bitField0_ & 0x00004000) != 0)) { additionalContactInfo_ = new java.util.ArrayList< com.google.cloud.talent.v4beta1.AdditionalContactInfo>(); @@ -235,7 +234,7 @@ private Profile( } case 138: { - if (!((mutable_bitField0_ & 0x00008000) == 0x00008000)) { + if (!((mutable_bitField0_ & 0x00008000) != 0)) { employmentRecords_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00008000; @@ -248,7 +247,7 @@ private Profile( } case 146: { - if (!((mutable_bitField0_ & 0x00010000) == 0x00010000)) { + if (!((mutable_bitField0_ & 0x00010000) != 0)) { educationRecords_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00010000; @@ -260,7 +259,7 @@ private Profile( } case 154: { - if (!((mutable_bitField0_ & 0x00020000) == 0x00020000)) { + if (!((mutable_bitField0_ & 0x00020000) != 0)) { skills_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00020000; } @@ -271,7 +270,7 @@ private Profile( } case 162: { - if (!((mutable_bitField0_ & 0x00040000) == 0x00040000)) { + if (!((mutable_bitField0_ & 0x00040000) != 0)) { activities_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00040000; } @@ -282,7 +281,7 @@ private Profile( } case 170: { - if (!((mutable_bitField0_ & 0x00080000) == 0x00080000)) { + if (!((mutable_bitField0_ & 0x00080000) != 0)) { publications_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00080000; @@ -294,7 +293,7 @@ private Profile( } case 178: { - if (!((mutable_bitField0_ & 0x00100000) == 0x00100000)) { + if (!((mutable_bitField0_ & 0x00100000) != 0)) { patents_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00100000; } @@ -305,7 +304,7 @@ private Profile( } case 186: { - if (!((mutable_bitField0_ & 0x00200000) == 0x00200000)) { + if (!((mutable_bitField0_ & 0x00200000) != 0)) { certifications_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00200000; @@ -317,7 +316,7 @@ private Profile( } case 210: { - if (!((mutable_bitField0_ & 0x01000000) == 0x01000000)) { + if (!((mutable_bitField0_ & 0x01000000) != 0)) { customAttributes_ = com.google.protobuf.MapField.newMapField( CustomAttributesDefaultEntryHolder.defaultEntry); @@ -349,7 +348,7 @@ private Profile( case 378: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00400000) == 0x00400000)) { + if (!((mutable_bitField0_ & 0x00400000) != 0)) { applications_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00400000; } @@ -359,7 +358,7 @@ private Profile( case 386: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00800000) == 0x00800000)) { + if (!((mutable_bitField0_ & 0x00800000) != 0)) { assignments_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00800000; } @@ -368,7 +367,7 @@ private Profile( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -380,49 +379,49 @@ private Profile( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { + if (((mutable_bitField0_ & 0x00000200) != 0)) { personNames_ = java.util.Collections.unmodifiableList(personNames_); } - if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) { + if (((mutable_bitField0_ & 0x00000400) != 0)) { addresses_ = java.util.Collections.unmodifiableList(addresses_); } - if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) { + if (((mutable_bitField0_ & 0x00000800) != 0)) { emailAddresses_ = java.util.Collections.unmodifiableList(emailAddresses_); } - if (((mutable_bitField0_ & 0x00001000) == 0x00001000)) { + if (((mutable_bitField0_ & 0x00001000) != 0)) { phoneNumbers_ = java.util.Collections.unmodifiableList(phoneNumbers_); } - if (((mutable_bitField0_ & 0x00002000) == 0x00002000)) { + if (((mutable_bitField0_ & 0x00002000) != 0)) { personalUris_ = java.util.Collections.unmodifiableList(personalUris_); } - if (((mutable_bitField0_ & 0x00004000) == 0x00004000)) { + if (((mutable_bitField0_ & 0x00004000) != 0)) { additionalContactInfo_ = java.util.Collections.unmodifiableList(additionalContactInfo_); } - if (((mutable_bitField0_ & 0x00008000) == 0x00008000)) { + if (((mutable_bitField0_ & 0x00008000) != 0)) { employmentRecords_ = java.util.Collections.unmodifiableList(employmentRecords_); } - if (((mutable_bitField0_ & 0x00010000) == 0x00010000)) { + if (((mutable_bitField0_ & 0x00010000) != 0)) { educationRecords_ = java.util.Collections.unmodifiableList(educationRecords_); } - if (((mutable_bitField0_ & 0x00020000) == 0x00020000)) { + if (((mutable_bitField0_ & 0x00020000) != 0)) { skills_ = java.util.Collections.unmodifiableList(skills_); } - if (((mutable_bitField0_ & 0x00040000) == 0x00040000)) { + if (((mutable_bitField0_ & 0x00040000) != 0)) { activities_ = java.util.Collections.unmodifiableList(activities_); } - if (((mutable_bitField0_ & 0x00080000) == 0x00080000)) { + if (((mutable_bitField0_ & 0x00080000) != 0)) { publications_ = java.util.Collections.unmodifiableList(publications_); } - if (((mutable_bitField0_ & 0x00100000) == 0x00100000)) { + if (((mutable_bitField0_ & 0x00100000) != 0)) { patents_ = java.util.Collections.unmodifiableList(patents_); } - if (((mutable_bitField0_ & 0x00200000) == 0x00200000)) { + if (((mutable_bitField0_ & 0x00200000) != 0)) { certifications_ = java.util.Collections.unmodifiableList(certifications_); } - if (((mutable_bitField0_ & 0x00400000) == 0x00400000)) { + if (((mutable_bitField0_ & 0x00400000) != 0)) { applications_ = applications_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00800000) == 0x00800000)) { + if (((mutable_bitField0_ & 0x00800000) != 0)) { assignments_ = assignments_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -2557,45 +2556,44 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.talent.v4beta1.Profile other = (com.google.cloud.talent.v4beta1.Profile) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && getExternalId().equals(other.getExternalId()); - result = result && getSource().equals(other.getSource()); - result = result && getUri().equals(other.getUri()); - result = result && getGroupId().equals(other.getGroupId()); - result = result && (hasIsHirable() == other.hasIsHirable()); + if (!getName().equals(other.getName())) return false; + if (!getExternalId().equals(other.getExternalId())) return false; + if (!getSource().equals(other.getSource())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getGroupId().equals(other.getGroupId())) return false; + if (hasIsHirable() != other.hasIsHirable()) return false; if (hasIsHirable()) { - result = result && getIsHirable().equals(other.getIsHirable()); + if (!getIsHirable().equals(other.getIsHirable())) return false; } - result = result && (hasCreateTime() == other.hasCreateTime()); + if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - result = result && getCreateTime().equals(other.getCreateTime()); + if (!getCreateTime().equals(other.getCreateTime())) return false; } - result = result && (hasUpdateTime() == other.hasUpdateTime()); + if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - result = result && getUpdateTime().equals(other.getUpdateTime()); - } - result = result && getResumeHrxml().equals(other.getResumeHrxml()); - result = result && getPersonNamesList().equals(other.getPersonNamesList()); - result = result && getAddressesList().equals(other.getAddressesList()); - result = result && getEmailAddressesList().equals(other.getEmailAddressesList()); - result = result && getPhoneNumbersList().equals(other.getPhoneNumbersList()); - result = result && getPersonalUrisList().equals(other.getPersonalUrisList()); - result = result && getAdditionalContactInfoList().equals(other.getAdditionalContactInfoList()); - result = result && getEmploymentRecordsList().equals(other.getEmploymentRecordsList()); - result = result && getEducationRecordsList().equals(other.getEducationRecordsList()); - result = result && getSkillsList().equals(other.getSkillsList()); - result = result && getActivitiesList().equals(other.getActivitiesList()); - result = result && getPublicationsList().equals(other.getPublicationsList()); - result = result && getPatentsList().equals(other.getPatentsList()); - result = result && getCertificationsList().equals(other.getCertificationsList()); - result = result && getApplicationsList().equals(other.getApplicationsList()); - result = result && getAssignmentsList().equals(other.getAssignmentsList()); - result = result && internalGetCustomAttributes().equals(other.internalGetCustomAttributes()); - result = result && (getProcessed() == other.getProcessed()); - result = result && getKeywordSnippet().equals(other.getKeywordSnippet()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!getResumeHrxml().equals(other.getResumeHrxml())) return false; + if (!getPersonNamesList().equals(other.getPersonNamesList())) return false; + if (!getAddressesList().equals(other.getAddressesList())) return false; + if (!getEmailAddressesList().equals(other.getEmailAddressesList())) return false; + if (!getPhoneNumbersList().equals(other.getPhoneNumbersList())) return false; + if (!getPersonalUrisList().equals(other.getPersonalUrisList())) return false; + if (!getAdditionalContactInfoList().equals(other.getAdditionalContactInfoList())) return false; + if (!getEmploymentRecordsList().equals(other.getEmploymentRecordsList())) return false; + if (!getEducationRecordsList().equals(other.getEducationRecordsList())) return false; + if (!getSkillsList().equals(other.getSkillsList())) return false; + if (!getActivitiesList().equals(other.getActivitiesList())) return false; + if (!getPublicationsList().equals(other.getPublicationsList())) return false; + if (!getPatentsList().equals(other.getPatentsList())) return false; + if (!getCertificationsList().equals(other.getCertificationsList())) return false; + if (!getApplicationsList().equals(other.getApplicationsList())) return false; + if (!getAssignmentsList().equals(other.getAssignmentsList())) return false; + if (!internalGetCustomAttributes().equals(other.internalGetCustomAttributes())) return false; + if (getProcessed() != other.getProcessed()) return false; + if (!getKeywordSnippet().equals(other.getKeywordSnippet())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -3047,7 +3045,7 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() { } result.resumeHrxml_ = resumeHrxml_; if (personNamesBuilder_ == null) { - if (((bitField0_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000200) != 0)) { personNames_ = java.util.Collections.unmodifiableList(personNames_); bitField0_ = (bitField0_ & ~0x00000200); } @@ -3056,7 +3054,7 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() { result.personNames_ = personNamesBuilder_.build(); } if (addressesBuilder_ == null) { - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { addresses_ = java.util.Collections.unmodifiableList(addresses_); bitField0_ = (bitField0_ & ~0x00000400); } @@ -3065,7 +3063,7 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() { result.addresses_ = addressesBuilder_.build(); } if (emailAddressesBuilder_ == null) { - if (((bitField0_ & 0x00000800) == 0x00000800)) { + if (((bitField0_ & 0x00000800) != 0)) { emailAddresses_ = java.util.Collections.unmodifiableList(emailAddresses_); bitField0_ = (bitField0_ & ~0x00000800); } @@ -3074,7 +3072,7 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() { result.emailAddresses_ = emailAddressesBuilder_.build(); } if (phoneNumbersBuilder_ == null) { - if (((bitField0_ & 0x00001000) == 0x00001000)) { + if (((bitField0_ & 0x00001000) != 0)) { phoneNumbers_ = java.util.Collections.unmodifiableList(phoneNumbers_); bitField0_ = (bitField0_ & ~0x00001000); } @@ -3083,7 +3081,7 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() { result.phoneNumbers_ = phoneNumbersBuilder_.build(); } if (personalUrisBuilder_ == null) { - if (((bitField0_ & 0x00002000) == 0x00002000)) { + if (((bitField0_ & 0x00002000) != 0)) { personalUris_ = java.util.Collections.unmodifiableList(personalUris_); bitField0_ = (bitField0_ & ~0x00002000); } @@ -3092,7 +3090,7 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() { result.personalUris_ = personalUrisBuilder_.build(); } if (additionalContactInfoBuilder_ == null) { - if (((bitField0_ & 0x00004000) == 0x00004000)) { + if (((bitField0_ & 0x00004000) != 0)) { additionalContactInfo_ = java.util.Collections.unmodifiableList(additionalContactInfo_); bitField0_ = (bitField0_ & ~0x00004000); } @@ -3101,7 +3099,7 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() { result.additionalContactInfo_ = additionalContactInfoBuilder_.build(); } if (employmentRecordsBuilder_ == null) { - if (((bitField0_ & 0x00008000) == 0x00008000)) { + if (((bitField0_ & 0x00008000) != 0)) { employmentRecords_ = java.util.Collections.unmodifiableList(employmentRecords_); bitField0_ = (bitField0_ & ~0x00008000); } @@ -3110,7 +3108,7 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() { result.employmentRecords_ = employmentRecordsBuilder_.build(); } if (educationRecordsBuilder_ == null) { - if (((bitField0_ & 0x00010000) == 0x00010000)) { + if (((bitField0_ & 0x00010000) != 0)) { educationRecords_ = java.util.Collections.unmodifiableList(educationRecords_); bitField0_ = (bitField0_ & ~0x00010000); } @@ -3119,7 +3117,7 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() { result.educationRecords_ = educationRecordsBuilder_.build(); } if (skillsBuilder_ == null) { - if (((bitField0_ & 0x00020000) == 0x00020000)) { + if (((bitField0_ & 0x00020000) != 0)) { skills_ = java.util.Collections.unmodifiableList(skills_); bitField0_ = (bitField0_ & ~0x00020000); } @@ -3128,7 +3126,7 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() { result.skills_ = skillsBuilder_.build(); } if (activitiesBuilder_ == null) { - if (((bitField0_ & 0x00040000) == 0x00040000)) { + if (((bitField0_ & 0x00040000) != 0)) { activities_ = java.util.Collections.unmodifiableList(activities_); bitField0_ = (bitField0_ & ~0x00040000); } @@ -3137,7 +3135,7 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() { result.activities_ = activitiesBuilder_.build(); } if (publicationsBuilder_ == null) { - if (((bitField0_ & 0x00080000) == 0x00080000)) { + if (((bitField0_ & 0x00080000) != 0)) { publications_ = java.util.Collections.unmodifiableList(publications_); bitField0_ = (bitField0_ & ~0x00080000); } @@ -3146,7 +3144,7 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() { result.publications_ = publicationsBuilder_.build(); } if (patentsBuilder_ == null) { - if (((bitField0_ & 0x00100000) == 0x00100000)) { + if (((bitField0_ & 0x00100000) != 0)) { patents_ = java.util.Collections.unmodifiableList(patents_); bitField0_ = (bitField0_ & ~0x00100000); } @@ -3155,7 +3153,7 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() { result.patents_ = patentsBuilder_.build(); } if (certificationsBuilder_ == null) { - if (((bitField0_ & 0x00200000) == 0x00200000)) { + if (((bitField0_ & 0x00200000) != 0)) { certifications_ = java.util.Collections.unmodifiableList(certifications_); bitField0_ = (bitField0_ & ~0x00200000); } @@ -3163,12 +3161,12 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() { } else { result.certifications_ = certificationsBuilder_.build(); } - if (((bitField0_ & 0x00400000) == 0x00400000)) { + if (((bitField0_ & 0x00400000) != 0)) { applications_ = applications_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00400000); } result.applications_ = applications_; - if (((bitField0_ & 0x00800000) == 0x00800000)) { + if (((bitField0_ & 0x00800000) != 0)) { assignments_ = assignments_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00800000); } @@ -3184,35 +3182,35 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -4285,7 +4283,7 @@ public Builder setGroupIdBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.BoolValue isHirable_ = null; + private com.google.protobuf.BoolValue isHirable_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, @@ -4469,7 +4467,7 @@ public com.google.protobuf.BoolValueOrBuilder getIsHirableOrBuilder() { return isHirableBuilder_; } - private com.google.protobuf.Timestamp createTime_ = null; + private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -4657,7 +4655,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return createTimeBuilder_; } - private com.google.protobuf.Timestamp updateTime_ = null; + private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -5028,7 +5026,7 @@ public Builder setResumeHrxmlBytes(com.google.protobuf.ByteString value) { java.util.Collections.emptyList(); private void ensurePersonNamesIsMutable() { - if (!((bitField0_ & 0x00000200) == 0x00000200)) { + if (!((bitField0_ & 0x00000200) != 0)) { personNames_ = new java.util.ArrayList(personNames_); bitField0_ |= 0x00000200; @@ -5405,10 +5403,7 @@ public com.google.cloud.talent.v4beta1.PersonName.Builder addPersonNamesBuilder( com.google.cloud.talent.v4beta1.PersonName, com.google.cloud.talent.v4beta1.PersonName.Builder, com.google.cloud.talent.v4beta1.PersonNameOrBuilder>( - personNames_, - ((bitField0_ & 0x00000200) == 0x00000200), - getParentForChildren(), - isClean()); + personNames_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); personNames_ = null; } return personNamesBuilder_; @@ -5418,7 +5413,7 @@ public com.google.cloud.talent.v4beta1.PersonName.Builder addPersonNamesBuilder( java.util.Collections.emptyList(); private void ensureAddressesIsMutable() { - if (!((bitField0_ & 0x00000400) == 0x00000400)) { + if (!((bitField0_ & 0x00000400) != 0)) { addresses_ = new java.util.ArrayList(addresses_); bitField0_ |= 0x00000400; } @@ -5775,10 +5770,7 @@ public com.google.cloud.talent.v4beta1.Address.Builder addAddressesBuilder(int i com.google.cloud.talent.v4beta1.Address, com.google.cloud.talent.v4beta1.Address.Builder, com.google.cloud.talent.v4beta1.AddressOrBuilder>( - addresses_, - ((bitField0_ & 0x00000400) == 0x00000400), - getParentForChildren(), - isClean()); + addresses_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); addresses_ = null; } return addressesBuilder_; @@ -5788,7 +5780,7 @@ public com.google.cloud.talent.v4beta1.Address.Builder addAddressesBuilder(int i java.util.Collections.emptyList(); private void ensureEmailAddressesIsMutable() { - if (!((bitField0_ & 0x00000800) == 0x00000800)) { + if (!((bitField0_ & 0x00000800) != 0)) { emailAddresses_ = new java.util.ArrayList(emailAddresses_); bitField0_ |= 0x00000800; @@ -6148,7 +6140,7 @@ public com.google.cloud.talent.v4beta1.Email.Builder addEmailAddressesBuilder(in com.google.cloud.talent.v4beta1.Email.Builder, com.google.cloud.talent.v4beta1.EmailOrBuilder>( emailAddresses_, - ((bitField0_ & 0x00000800) == 0x00000800), + ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); emailAddresses_ = null; @@ -6160,7 +6152,7 @@ public com.google.cloud.talent.v4beta1.Email.Builder addEmailAddressesBuilder(in java.util.Collections.emptyList(); private void ensurePhoneNumbersIsMutable() { - if (!((bitField0_ & 0x00001000) == 0x00001000)) { + if (!((bitField0_ & 0x00001000) != 0)) { phoneNumbers_ = new java.util.ArrayList(phoneNumbers_); bitField0_ |= 0x00001000; @@ -6518,10 +6510,7 @@ public com.google.cloud.talent.v4beta1.Phone.Builder addPhoneNumbersBuilder(int com.google.cloud.talent.v4beta1.Phone, com.google.cloud.talent.v4beta1.Phone.Builder, com.google.cloud.talent.v4beta1.PhoneOrBuilder>( - phoneNumbers_, - ((bitField0_ & 0x00001000) == 0x00001000), - getParentForChildren(), - isClean()); + phoneNumbers_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); phoneNumbers_ = null; } return phoneNumbersBuilder_; @@ -6531,7 +6520,7 @@ public com.google.cloud.talent.v4beta1.Phone.Builder addPhoneNumbersBuilder(int java.util.Collections.emptyList(); private void ensurePersonalUrisIsMutable() { - if (!((bitField0_ & 0x00002000) == 0x00002000)) { + if (!((bitField0_ & 0x00002000) != 0)) { personalUris_ = new java.util.ArrayList(personalUris_); bitField0_ |= 0x00002000; @@ -6891,10 +6880,7 @@ public com.google.cloud.talent.v4beta1.PersonalUri.Builder addPersonalUrisBuilde com.google.cloud.talent.v4beta1.PersonalUri, com.google.cloud.talent.v4beta1.PersonalUri.Builder, com.google.cloud.talent.v4beta1.PersonalUriOrBuilder>( - personalUris_, - ((bitField0_ & 0x00002000) == 0x00002000), - getParentForChildren(), - isClean()); + personalUris_, ((bitField0_ & 0x00002000) != 0), getParentForChildren(), isClean()); personalUris_ = null; } return personalUrisBuilder_; @@ -6904,7 +6890,7 @@ public com.google.cloud.talent.v4beta1.PersonalUri.Builder addPersonalUrisBuilde additionalContactInfo_ = java.util.Collections.emptyList(); private void ensureAdditionalContactInfoIsMutable() { - if (!((bitField0_ & 0x00004000) == 0x00004000)) { + if (!((bitField0_ & 0x00004000) != 0)) { additionalContactInfo_ = new java.util.ArrayList( additionalContactInfo_); @@ -7402,7 +7388,7 @@ public Builder removeAdditionalContactInfo(int index) { com.google.cloud.talent.v4beta1.AdditionalContactInfo.Builder, com.google.cloud.talent.v4beta1.AdditionalContactInfoOrBuilder>( additionalContactInfo_, - ((bitField0_ & 0x00004000) == 0x00004000), + ((bitField0_ & 0x00004000) != 0), getParentForChildren(), isClean()); additionalContactInfo_ = null; @@ -7414,7 +7400,7 @@ public Builder removeAdditionalContactInfo(int index) { java.util.Collections.emptyList(); private void ensureEmploymentRecordsIsMutable() { - if (!((bitField0_ & 0x00008000) == 0x00008000)) { + if (!((bitField0_ & 0x00008000) != 0)) { employmentRecords_ = new java.util.ArrayList( employmentRecords_); @@ -7979,7 +7965,7 @@ public com.google.cloud.talent.v4beta1.EmploymentRecord.Builder addEmploymentRec com.google.cloud.talent.v4beta1.EmploymentRecord.Builder, com.google.cloud.talent.v4beta1.EmploymentRecordOrBuilder>( employmentRecords_, - ((bitField0_ & 0x00008000) == 0x00008000), + ((bitField0_ & 0x00008000) != 0), getParentForChildren(), isClean()); employmentRecords_ = null; @@ -7991,7 +7977,7 @@ public com.google.cloud.talent.v4beta1.EmploymentRecord.Builder addEmploymentRec java.util.Collections.emptyList(); private void ensureEducationRecordsIsMutable() { - if (!((bitField0_ & 0x00010000) == 0x00010000)) { + if (!((bitField0_ & 0x00010000) != 0)) { educationRecords_ = new java.util.ArrayList( educationRecords_); @@ -8538,7 +8524,7 @@ public com.google.cloud.talent.v4beta1.EducationRecord.Builder addEducationRecor com.google.cloud.talent.v4beta1.EducationRecord.Builder, com.google.cloud.talent.v4beta1.EducationRecordOrBuilder>( educationRecords_, - ((bitField0_ & 0x00010000) == 0x00010000), + ((bitField0_ & 0x00010000) != 0), getParentForChildren(), isClean()); educationRecords_ = null; @@ -8550,7 +8536,7 @@ public com.google.cloud.talent.v4beta1.EducationRecord.Builder addEducationRecor java.util.Collections.emptyList(); private void ensureSkillsIsMutable() { - if (!((bitField0_ & 0x00020000) == 0x00020000)) { + if (!((bitField0_ & 0x00020000) != 0)) { skills_ = new java.util.ArrayList(skills_); bitField0_ |= 0x00020000; } @@ -8924,10 +8910,7 @@ public java.util.List getSkillsBu com.google.cloud.talent.v4beta1.Skill, com.google.cloud.talent.v4beta1.Skill.Builder, com.google.cloud.talent.v4beta1.SkillOrBuilder>( - skills_, - ((bitField0_ & 0x00020000) == 0x00020000), - getParentForChildren(), - isClean()); + skills_, ((bitField0_ & 0x00020000) != 0), getParentForChildren(), isClean()); skills_ = null; } return skillsBuilder_; @@ -8937,7 +8920,7 @@ public java.util.List getSkillsBu java.util.Collections.emptyList(); private void ensureActivitiesIsMutable() { - if (!((bitField0_ & 0x00040000) == 0x00040000)) { + if (!((bitField0_ & 0x00040000) != 0)) { activities_ = new java.util.ArrayList(activities_); bitField0_ |= 0x00040000; @@ -9349,10 +9332,7 @@ public com.google.cloud.talent.v4beta1.Activity.Builder addActivitiesBuilder(int com.google.cloud.talent.v4beta1.Activity, com.google.cloud.talent.v4beta1.Activity.Builder, com.google.cloud.talent.v4beta1.ActivityOrBuilder>( - activities_, - ((bitField0_ & 0x00040000) == 0x00040000), - getParentForChildren(), - isClean()); + activities_, ((bitField0_ & 0x00040000) != 0), getParentForChildren(), isClean()); activities_ = null; } return activitiesBuilder_; @@ -9362,7 +9342,7 @@ public com.google.cloud.talent.v4beta1.Activity.Builder addActivitiesBuilder(int java.util.Collections.emptyList(); private void ensurePublicationsIsMutable() { - if (!((bitField0_ & 0x00080000) == 0x00080000)) { + if (!((bitField0_ & 0x00080000) != 0)) { publications_ = new java.util.ArrayList(publications_); bitField0_ |= 0x00080000; @@ -9722,10 +9702,7 @@ public com.google.cloud.talent.v4beta1.Publication.Builder addPublicationsBuilde com.google.cloud.talent.v4beta1.Publication, com.google.cloud.talent.v4beta1.Publication.Builder, com.google.cloud.talent.v4beta1.PublicationOrBuilder>( - publications_, - ((bitField0_ & 0x00080000) == 0x00080000), - getParentForChildren(), - isClean()); + publications_, ((bitField0_ & 0x00080000) != 0), getParentForChildren(), isClean()); publications_ = null; } return publicationsBuilder_; @@ -9735,7 +9712,7 @@ public com.google.cloud.talent.v4beta1.Publication.Builder addPublicationsBuilde java.util.Collections.emptyList(); private void ensurePatentsIsMutable() { - if (!((bitField0_ & 0x00100000) == 0x00100000)) { + if (!((bitField0_ & 0x00100000) != 0)) { patents_ = new java.util.ArrayList(patents_); bitField0_ |= 0x00100000; } @@ -10091,10 +10068,7 @@ public java.util.List getPatents com.google.cloud.talent.v4beta1.Patent, com.google.cloud.talent.v4beta1.Patent.Builder, com.google.cloud.talent.v4beta1.PatentOrBuilder>( - patents_, - ((bitField0_ & 0x00100000) == 0x00100000), - getParentForChildren(), - isClean()); + patents_, ((bitField0_ & 0x00100000) != 0), getParentForChildren(), isClean()); patents_ = null; } return patentsBuilder_; @@ -10104,7 +10078,7 @@ public java.util.List getPatents java.util.Collections.emptyList(); private void ensureCertificationsIsMutable() { - if (!((bitField0_ & 0x00200000) == 0x00200000)) { + if (!((bitField0_ & 0x00200000) != 0)) { certifications_ = new java.util.ArrayList(certifications_); bitField0_ |= 0x00200000; @@ -10469,7 +10443,7 @@ public com.google.cloud.talent.v4beta1.Certification.Builder addCertificationsBu com.google.cloud.talent.v4beta1.Certification.Builder, com.google.cloud.talent.v4beta1.CertificationOrBuilder>( certifications_, - ((bitField0_ & 0x00200000) == 0x00200000), + ((bitField0_ & 0x00200000) != 0), getParentForChildren(), isClean()); certifications_ = null; @@ -10481,7 +10455,7 @@ public com.google.cloud.talent.v4beta1.Certification.Builder addCertificationsBu com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureApplicationsIsMutable() { - if (!((bitField0_ & 0x00400000) == 0x00400000)) { + if (!((bitField0_ & 0x00400000) != 0)) { applications_ = new com.google.protobuf.LazyStringArrayList(applications_); bitField0_ |= 0x00400000; } @@ -10624,7 +10598,7 @@ public Builder addApplicationsBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAssignmentsIsMutable() { - if (!((bitField0_ & 0x00800000) == 0x00800000)) { + if (!((bitField0_ & 0x00800000) != 0)) { assignments_ = new com.google.protobuf.LazyStringArrayList(assignments_); bitField0_ |= 0x00800000; } @@ -11195,7 +11169,7 @@ public Builder setKeywordSnippetBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileEvent.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileEvent.java index 78fb3f0daea1..8a2613a01158 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileEvent.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileEvent.java @@ -63,7 +63,7 @@ private ProfileEvent( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { profiles_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } @@ -73,7 +73,7 @@ private ProfileEvent( case 50: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { jobs_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } @@ -82,7 +82,7 @@ private ProfileEvent( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -94,10 +94,10 @@ private ProfileEvent( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { profiles_ = profiles_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { jobs_ = jobs_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -523,12 +523,11 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ProfileEvent other = (com.google.cloud.talent.v4beta1.ProfileEvent) obj; - boolean result = true; - result = result && type_ == other.type_; - result = result && getProfilesList().equals(other.getProfilesList()); - result = result && getJobsList().equals(other.getJobsList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (type_ != other.type_) return false; + if (!getProfilesList().equals(other.getProfilesList())) return false; + if (!getJobsList().equals(other.getJobsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -730,12 +729,12 @@ public com.google.cloud.talent.v4beta1.ProfileEvent buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.type_ = type_; - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { profiles_ = profiles_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.profiles_ = profiles_; - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { jobs_ = jobs_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } @@ -747,35 +746,35 @@ public com.google.cloud.talent.v4beta1.ProfileEvent buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -931,7 +930,7 @@ public Builder clearType() { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureProfilesIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000002) != 0)) { profiles_ = new com.google.protobuf.LazyStringArrayList(profiles_); bitField0_ |= 0x00000002; } @@ -1092,7 +1091,7 @@ public Builder addProfilesBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureJobsIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { + if (!((bitField0_ & 0x00000004) != 0)) { jobs_ = new com.google.protobuf.LazyStringArrayList(jobs_); bitField0_ |= 0x00000004; } @@ -1269,7 +1268,7 @@ public Builder addJobsBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileQuery.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileQuery.java index 4a8587dc40ae..25eddf6c10e1 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileQuery.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProfileQuery.java @@ -72,7 +72,7 @@ private ProfileQuery( } case 18: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { locationFilters_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; @@ -84,7 +84,7 @@ private ProfileQuery( } case 26: { - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { jobTitleFilters_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; @@ -96,7 +96,7 @@ private ProfileQuery( } case 34: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { employerFilters_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; @@ -108,7 +108,7 @@ private ProfileQuery( } case 42: { - if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { educationFilters_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; @@ -120,7 +120,7 @@ private ProfileQuery( } case 50: { - if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { skillFilters_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; @@ -132,7 +132,7 @@ private ProfileQuery( } case 58: { - if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { + if (!((mutable_bitField0_ & 0x00000040) != 0)) { workExperienceFilter_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; @@ -145,7 +145,7 @@ private ProfileQuery( } case 66: { - if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { + if (!((mutable_bitField0_ & 0x00000080) != 0)) { timeFilters_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; @@ -172,7 +172,7 @@ private ProfileQuery( } case 82: { - if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { + if (!((mutable_bitField0_ & 0x00000200) != 0)) { applicationDateFilters_ = new java.util.ArrayList< com.google.cloud.talent.v4beta1.ApplicationDateFilter>(); @@ -186,7 +186,7 @@ private ProfileQuery( } case 90: { - if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) { + if (!((mutable_bitField0_ & 0x00000400) != 0)) { applicationOutcomeNotesFilters_ = new java.util.ArrayList< com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter>(); @@ -200,7 +200,7 @@ private ProfileQuery( } case 98: { - if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) { + if (!((mutable_bitField0_ & 0x00000800) != 0)) { applicationLastStageFilters_ = new java.util.ArrayList< com.google.cloud.talent.v4beta1.ApplicationLastStageFilter>(); @@ -214,7 +214,7 @@ private ProfileQuery( } case 106: { - if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) { + if (!((mutable_bitField0_ & 0x00001000) != 0)) { applicationJobFilters_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00001000; @@ -227,7 +227,7 @@ private ProfileQuery( } case 114: { - if (!((mutable_bitField0_ & 0x00002000) == 0x00002000)) { + if (!((mutable_bitField0_ & 0x00002000) != 0)) { applicationStatusFilters_ = new java.util.ArrayList< com.google.cloud.talent.v4beta1.ApplicationStatusFilter>(); @@ -248,7 +248,7 @@ private ProfileQuery( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -260,42 +260,42 @@ private ProfileQuery( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { locationFilters_ = java.util.Collections.unmodifiableList(locationFilters_); } - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { jobTitleFilters_ = java.util.Collections.unmodifiableList(jobTitleFilters_); } - if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { employerFilters_ = java.util.Collections.unmodifiableList(employerFilters_); } - if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + if (((mutable_bitField0_ & 0x00000010) != 0)) { educationFilters_ = java.util.Collections.unmodifiableList(educationFilters_); } - if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + if (((mutable_bitField0_ & 0x00000020) != 0)) { skillFilters_ = java.util.Collections.unmodifiableList(skillFilters_); } - if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { + if (((mutable_bitField0_ & 0x00000040) != 0)) { workExperienceFilter_ = java.util.Collections.unmodifiableList(workExperienceFilter_); } - if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { + if (((mutable_bitField0_ & 0x00000080) != 0)) { timeFilters_ = java.util.Collections.unmodifiableList(timeFilters_); } - if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { + if (((mutable_bitField0_ & 0x00000200) != 0)) { applicationDateFilters_ = java.util.Collections.unmodifiableList(applicationDateFilters_); } - if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) { + if (((mutable_bitField0_ & 0x00000400) != 0)) { applicationOutcomeNotesFilters_ = java.util.Collections.unmodifiableList(applicationOutcomeNotesFilters_); } - if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) { + if (((mutable_bitField0_ & 0x00000800) != 0)) { applicationLastStageFilters_ = java.util.Collections.unmodifiableList(applicationLastStageFilters_); } - if (((mutable_bitField0_ & 0x00001000) == 0x00001000)) { + if (((mutable_bitField0_ & 0x00001000) != 0)) { applicationJobFilters_ = java.util.Collections.unmodifiableList(applicationJobFilters_); } - if (((mutable_bitField0_ & 0x00002000) == 0x00002000)) { + if (((mutable_bitField0_ & 0x00002000) != 0)) { applicationStatusFilters_ = java.util.Collections.unmodifiableList(applicationStatusFilters_); } @@ -1778,35 +1778,30 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ProfileQuery other = (com.google.cloud.talent.v4beta1.ProfileQuery) obj; - boolean result = true; - result = result && getQuery().equals(other.getQuery()); - result = result && getLocationFiltersList().equals(other.getLocationFiltersList()); - result = result && getJobTitleFiltersList().equals(other.getJobTitleFiltersList()); - result = result && getEmployerFiltersList().equals(other.getEmployerFiltersList()); - result = result && getEducationFiltersList().equals(other.getEducationFiltersList()); - result = result && getSkillFiltersList().equals(other.getSkillFiltersList()); - result = result && getWorkExperienceFilterList().equals(other.getWorkExperienceFilterList()); - result = result && getTimeFiltersList().equals(other.getTimeFiltersList()); - result = result && (hasHirableFilter() == other.hasHirableFilter()); + if (!getQuery().equals(other.getQuery())) return false; + if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; + if (!getJobTitleFiltersList().equals(other.getJobTitleFiltersList())) return false; + if (!getEmployerFiltersList().equals(other.getEmployerFiltersList())) return false; + if (!getEducationFiltersList().equals(other.getEducationFiltersList())) return false; + if (!getSkillFiltersList().equals(other.getSkillFiltersList())) return false; + if (!getWorkExperienceFilterList().equals(other.getWorkExperienceFilterList())) return false; + if (!getTimeFiltersList().equals(other.getTimeFiltersList())) return false; + if (hasHirableFilter() != other.hasHirableFilter()) return false; if (hasHirableFilter()) { - result = result && getHirableFilter().equals(other.getHirableFilter()); - } - result = - result && getApplicationDateFiltersList().equals(other.getApplicationDateFiltersList()); - result = - result - && getApplicationOutcomeNotesFiltersList() - .equals(other.getApplicationOutcomeNotesFiltersList()); - result = - result - && getApplicationLastStageFiltersList() - .equals(other.getApplicationLastStageFiltersList()); - result = result && getApplicationJobFiltersList().equals(other.getApplicationJobFiltersList()); - result = - result && getApplicationStatusFiltersList().equals(other.getApplicationStatusFiltersList()); - result = result && getCustomFieldFilter().equals(other.getCustomFieldFilter()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getHirableFilter().equals(other.getHirableFilter())) return false; + } + if (!getApplicationDateFiltersList().equals(other.getApplicationDateFiltersList())) + return false; + if (!getApplicationOutcomeNotesFiltersList() + .equals(other.getApplicationOutcomeNotesFiltersList())) return false; + if (!getApplicationLastStageFiltersList().equals(other.getApplicationLastStageFiltersList())) + return false; + if (!getApplicationJobFiltersList().equals(other.getApplicationJobFiltersList())) return false; + if (!getApplicationStatusFiltersList().equals(other.getApplicationStatusFiltersList())) + return false; + if (!getCustomFieldFilter().equals(other.getCustomFieldFilter())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -2143,7 +2138,7 @@ public com.google.cloud.talent.v4beta1.ProfileQuery buildPartial() { int to_bitField0_ = 0; result.query_ = query_; if (locationFiltersBuilder_ == null) { - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { locationFilters_ = java.util.Collections.unmodifiableList(locationFilters_); bitField0_ = (bitField0_ & ~0x00000002); } @@ -2152,7 +2147,7 @@ public com.google.cloud.talent.v4beta1.ProfileQuery buildPartial() { result.locationFilters_ = locationFiltersBuilder_.build(); } if (jobTitleFiltersBuilder_ == null) { - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { jobTitleFilters_ = java.util.Collections.unmodifiableList(jobTitleFilters_); bitField0_ = (bitField0_ & ~0x00000004); } @@ -2161,7 +2156,7 @@ public com.google.cloud.talent.v4beta1.ProfileQuery buildPartial() { result.jobTitleFilters_ = jobTitleFiltersBuilder_.build(); } if (employerFiltersBuilder_ == null) { - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { employerFilters_ = java.util.Collections.unmodifiableList(employerFilters_); bitField0_ = (bitField0_ & ~0x00000008); } @@ -2170,7 +2165,7 @@ public com.google.cloud.talent.v4beta1.ProfileQuery buildPartial() { result.employerFilters_ = employerFiltersBuilder_.build(); } if (educationFiltersBuilder_ == null) { - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { educationFilters_ = java.util.Collections.unmodifiableList(educationFilters_); bitField0_ = (bitField0_ & ~0x00000010); } @@ -2179,7 +2174,7 @@ public com.google.cloud.talent.v4beta1.ProfileQuery buildPartial() { result.educationFilters_ = educationFiltersBuilder_.build(); } if (skillFiltersBuilder_ == null) { - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { skillFilters_ = java.util.Collections.unmodifiableList(skillFilters_); bitField0_ = (bitField0_ & ~0x00000020); } @@ -2188,7 +2183,7 @@ public com.google.cloud.talent.v4beta1.ProfileQuery buildPartial() { result.skillFilters_ = skillFiltersBuilder_.build(); } if (workExperienceFilterBuilder_ == null) { - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { workExperienceFilter_ = java.util.Collections.unmodifiableList(workExperienceFilter_); bitField0_ = (bitField0_ & ~0x00000040); } @@ -2197,7 +2192,7 @@ public com.google.cloud.talent.v4beta1.ProfileQuery buildPartial() { result.workExperienceFilter_ = workExperienceFilterBuilder_.build(); } if (timeFiltersBuilder_ == null) { - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { timeFilters_ = java.util.Collections.unmodifiableList(timeFilters_); bitField0_ = (bitField0_ & ~0x00000080); } @@ -2211,7 +2206,7 @@ public com.google.cloud.talent.v4beta1.ProfileQuery buildPartial() { result.hirableFilter_ = hirableFilterBuilder_.build(); } if (applicationDateFiltersBuilder_ == null) { - if (((bitField0_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000200) != 0)) { applicationDateFilters_ = java.util.Collections.unmodifiableList(applicationDateFilters_); bitField0_ = (bitField0_ & ~0x00000200); } @@ -2220,7 +2215,7 @@ public com.google.cloud.talent.v4beta1.ProfileQuery buildPartial() { result.applicationDateFilters_ = applicationDateFiltersBuilder_.build(); } if (applicationOutcomeNotesFiltersBuilder_ == null) { - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { applicationOutcomeNotesFilters_ = java.util.Collections.unmodifiableList(applicationOutcomeNotesFilters_); bitField0_ = (bitField0_ & ~0x00000400); @@ -2230,7 +2225,7 @@ public com.google.cloud.talent.v4beta1.ProfileQuery buildPartial() { result.applicationOutcomeNotesFilters_ = applicationOutcomeNotesFiltersBuilder_.build(); } if (applicationLastStageFiltersBuilder_ == null) { - if (((bitField0_ & 0x00000800) == 0x00000800)) { + if (((bitField0_ & 0x00000800) != 0)) { applicationLastStageFilters_ = java.util.Collections.unmodifiableList(applicationLastStageFilters_); bitField0_ = (bitField0_ & ~0x00000800); @@ -2240,7 +2235,7 @@ public com.google.cloud.talent.v4beta1.ProfileQuery buildPartial() { result.applicationLastStageFilters_ = applicationLastStageFiltersBuilder_.build(); } if (applicationJobFiltersBuilder_ == null) { - if (((bitField0_ & 0x00001000) == 0x00001000)) { + if (((bitField0_ & 0x00001000) != 0)) { applicationJobFilters_ = java.util.Collections.unmodifiableList(applicationJobFilters_); bitField0_ = (bitField0_ & ~0x00001000); } @@ -2249,7 +2244,7 @@ public com.google.cloud.talent.v4beta1.ProfileQuery buildPartial() { result.applicationJobFilters_ = applicationJobFiltersBuilder_.build(); } if (applicationStatusFiltersBuilder_ == null) { - if (((bitField0_ & 0x00002000) == 0x00002000)) { + if (((bitField0_ & 0x00002000) != 0)) { applicationStatusFilters_ = java.util.Collections.unmodifiableList(applicationStatusFilters_); bitField0_ = (bitField0_ & ~0x00002000); @@ -2266,35 +2261,35 @@ public com.google.cloud.talent.v4beta1.ProfileQuery buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -2784,7 +2779,7 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { java.util.Collections.emptyList(); private void ensureLocationFiltersIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000002) != 0)) { locationFilters_ = new java.util.ArrayList( locationFilters_); @@ -3276,7 +3271,7 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters com.google.cloud.talent.v4beta1.LocationFilter.Builder, com.google.cloud.talent.v4beta1.LocationFilterOrBuilder>( locationFilters_, - ((bitField0_ & 0x00000002) == 0x00000002), + ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); locationFilters_ = null; @@ -3288,7 +3283,7 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters java.util.Collections.emptyList(); private void ensureJobTitleFiltersIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { + if (!((bitField0_ & 0x00000004) != 0)) { jobTitleFilters_ = new java.util.ArrayList( jobTitleFilters_); @@ -3780,7 +3775,7 @@ public com.google.cloud.talent.v4beta1.JobTitleFilter.Builder addJobTitleFilters com.google.cloud.talent.v4beta1.JobTitleFilter.Builder, com.google.cloud.talent.v4beta1.JobTitleFilterOrBuilder>( jobTitleFilters_, - ((bitField0_ & 0x00000004) == 0x00000004), + ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); jobTitleFilters_ = null; @@ -3792,7 +3787,7 @@ public com.google.cloud.talent.v4beta1.JobTitleFilter.Builder addJobTitleFilters java.util.Collections.emptyList(); private void ensureEmployerFiltersIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { + if (!((bitField0_ & 0x00000008) != 0)) { employerFilters_ = new java.util.ArrayList( employerFilters_); @@ -4320,7 +4315,7 @@ public com.google.cloud.talent.v4beta1.EmployerFilter.Builder addEmployerFilters com.google.cloud.talent.v4beta1.EmployerFilter.Builder, com.google.cloud.talent.v4beta1.EmployerFilterOrBuilder>( employerFilters_, - ((bitField0_ & 0x00000008) == 0x00000008), + ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); employerFilters_ = null; @@ -4332,7 +4327,7 @@ public com.google.cloud.talent.v4beta1.EmployerFilter.Builder addEmployerFilters java.util.Collections.emptyList(); private void ensureEducationFiltersIsMutable() { - if (!((bitField0_ & 0x00000010) == 0x00000010)) { + if (!((bitField0_ & 0x00000010) != 0)) { educationFilters_ = new java.util.ArrayList( educationFilters_); @@ -4843,7 +4838,7 @@ public com.google.cloud.talent.v4beta1.EducationFilter.Builder addEducationFilte com.google.cloud.talent.v4beta1.EducationFilter.Builder, com.google.cloud.talent.v4beta1.EducationFilterOrBuilder>( educationFilters_, - ((bitField0_ & 0x00000010) == 0x00000010), + ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); educationFilters_ = null; @@ -4855,7 +4850,7 @@ public com.google.cloud.talent.v4beta1.EducationFilter.Builder addEducationFilte java.util.Collections.emptyList(); private void ensureSkillFiltersIsMutable() { - if (!((bitField0_ & 0x00000020) == 0x00000020)) { + if (!((bitField0_ & 0x00000020) != 0)) { skillFilters_ = new java.util.ArrayList(skillFilters_); bitField0_ |= 0x00000020; @@ -5341,10 +5336,7 @@ public com.google.cloud.talent.v4beta1.SkillFilter.Builder addSkillFiltersBuilde com.google.cloud.talent.v4beta1.SkillFilter, com.google.cloud.talent.v4beta1.SkillFilter.Builder, com.google.cloud.talent.v4beta1.SkillFilterOrBuilder>( - skillFilters_, - ((bitField0_ & 0x00000020) == 0x00000020), - getParentForChildren(), - isClean()); + skillFilters_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); skillFilters_ = null; } return skillFiltersBuilder_; @@ -5354,7 +5346,7 @@ public com.google.cloud.talent.v4beta1.SkillFilter.Builder addSkillFiltersBuilde workExperienceFilter_ = java.util.Collections.emptyList(); private void ensureWorkExperienceFilterIsMutable() { - if (!((bitField0_ & 0x00000040) == 0x00000040)) { + if (!((bitField0_ & 0x00000040) != 0)) { workExperienceFilter_ = new java.util.ArrayList( workExperienceFilter_); @@ -5850,7 +5842,7 @@ public Builder removeWorkExperienceFilter(int index) { com.google.cloud.talent.v4beta1.WorkExperienceFilter.Builder, com.google.cloud.talent.v4beta1.WorkExperienceFilterOrBuilder>( workExperienceFilter_, - ((bitField0_ & 0x00000040) == 0x00000040), + ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); workExperienceFilter_ = null; @@ -5862,7 +5854,7 @@ public Builder removeWorkExperienceFilter(int index) { java.util.Collections.emptyList(); private void ensureTimeFiltersIsMutable() { - if (!((bitField0_ & 0x00000080) == 0x00000080)) { + if (!((bitField0_ & 0x00000080) != 0)) { timeFilters_ = new java.util.ArrayList(timeFilters_); bitField0_ |= 0x00000080; @@ -6257,16 +6249,13 @@ public com.google.cloud.talent.v4beta1.TimeFilter.Builder addTimeFiltersBuilder( com.google.cloud.talent.v4beta1.TimeFilter, com.google.cloud.talent.v4beta1.TimeFilter.Builder, com.google.cloud.talent.v4beta1.TimeFilterOrBuilder>( - timeFilters_, - ((bitField0_ & 0x00000080) == 0x00000080), - getParentForChildren(), - isClean()); + timeFilters_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); timeFilters_ = null; } return timeFiltersBuilder_; } - private com.google.protobuf.BoolValue hirableFilter_ = null; + private com.google.protobuf.BoolValue hirableFilter_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, @@ -6460,7 +6449,7 @@ public com.google.protobuf.BoolValueOrBuilder getHirableFilterOrBuilder() { applicationDateFilters_ = java.util.Collections.emptyList(); private void ensureApplicationDateFiltersIsMutable() { - if (!((bitField0_ & 0x00000200) == 0x00000200)) { + if (!((bitField0_ & 0x00000200) != 0)) { applicationDateFilters_ = new java.util.ArrayList( applicationDateFilters_); @@ -6868,7 +6857,7 @@ public Builder removeApplicationDateFilters(int index) { com.google.cloud.talent.v4beta1.ApplicationDateFilter.Builder, com.google.cloud.talent.v4beta1.ApplicationDateFilterOrBuilder>( applicationDateFilters_, - ((bitField0_ & 0x00000200) == 0x00000200), + ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); applicationDateFilters_ = null; @@ -6880,7 +6869,7 @@ public Builder removeApplicationDateFilters(int index) { applicationOutcomeNotesFilters_ = java.util.Collections.emptyList(); private void ensureApplicationOutcomeNotesFiltersIsMutable() { - if (!((bitField0_ & 0x00000400) == 0x00000400)) { + if (!((bitField0_ & 0x00000400) != 0)) { applicationOutcomeNotesFilters_ = new java.util.ArrayList( applicationOutcomeNotesFilters_); @@ -7312,7 +7301,7 @@ public Builder removeApplicationOutcomeNotesFilters(int index) { com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter.Builder, com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilterOrBuilder>( applicationOutcomeNotesFilters_, - ((bitField0_ & 0x00000400) == 0x00000400), + ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); applicationOutcomeNotesFilters_ = null; @@ -7324,7 +7313,7 @@ public Builder removeApplicationOutcomeNotesFilters(int index) { applicationLastStageFilters_ = java.util.Collections.emptyList(); private void ensureApplicationLastStageFiltersIsMutable() { - if (!((bitField0_ & 0x00000800) == 0x00000800)) { + if (!((bitField0_ & 0x00000800) != 0)) { applicationLastStageFilters_ = new java.util.ArrayList( applicationLastStageFilters_); @@ -7756,7 +7745,7 @@ public Builder removeApplicationLastStageFilters(int index) { com.google.cloud.talent.v4beta1.ApplicationLastStageFilter.Builder, com.google.cloud.talent.v4beta1.ApplicationLastStageFilterOrBuilder>( applicationLastStageFilters_, - ((bitField0_ & 0x00000800) == 0x00000800), + ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); applicationLastStageFilters_ = null; @@ -7768,7 +7757,7 @@ public Builder removeApplicationLastStageFilters(int index) { applicationJobFilters_ = java.util.Collections.emptyList(); private void ensureApplicationJobFiltersIsMutable() { - if (!((bitField0_ & 0x00001000) == 0x00001000)) { + if (!((bitField0_ & 0x00001000) != 0)) { applicationJobFilters_ = new java.util.ArrayList( applicationJobFilters_); @@ -8175,7 +8164,7 @@ public Builder removeApplicationJobFilters(int index) { com.google.cloud.talent.v4beta1.ApplicationJobFilter.Builder, com.google.cloud.talent.v4beta1.ApplicationJobFilterOrBuilder>( applicationJobFilters_, - ((bitField0_ & 0x00001000) == 0x00001000), + ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); applicationJobFilters_ = null; @@ -8187,7 +8176,7 @@ public Builder removeApplicationJobFilters(int index) { applicationStatusFilters_ = java.util.Collections.emptyList(); private void ensureApplicationStatusFiltersIsMutable() { - if (!((bitField0_ & 0x00002000) == 0x00002000)) { + if (!((bitField0_ & 0x00002000) != 0)) { applicationStatusFilters_ = new java.util.ArrayList( applicationStatusFilters_); @@ -8598,7 +8587,7 @@ public Builder removeApplicationStatusFilters(int index) { com.google.cloud.talent.v4beta1.ApplicationStatusFilter.Builder, com.google.cloud.talent.v4beta1.ApplicationStatusFilterOrBuilder>( applicationStatusFilters_, - ((bitField0_ & 0x00002000) == 0x00002000), + ((bitField0_ & 0x00002000) != 0), getParentForChildren(), isClean()); applicationStatusFilters_ = null; @@ -8797,7 +8786,7 @@ public Builder setCustomFieldFilterBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Publication.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Publication.java index b19d07d0a5ec..a93bb4666578 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Publication.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Publication.java @@ -60,7 +60,7 @@ private Publication( case 10: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { authors_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -133,7 +133,7 @@ private Publication( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -145,7 +145,7 @@ private Publication( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { authors_ = authors_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -697,21 +697,20 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.Publication other = (com.google.cloud.talent.v4beta1.Publication) obj; - boolean result = true; - result = result && getAuthorsList().equals(other.getAuthorsList()); - result = result && getTitle().equals(other.getTitle()); - result = result && getDescription().equals(other.getDescription()); - result = result && getJournal().equals(other.getJournal()); - result = result && getVolume().equals(other.getVolume()); - result = result && getPublisher().equals(other.getPublisher()); - result = result && (hasPublicationDate() == other.hasPublicationDate()); + if (!getAuthorsList().equals(other.getAuthorsList())) return false; + if (!getTitle().equals(other.getTitle())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getJournal().equals(other.getJournal())) return false; + if (!getVolume().equals(other.getVolume())) return false; + if (!getPublisher().equals(other.getPublisher())) return false; + if (hasPublicationDate() != other.hasPublicationDate()) return false; if (hasPublicationDate()) { - result = result && getPublicationDate().equals(other.getPublicationDate()); + if (!getPublicationDate().equals(other.getPublicationDate())) return false; } - result = result && getPublicationType().equals(other.getPublicationType()); - result = result && getIsbn().equals(other.getIsbn()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getPublicationType().equals(other.getPublicationType())) return false; + if (!getIsbn().equals(other.getIsbn())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -939,7 +938,7 @@ public com.google.cloud.talent.v4beta1.Publication buildPartial() { new com.google.cloud.talent.v4beta1.Publication(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { authors_ = authors_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } @@ -963,35 +962,35 @@ public com.google.cloud.talent.v4beta1.Publication buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1082,7 +1081,7 @@ public Builder mergeFrom( com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAuthorsIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { authors_ = new com.google.protobuf.LazyStringArrayList(authors_); bitField0_ |= 0x00000001; } @@ -1759,7 +1758,7 @@ public Builder setPublisherBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.type.Date publicationDate_ = null; + private com.google.type.Date publicationDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> publicationDateBuilder_; @@ -2151,7 +2150,7 @@ public Builder setIsbnBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Rating.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Rating.java index 3c205ef586a5..0c98de21fa39 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Rating.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Rating.java @@ -22,12 +22,7 @@ private Rating(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Rating() { - overall_ = 0D; - min_ = 0D; - max_ = 0D; - interval_ = 0D; - } + private Rating() {} @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -75,7 +70,7 @@ private Rating( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -230,25 +225,16 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.talent.v4beta1.Rating other = (com.google.cloud.talent.v4beta1.Rating) obj; - boolean result = true; - result = - result - && (java.lang.Double.doubleToLongBits(getOverall()) - == java.lang.Double.doubleToLongBits(other.getOverall())); - result = - result - && (java.lang.Double.doubleToLongBits(getMin()) - == java.lang.Double.doubleToLongBits(other.getMin())); - result = - result - && (java.lang.Double.doubleToLongBits(getMax()) - == java.lang.Double.doubleToLongBits(other.getMax())); - result = - result - && (java.lang.Double.doubleToLongBits(getInterval()) - == java.lang.Double.doubleToLongBits(other.getInterval())); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (java.lang.Double.doubleToLongBits(getOverall()) + != java.lang.Double.doubleToLongBits(other.getOverall())) return false; + if (java.lang.Double.doubleToLongBits(getMin()) + != java.lang.Double.doubleToLongBits(other.getMin())) return false; + if (java.lang.Double.doubleToLongBits(getMax()) + != java.lang.Double.doubleToLongBits(other.getMax())) return false; + if (java.lang.Double.doubleToLongBits(getInterval()) + != java.lang.Double.doubleToLongBits(other.getInterval())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -466,35 +452,35 @@ public com.google.cloud.talent.v4beta1.Rating buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -731,7 +717,7 @@ public Builder clearInterval() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java index 1b4ca53cb817..458a866a1b0e 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java @@ -29,7 +29,6 @@ private RequestMetadata() { domain_ = ""; sessionId_ = ""; userId_ = ""; - allowMissingIds_ = false; } @java.lang.Override @@ -100,7 +99,7 @@ private RequestMetadata( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -466,17 +465,16 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.RequestMetadata other = (com.google.cloud.talent.v4beta1.RequestMetadata) obj; - boolean result = true; - result = result && getDomain().equals(other.getDomain()); - result = result && getSessionId().equals(other.getSessionId()); - result = result && getUserId().equals(other.getUserId()); - result = result && (getAllowMissingIds() == other.getAllowMissingIds()); - result = result && (hasDeviceInfo() == other.hasDeviceInfo()); + if (!getDomain().equals(other.getDomain())) return false; + if (!getSessionId().equals(other.getSessionId())) return false; + if (!getUserId().equals(other.getUserId())) return false; + if (getAllowMissingIds() != other.getAllowMissingIds()) return false; + if (hasDeviceInfo() != other.hasDeviceInfo()) return false; if (hasDeviceInfo()) { - result = result && getDeviceInfo().equals(other.getDeviceInfo()); + if (!getDeviceInfo().equals(other.getDeviceInfo())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -702,35 +700,35 @@ public com.google.cloud.talent.v4beta1.RequestMetadata buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1309,7 +1307,7 @@ public Builder clearAllowMissingIds() { return this; } - private com.google.cloud.talent.v4beta1.DeviceInfo deviceInfo_ = null; + private com.google.cloud.talent.v4beta1.DeviceInfo deviceInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.DeviceInfo, com.google.cloud.talent.v4beta1.DeviceInfo.Builder, @@ -1511,7 +1509,7 @@ public com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder getDeviceInfoOrBuilde @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java index 34e358a38300..047149d34e51 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java @@ -60,7 +60,7 @@ private ResponseMetadata( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -182,10 +182,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.ResponseMetadata other = (com.google.cloud.talent.v4beta1.ResponseMetadata) obj; - boolean result = true; - result = result && getRequestId().equals(other.getRequestId()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -379,35 +378,35 @@ public com.google.cloud.talent.v4beta1.ResponseMetadata buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -557,7 +556,7 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java index 602761ed3df7..873a0376bb62 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java @@ -26,16 +26,11 @@ private SearchJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder buil private SearchJobsRequest() { parent_ = ""; searchMode_ = 0; - enableBroadening_ = false; - requirePreciseResultSize_ = false; histogramQueries_ = java.util.Collections.emptyList(); jobView_ = 0; - offset_ = 0; - pageSize_ = 0; pageToken_ = ""; orderBy_ = ""; diversificationLevel_ = 0; - disableKeywordMatch_ = false; } @java.lang.Override @@ -120,7 +115,7 @@ private SearchJobsRequest( } case 58: { - if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { + if (!((mutable_bitField0_ & 0x00000040) != 0)) { histogramQueries_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; @@ -193,7 +188,7 @@ private SearchJobsRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -205,7 +200,7 @@ private SearchJobsRequest( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { + if (((mutable_bitField0_ & 0x00000040) != 0)) { histogramQueries_ = java.util.Collections.unmodifiableList(histogramQueries_); } this.unknownFields = unknownFields.build(); @@ -701,7 +696,7 @@ private CustomRankingInfo( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -1170,11 +1165,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other = (com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) obj; - boolean result = true; - result = result && importanceLevel_ == other.importanceLevel_; - result = result && getRankingExpression().equals(other.getRankingExpression()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (importanceLevel_ != other.importanceLevel_) return false; + if (!getRankingExpression().equals(other.getRankingExpression())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1381,23 +1375,23 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo build @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override @@ -1405,13 +1399,13 @@ public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1743,7 +1737,7 @@ public Builder setRankingExpressionBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override @@ -3069,33 +3063,32 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.SearchJobsRequest other = (com.google.cloud.talent.v4beta1.SearchJobsRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && searchMode_ == other.searchMode_; - result = result && (hasRequestMetadata() == other.hasRequestMetadata()); + if (!getParent().equals(other.getParent())) return false; + if (searchMode_ != other.searchMode_) return false; + if (hasRequestMetadata() != other.hasRequestMetadata()) return false; if (hasRequestMetadata()) { - result = result && getRequestMetadata().equals(other.getRequestMetadata()); + if (!getRequestMetadata().equals(other.getRequestMetadata())) return false; } - result = result && (hasJobQuery() == other.hasJobQuery()); + if (hasJobQuery() != other.hasJobQuery()) return false; if (hasJobQuery()) { - result = result && getJobQuery().equals(other.getJobQuery()); - } - result = result && (getEnableBroadening() == other.getEnableBroadening()); - result = result && (getRequirePreciseResultSize() == other.getRequirePreciseResultSize()); - result = result && getHistogramQueriesList().equals(other.getHistogramQueriesList()); - result = result && jobView_ == other.jobView_; - result = result && (getOffset() == other.getOffset()); - result = result && (getPageSize() == other.getPageSize()); - result = result && getPageToken().equals(other.getPageToken()); - result = result && getOrderBy().equals(other.getOrderBy()); - result = result && diversificationLevel_ == other.diversificationLevel_; - result = result && (hasCustomRankingInfo() == other.hasCustomRankingInfo()); + if (!getJobQuery().equals(other.getJobQuery())) return false; + } + if (getEnableBroadening() != other.getEnableBroadening()) return false; + if (getRequirePreciseResultSize() != other.getRequirePreciseResultSize()) return false; + if (!getHistogramQueriesList().equals(other.getHistogramQueriesList())) return false; + if (jobView_ != other.jobView_) return false; + if (getOffset() != other.getOffset()) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (diversificationLevel_ != other.diversificationLevel_) return false; + if (hasCustomRankingInfo() != other.hasCustomRankingInfo()) return false; if (hasCustomRankingInfo()) { - result = result && getCustomRankingInfo().equals(other.getCustomRankingInfo()); + if (!getCustomRankingInfo().equals(other.getCustomRankingInfo())) return false; } - result = result && (getDisableKeywordMatch() == other.getDisableKeywordMatch()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (getDisableKeywordMatch() != other.getDisableKeywordMatch()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -3381,7 +3374,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest buildPartial() { result.enableBroadening_ = enableBroadening_; result.requirePreciseResultSize_ = requirePreciseResultSize_; if (histogramQueriesBuilder_ == null) { - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { histogramQueries_ = java.util.Collections.unmodifiableList(histogramQueries_); bitField0_ = (bitField0_ & ~0x00000040); } @@ -3408,35 +3401,35 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -3769,7 +3762,7 @@ public Builder clearSearchMode() { return this; } - private com.google.cloud.talent.v4beta1.RequestMetadata requestMetadata_ = null; + private com.google.cloud.talent.v4beta1.RequestMetadata requestMetadata_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.RequestMetadata, com.google.cloud.talent.v4beta1.RequestMetadata.Builder, @@ -3978,7 +3971,7 @@ public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetada return requestMetadataBuilder_; } - private com.google.cloud.talent.v4beta1.JobQuery jobQuery_ = null; + private com.google.cloud.talent.v4beta1.JobQuery jobQuery_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.JobQuery, com.google.cloud.talent.v4beta1.JobQuery.Builder, @@ -4293,7 +4286,7 @@ public Builder clearRequirePreciseResultSize() { java.util.Collections.emptyList(); private void ensureHistogramQueriesIsMutable() { - if (!((bitField0_ & 0x00000040) == 0x00000040)) { + if (!((bitField0_ & 0x00000040) != 0)) { histogramQueries_ = new java.util.ArrayList( histogramQueries_); @@ -6190,7 +6183,7 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie com.google.cloud.talent.v4beta1.HistogramQuery.Builder, com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder>( histogramQueries_, - ((bitField0_ & 0x00000040) == 0x00000040), + ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); histogramQueries_ = null; @@ -6997,8 +6990,7 @@ public Builder clearDiversificationLevel() { return this; } - private com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo customRankingInfo_ = - null; + private com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo customRankingInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, @@ -7328,7 +7320,7 @@ public Builder clearDisableKeywordMatch() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java index fcbc5f970298..d776bec9ad79 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java @@ -28,9 +28,6 @@ private SearchJobsResponse() { histogramQueryResults_ = java.util.Collections.emptyList(); nextPageToken_ = ""; locationFilters_ = java.util.Collections.emptyList(); - estimatedTotalSize_ = 0; - totalSize_ = 0; - broadenedQueryJobsCount_ = 0; } @java.lang.Override @@ -59,7 +56,7 @@ private SearchJobsResponse( break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { matchingJobs_ = new java.util.ArrayList< com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob>(); @@ -73,7 +70,7 @@ private SearchJobsResponse( } case 18: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { histogramQueryResults_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; @@ -93,7 +90,7 @@ private SearchJobsResponse( } case 34: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { locationFilters_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; @@ -153,7 +150,7 @@ private SearchJobsResponse( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -165,13 +162,13 @@ private SearchJobsResponse( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { matchingJobs_ = java.util.Collections.unmodifiableList(matchingJobs_); } - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { histogramQueryResults_ = java.util.Collections.unmodifiableList(histogramQueryResults_); } - if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { locationFilters_ = java.util.Collections.unmodifiableList(locationFilters_); } this.unknownFields = unknownFields.build(); @@ -455,7 +452,7 @@ private MatchingJob( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -788,20 +785,19 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other = (com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) obj; - boolean result = true; - result = result && (hasJob() == other.hasJob()); + if (hasJob() != other.hasJob()) return false; if (hasJob()) { - result = result && getJob().equals(other.getJob()); + if (!getJob().equals(other.getJob())) return false; } - result = result && getJobSummary().equals(other.getJobSummary()); - result = result && getJobTitleSnippet().equals(other.getJobTitleSnippet()); - result = result && getSearchTextSnippet().equals(other.getSearchTextSnippet()); - result = result && (hasCommuteInfo() == other.hasCommuteInfo()); + if (!getJobSummary().equals(other.getJobSummary())) return false; + if (!getJobTitleSnippet().equals(other.getJobTitleSnippet())) return false; + if (!getSearchTextSnippet().equals(other.getSearchTextSnippet())) return false; + if (hasCommuteInfo() != other.hasCommuteInfo()) return false; if (hasCommuteInfo()) { - result = result && getCommuteInfo().equals(other.getCommuteInfo()); + if (!getCommuteInfo().equals(other.getCommuteInfo())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1040,23 +1036,23 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob buildParti @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override @@ -1064,13 +1060,13 @@ public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1137,7 +1133,7 @@ public Builder mergeFrom( return this; } - private com.google.cloud.talent.v4beta1.Job job_ = null; + private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, @@ -1645,7 +1641,7 @@ public Builder setSearchTextSnippetBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commuteInfo_ = null; + private com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commuteInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, @@ -1844,7 +1840,7 @@ public Builder clearCommuteInfo() { @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override @@ -2051,7 +2047,7 @@ private CommuteInfo( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -2225,17 +2221,16 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other = (com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) obj; - boolean result = true; - result = result && (hasJobLocation() == other.hasJobLocation()); + if (hasJobLocation() != other.hasJobLocation()) return false; if (hasJobLocation()) { - result = result && getJobLocation().equals(other.getJobLocation()); + if (!getJobLocation().equals(other.getJobLocation())) return false; } - result = result && (hasTravelDuration() == other.hasTravelDuration()); + if (hasTravelDuration() != other.hasTravelDuration()) return false; if (hasTravelDuration()) { - result = result && getTravelDuration().equals(other.getTravelDuration()); + if (!getTravelDuration().equals(other.getTravelDuration())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -2458,23 +2453,23 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo buildParti @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override @@ -2482,13 +2477,13 @@ public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -2543,7 +2538,7 @@ public Builder mergeFrom( return this; } - private com.google.cloud.talent.v4beta1.Location jobLocation_ = null; + private com.google.cloud.talent.v4beta1.Location jobLocation_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, @@ -2725,7 +2720,7 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder return jobLocationBuilder_; } - private com.google.protobuf.Duration travelDuration_ = null; + private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, @@ -2936,7 +2931,7 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override @@ -3498,24 +3493,23 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.SearchJobsResponse other = (com.google.cloud.talent.v4beta1.SearchJobsResponse) obj; - boolean result = true; - result = result && getMatchingJobsList().equals(other.getMatchingJobsList()); - result = result && getHistogramQueryResultsList().equals(other.getHistogramQueryResultsList()); - result = result && getNextPageToken().equals(other.getNextPageToken()); - result = result && getLocationFiltersList().equals(other.getLocationFiltersList()); - result = result && (getEstimatedTotalSize() == other.getEstimatedTotalSize()); - result = result && (getTotalSize() == other.getTotalSize()); - result = result && (hasMetadata() == other.hasMetadata()); + if (!getMatchingJobsList().equals(other.getMatchingJobsList())) return false; + if (!getHistogramQueryResultsList().equals(other.getHistogramQueryResultsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; + if (getEstimatedTotalSize() != other.getEstimatedTotalSize()) return false; + if (getTotalSize() != other.getTotalSize()) return false; + if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - result = result && getMetadata().equals(other.getMetadata()); + if (!getMetadata().equals(other.getMetadata())) return false; } - result = result && (getBroadenedQueryJobsCount() == other.getBroadenedQueryJobsCount()); - result = result && (hasSpellCorrection() == other.hasSpellCorrection()); + if (getBroadenedQueryJobsCount() != other.getBroadenedQueryJobsCount()) return false; + if (hasSpellCorrection() != other.hasSpellCorrection()) return false; if (hasSpellCorrection()) { - result = result && getSpellCorrection().equals(other.getSpellCorrection()); + if (!getSpellCorrection().equals(other.getSpellCorrection())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -3771,7 +3765,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (matchingJobsBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { matchingJobs_ = java.util.Collections.unmodifiableList(matchingJobs_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -3780,7 +3774,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse buildPartial() { result.matchingJobs_ = matchingJobsBuilder_.build(); } if (histogramQueryResultsBuilder_ == null) { - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { histogramQueryResults_ = java.util.Collections.unmodifiableList(histogramQueryResults_); bitField0_ = (bitField0_ & ~0x00000002); } @@ -3790,7 +3784,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse buildPartial() { } result.nextPageToken_ = nextPageToken_; if (locationFiltersBuilder_ == null) { - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { locationFilters_ = java.util.Collections.unmodifiableList(locationFilters_); bitField0_ = (bitField0_ & ~0x00000008); } @@ -3818,35 +3812,35 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -3998,7 +3992,7 @@ public Builder mergeFrom( matchingJobs_ = java.util.Collections.emptyList(); private void ensureMatchingJobsIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { matchingJobs_ = new java.util.ArrayList( matchingJobs_); @@ -4392,10 +4386,7 @@ public Builder removeMatchingJobs(int index) { com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder>( - matchingJobs_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); + matchingJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); matchingJobs_ = null; } return matchingJobsBuilder_; @@ -4405,7 +4396,7 @@ public Builder removeMatchingJobs(int index) { histogramQueryResults_ = java.util.Collections.emptyList(); private void ensureHistogramQueryResultsIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000002) != 0)) { histogramQueryResults_ = new java.util.ArrayList( histogramQueryResults_); @@ -4794,7 +4785,7 @@ public Builder removeHistogramQueryResults(int index) { com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder>( histogramQueryResults_, - ((bitField0_ & 0x00000002) == 0x00000002), + ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); histogramQueryResults_ = null; @@ -4905,7 +4896,7 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { java.util.Collections.emptyList(); private void ensureLocationFiltersIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { + if (!((bitField0_ & 0x00000008) != 0)) { locationFilters_ = new java.util.ArrayList(locationFilters_); bitField0_ |= 0x00000008; @@ -5284,7 +5275,7 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>( locationFilters_, - ((bitField0_ & 0x00000008) == 0x00000008), + ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); locationFilters_ = null; @@ -5392,7 +5383,7 @@ public Builder clearTotalSize() { return this; } - private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_ = null; + private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, @@ -5645,7 +5636,7 @@ public Builder clearBroadenedQueryJobsCount() { return this; } - private com.google.cloud.talent.v4beta1.SpellingCorrection spellCorrection_ = null; + private com.google.cloud.talent.v4beta1.SpellingCorrection spellCorrection_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.SpellingCorrection, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, @@ -5830,7 +5821,7 @@ public com.google.cloud.talent.v4beta1.SpellingCorrection.Builder getSpellCorrec @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesRequest.java index 0c7a6360a77e..a2302fb34061 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesRequest.java @@ -24,12 +24,8 @@ private SearchProfilesRequest(com.google.protobuf.GeneratedMessageV3.Builder private SearchProfilesRequest() { parent_ = ""; - pageSize_ = 0; pageToken_ = ""; - offset_ = 0; - disableSpellCheck_ = false; orderBy_ = ""; - caseSensitiveSort_ = false; histogramQueries_ = java.util.Collections.emptyList(); } @@ -132,7 +128,7 @@ private SearchProfilesRequest( } case 82: { - if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { + if (!((mutable_bitField0_ & 0x00000200) != 0)) { histogramQueries_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; @@ -144,7 +140,7 @@ private SearchProfilesRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -156,7 +152,7 @@ private SearchProfilesRequest( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { + if (((mutable_bitField0_ & 0x00000200) != 0)) { histogramQueries_ = java.util.Collections.unmodifiableList(histogramQueries_); } this.unknownFields = unknownFields.build(); @@ -1102,25 +1098,24 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.SearchProfilesRequest other = (com.google.cloud.talent.v4beta1.SearchProfilesRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && (hasRequestMetadata() == other.hasRequestMetadata()); + if (!getParent().equals(other.getParent())) return false; + if (hasRequestMetadata() != other.hasRequestMetadata()) return false; if (hasRequestMetadata()) { - result = result && getRequestMetadata().equals(other.getRequestMetadata()); + if (!getRequestMetadata().equals(other.getRequestMetadata())) return false; } - result = result && (hasProfileQuery() == other.hasProfileQuery()); + if (hasProfileQuery() != other.hasProfileQuery()) return false; if (hasProfileQuery()) { - result = result && getProfileQuery().equals(other.getProfileQuery()); + if (!getProfileQuery().equals(other.getProfileQuery())) return false; } - result = result && (getPageSize() == other.getPageSize()); - result = result && getPageToken().equals(other.getPageToken()); - result = result && (getOffset() == other.getOffset()); - result = result && (getDisableSpellCheck() == other.getDisableSpellCheck()); - result = result && getOrderBy().equals(other.getOrderBy()); - result = result && (getCaseSensitiveSort() == other.getCaseSensitiveSort()); - result = result && getHistogramQueriesList().equals(other.getHistogramQueriesList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getOffset() != other.getOffset()) return false; + if (getDisableSpellCheck() != other.getDisableSpellCheck()) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (getCaseSensitiveSort() != other.getCaseSensitiveSort()) return false; + if (!getHistogramQueriesList().equals(other.getHistogramQueriesList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1383,7 +1378,7 @@ public com.google.cloud.talent.v4beta1.SearchProfilesRequest buildPartial() { result.orderBy_ = orderBy_; result.caseSensitiveSort_ = caseSensitiveSort_; if (histogramQueriesBuilder_ == null) { - if (((bitField0_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000200) != 0)) { histogramQueries_ = java.util.Collections.unmodifiableList(histogramQueries_); bitField0_ = (bitField0_ & ~0x00000200); } @@ -1398,35 +1393,35 @@ public com.google.cloud.talent.v4beta1.SearchProfilesRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1640,7 +1635,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.talent.v4beta1.RequestMetadata requestMetadata_ = null; + private com.google.cloud.talent.v4beta1.RequestMetadata requestMetadata_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.RequestMetadata, com.google.cloud.talent.v4beta1.RequestMetadata.Builder, @@ -1849,7 +1844,7 @@ public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetada return requestMetadataBuilder_; } - private com.google.cloud.talent.v4beta1.ProfileQuery profileQuery_ = null; + private com.google.cloud.talent.v4beta1.ProfileQuery profileQuery_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.ProfileQuery, com.google.cloud.talent.v4beta1.ProfileQuery.Builder, @@ -2588,7 +2583,7 @@ public Builder clearCaseSensitiveSort() { java.util.Collections.emptyList(); private void ensureHistogramQueriesIsMutable() { - if (!((bitField0_ & 0x00000200) == 0x00000200)) { + if (!((bitField0_ & 0x00000200) != 0)) { histogramQueries_ = new java.util.ArrayList( histogramQueries_); @@ -4377,7 +4372,7 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie com.google.cloud.talent.v4beta1.HistogramQuery.Builder, com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder>( histogramQueries_, - ((bitField0_ & 0x00000200) == 0x00000200), + ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); histogramQueries_ = null; @@ -4387,7 +4382,7 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesResponse.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesResponse.java index ccd7f336e1b5..d3b2cb3aa92f 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesResponse.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchProfilesResponse.java @@ -23,7 +23,6 @@ private SearchProfilesResponse(com.google.protobuf.GeneratedMessageV3.Builder } private SearchProfilesResponse() { - estimatedTotalSize_ = 0L; nextPageToken_ = ""; histogramQueryResults_ = java.util.Collections.emptyList(); summarizedProfiles_ = java.util.Collections.emptyList(); @@ -100,7 +99,7 @@ private SearchProfilesResponse( } case 42: { - if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { histogramQueryResults_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; @@ -113,7 +112,7 @@ private SearchProfilesResponse( } case 50: { - if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { summarizedProfiles_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; @@ -126,7 +125,7 @@ private SearchProfilesResponse( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -138,10 +137,10 @@ private SearchProfilesResponse( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + if (((mutable_bitField0_ & 0x00000010) != 0)) { histogramQueryResults_ = java.util.Collections.unmodifiableList(histogramQueryResults_); } - if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + if (((mutable_bitField0_ & 0x00000020) != 0)) { summarizedProfiles_ = java.util.Collections.unmodifiableList(summarizedProfiles_); } this.unknownFields = unknownFields.build(); @@ -537,21 +536,20 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.SearchProfilesResponse other = (com.google.cloud.talent.v4beta1.SearchProfilesResponse) obj; - boolean result = true; - result = result && (getEstimatedTotalSize() == other.getEstimatedTotalSize()); - result = result && (hasSpellCorrection() == other.hasSpellCorrection()); + if (getEstimatedTotalSize() != other.getEstimatedTotalSize()) return false; + if (hasSpellCorrection() != other.hasSpellCorrection()) return false; if (hasSpellCorrection()) { - result = result && getSpellCorrection().equals(other.getSpellCorrection()); + if (!getSpellCorrection().equals(other.getSpellCorrection())) return false; } - result = result && (hasMetadata() == other.hasMetadata()); + if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - result = result && getMetadata().equals(other.getMetadata()); + if (!getMetadata().equals(other.getMetadata())) return false; } - result = result && getNextPageToken().equals(other.getNextPageToken()); - result = result && getHistogramQueryResultsList().equals(other.getHistogramQueryResultsList()); - result = result && getSummarizedProfilesList().equals(other.getSummarizedProfilesList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getHistogramQueryResultsList().equals(other.getHistogramQueryResultsList())) return false; + if (!getSummarizedProfilesList().equals(other.getSummarizedProfilesList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -800,7 +798,7 @@ public com.google.cloud.talent.v4beta1.SearchProfilesResponse buildPartial() { } result.nextPageToken_ = nextPageToken_; if (histogramQueryResultsBuilder_ == null) { - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { histogramQueryResults_ = java.util.Collections.unmodifiableList(histogramQueryResults_); bitField0_ = (bitField0_ & ~0x00000010); } @@ -809,7 +807,7 @@ public com.google.cloud.talent.v4beta1.SearchProfilesResponse buildPartial() { result.histogramQueryResults_ = histogramQueryResultsBuilder_.build(); } if (summarizedProfilesBuilder_ == null) { - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { summarizedProfiles_ = java.util.Collections.unmodifiableList(summarizedProfiles_); bitField0_ = (bitField0_ & ~0x00000020); } @@ -824,35 +822,35 @@ public com.google.cloud.talent.v4beta1.SearchProfilesResponse buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1014,7 +1012,7 @@ public Builder clearEstimatedTotalSize() { return this; } - private com.google.cloud.talent.v4beta1.SpellingCorrection spellCorrection_ = null; + private com.google.cloud.talent.v4beta1.SpellingCorrection spellCorrection_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.SpellingCorrection, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, @@ -1197,7 +1195,7 @@ public com.google.cloud.talent.v4beta1.SpellingCorrection.Builder getSpellCorrec return spellCorrectionBuilder_; } - private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_ = null; + private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, @@ -1491,7 +1489,7 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { histogramQueryResults_ = java.util.Collections.emptyList(); private void ensureHistogramQueryResultsIsMutable() { - if (!((bitField0_ & 0x00000010) == 0x00000010)) { + if (!((bitField0_ & 0x00000010) != 0)) { histogramQueryResults_ = new java.util.ArrayList( histogramQueryResults_); @@ -1880,7 +1878,7 @@ public Builder removeHistogramQueryResults(int index) { com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder>( histogramQueryResults_, - ((bitField0_ & 0x00000010) == 0x00000010), + ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); histogramQueryResults_ = null; @@ -1892,7 +1890,7 @@ public Builder removeHistogramQueryResults(int index) { java.util.Collections.emptyList(); private void ensureSummarizedProfilesIsMutable() { - if (!((bitField0_ & 0x00000020) == 0x00000020)) { + if (!((bitField0_ & 0x00000020) != 0)) { summarizedProfiles_ = new java.util.ArrayList( summarizedProfiles_); @@ -2261,7 +2259,7 @@ public com.google.cloud.talent.v4beta1.SummarizedProfile.Builder addSummarizedPr com.google.cloud.talent.v4beta1.SummarizedProfile.Builder, com.google.cloud.talent.v4beta1.SummarizedProfileOrBuilder>( summarizedProfiles_, - ((bitField0_ & 0x00000020) == 0x00000020), + ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); summarizedProfiles_ = null; @@ -2271,7 +2269,7 @@ public com.google.cloud.talent.v4beta1.SummarizedProfile.Builder addSummarizedPr @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Skill.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Skill.java index d4c9c53d4e0a..df33c9230f7a 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Skill.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Skill.java @@ -97,7 +97,7 @@ private Skill( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -426,17 +426,16 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.talent.v4beta1.Skill other = (com.google.cloud.talent.v4beta1.Skill) obj; - boolean result = true; - result = result && getDisplayName().equals(other.getDisplayName()); - result = result && (hasLastUsedDate() == other.hasLastUsedDate()); + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (hasLastUsedDate() != other.hasLastUsedDate()) return false; if (hasLastUsedDate()) { - result = result && getLastUsedDate().equals(other.getLastUsedDate()); + if (!getLastUsedDate().equals(other.getLastUsedDate())) return false; } - result = result && level_ == other.level_; - result = result && getContext().equals(other.getContext()); - result = result && getSkillNameSnippet().equals(other.getSkillNameSnippet()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (level_ != other.level_) return false; + if (!getContext().equals(other.getContext())) return false; + if (!getSkillNameSnippet().equals(other.getSkillNameSnippet())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -658,35 +657,35 @@ public com.google.cloud.talent.v4beta1.Skill buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -857,7 +856,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.type.Date lastUsedDate_ = null; + private com.google.type.Date lastUsedDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> lastUsedDateBuilder_; @@ -1343,7 +1342,7 @@ public Builder setSkillNameSnippetBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SkillFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SkillFilter.java index 0111c872372c..81522fd7a312 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SkillFilter.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SkillFilter.java @@ -25,7 +25,6 @@ private SkillFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { private SkillFilter() { skill_ = ""; - negated_ = false; } @java.lang.Override @@ -66,7 +65,7 @@ private SkillFilter( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -211,11 +210,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.SkillFilter other = (com.google.cloud.talent.v4beta1.SkillFilter) obj; - boolean result = true; - result = result && getSkill().equals(other.getSkill()); - result = result && (getNegated() == other.getNegated()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getSkill().equals(other.getSkill())) return false; + if (getNegated() != other.getNegated()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -414,35 +412,35 @@ public com.google.cloud.talent.v4beta1.SkillFilter buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -644,7 +642,7 @@ public Builder clearNegated() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java index 295174ff8603..81dd75c62296 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java @@ -24,7 +24,6 @@ private SpellingCorrection(com.google.protobuf.GeneratedMessageV3.Builder bui } private SpellingCorrection() { - corrected_ = false; correctedText_ = ""; correctedHtml_ = ""; } @@ -74,7 +73,7 @@ private SpellingCorrection( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -274,12 +273,11 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.SpellingCorrection other = (com.google.cloud.talent.v4beta1.SpellingCorrection) obj; - boolean result = true; - result = result && (getCorrected() == other.getCorrected()); - result = result && getCorrectedText().equals(other.getCorrectedText()); - result = result && getCorrectedHtml().equals(other.getCorrectedHtml()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (getCorrected() != other.getCorrected()) return false; + if (!getCorrectedText().equals(other.getCorrectedText())) return false; + if (!getCorrectedHtml().equals(other.getCorrectedHtml())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -483,35 +481,35 @@ public com.google.cloud.talent.v4beta1.SpellingCorrection buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -827,7 +825,7 @@ public Builder setCorrectedHtmlBytes(com.google.protobuf.ByteString value) { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SummarizedProfile.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SummarizedProfile.java index 8b9abde10575..c41b6c746a0d 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SummarizedProfile.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SummarizedProfile.java @@ -54,7 +54,7 @@ private SummarizedProfile( break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { profiles_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -81,7 +81,7 @@ private SummarizedProfile( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -93,7 +93,7 @@ private SummarizedProfile( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { profiles_ = java.util.Collections.unmodifiableList(profiles_); } this.unknownFields = unknownFields.build(); @@ -303,14 +303,13 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.SummarizedProfile other = (com.google.cloud.talent.v4beta1.SummarizedProfile) obj; - boolean result = true; - result = result && getProfilesList().equals(other.getProfilesList()); - result = result && (hasSummary() == other.hasSummary()); + if (!getProfilesList().equals(other.getProfilesList())) return false; + if (hasSummary() != other.hasSummary()) return false; if (hasSummary()) { - result = result && getSummary().equals(other.getSummary()); + if (!getSummary().equals(other.getSummary())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -519,7 +518,7 @@ public com.google.cloud.talent.v4beta1.SummarizedProfile buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (profilesBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { profiles_ = java.util.Collections.unmodifiableList(profiles_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -539,35 +538,35 @@ public com.google.cloud.talent.v4beta1.SummarizedProfile buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -649,7 +648,7 @@ public Builder mergeFrom( java.util.Collections.emptyList(); private void ensureProfilesIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { profiles_ = new java.util.ArrayList(profiles_); bitField0_ |= 0x00000001; } @@ -988,16 +987,13 @@ public com.google.cloud.talent.v4beta1.Profile.Builder addProfilesBuilder(int in com.google.cloud.talent.v4beta1.Profile, com.google.cloud.talent.v4beta1.Profile.Builder, com.google.cloud.talent.v4beta1.ProfileOrBuilder>( - profiles_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); + profiles_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); profiles_ = null; } return profilesBuilder_; } - private com.google.cloud.talent.v4beta1.Profile summary_ = null; + private com.google.cloud.talent.v4beta1.Profile summary_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Profile, com.google.cloud.talent.v4beta1.Profile.Builder, @@ -1270,7 +1266,7 @@ public com.google.cloud.talent.v4beta1.ProfileOrBuilder getSummaryOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java index 6d0cb89c1256..741fed43a124 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java @@ -78,7 +78,7 @@ private Tenant( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -459,12 +459,11 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.talent.v4beta1.Tenant other = (com.google.cloud.talent.v4beta1.Tenant) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && getExternalId().equals(other.getExternalId()); - result = result && usageType_ == other.usageType_; - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getName().equals(other.getName())) return false; + if (!getExternalId().equals(other.getExternalId())) return false; + if (usageType_ != other.usageType_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -670,35 +669,35 @@ public com.google.cloud.talent.v4beta1.Tenant buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -1076,7 +1075,7 @@ public Builder clearUsageType() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimeFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimeFilter.java index c71c81eb9b2e..6dfc20ac7c05 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimeFilter.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimeFilter.java @@ -90,7 +90,7 @@ private TimeFilter( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -462,18 +462,17 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.TimeFilter other = (com.google.cloud.talent.v4beta1.TimeFilter) obj; - boolean result = true; - result = result && (hasStartTime() == other.hasStartTime()); + if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - result = result && getStartTime().equals(other.getStartTime()); + if (!getStartTime().equals(other.getStartTime())) return false; } - result = result && (hasEndTime() == other.hasEndTime()); + if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - result = result && getEndTime().equals(other.getEndTime()); + if (!getEndTime().equals(other.getEndTime())) return false; } - result = result && timeField_ == other.timeField_; - result = result && unknownFields.equals(other.unknownFields); - return result; + if (timeField_ != other.timeField_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -697,35 +696,35 @@ public com.google.cloud.talent.v4beta1.TimeFilter buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -778,7 +777,7 @@ public Builder mergeFrom( return this; } - private com.google.protobuf.Timestamp startTime_ = null; + private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -980,7 +979,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { return startTimeBuilder_; } - private com.google.protobuf.Timestamp endTime_ = null; + private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -1277,7 +1276,7 @@ public Builder clearTimeField() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java index d4008b00fba7..8308f19cf221 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java @@ -80,7 +80,7 @@ private TimestampRange( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -241,17 +241,16 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.TimestampRange other = (com.google.cloud.talent.v4beta1.TimestampRange) obj; - boolean result = true; - result = result && (hasStartTime() == other.hasStartTime()); + if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - result = result && getStartTime().equals(other.getStartTime()); + if (!getStartTime().equals(other.getStartTime())) return false; } - result = result && (hasEndTime() == other.hasEndTime()); + if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - result = result && getEndTime().equals(other.getEndTime()); + if (!getEndTime().equals(other.getEndTime())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -469,35 +468,35 @@ public com.google.cloud.talent.v4beta1.TimestampRange buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -547,7 +546,7 @@ public Builder mergeFrom( return this; } - private com.google.protobuf.Timestamp startTime_ = null; + private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -722,7 +721,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { return startTimeBuilder_; } - private com.google.protobuf.Timestamp endTime_ = null; + private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -899,7 +898,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateApplicationRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateApplicationRequest.java index 3e395e09881c..fafdb69348a6 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateApplicationRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateApplicationRequest.java @@ -81,7 +81,7 @@ private UpdateApplicationRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -274,17 +274,16 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.UpdateApplicationRequest other = (com.google.cloud.talent.v4beta1.UpdateApplicationRequest) obj; - boolean result = true; - result = result && (hasApplication() == other.hasApplication()); + if (hasApplication() != other.hasApplication()) return false; if (hasApplication()) { - result = result && getApplication().equals(other.getApplication()); + if (!getApplication().equals(other.getApplication())) return false; } - result = result && (hasUpdateMask() == other.hasUpdateMask()); + if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - result = result && getUpdateMask().equals(other.getUpdateMask()); + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -503,35 +502,35 @@ public com.google.cloud.talent.v4beta1.UpdateApplicationRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -583,7 +582,7 @@ public Builder mergeFrom( return this; } - private com.google.cloud.talent.v4beta1.Application application_ = null; + private com.google.cloud.talent.v4beta1.Application application_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Application, com.google.cloud.talent.v4beta1.Application.Builder, @@ -774,7 +773,7 @@ public com.google.cloud.talent.v4beta1.ApplicationOrBuilder getApplicationOrBuil return applicationBuilder_; } - private com.google.protobuf.FieldMask updateMask_ = null; + private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, @@ -1036,7 +1035,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java index 7e3f8239c7cc..421b5316d5d7 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java @@ -81,7 +81,7 @@ private UpdateCompanyRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -274,17 +274,16 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.UpdateCompanyRequest other = (com.google.cloud.talent.v4beta1.UpdateCompanyRequest) obj; - boolean result = true; - result = result && (hasCompany() == other.hasCompany()); + if (hasCompany() != other.hasCompany()) return false; if (hasCompany()) { - result = result && getCompany().equals(other.getCompany()); + if (!getCompany().equals(other.getCompany())) return false; } - result = result && (hasUpdateMask() == other.hasUpdateMask()); + if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - result = result && getUpdateMask().equals(other.getUpdateMask()); + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -502,35 +501,35 @@ public com.google.cloud.talent.v4beta1.UpdateCompanyRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -582,7 +581,7 @@ public Builder mergeFrom( return this; } - private com.google.cloud.talent.v4beta1.Company company_ = null; + private com.google.cloud.talent.v4beta1.Company company_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, @@ -772,7 +771,7 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { return companyBuilder_; } - private com.google.protobuf.FieldMask updateMask_ = null; + private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, @@ -1034,7 +1033,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java index d86eb75536e7..b5b60e4c6737 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java @@ -82,7 +82,7 @@ private UpdateJobRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -267,17 +267,16 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.UpdateJobRequest other = (com.google.cloud.talent.v4beta1.UpdateJobRequest) obj; - boolean result = true; - result = result && (hasJob() == other.hasJob()); + if (hasJob() != other.hasJob()) return false; if (hasJob()) { - result = result && getJob().equals(other.getJob()); + if (!getJob().equals(other.getJob())) return false; } - result = result && (hasUpdateMask() == other.hasUpdateMask()); + if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - result = result && getUpdateMask().equals(other.getUpdateMask()); + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -496,35 +495,35 @@ public com.google.cloud.talent.v4beta1.UpdateJobRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -575,7 +574,7 @@ public Builder mergeFrom( return this; } - private com.google.cloud.talent.v4beta1.Job job_ = null; + private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, @@ -759,7 +758,7 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { return jobBuilder_; } - private com.google.protobuf.FieldMask updateMask_ = null; + private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, @@ -1003,7 +1002,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateProfileRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateProfileRequest.java index 2391d8e99f63..9c0763f8059e 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateProfileRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateProfileRequest.java @@ -81,7 +81,7 @@ private UpdateProfileRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -322,17 +322,16 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.UpdateProfileRequest other = (com.google.cloud.talent.v4beta1.UpdateProfileRequest) obj; - boolean result = true; - result = result && (hasProfile() == other.hasProfile()); + if (hasProfile() != other.hasProfile()) return false; if (hasProfile()) { - result = result && getProfile().equals(other.getProfile()); + if (!getProfile().equals(other.getProfile())) return false; } - result = result && (hasUpdateMask() == other.hasUpdateMask()); + if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - result = result && getUpdateMask().equals(other.getUpdateMask()); + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -550,35 +549,35 @@ public com.google.cloud.talent.v4beta1.UpdateProfileRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -630,7 +629,7 @@ public Builder mergeFrom( return this; } - private com.google.cloud.talent.v4beta1.Profile profile_ = null; + private com.google.cloud.talent.v4beta1.Profile profile_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Profile, com.google.cloud.talent.v4beta1.Profile.Builder, @@ -820,7 +819,7 @@ public com.google.cloud.talent.v4beta1.ProfileOrBuilder getProfileOrBuilder() { return profileBuilder_; } - private com.google.protobuf.FieldMask updateMask_ = null; + private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, @@ -1226,7 +1225,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java index ddfe537a588a..910351bfc501 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java @@ -81,7 +81,7 @@ private UpdateTenantRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -272,17 +272,16 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.UpdateTenantRequest other = (com.google.cloud.talent.v4beta1.UpdateTenantRequest) obj; - boolean result = true; - result = result && (hasTenant() == other.hasTenant()); + if (hasTenant() != other.hasTenant()) return false; if (hasTenant()) { - result = result && getTenant().equals(other.getTenant()); + if (!getTenant().equals(other.getTenant())) return false; } - result = result && (hasUpdateMask() == other.hasUpdateMask()); + if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - result = result && getUpdateMask().equals(other.getUpdateMask()); + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -500,35 +499,35 @@ public com.google.cloud.talent.v4beta1.UpdateTenantRequest buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -580,7 +579,7 @@ public Builder mergeFrom( return this; } - private com.google.cloud.talent.v4beta1.Tenant tenant_ = null; + private com.google.cloud.talent.v4beta1.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, @@ -770,7 +769,7 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { return tenantBuilder_; } - private com.google.protobuf.FieldMask updateMask_ = null; + private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, @@ -1032,7 +1031,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/WorkExperienceFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/WorkExperienceFilter.java index cf77e43fbb6b..ccf526e3ce55 100644 --- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/WorkExperienceFilter.java +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/WorkExperienceFilter.java @@ -86,7 +86,7 @@ private WorkExperienceFilter( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -257,17 +257,16 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.WorkExperienceFilter other = (com.google.cloud.talent.v4beta1.WorkExperienceFilter) obj; - boolean result = true; - result = result && (hasMinExperience() == other.hasMinExperience()); + if (hasMinExperience() != other.hasMinExperience()) return false; if (hasMinExperience()) { - result = result && getMinExperience().equals(other.getMinExperience()); + if (!getMinExperience().equals(other.getMinExperience())) return false; } - result = result && (hasMaxExperience() == other.hasMaxExperience()); + if (hasMaxExperience() != other.hasMaxExperience()) return false; if (hasMaxExperience()) { - result = result && getMaxExperience().equals(other.getMaxExperience()); + if (!getMaxExperience().equals(other.getMaxExperience())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -491,35 +490,35 @@ public com.google.cloud.talent.v4beta1.WorkExperienceFilter buildPartial() { @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.setField(field, value); + return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + return super.addRepeatedField(field, value); } @java.lang.Override @@ -571,7 +570,7 @@ public Builder mergeFrom( return this; } - private com.google.protobuf.Duration minExperience_ = null; + private com.google.protobuf.Duration minExperience_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, @@ -761,7 +760,7 @@ public com.google.protobuf.DurationOrBuilder getMinExperienceOrBuilder() { return minExperienceBuilder_; } - private com.google.protobuf.Duration maxExperience_ = null; + private com.google.protobuf.Duration maxExperience_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, @@ -953,7 +952,7 @@ public com.google.protobuf.DurationOrBuilder getMaxExperienceOrBuilder() { @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } @java.lang.Override diff --git a/google-cloud-clients/google-cloud-talent/synth.metadata b/google-cloud-clients/google-cloud-talent/synth.metadata index 243ef3f2f05e..9349a91fcb92 100644 --- a/google-cloud-clients/google-cloud-talent/synth.metadata +++ b/google-cloud-clients/google-cloud-talent/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-03-28T07:56:55.684663Z", + "updateTime": "2019-03-30T07:55:55.371772Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.20", - "dockerImage": "googleapis/artman@sha256:e3c054a2fb85a12481c722af616c7fb6f1d02d862248385eecbec3e4240ebd1e" + "version": "0.16.21", + "dockerImage": "googleapis/artman@sha256:854131ec1af7b3a313253474c24748dc0acd217a58a0b74dbfb559f340a15d78" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "6a84b3267b0a95e922608b9891219075047eee29", - "internalRef": "240640999" + "sha": "fd67be4b51a8c809b97100ccf1c3cffd15b85d7b", + "internalRef": "241096997" } } ],