diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java index e417b354e071..78a13bcdaee6 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java @@ -75,7 +75,7 @@ private AcknowledgeTaskRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -261,14 +261,13 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other = (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && (hasScheduleTime() == other.hasScheduleTime()); + if (!getName().equals(other.getName())) return false; + if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - result = result && getScheduleTime().equals(other.getScheduleTime()); + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -478,35 +477,35 @@ public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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 @@ -663,7 +662,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.Timestamp scheduleTime_ = null; + private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -891,7 +890,7 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java index 3a09ed6dd657..c88e44df44e6 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java @@ -121,7 +121,7 @@ private AppEngineHttpRequest( } case 34: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { headers_ = com.google.protobuf.MapField.newMapField( HeadersDefaultEntryHolder.defaultEntry); @@ -140,7 +140,7 @@ private AppEngineHttpRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -668,17 +668,16 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other = (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) obj; - boolean result = true; - result = result && httpMethod_ == other.httpMethod_; - result = result && (hasAppEngineRouting() == other.hasAppEngineRouting()); + if (httpMethod_ != other.httpMethod_) return false; + if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - result = result && getAppEngineRouting().equals(other.getAppEngineRouting()); + if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; } - result = result && getRelativeUrl().equals(other.getRelativeUrl()); - result = result && internalGetHeaders().equals(other.internalGetHeaders()); - result = result && getPayload().equals(other.getPayload()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getRelativeUrl().equals(other.getRelativeUrl())) return false; + if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; + if (!getPayload().equals(other.getPayload())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -963,35 +962,35 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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 @@ -1174,7 +1173,7 @@ public Builder clearHttpMethod() { return this; } - private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRouting_ = null; + private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, @@ -1973,7 +1972,7 @@ public Builder clearPayload() { @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java index 7b83eccdf284..5ee678c3eec6 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java @@ -79,7 +79,7 @@ private AppEngineHttpTarget( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -218,13 +218,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other = (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) obj; - boolean result = true; - result = result && (hasAppEngineRoutingOverride() == other.hasAppEngineRoutingOverride()); + if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false; if (hasAppEngineRoutingOverride()) { - result = result && getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride()); + if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -440,35 +439,35 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget 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 @@ -517,7 +516,7 @@ public Builder mergeFrom( return this; } - private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRoutingOverride_ = null; + private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRoutingOverride_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, @@ -759,7 +758,7 @@ public Builder clearAppEngineRoutingOverride() { @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java index 2cbdac5348b6..7cd46e96ee68 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java @@ -92,7 +92,7 @@ private AppEngineRouting( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -537,13 +537,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.AppEngineRouting other = (com.google.cloud.tasks.v2beta2.AppEngineRouting) obj; - boolean result = true; - result = result && getService().equals(other.getService()); - result = result && getVersion().equals(other.getVersion()); - result = result && getInstance().equals(other.getInstance()); - result = result && getHost().equals(other.getHost()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getService().equals(other.getService())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getHost().equals(other.getHost())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -760,35 +759,35 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting 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 @@ -1672,7 +1671,7 @@ public Builder setHostBytes(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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java index 2739ced73fe3..335b94304532 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java @@ -110,7 +110,7 @@ private AttemptStatus( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -382,25 +382,24 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.AttemptStatus other = (com.google.cloud.tasks.v2beta2.AttemptStatus) obj; - boolean result = true; - result = result && (hasScheduleTime() == other.hasScheduleTime()); + if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - result = result && getScheduleTime().equals(other.getScheduleTime()); + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } - result = result && (hasDispatchTime() == other.hasDispatchTime()); + if (hasDispatchTime() != other.hasDispatchTime()) return false; if (hasDispatchTime()) { - result = result && getDispatchTime().equals(other.getDispatchTime()); + if (!getDispatchTime().equals(other.getDispatchTime())) return false; } - result = result && (hasResponseTime() == other.hasResponseTime()); + if (hasResponseTime() != other.hasResponseTime()) return false; if (hasResponseTime()) { - result = result && getResponseTime().equals(other.getResponseTime()); + if (!getResponseTime().equals(other.getResponseTime())) return false; } - result = result && (hasResponseStatus() == other.hasResponseStatus()); + if (hasResponseStatus() != other.hasResponseStatus()) return false; if (hasResponseStatus()) { - result = result && getResponseStatus().equals(other.getResponseStatus()); + if (!getResponseStatus().equals(other.getResponseStatus())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -648,35 +647,35 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus 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 @@ -732,7 +731,7 @@ public Builder mergeFrom( return this; } - private com.google.protobuf.Timestamp scheduleTime_ = null; + private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -922,7 +921,7 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { return scheduleTimeBuilder_; } - private com.google.protobuf.Timestamp dispatchTime_ = null; + private com.google.protobuf.Timestamp dispatchTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -1112,7 +1111,7 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() { return dispatchTimeBuilder_; } - private com.google.protobuf.Timestamp responseTime_ = null; + private com.google.protobuf.Timestamp responseTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -1302,7 +1301,7 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() { return responseTimeBuilder_; } - private com.google.rpc.Status responseStatus_ = null; + private com.google.rpc.Status responseStatus_; private com.google.protobuf.SingleFieldBuilderV3< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_; @@ -1497,7 +1496,7 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() { @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java index 24cc5c159ee7..c4ff964bf3df 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java @@ -83,7 +83,7 @@ private CancelLeaseRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -325,15 +325,14 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.CancelLeaseRequest other = (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && (hasScheduleTime() == other.hasScheduleTime()); + if (!getName().equals(other.getName())) return false; + if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - result = result && getScheduleTime().equals(other.getScheduleTime()); + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } - result = result && responseView_ == other.responseView_; - result = result && unknownFields.equals(other.unknownFields); - return result; + if (responseView_ != other.responseView_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -547,35 +546,35 @@ public com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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 @@ -735,7 +734,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.Timestamp scheduleTime_ = null; + private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -1089,7 +1088,7 @@ public Builder clearResponseView() { @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java index e803bb099824..d13462026b72 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java @@ -76,7 +76,7 @@ private CreateQueueRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -260,14 +260,13 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.CreateQueueRequest other = (com.google.cloud.tasks.v2beta2.CreateQueueRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && (hasQueue() == other.hasQueue()); + if (!getParent().equals(other.getParent())) return false; + if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - result = result && getQueue().equals(other.getQueue()); + if (!getQueue().equals(other.getQueue())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -476,35 +475,35 @@ public com.google.cloud.tasks.v2beta2.CreateQueueRequest 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 @@ -676,7 +675,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.tasks.v2beta2.Queue queue_ = null; + private com.google.cloud.tasks.v2beta2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, @@ -882,7 +881,7 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java index e7999f3d9e3e..a8bc1ca181a9 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java @@ -84,7 +84,7 @@ private CreateTaskRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -395,15 +395,14 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.CreateTaskRequest other = (com.google.cloud.tasks.v2beta2.CreateTaskRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && (hasTask() == other.hasTask()); + if (!getParent().equals(other.getParent())) return false; + if (hasTask() != other.hasTask()) return false; if (hasTask()) { - result = result && getTask().equals(other.getTask()); + if (!getTask().equals(other.getTask())) return false; } - result = result && responseView_ == other.responseView_; - result = result && unknownFields.equals(other.unknownFields); - return result; + if (responseView_ != other.responseView_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -617,35 +616,35 @@ public com.google.cloud.tasks.v2beta2.CreateTaskRequest 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 @@ -809,7 +808,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.tasks.v2beta2.Task task_ = null; + private com.google.cloud.tasks.v2beta2.Task task_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, @@ -1364,7 +1363,7 @@ public Builder clearResponseView() { @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java index cf12b7792445..d76f3b252212 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java @@ -60,7 +60,7 @@ private DeleteQueueRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -184,10 +184,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.DeleteQueueRequest other = (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) 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.tasks.v2beta2.DeleteQueueRequest 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 @@ -565,7 +564,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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java index 36ba50924af0..d3e35849fc40 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java @@ -60,7 +60,7 @@ private DeleteTaskRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -184,10 +184,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.DeleteTaskRequest other = (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) 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.tasks.v2beta2.DeleteTaskRequest 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 @@ -564,7 +563,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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java index 3faf71673bf4..4c4be3ae9b1a 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java @@ -60,7 +60,7 @@ private GetQueueRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -184,10 +184,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.GetQueueRequest other = (com.google.cloud.tasks.v2beta2.GetQueueRequest) 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.tasks.v2beta2.GetQueueRequest 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 @@ -563,7 +562,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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java index 580347be76c8..dade23d77eaa 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java @@ -68,7 +68,7 @@ private GetTaskRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -248,11 +248,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.GetTaskRequest other = (com.google.cloud.tasks.v2beta2.GetTaskRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && responseView_ == other.responseView_; - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getName().equals(other.getName())) return false; + if (responseView_ != other.responseView_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -451,35 +450,35 @@ public com.google.cloud.tasks.v2beta2.GetTaskRequest 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 @@ -762,7 +761,7 @@ public Builder clearResponseView() { @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java index 0a23ce7193bc..5b2e6f991ba2 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java @@ -25,7 +25,6 @@ private LeaseTasksRequest(com.google.protobuf.GeneratedMessageV3.Builder buil private LeaseTasksRequest() { parent_ = ""; - maxTasks_ = 0; responseView_ = 0; filter_ = ""; } @@ -97,7 +96,7 @@ private LeaseTasksRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -465,17 +464,16 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.LeaseTasksRequest other = (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && (getMaxTasks() == other.getMaxTasks()); - result = result && (hasLeaseDuration() == other.hasLeaseDuration()); + if (!getParent().equals(other.getParent())) return false; + if (getMaxTasks() != other.getMaxTasks()) return false; + if (hasLeaseDuration() != other.hasLeaseDuration()) return false; if (hasLeaseDuration()) { - result = result && getLeaseDuration().equals(other.getLeaseDuration()); + if (!getLeaseDuration().equals(other.getLeaseDuration())) return false; } - result = result && responseView_ == other.responseView_; - result = result && getFilter().equals(other.getFilter()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (responseView_ != other.responseView_) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -699,35 +697,35 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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 @@ -946,7 +944,7 @@ public Builder clearMaxTasks() { return this; } - private com.google.protobuf.Duration leaseDuration_ = null; + private com.google.protobuf.Duration leaseDuration_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, @@ -1531,7 +1529,7 @@ public Builder setFilterBytes(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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java index 01676a9d3d53..6abc2299a563 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java @@ -53,7 +53,7 @@ private LeaseTasksResponse( break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -64,7 +64,7 @@ private LeaseTasksResponse( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -76,7 +76,7 @@ private LeaseTasksResponse( } 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)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); } this.unknownFields = unknownFields.build(); @@ -208,10 +208,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.LeaseTasksResponse other = (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) obj; - boolean result = true; - result = result && getTasksList().equals(other.getTasksList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getTasksList().equals(other.getTasksList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -408,7 +407,7 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse buildPartial() { new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -422,35 +421,35 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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 @@ -529,7 +528,7 @@ public Builder mergeFrom( java.util.Collections.emptyList(); private void ensureTasksIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { tasks_ = new java.util.ArrayList(tasks_); bitField0_ |= 0x00000001; } @@ -867,10 +866,7 @@ public java.util.List getTasksBuild com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; @@ -878,7 +874,7 @@ public java.util.List getTasksBuild @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java index 738f853e24f7..3880576a6a8e 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java @@ -26,7 +26,6 @@ private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder buil private ListQueuesRequest() { parent_ = ""; filter_ = ""; - pageSize_ = 0; pageToken_ = ""; } @@ -82,7 +81,7 @@ private ListQueuesRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -360,13 +359,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.ListQueuesRequest other = (com.google.cloud.tasks.v2beta2.ListQueuesRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && getFilter().equals(other.getFilter()); - result = result && (getPageSize() == other.getPageSize()); - result = result && getPageToken().equals(other.getPageToken()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -575,35 +573,35 @@ public com.google.cloud.tasks.v2beta2.ListQueuesRequest 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 @@ -1091,7 +1089,7 @@ public Builder setPageTokenBytes(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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java index 48cf01f26920..a88a2fba9f71 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java @@ -54,7 +54,7 @@ private ListQueuesResponse( break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -72,7 +72,7 @@ private ListQueuesResponse( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -84,7 +84,7 @@ private ListQueuesResponse( } 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)) { queues_ = java.util.Collections.unmodifiableList(queues_); } this.unknownFields = unknownFields.build(); @@ -278,11 +278,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.ListQueuesResponse other = (com.google.cloud.tasks.v2beta2.ListQueuesResponse) obj; - boolean result = true; - result = result && getQueuesList().equals(other.getQueuesList()); - result = result && getNextPageToken().equals(other.getNextPageToken()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getQueuesList().equals(other.getQueuesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -484,7 +483,7 @@ public com.google.cloud.tasks.v2beta2.ListQueuesResponse buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (queuesBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -500,35 +499,35 @@ public com.google.cloud.tasks.v2beta2.ListQueuesResponse 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 @@ -611,7 +610,7 @@ public Builder mergeFrom( java.util.Collections.emptyList(); private void ensureQueuesIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; } @@ -949,10 +948,7 @@ public java.util.List getQueuesBui com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - queues_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); + queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); queues_ = null; } return queuesBuilder_; @@ -1084,7 +1080,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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java index 7a0d1be37513..11a4fd59e6e0 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java @@ -26,7 +26,6 @@ private ListTasksRequest(com.google.protobuf.GeneratedMessageV3.Builder build private ListTasksRequest() { parent_ = ""; responseView_ = 0; - pageSize_ = 0; pageToken_ = ""; } @@ -82,7 +81,7 @@ private ListTasksRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -349,13 +348,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.ListTasksRequest other = (com.google.cloud.tasks.v2beta2.ListTasksRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && responseView_ == other.responseView_; - result = result && (getPageSize() == other.getPageSize()); - result = result && getPageToken().equals(other.getPageToken()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getParent().equals(other.getParent())) return false; + if (responseView_ != other.responseView_) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -564,35 +562,35 @@ public com.google.cloud.tasks.v2beta2.ListTasksRequest 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 @@ -1066,7 +1064,7 @@ public Builder setPageTokenBytes(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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java index d2e1e0a74008..8ce1e6d1b6f2 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java @@ -54,7 +54,7 @@ private ListTasksResponse( break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -72,7 +72,7 @@ private ListTasksResponse( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -84,7 +84,7 @@ private ListTasksResponse( } 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)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); } this.unknownFields = unknownFields.build(); @@ -276,11 +276,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.ListTasksResponse other = (com.google.cloud.tasks.v2beta2.ListTasksResponse) obj; - boolean result = true; - result = result && getTasksList().equals(other.getTasksList()); - result = result && getNextPageToken().equals(other.getNextPageToken()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getTasksList().equals(other.getTasksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -482,7 +481,7 @@ public com.google.cloud.tasks.v2beta2.ListTasksResponse buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (tasksBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -498,35 +497,35 @@ public com.google.cloud.tasks.v2beta2.ListTasksResponse 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 @@ -608,7 +607,7 @@ public Builder mergeFrom( java.util.Collections.emptyList(); private void ensureTasksIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { tasks_ = new java.util.ArrayList(tasks_); bitField0_ |= 0x00000001; } @@ -946,10 +945,7 @@ public java.util.List getTasksBuild com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; @@ -1076,7 +1072,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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java index 1f7d68d246d4..73c06fe72245 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java @@ -60,7 +60,7 @@ private PauseQueueRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -184,10 +184,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.PauseQueueRequest other = (com.google.cloud.tasks.v2beta2.PauseQueueRequest) 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.tasks.v2beta2.PauseQueueRequest 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 @@ -564,7 +563,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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java index faff98de9ac8..56a4c271d108 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java @@ -69,7 +69,7 @@ private PullMessage( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -240,11 +240,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.PullMessage other = (com.google.cloud.tasks.v2beta2.PullMessage) obj; - boolean result = true; - result = result && getPayload().equals(other.getPayload()); - result = result && getTag().equals(other.getTag()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getPayload().equals(other.getPayload())) return false; + if (!getTag().equals(other.getTag())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -446,35 +445,35 @@ public com.google.cloud.tasks.v2beta2.PullMessage 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 @@ -743,7 +742,7 @@ public Builder setTagBytes(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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java index 9c8ff1fc5eeb..823a7343c02f 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java @@ -49,7 +49,7 @@ private PullTarget( break; default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -120,9 +120,8 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.PullTarget other = (com.google.cloud.tasks.v2beta2.PullTarget) obj; - boolean result = true; - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -310,35 +309,35 @@ public com.google.cloud.tasks.v2beta2.PullTarget 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 @@ -384,7 +383,7 @@ public Builder mergeFrom( @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java index e7118b1edc3a..1c0bcb9019e3 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java @@ -60,7 +60,7 @@ private PurgeQueueRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -184,10 +184,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.PurgeQueueRequest other = (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) 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.tasks.v2beta2.PurgeQueueRequest 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 @@ -564,7 +563,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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java index c77e70d7a306..9ff5503d4270 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java @@ -151,7 +151,7 @@ private Queue( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -949,35 +949,33 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.tasks.v2beta2.Queue other = (com.google.cloud.tasks.v2beta2.Queue) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && (hasRateLimits() == other.hasRateLimits()); + if (!getName().equals(other.getName())) return false; + if (hasRateLimits() != other.hasRateLimits()) return false; if (hasRateLimits()) { - result = result && getRateLimits().equals(other.getRateLimits()); + if (!getRateLimits().equals(other.getRateLimits())) return false; } - result = result && (hasRetryConfig() == other.hasRetryConfig()); + if (hasRetryConfig() != other.hasRetryConfig()) return false; if (hasRetryConfig()) { - result = result && getRetryConfig().equals(other.getRetryConfig()); + if (!getRetryConfig().equals(other.getRetryConfig())) return false; } - result = result && state_ == other.state_; - result = result && (hasPurgeTime() == other.hasPurgeTime()); + if (state_ != other.state_) return false; + if (hasPurgeTime() != other.hasPurgeTime()) return false; if (hasPurgeTime()) { - result = result && getPurgeTime().equals(other.getPurgeTime()); + if (!getPurgeTime().equals(other.getPurgeTime())) return false; } - result = result && getTargetTypeCase().equals(other.getTargetTypeCase()); - if (!result) return false; + if (!getTargetTypeCase().equals(other.getTargetTypeCase())) return false; switch (targetTypeCase_) { case 3: - result = result && getAppEngineHttpTarget().equals(other.getAppEngineHttpTarget()); + if (!getAppEngineHttpTarget().equals(other.getAppEngineHttpTarget())) return false; break; case 4: - result = result && getPullTarget().equals(other.getPullTarget()); + if (!getPullTarget().equals(other.getPullTarget())) 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 @@ -1249,35 +1247,35 @@ public com.google.cloud.tasks.v2beta2.Queue 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 @@ -1986,7 +1984,7 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder return pullTargetBuilder_; } - private com.google.cloud.tasks.v2beta2.RateLimits rateLimits_ = null; + private com.google.cloud.tasks.v2beta2.RateLimits rateLimits_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, @@ -2294,7 +2292,7 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder return rateLimitsBuilder_; } - private com.google.cloud.tasks.v2beta2.RetryConfig retryConfig_ = null; + private com.google.cloud.tasks.v2beta2.RetryConfig retryConfig_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, @@ -2659,7 +2657,7 @@ public Builder clearState() { return this; } - private com.google.protobuf.Timestamp purgeTime_ = null; + private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -2908,7 +2906,7 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() { @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java index bd41f9d09705..e8adc547e041 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java @@ -28,11 +28,7 @@ private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RateLimits() { - maxTasksDispatchedPerSecond_ = 0D; - maxBurstSize_ = 0; - maxConcurrentTasks_ = 0; - } + private RateLimits() {} @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -75,7 +71,7 @@ private RateLimits( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -263,15 +259,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.RateLimits other = (com.google.cloud.tasks.v2beta2.RateLimits) obj; - boolean result = true; - result = - result - && (java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond()) - == java.lang.Double.doubleToLongBits(other.getMaxTasksDispatchedPerSecond())); - result = result && (getMaxBurstSize() == other.getMaxBurstSize()); - result = result && (getMaxConcurrentTasks() == other.getMaxConcurrentTasks()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond()) + != java.lang.Double.doubleToLongBits(other.getMaxTasksDispatchedPerSecond())) return false; + if (getMaxBurstSize() != other.getMaxBurstSize()) return false; + if (getMaxConcurrentTasks() != other.getMaxConcurrentTasks()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -483,35 +476,35 @@ public com.google.cloud.tasks.v2beta2.RateLimits 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 +850,7 @@ public Builder clearMaxConcurrentTasks() { @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java index 50511839ca0e..55a9490382cf 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java @@ -98,7 +98,7 @@ private RenewLeaseRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -396,19 +396,18 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.RenewLeaseRequest other = (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && (hasScheduleTime() == other.hasScheduleTime()); + if (!getName().equals(other.getName())) return false; + if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - result = result && getScheduleTime().equals(other.getScheduleTime()); + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } - result = result && (hasLeaseDuration() == other.hasLeaseDuration()); + if (hasLeaseDuration() != other.hasLeaseDuration()) return false; if (hasLeaseDuration()) { - result = result && getLeaseDuration().equals(other.getLeaseDuration()); + if (!getLeaseDuration().equals(other.getLeaseDuration())) return false; } - result = result && responseView_ == other.responseView_; - result = result && unknownFields.equals(other.unknownFields); - return result; + if (responseView_ != other.responseView_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -637,35 +636,35 @@ public com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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 +826,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.Timestamp scheduleTime_ = null; + private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -1053,7 +1052,7 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { return scheduleTimeBuilder_; } - private com.google.protobuf.Duration leaseDuration_ = null; + private com.google.protobuf.Duration leaseDuration_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, @@ -1389,7 +1388,7 @@ public Builder clearResponseView() { @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java index 2891ccd7bb36..dac35bbc7a1a 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java @@ -60,7 +60,7 @@ private ResumeQueueRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -184,10 +184,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.ResumeQueueRequest other = (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) 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.tasks.v2beta2.ResumeQueueRequest 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 @@ -565,7 +564,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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java index 5c938826f64a..37fab7f5aa8a 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java @@ -23,9 +23,7 @@ private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetryConfig() { - maxDoublings_ = 0; - } + private RetryConfig() {} @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -115,7 +113,7 @@ private RetryConfig( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -587,34 +585,32 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.RetryConfig other = (com.google.cloud.tasks.v2beta2.RetryConfig) obj; - boolean result = true; - result = result && (hasMaxRetryDuration() == other.hasMaxRetryDuration()); + if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - result = result && getMaxRetryDuration().equals(other.getMaxRetryDuration()); + if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; } - result = result && (hasMinBackoff() == other.hasMinBackoff()); + if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - result = result && getMinBackoff().equals(other.getMinBackoff()); + if (!getMinBackoff().equals(other.getMinBackoff())) return false; } - result = result && (hasMaxBackoff() == other.hasMaxBackoff()); + if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - result = result && getMaxBackoff().equals(other.getMaxBackoff()); + if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; } - result = result && (getMaxDoublings() == other.getMaxDoublings()); - result = result && getNumAttemptsCase().equals(other.getNumAttemptsCase()); - if (!result) return false; + if (getMaxDoublings() != other.getMaxDoublings()) return false; + if (!getNumAttemptsCase().equals(other.getNumAttemptsCase())) return false; switch (numAttemptsCase_) { case 1: - result = result && (getMaxAttempts() == other.getMaxAttempts()); + if (getMaxAttempts() != other.getMaxAttempts()) return false; break; case 2: - result = result && (getUnlimitedAttempts() == other.getUnlimitedAttempts()); + if (getUnlimitedAttempts() != other.getUnlimitedAttempts()) 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 @@ -874,35 +870,35 @@ public com.google.cloud.tasks.v2beta2.RetryConfig 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 @@ -1093,7 +1089,7 @@ public Builder clearUnlimitedAttempts() { return this; } - private com.google.protobuf.Duration maxRetryDuration_ = null; + private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, @@ -1400,7 +1396,7 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() { return maxRetryDurationBuilder_; } - private com.google.protobuf.Duration minBackoff_ = null; + private com.google.protobuf.Duration minBackoff_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, @@ -1705,7 +1701,7 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() { return minBackoffBuilder_; } - private com.google.protobuf.Duration maxBackoff_ = null; + private com.google.protobuf.Duration maxBackoff_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, @@ -2128,7 +2124,7 @@ public Builder clearMaxDoublings() { @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java index 86d5f72b40fa..488c27a7882e 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java @@ -68,7 +68,7 @@ private RunTaskRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -248,11 +248,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.RunTaskRequest other = (com.google.cloud.tasks.v2beta2.RunTaskRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && responseView_ == other.responseView_; - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getName().equals(other.getName())) return false; + if (responseView_ != other.responseView_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -451,35 +450,35 @@ public com.google.cloud.tasks.v2beta2.RunTaskRequest 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 @@ -762,7 +761,7 @@ public Builder clearResponseView() { @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java index f3e3f0aa561e..86fcb385dccf 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java @@ -150,7 +150,7 @@ private Task( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -859,35 +859,33 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.tasks.v2beta2.Task other = (com.google.cloud.tasks.v2beta2.Task) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && (hasScheduleTime() == other.hasScheduleTime()); + if (!getName().equals(other.getName())) return false; + if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - result = result && getScheduleTime().equals(other.getScheduleTime()); + if (!getScheduleTime().equals(other.getScheduleTime())) 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 && (hasStatus() == other.hasStatus()); + if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - result = result && getStatus().equals(other.getStatus()); + if (!getStatus().equals(other.getStatus())) return false; } - result = result && view_ == other.view_; - result = result && getPayloadTypeCase().equals(other.getPayloadTypeCase()); - if (!result) return false; + if (view_ != other.view_) return false; + if (!getPayloadTypeCase().equals(other.getPayloadTypeCase())) return false; switch (payloadTypeCase_) { case 3: - result = result && getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest()); + if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; break; case 4: - result = result && getPullMessage().equals(other.getPullMessage()); + if (!getPullMessage().equals(other.getPullMessage())) 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 @@ -1157,35 +1155,35 @@ public com.google.cloud.tasks.v2beta2.Task 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 @@ -1962,7 +1960,7 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild return pullMessageBuilder_; } - private com.google.protobuf.Timestamp scheduleTime_ = null; + private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -2206,7 +2204,7 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { return scheduleTimeBuilder_; } - 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, @@ -2394,7 +2392,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return createTimeBuilder_; } - private com.google.cloud.tasks.v2beta2.TaskStatus status_ = null; + private com.google.cloud.tasks.v2beta2.TaskStatus status_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, @@ -2658,7 +2656,7 @@ public Builder clearView() { @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java index 634eea7c51c8..a9a65168796d 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java @@ -22,10 +22,7 @@ private TaskStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TaskStatus() { - attemptDispatchCount_ = 0; - attemptResponseCount_ = 0; - } + private TaskStatus() {} @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -95,7 +92,7 @@ private TaskStatus( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -333,19 +330,18 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta2.TaskStatus other = (com.google.cloud.tasks.v2beta2.TaskStatus) obj; - boolean result = true; - result = result && (getAttemptDispatchCount() == other.getAttemptDispatchCount()); - result = result && (getAttemptResponseCount() == other.getAttemptResponseCount()); - result = result && (hasFirstAttemptStatus() == other.hasFirstAttemptStatus()); + if (getAttemptDispatchCount() != other.getAttemptDispatchCount()) return false; + if (getAttemptResponseCount() != other.getAttemptResponseCount()) return false; + if (hasFirstAttemptStatus() != other.hasFirstAttemptStatus()) return false; if (hasFirstAttemptStatus()) { - result = result && getFirstAttemptStatus().equals(other.getFirstAttemptStatus()); + if (!getFirstAttemptStatus().equals(other.getFirstAttemptStatus())) return false; } - result = result && (hasLastAttemptStatus() == other.hasLastAttemptStatus()); + if (hasLastAttemptStatus() != other.hasLastAttemptStatus()) return false; if (hasLastAttemptStatus()) { - result = result && getLastAttemptStatus().equals(other.getLastAttemptStatus()); + if (!getLastAttemptStatus().equals(other.getLastAttemptStatus())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -573,35 +569,35 @@ public com.google.cloud.tasks.v2beta2.TaskStatus 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 @@ -757,7 +753,7 @@ public Builder clearAttemptResponseCount() { return this; } - private com.google.cloud.tasks.v2beta2.AttemptStatus firstAttemptStatus_ = null; + private com.google.cloud.tasks.v2beta2.AttemptStatus firstAttemptStatus_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, @@ -1002,7 +998,7 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat return firstAttemptStatusBuilder_; } - private com.google.cloud.tasks.v2beta2.AttemptStatus lastAttemptStatus_ = null; + private com.google.cloud.tasks.v2beta2.AttemptStatus lastAttemptStatus_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, @@ -1204,7 +1200,7 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu @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-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java index 5d0bc01859c9..e35e8c56aba0 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java @@ -82,7 +82,7 @@ private UpdateQueueRequest( } 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.tasks.v2beta2.UpdateQueueRequest other = (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) obj; - boolean result = true; - result = result && (hasQueue() == other.hasQueue()); + if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - result = result && getQueue().equals(other.getQueue()); + if (!getQueue().equals(other.getQueue())) 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.tasks.v2beta2.UpdateQueueRequest 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.cloud.tasks.v2beta2.Queue queue_ = null; + private com.google.cloud.tasks.v2beta2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, @@ -816,7 +815,7 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { return queueBuilder_; } - 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, @@ -1006,7 +1005,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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java index bd9158d043e0..97568f300173 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java @@ -79,7 +79,7 @@ private AppEngineHttpQueue( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -218,13 +218,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other = (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) obj; - boolean result = true; - result = result && (hasAppEngineRoutingOverride() == other.hasAppEngineRoutingOverride()); + if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false; if (hasAppEngineRoutingOverride()) { - result = result && getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride()); + if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -440,35 +439,35 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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 @@ -517,7 +516,7 @@ public Builder mergeFrom( return this; } - private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRoutingOverride_ = null; + private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRoutingOverride_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, @@ -759,7 +758,7 @@ public Builder clearAppEngineRoutingOverride() { @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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java index d14c2a5fbf3b..ff6eb2621977 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java @@ -135,7 +135,7 @@ private AppEngineHttpRequest( } case 34: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { headers_ = com.google.protobuf.MapField.newMapField( HeadersDefaultEntryHolder.defaultEntry); @@ -154,7 +154,7 @@ private AppEngineHttpRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -681,17 +681,16 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other = (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) obj; - boolean result = true; - result = result && httpMethod_ == other.httpMethod_; - result = result && (hasAppEngineRouting() == other.hasAppEngineRouting()); + if (httpMethod_ != other.httpMethod_) return false; + if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - result = result && getAppEngineRouting().equals(other.getAppEngineRouting()); + if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; } - result = result && getRelativeUri().equals(other.getRelativeUri()); - result = result && internalGetHeaders().equals(other.internalGetHeaders()); - result = result && getBody().equals(other.getBody()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getRelativeUri().equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; + if (!getBody().equals(other.getBody())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -990,35 +989,35 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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 @@ -1201,7 +1200,7 @@ public Builder clearHttpMethod() { return this; } - private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRouting_ = null; + private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, @@ -1997,7 +1996,7 @@ public Builder clearBody() { @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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java index e6971023cce6..ca24674cce83 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java @@ -94,7 +94,7 @@ private AppEngineRouting( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -461,13 +461,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.AppEngineRouting other = (com.google.cloud.tasks.v2beta3.AppEngineRouting) obj; - boolean result = true; - result = result && getService().equals(other.getService()); - result = result && getVersion().equals(other.getVersion()); - result = result && getInstance().equals(other.getInstance()); - result = result && getHost().equals(other.getHost()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getService().equals(other.getService())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getHost().equals(other.getHost())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -686,35 +685,35 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting 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 @@ -1403,7 +1402,7 @@ public Builder setHostBytes(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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java index 87ed99dc269f..769de25f1afa 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java @@ -110,7 +110,7 @@ private Attempt( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -381,25 +381,24 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.tasks.v2beta3.Attempt other = (com.google.cloud.tasks.v2beta3.Attempt) obj; - boolean result = true; - result = result && (hasScheduleTime() == other.hasScheduleTime()); + if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - result = result && getScheduleTime().equals(other.getScheduleTime()); + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } - result = result && (hasDispatchTime() == other.hasDispatchTime()); + if (hasDispatchTime() != other.hasDispatchTime()) return false; if (hasDispatchTime()) { - result = result && getDispatchTime().equals(other.getDispatchTime()); + if (!getDispatchTime().equals(other.getDispatchTime())) return false; } - result = result && (hasResponseTime() == other.hasResponseTime()); + if (hasResponseTime() != other.hasResponseTime()) return false; if (hasResponseTime()) { - result = result && getResponseTime().equals(other.getResponseTime()); + if (!getResponseTime().equals(other.getResponseTime())) return false; } - result = result && (hasResponseStatus() == other.hasResponseStatus()); + if (hasResponseStatus() != other.hasResponseStatus()) return false; if (hasResponseStatus()) { - result = result && getResponseStatus().equals(other.getResponseStatus()); + if (!getResponseStatus().equals(other.getResponseStatus())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -647,35 +646,35 @@ public com.google.cloud.tasks.v2beta3.Attempt 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 +730,7 @@ public Builder mergeFrom( return this; } - private com.google.protobuf.Timestamp scheduleTime_ = null; + private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -921,7 +920,7 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { return scheduleTimeBuilder_; } - private com.google.protobuf.Timestamp dispatchTime_ = null; + private com.google.protobuf.Timestamp dispatchTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -1111,7 +1110,7 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() { return dispatchTimeBuilder_; } - private com.google.protobuf.Timestamp responseTime_ = null; + private com.google.protobuf.Timestamp responseTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -1301,7 +1300,7 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() { return responseTimeBuilder_; } - private com.google.rpc.Status responseStatus_ = null; + private com.google.rpc.Status responseStatus_; private com.google.protobuf.SingleFieldBuilderV3< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_; @@ -1496,7 +1495,7 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() { @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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java index ea9fcdf76338..20d4f91d86e3 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java @@ -76,7 +76,7 @@ private CreateQueueRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -260,14 +260,13 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.CreateQueueRequest other = (com.google.cloud.tasks.v2beta3.CreateQueueRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && (hasQueue() == other.hasQueue()); + if (!getParent().equals(other.getParent())) return false; + if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - result = result && getQueue().equals(other.getQueue()); + if (!getQueue().equals(other.getQueue())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -476,35 +475,35 @@ public com.google.cloud.tasks.v2beta3.CreateQueueRequest 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 @@ -676,7 +675,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.tasks.v2beta3.Queue queue_ = null; + private com.google.cloud.tasks.v2beta3.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, @@ -882,7 +881,7 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { @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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java index 266d8c82d93b..fdcab303f336 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java @@ -84,7 +84,7 @@ private CreateTaskRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -395,15 +395,14 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.CreateTaskRequest other = (com.google.cloud.tasks.v2beta3.CreateTaskRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && (hasTask() == other.hasTask()); + if (!getParent().equals(other.getParent())) return false; + if (hasTask() != other.hasTask()) return false; if (hasTask()) { - result = result && getTask().equals(other.getTask()); + if (!getTask().equals(other.getTask())) return false; } - result = result && responseView_ == other.responseView_; - result = result && unknownFields.equals(other.unknownFields); - return result; + if (responseView_ != other.responseView_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -617,35 +616,35 @@ public com.google.cloud.tasks.v2beta3.CreateTaskRequest 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 @@ -809,7 +808,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.tasks.v2beta3.Task task_ = null; + private com.google.cloud.tasks.v2beta3.Task task_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, @@ -1364,7 +1363,7 @@ public Builder clearResponseView() { @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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java index f338e248f585..eb17a67ebad9 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java @@ -60,7 +60,7 @@ private DeleteQueueRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -184,10 +184,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.DeleteQueueRequest other = (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) 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.tasks.v2beta3.DeleteQueueRequest 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 @@ -565,7 +564,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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java index eb4f9d55a747..a93e3db36c93 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java @@ -60,7 +60,7 @@ private DeleteTaskRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -184,10 +184,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.DeleteTaskRequest other = (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) 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.tasks.v2beta3.DeleteTaskRequest 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 @@ -564,7 +563,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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java index 8bafbc2442db..e15af83e49db 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java @@ -60,7 +60,7 @@ private GetQueueRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -184,10 +184,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.GetQueueRequest other = (com.google.cloud.tasks.v2beta3.GetQueueRequest) 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.tasks.v2beta3.GetQueueRequest 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 @@ -563,7 +562,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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java index 8c4b43d6d143..7227ddbe1349 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java @@ -68,7 +68,7 @@ private GetTaskRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -248,11 +248,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.GetTaskRequest other = (com.google.cloud.tasks.v2beta3.GetTaskRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && responseView_ == other.responseView_; - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getName().equals(other.getName())) return false; + if (responseView_ != other.responseView_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -451,35 +450,35 @@ public com.google.cloud.tasks.v2beta3.GetTaskRequest 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 @@ -762,7 +761,7 @@ public Builder clearResponseView() { @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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java index 92cc5775d679..bdfd336baeba 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java @@ -93,7 +93,7 @@ private HttpRequest( } case 26: { - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { headers_ = com.google.protobuf.MapField.newMapField( HeadersDefaultEntryHolder.defaultEntry); @@ -112,7 +112,7 @@ private HttpRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -504,13 +504,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.HttpRequest other = (com.google.cloud.tasks.v2beta3.HttpRequest) obj; - boolean result = true; - result = result && getUrl().equals(other.getUrl()); - result = result && httpMethod_ == other.httpMethod_; - result = result && internalGetHeaders().equals(other.internalGetHeaders()); - result = result && getBody().equals(other.getBody()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getUrl().equals(other.getUrl())) return false; + if (httpMethod_ != other.httpMethod_) return false; + if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; + if (!getBody().equals(other.getBody())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -768,35 +767,35 @@ public com.google.cloud.tasks.v2beta3.HttpRequest 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 @@ -1406,7 +1405,7 @@ public Builder clearBody() { @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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java index 7ff315489f9d..f1b3424df0dc 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java @@ -26,7 +26,6 @@ private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder buil private ListQueuesRequest() { parent_ = ""; filter_ = ""; - pageSize_ = 0; pageToken_ = ""; } @@ -82,7 +81,7 @@ private ListQueuesRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -360,13 +359,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.ListQueuesRequest other = (com.google.cloud.tasks.v2beta3.ListQueuesRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && getFilter().equals(other.getFilter()); - result = result && (getPageSize() == other.getPageSize()); - result = result && getPageToken().equals(other.getPageToken()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -575,35 +573,35 @@ public com.google.cloud.tasks.v2beta3.ListQueuesRequest 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 @@ -1091,7 +1089,7 @@ public Builder setPageTokenBytes(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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java index cc05c06dec51..eca62f640c37 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java @@ -54,7 +54,7 @@ private ListQueuesResponse( break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -72,7 +72,7 @@ private ListQueuesResponse( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -84,7 +84,7 @@ private ListQueuesResponse( } 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)) { queues_ = java.util.Collections.unmodifiableList(queues_); } this.unknownFields = unknownFields.build(); @@ -278,11 +278,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.ListQueuesResponse other = (com.google.cloud.tasks.v2beta3.ListQueuesResponse) obj; - boolean result = true; - result = result && getQueuesList().equals(other.getQueuesList()); - result = result && getNextPageToken().equals(other.getNextPageToken()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getQueuesList().equals(other.getQueuesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -484,7 +483,7 @@ public com.google.cloud.tasks.v2beta3.ListQueuesResponse buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (queuesBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -500,35 +499,35 @@ public com.google.cloud.tasks.v2beta3.ListQueuesResponse 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 @@ -611,7 +610,7 @@ public Builder mergeFrom( java.util.Collections.emptyList(); private void ensureQueuesIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; } @@ -949,10 +948,7 @@ public java.util.List getQueuesBui com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - queues_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); + queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); queues_ = null; } return queuesBuilder_; @@ -1084,7 +1080,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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java index deca30a6baf5..57a5c1bd41e6 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java @@ -26,7 +26,6 @@ private ListTasksRequest(com.google.protobuf.GeneratedMessageV3.Builder build private ListTasksRequest() { parent_ = ""; responseView_ = 0; - pageSize_ = 0; pageToken_ = ""; } @@ -82,7 +81,7 @@ private ListTasksRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -349,13 +348,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.ListTasksRequest other = (com.google.cloud.tasks.v2beta3.ListTasksRequest) obj; - boolean result = true; - result = result && getParent().equals(other.getParent()); - result = result && responseView_ == other.responseView_; - result = result && (getPageSize() == other.getPageSize()); - result = result && getPageToken().equals(other.getPageToken()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getParent().equals(other.getParent())) return false; + if (responseView_ != other.responseView_) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -564,35 +562,35 @@ public com.google.cloud.tasks.v2beta3.ListTasksRequest 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 @@ -1066,7 +1064,7 @@ public Builder setPageTokenBytes(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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java index d1482f5c5ee5..83f1ee935631 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java @@ -54,7 +54,7 @@ private ListTasksResponse( break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -72,7 +72,7 @@ private ListTasksResponse( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -84,7 +84,7 @@ private ListTasksResponse( } 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)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); } this.unknownFields = unknownFields.build(); @@ -276,11 +276,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.ListTasksResponse other = (com.google.cloud.tasks.v2beta3.ListTasksResponse) obj; - boolean result = true; - result = result && getTasksList().equals(other.getTasksList()); - result = result && getNextPageToken().equals(other.getNextPageToken()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getTasksList().equals(other.getTasksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -482,7 +481,7 @@ public com.google.cloud.tasks.v2beta3.ListTasksResponse buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (tasksBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -498,35 +497,35 @@ public com.google.cloud.tasks.v2beta3.ListTasksResponse 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 @@ -608,7 +607,7 @@ public Builder mergeFrom( java.util.Collections.emptyList(); private void ensureTasksIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { tasks_ = new java.util.ArrayList(tasks_); bitField0_ |= 0x00000001; } @@ -946,10 +945,7 @@ public java.util.List getTasksBuild com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; @@ -1076,7 +1072,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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java index 1e91cdb707dc..67126b74944d 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java @@ -60,7 +60,7 @@ private PauseQueueRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -184,10 +184,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.PauseQueueRequest other = (com.google.cloud.tasks.v2beta3.PauseQueueRequest) 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.tasks.v2beta3.PauseQueueRequest 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 @@ -564,7 +563,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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java index c50dc5191fe6..6d3495596a8b 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java @@ -60,7 +60,7 @@ private PurgeQueueRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -184,10 +184,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.PurgeQueueRequest other = (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) 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.tasks.v2beta3.PurgeQueueRequest 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 @@ -564,7 +563,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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java index 1ba60056f59d..759b2dd3894c 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java @@ -135,7 +135,7 @@ private Queue( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -894,32 +894,30 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.tasks.v2beta3.Queue other = (com.google.cloud.tasks.v2beta3.Queue) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && (hasRateLimits() == other.hasRateLimits()); + if (!getName().equals(other.getName())) return false; + if (hasRateLimits() != other.hasRateLimits()) return false; if (hasRateLimits()) { - result = result && getRateLimits().equals(other.getRateLimits()); + if (!getRateLimits().equals(other.getRateLimits())) return false; } - result = result && (hasRetryConfig() == other.hasRetryConfig()); + if (hasRetryConfig() != other.hasRetryConfig()) return false; if (hasRetryConfig()) { - result = result && getRetryConfig().equals(other.getRetryConfig()); + if (!getRetryConfig().equals(other.getRetryConfig())) return false; } - result = result && state_ == other.state_; - result = result && (hasPurgeTime() == other.hasPurgeTime()); + if (state_ != other.state_) return false; + if (hasPurgeTime() != other.hasPurgeTime()) return false; if (hasPurgeTime()) { - result = result && getPurgeTime().equals(other.getPurgeTime()); + if (!getPurgeTime().equals(other.getPurgeTime())) return false; } - result = result && getQueueTypeCase().equals(other.getQueueTypeCase()); - if (!result) return false; + if (!getQueueTypeCase().equals(other.getQueueTypeCase())) return false; switch (queueTypeCase_) { case 3: - result = result && getAppEngineHttpQueue().equals(other.getAppEngineHttpQueue()); + if (!getAppEngineHttpQueue().equals(other.getAppEngineHttpQueue())) 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 @@ -1180,35 +1178,35 @@ public com.google.cloud.tasks.v2beta3.Queue 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 @@ -1709,7 +1707,7 @@ public Builder clearAppEngineHttpQueue() { return appEngineHttpQueueBuilder_; } - private com.google.cloud.tasks.v2beta3.RateLimits rateLimits_ = null; + private com.google.cloud.tasks.v2beta3.RateLimits rateLimits_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, @@ -2089,7 +2087,7 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder return rateLimitsBuilder_; } - private com.google.cloud.tasks.v2beta3.RetryConfig retryConfig_ = null; + private com.google.cloud.tasks.v2beta3.RetryConfig retryConfig_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, @@ -2454,7 +2452,7 @@ public Builder clearState() { return this; } - private com.google.protobuf.Timestamp purgeTime_ = null; + private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -2703,7 +2701,7 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() { @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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java index 014142f11f5d..d7c6a6872690 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java @@ -28,11 +28,7 @@ private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RateLimits() { - maxDispatchesPerSecond_ = 0D; - maxBurstSize_ = 0; - maxConcurrentDispatches_ = 0; - } + private RateLimits() {} @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -75,7 +71,7 @@ private RateLimits( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -253,15 +249,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.RateLimits other = (com.google.cloud.tasks.v2beta3.RateLimits) obj; - boolean result = true; - result = - result - && (java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond()) - == java.lang.Double.doubleToLongBits(other.getMaxDispatchesPerSecond())); - result = result && (getMaxBurstSize() == other.getMaxBurstSize()); - result = result && (getMaxConcurrentDispatches() == other.getMaxConcurrentDispatches()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond()) + != java.lang.Double.doubleToLongBits(other.getMaxDispatchesPerSecond())) return false; + if (getMaxBurstSize() != other.getMaxBurstSize()) return false; + if (getMaxConcurrentDispatches() != other.getMaxConcurrentDispatches()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -473,35 +466,35 @@ public com.google.cloud.tasks.v2beta3.RateLimits 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 @@ -820,7 +813,7 @@ public Builder clearMaxConcurrentDispatches() { @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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java index 0dc9c5a2c563..050935e8fe12 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java @@ -60,7 +60,7 @@ private ResumeQueueRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -184,10 +184,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.ResumeQueueRequest other = (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) 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.tasks.v2beta3.ResumeQueueRequest 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 @@ -565,7 +564,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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java index 091f118beabe..59f89c33b6f5 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java @@ -23,10 +23,7 @@ private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetryConfig() { - maxAttempts_ = 0; - maxDoublings_ = 0; - } + private RetryConfig() {} @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -109,7 +106,7 @@ private RetryConfig( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -498,23 +495,22 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.RetryConfig other = (com.google.cloud.tasks.v2beta3.RetryConfig) obj; - boolean result = true; - result = result && (getMaxAttempts() == other.getMaxAttempts()); - result = result && (hasMaxRetryDuration() == other.hasMaxRetryDuration()); + if (getMaxAttempts() != other.getMaxAttempts()) return false; + if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - result = result && getMaxRetryDuration().equals(other.getMaxRetryDuration()); + if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; } - result = result && (hasMinBackoff() == other.hasMinBackoff()); + if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - result = result && getMinBackoff().equals(other.getMinBackoff()); + if (!getMinBackoff().equals(other.getMinBackoff())) return false; } - result = result && (hasMaxBackoff() == other.hasMaxBackoff()); + if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - result = result && getMaxBackoff().equals(other.getMaxBackoff()); + if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; } - result = result && (getMaxDoublings() == other.getMaxDoublings()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (getMaxDoublings() != other.getMaxDoublings()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -758,35 +754,35 @@ public com.google.cloud.tasks.v2beta3.RetryConfig 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 @@ -916,7 +912,7 @@ public Builder clearMaxAttempts() { return this; } - private com.google.protobuf.Duration maxRetryDuration_ = null; + private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, @@ -1205,7 +1201,7 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() { return maxRetryDurationBuilder_; } - private com.google.protobuf.Duration minBackoff_ = null; + private com.google.protobuf.Duration minBackoff_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, @@ -1492,7 +1488,7 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() { return minBackoffBuilder_; } - private com.google.protobuf.Duration maxBackoff_ = null; + private com.google.protobuf.Duration maxBackoff_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, @@ -1891,7 +1887,7 @@ public Builder clearMaxDoublings() { @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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java index 9e4d86ef8fc7..14588804a20d 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java @@ -68,7 +68,7 @@ private RunTaskRequest( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -248,11 +248,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2beta3.RunTaskRequest other = (com.google.cloud.tasks.v2beta3.RunTaskRequest) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && responseView_ == other.responseView_; - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getName().equals(other.getName())) return false; + if (responseView_ != other.responseView_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -451,35 +450,35 @@ public com.google.cloud.tasks.v2beta3.RunTaskRequest 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 @@ -762,7 +761,7 @@ public Builder clearResponseView() { @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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java index 3524b087e933..489757073bba 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java @@ -24,8 +24,6 @@ private Task(com.google.protobuf.GeneratedMessageV3.Builder builder) { private Task() { name_ = ""; - dispatchCount_ = 0; - responseCount_ = 0; view_ = 0; } @@ -193,7 +191,7 @@ private Task( } default: { - if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -1105,45 +1103,43 @@ public boolean equals(final java.lang.Object obj) { } com.google.cloud.tasks.v2beta3.Task other = (com.google.cloud.tasks.v2beta3.Task) obj; - boolean result = true; - result = result && getName().equals(other.getName()); - result = result && (hasScheduleTime() == other.hasScheduleTime()); + if (!getName().equals(other.getName())) return false; + if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - result = result && getScheduleTime().equals(other.getScheduleTime()); + if (!getScheduleTime().equals(other.getScheduleTime())) 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 && (hasDispatchDeadline() == other.hasDispatchDeadline()); + if (hasDispatchDeadline() != other.hasDispatchDeadline()) return false; if (hasDispatchDeadline()) { - result = result && getDispatchDeadline().equals(other.getDispatchDeadline()); + if (!getDispatchDeadline().equals(other.getDispatchDeadline())) return false; } - result = result && (getDispatchCount() == other.getDispatchCount()); - result = result && (getResponseCount() == other.getResponseCount()); - result = result && (hasFirstAttempt() == other.hasFirstAttempt()); + if (getDispatchCount() != other.getDispatchCount()) return false; + if (getResponseCount() != other.getResponseCount()) return false; + if (hasFirstAttempt() != other.hasFirstAttempt()) return false; if (hasFirstAttempt()) { - result = result && getFirstAttempt().equals(other.getFirstAttempt()); + if (!getFirstAttempt().equals(other.getFirstAttempt())) return false; } - result = result && (hasLastAttempt() == other.hasLastAttempt()); + if (hasLastAttempt() != other.hasLastAttempt()) return false; if (hasLastAttempt()) { - result = result && getLastAttempt().equals(other.getLastAttempt()); + if (!getLastAttempt().equals(other.getLastAttempt())) return false; } - result = result && view_ == other.view_; - result = result && getPayloadTypeCase().equals(other.getPayloadTypeCase()); - if (!result) return false; + if (view_ != other.view_) return false; + if (!getPayloadTypeCase().equals(other.getPayloadTypeCase())) return false; switch (payloadTypeCase_) { case 3: - result = result && getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest()); + if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; break; case 11: - result = result && getHttpRequest().equals(other.getHttpRequest()); + if (!getHttpRequest().equals(other.getHttpRequest())) 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 @@ -1453,35 +1449,35 @@ public com.google.cloud.tasks.v2beta3.Task 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 @@ -2243,7 +2239,7 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild return httpRequestBuilder_; } - private com.google.protobuf.Timestamp scheduleTime_ = null; + private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, @@ -2442,7 +2438,7 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { return scheduleTimeBuilder_; } - 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, @@ -2630,7 +2626,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return createTimeBuilder_; } - private com.google.protobuf.Duration dispatchDeadline_ = null; + private com.google.protobuf.Duration dispatchDeadline_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, @@ -3157,7 +3153,7 @@ public Builder clearResponseCount() { return this; } - private com.google.cloud.tasks.v2beta3.Attempt firstAttempt_ = null; + private com.google.cloud.tasks.v2beta3.Attempt firstAttempt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, @@ -3365,7 +3361,7 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder( return firstAttemptBuilder_; } - private com.google.cloud.tasks.v2beta3.Attempt lastAttempt_ = null; + private com.google.cloud.tasks.v2beta3.Attempt lastAttempt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, @@ -3629,7 +3625,7 @@ public Builder clearView() { @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-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java index 8215de84a9a8..6af772dd8545 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java @@ -82,7 +82,7 @@ private UpdateQueueRequest( } 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.tasks.v2beta3.UpdateQueueRequest other = (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) obj; - boolean result = true; - result = result && (hasQueue() == other.hasQueue()); + if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - result = result && getQueue().equals(other.getQueue()); + if (!getQueue().equals(other.getQueue())) 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.tasks.v2beta3.UpdateQueueRequest 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.cloud.tasks.v2beta3.Queue queue_ = null; + private com.google.cloud.tasks.v2beta3.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, @@ -816,7 +815,7 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { return queueBuilder_; } - 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, @@ -1006,7 +1005,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-cloud-clients/google-cloud-tasks/synth.metadata b/google-cloud-clients/google-cloud-tasks/synth.metadata index bcb6b2cec97c..4bde903a2119 100644 --- a/google-cloud-clients/google-cloud-tasks/synth.metadata +++ b/google-cloud-clients/google-cloud-tasks/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-03-06T08:53:41.978611Z", + "updateTime": "2019-03-29T07:58:51.829208Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.15", - "dockerImage": "googleapis/artman@sha256:9caadfa59d48224cba5f3217eb9d61a155b78ccf31e628abef385bc5b7ed3bd2" + "version": "0.16.21", + "dockerImage": "googleapis/artman@sha256:854131ec1af7b3a313253474c24748dc0acd217a58a0b74dbfb559f340a15d78" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "856117505ff9075b3e9c0b5674113667b6cf9e00", - "internalRef": "236931378" + "sha": "37386f1ebcaed51bcb7d15d00124d22c38606e45", + "internalRef": "240841842" } } ],