File tree Expand file tree Collapse file tree 10 files changed +25
-22
lines changed
grpc-google-cloud-pubsublite-v1/src/main/java/com/google/cloud/pubsublite/proto
proto-google-cloud-pubsublite-v1/src/main/java/com/google/cloud/pubsublite/proto Expand file tree Collapse file tree 10 files changed +25
-22
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public final class AdminServiceGrpc {
3333
3434 private AdminServiceGrpc () {}
3535
36- public static final String SERVICE_NAME = "google.cloud.pubsublite.v1.AdminService" ;
36+ public static final java . lang . String SERVICE_NAME = "google.cloud.pubsublite.v1.AdminService" ;
3737
3838 // Static method descriptors that strictly reflect the proto.
3939 private static volatile io .grpc .MethodDescriptor <
@@ -2530,9 +2530,9 @@ private static final class AdminServiceFileDescriptorSupplier
25302530 private static final class AdminServiceMethodDescriptorSupplier
25312531 extends AdminServiceBaseDescriptorSupplier
25322532 implements io .grpc .protobuf .ProtoMethodDescriptorSupplier {
2533- private final String methodName ;
2533+ private final java . lang . String methodName ;
25342534
2535- AdminServiceMethodDescriptorSupplier (String methodName ) {
2535+ AdminServiceMethodDescriptorSupplier (java . lang . String methodName ) {
25362536 this .methodName = methodName ;
25372537 }
25382538
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public final class CursorServiceGrpc {
3434
3535 private CursorServiceGrpc () {}
3636
37- public static final String SERVICE_NAME = "google.cloud.pubsublite.v1.CursorService" ;
37+ public static final java . lang . String SERVICE_NAME = "google.cloud.pubsublite.v1.CursorService" ;
3838
3939 // Static method descriptors that strictly reflect the proto.
4040 private static volatile io .grpc .MethodDescriptor <
@@ -579,9 +579,9 @@ private static final class CursorServiceFileDescriptorSupplier
579579 private static final class CursorServiceMethodDescriptorSupplier
580580 extends CursorServiceBaseDescriptorSupplier
581581 implements io .grpc .protobuf .ProtoMethodDescriptorSupplier {
582- private final String methodName ;
582+ private final java . lang . String methodName ;
583583
584- CursorServiceMethodDescriptorSupplier (String methodName ) {
584+ CursorServiceMethodDescriptorSupplier (java . lang . String methodName ) {
585585 this .methodName = methodName ;
586586 }
587587
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ public final class PartitionAssignmentServiceGrpc {
3333
3434 private PartitionAssignmentServiceGrpc () {}
3535
36- public static final String SERVICE_NAME = "google.cloud.pubsublite.v1.PartitionAssignmentService" ;
36+ public static final java .lang .String SERVICE_NAME =
37+ "google.cloud.pubsublite.v1.PartitionAssignmentService" ;
3738
3839 // Static method descriptors that strictly reflect the proto.
3940 private static volatile io .grpc .MethodDescriptor <
@@ -340,9 +341,9 @@ private static final class PartitionAssignmentServiceFileDescriptorSupplier
340341 private static final class PartitionAssignmentServiceMethodDescriptorSupplier
341342 extends PartitionAssignmentServiceBaseDescriptorSupplier
342343 implements io .grpc .protobuf .ProtoMethodDescriptorSupplier {
343- private final String methodName ;
344+ private final java . lang . String methodName ;
344345
345- PartitionAssignmentServiceMethodDescriptorSupplier (String methodName ) {
346+ PartitionAssignmentServiceMethodDescriptorSupplier (java . lang . String methodName ) {
346347 this .methodName = methodName ;
347348 }
348349
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public final class PublisherServiceGrpc {
3535
3636 private PublisherServiceGrpc () {}
3737
38- public static final String SERVICE_NAME = "google.cloud.pubsublite.v1.PublisherService" ;
38+ public static final java . lang . String SERVICE_NAME = "google.cloud.pubsublite.v1.PublisherService" ;
3939
4040 // Static method descriptors that strictly reflect the proto.
4141 private static volatile io .grpc .MethodDescriptor <
@@ -340,9 +340,9 @@ private static final class PublisherServiceFileDescriptorSupplier
340340 private static final class PublisherServiceMethodDescriptorSupplier
341341 extends PublisherServiceBaseDescriptorSupplier
342342 implements io .grpc .protobuf .ProtoMethodDescriptorSupplier {
343- private final String methodName ;
343+ private final java . lang . String methodName ;
344344
345- PublisherServiceMethodDescriptorSupplier (String methodName ) {
345+ PublisherServiceMethodDescriptorSupplier (java . lang . String methodName ) {
346346 this .methodName = methodName ;
347347 }
348348
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ public final class SubscriberServiceGrpc {
3333
3434 private SubscriberServiceGrpc () {}
3535
36- public static final String SERVICE_NAME = "google.cloud.pubsublite.v1.SubscriberService" ;
36+ public static final java .lang .String SERVICE_NAME =
37+ "google.cloud.pubsublite.v1.SubscriberService" ;
3738
3839 // Static method descriptors that strictly reflect the proto.
3940 private static volatile io .grpc .MethodDescriptor <
@@ -322,9 +323,9 @@ private static final class SubscriberServiceFileDescriptorSupplier
322323 private static final class SubscriberServiceMethodDescriptorSupplier
323324 extends SubscriberServiceBaseDescriptorSupplier
324325 implements io .grpc .protobuf .ProtoMethodDescriptorSupplier {
325- private final String methodName ;
326+ private final java . lang . String methodName ;
326327
327- SubscriberServiceMethodDescriptorSupplier (String methodName ) {
328+ SubscriberServiceMethodDescriptorSupplier (java . lang . String methodName ) {
328329 this .methodName = methodName ;
329330 }
330331
Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ public final class TopicStatsServiceGrpc {
3232
3333 private TopicStatsServiceGrpc () {}
3434
35- public static final String SERVICE_NAME = "google.cloud.pubsublite.v1.TopicStatsService" ;
35+ public static final java .lang .String SERVICE_NAME =
36+ "google.cloud.pubsublite.v1.TopicStatsService" ;
3637
3738 // Static method descriptors that strictly reflect the proto.
3839 private static volatile io .grpc .MethodDescriptor <
@@ -622,9 +623,9 @@ private static final class TopicStatsServiceFileDescriptorSupplier
622623 private static final class TopicStatsServiceMethodDescriptorSupplier
623624 extends TopicStatsServiceBaseDescriptorSupplier
624625 implements io .grpc .protobuf .ProtoMethodDescriptorSupplier {
625- private final String methodName ;
626+ private final java . lang . String methodName ;
626627
627- TopicStatsServiceMethodDescriptorSupplier (String methodName ) {
628+ TopicStatsServiceMethodDescriptorSupplier (java . lang . String methodName ) {
628629 this .methodName = methodName ;
629630 }
630631
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ public boolean equals(Object o) {
137137 if (o == this ) {
138138 return true ;
139139 }
140- if (o != null || getClass () == o .getClass ()) {
140+ if (o != null && getClass () == o .getClass ()) {
141141 LocationName that = ((LocationName ) o );
142142 return Objects .equals (this .project , that .project )
143143 && Objects .equals (this .location , that .location );
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ public boolean equals(Object o) {
158158 if (o == this ) {
159159 return true ;
160160 }
161- if (o != null || getClass () == o .getClass ()) {
161+ if (o != null && getClass () == o .getClass ()) {
162162 ReservationName that = ((ReservationName ) o );
163163 return Objects .equals (this .project , that .project )
164164 && Objects .equals (this .location , that .location )
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ public boolean equals(Object o) {
158158 if (o == this ) {
159159 return true ;
160160 }
161- if (o != null || getClass () == o .getClass ()) {
161+ if (o != null && getClass () == o .getClass ()) {
162162 SubscriptionName that = ((SubscriptionName ) o );
163163 return Objects .equals (this .project , that .project )
164164 && Objects .equals (this .location , that .location )
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ public boolean equals(Object o) {
154154 if (o == this ) {
155155 return true ;
156156 }
157- if (o != null || getClass () == o .getClass ()) {
157+ if (o != null && getClass () == o .getClass ()) {
158158 TopicName that = ((TopicName ) o );
159159 return Objects .equals (this .project , that .project )
160160 && Objects .equals (this .location , that .location )
You can’t perform that action at this time.
0 commit comments