001// Generated by the protocol buffer compiler. DO NOT EDIT! 002// source: RefreshUserMappingsProtocol.proto 003 004package org.apache.hadoop.security.proto; 005 006public final class RefreshUserMappingsProtocolProtos { 007 private RefreshUserMappingsProtocolProtos() {} 008 public static void registerAllExtensions( 009 com.google.protobuf.ExtensionRegistry registry) { 010 } 011 public interface RefreshUserToGroupsMappingsRequestProtoOrBuilder 012 extends com.google.protobuf.MessageOrBuilder { 013 } 014 /** 015 * Protobuf type {@code hadoop.common.RefreshUserToGroupsMappingsRequestProto} 016 * 017 * <pre> 018 ** 019 * Refresh user to group mappings request. 020 * </pre> 021 */ 022 public static final class RefreshUserToGroupsMappingsRequestProto extends 023 com.google.protobuf.GeneratedMessage 024 implements RefreshUserToGroupsMappingsRequestProtoOrBuilder { 025 // Use RefreshUserToGroupsMappingsRequestProto.newBuilder() to construct. 026 private RefreshUserToGroupsMappingsRequestProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 027 super(builder); 028 this.unknownFields = builder.getUnknownFields(); 029 } 030 private RefreshUserToGroupsMappingsRequestProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 031 032 private static final RefreshUserToGroupsMappingsRequestProto defaultInstance; 033 public static RefreshUserToGroupsMappingsRequestProto getDefaultInstance() { 034 return defaultInstance; 035 } 036 037 public RefreshUserToGroupsMappingsRequestProto getDefaultInstanceForType() { 038 return defaultInstance; 039 } 040 041 private final com.google.protobuf.UnknownFieldSet unknownFields; 042 @java.lang.Override 043 public final com.google.protobuf.UnknownFieldSet 044 getUnknownFields() { 045 return this.unknownFields; 046 } 047 private RefreshUserToGroupsMappingsRequestProto( 048 com.google.protobuf.CodedInputStream input, 049 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 050 throws com.google.protobuf.InvalidProtocolBufferException { 051 initFields(); 052 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 053 com.google.protobuf.UnknownFieldSet.newBuilder(); 054 try { 055 boolean done = false; 056 while (!done) { 057 int tag = input.readTag(); 058 switch (tag) { 059 case 0: 060 done = true; 061 break; 062 default: { 063 if (!parseUnknownField(input, unknownFields, 064 extensionRegistry, tag)) { 065 done = true; 066 } 067 break; 068 } 069 } 070 } 071 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 072 throw e.setUnfinishedMessage(this); 073 } catch (java.io.IOException e) { 074 throw new com.google.protobuf.InvalidProtocolBufferException( 075 e.getMessage()).setUnfinishedMessage(this); 076 } finally { 077 this.unknownFields = unknownFields.build(); 078 makeExtensionsImmutable(); 079 } 080 } 081 public static final com.google.protobuf.Descriptors.Descriptor 082 getDescriptor() { 083 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshUserToGroupsMappingsRequestProto_descriptor; 084 } 085 086 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 087 internalGetFieldAccessorTable() { 088 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshUserToGroupsMappingsRequestProto_fieldAccessorTable 089 .ensureFieldAccessorsInitialized( 090 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto.class, org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto.Builder.class); 091 } 092 093 public static com.google.protobuf.Parser<RefreshUserToGroupsMappingsRequestProto> PARSER = 094 new com.google.protobuf.AbstractParser<RefreshUserToGroupsMappingsRequestProto>() { 095 public RefreshUserToGroupsMappingsRequestProto parsePartialFrom( 096 com.google.protobuf.CodedInputStream input, 097 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 098 throws com.google.protobuf.InvalidProtocolBufferException { 099 return new RefreshUserToGroupsMappingsRequestProto(input, extensionRegistry); 100 } 101 }; 102 103 @java.lang.Override 104 public com.google.protobuf.Parser<RefreshUserToGroupsMappingsRequestProto> getParserForType() { 105 return PARSER; 106 } 107 108 private void initFields() { 109 } 110 private byte memoizedIsInitialized = -1; 111 public final boolean isInitialized() { 112 byte isInitialized = memoizedIsInitialized; 113 if (isInitialized != -1) return isInitialized == 1; 114 115 memoizedIsInitialized = 1; 116 return true; 117 } 118 119 public void writeTo(com.google.protobuf.CodedOutputStream output) 120 throws java.io.IOException { 121 getSerializedSize(); 122 getUnknownFields().writeTo(output); 123 } 124 125 private int memoizedSerializedSize = -1; 126 public int getSerializedSize() { 127 int size = memoizedSerializedSize; 128 if (size != -1) return size; 129 130 size = 0; 131 size += getUnknownFields().getSerializedSize(); 132 memoizedSerializedSize = size; 133 return size; 134 } 135 136 private static final long serialVersionUID = 0L; 137 @java.lang.Override 138 protected java.lang.Object writeReplace() 139 throws java.io.ObjectStreamException { 140 return super.writeReplace(); 141 } 142 143 @java.lang.Override 144 public boolean equals(final java.lang.Object obj) { 145 if (obj == this) { 146 return true; 147 } 148 if (!(obj instanceof org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto)) { 149 return super.equals(obj); 150 } 151 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto other = (org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto) obj; 152 153 boolean result = true; 154 result = result && 155 getUnknownFields().equals(other.getUnknownFields()); 156 return result; 157 } 158 159 private int memoizedHashCode = 0; 160 @java.lang.Override 161 public int hashCode() { 162 if (memoizedHashCode != 0) { 163 return memoizedHashCode; 164 } 165 int hash = 41; 166 hash = (19 * hash) + getDescriptorForType().hashCode(); 167 hash = (29 * hash) + getUnknownFields().hashCode(); 168 memoizedHashCode = hash; 169 return hash; 170 } 171 172 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto parseFrom( 173 com.google.protobuf.ByteString data) 174 throws com.google.protobuf.InvalidProtocolBufferException { 175 return PARSER.parseFrom(data); 176 } 177 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto parseFrom( 178 com.google.protobuf.ByteString data, 179 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 180 throws com.google.protobuf.InvalidProtocolBufferException { 181 return PARSER.parseFrom(data, extensionRegistry); 182 } 183 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto parseFrom(byte[] data) 184 throws com.google.protobuf.InvalidProtocolBufferException { 185 return PARSER.parseFrom(data); 186 } 187 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto parseFrom( 188 byte[] data, 189 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 190 throws com.google.protobuf.InvalidProtocolBufferException { 191 return PARSER.parseFrom(data, extensionRegistry); 192 } 193 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto parseFrom(java.io.InputStream input) 194 throws java.io.IOException { 195 return PARSER.parseFrom(input); 196 } 197 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto parseFrom( 198 java.io.InputStream input, 199 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 200 throws java.io.IOException { 201 return PARSER.parseFrom(input, extensionRegistry); 202 } 203 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto parseDelimitedFrom(java.io.InputStream input) 204 throws java.io.IOException { 205 return PARSER.parseDelimitedFrom(input); 206 } 207 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto parseDelimitedFrom( 208 java.io.InputStream input, 209 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 210 throws java.io.IOException { 211 return PARSER.parseDelimitedFrom(input, extensionRegistry); 212 } 213 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto parseFrom( 214 com.google.protobuf.CodedInputStream input) 215 throws java.io.IOException { 216 return PARSER.parseFrom(input); 217 } 218 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto parseFrom( 219 com.google.protobuf.CodedInputStream input, 220 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 221 throws java.io.IOException { 222 return PARSER.parseFrom(input, extensionRegistry); 223 } 224 225 public static Builder newBuilder() { return Builder.create(); } 226 public Builder newBuilderForType() { return newBuilder(); } 227 public static Builder newBuilder(org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto prototype) { 228 return newBuilder().mergeFrom(prototype); 229 } 230 public Builder toBuilder() { return newBuilder(this); } 231 232 @java.lang.Override 233 protected Builder newBuilderForType( 234 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 235 Builder builder = new Builder(parent); 236 return builder; 237 } 238 /** 239 * Protobuf type {@code hadoop.common.RefreshUserToGroupsMappingsRequestProto} 240 * 241 * <pre> 242 ** 243 * Refresh user to group mappings request. 244 * </pre> 245 */ 246 public static final class Builder extends 247 com.google.protobuf.GeneratedMessage.Builder<Builder> 248 implements org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProtoOrBuilder { 249 public static final com.google.protobuf.Descriptors.Descriptor 250 getDescriptor() { 251 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshUserToGroupsMappingsRequestProto_descriptor; 252 } 253 254 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 255 internalGetFieldAccessorTable() { 256 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshUserToGroupsMappingsRequestProto_fieldAccessorTable 257 .ensureFieldAccessorsInitialized( 258 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto.class, org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto.Builder.class); 259 } 260 261 // Construct using org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto.newBuilder() 262 private Builder() { 263 maybeForceBuilderInitialization(); 264 } 265 266 private Builder( 267 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 268 super(parent); 269 maybeForceBuilderInitialization(); 270 } 271 private void maybeForceBuilderInitialization() { 272 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 273 } 274 } 275 private static Builder create() { 276 return new Builder(); 277 } 278 279 public Builder clear() { 280 super.clear(); 281 return this; 282 } 283 284 public Builder clone() { 285 return create().mergeFrom(buildPartial()); 286 } 287 288 public com.google.protobuf.Descriptors.Descriptor 289 getDescriptorForType() { 290 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshUserToGroupsMappingsRequestProto_descriptor; 291 } 292 293 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto getDefaultInstanceForType() { 294 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto.getDefaultInstance(); 295 } 296 297 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto build() { 298 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto result = buildPartial(); 299 if (!result.isInitialized()) { 300 throw newUninitializedMessageException(result); 301 } 302 return result; 303 } 304 305 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto buildPartial() { 306 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto result = new org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto(this); 307 onBuilt(); 308 return result; 309 } 310 311 public Builder mergeFrom(com.google.protobuf.Message other) { 312 if (other instanceof org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto) { 313 return mergeFrom((org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto)other); 314 } else { 315 super.mergeFrom(other); 316 return this; 317 } 318 } 319 320 public Builder mergeFrom(org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto other) { 321 if (other == org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto.getDefaultInstance()) return this; 322 this.mergeUnknownFields(other.getUnknownFields()); 323 return this; 324 } 325 326 public final boolean isInitialized() { 327 return true; 328 } 329 330 public Builder mergeFrom( 331 com.google.protobuf.CodedInputStream input, 332 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 333 throws java.io.IOException { 334 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto parsedMessage = null; 335 try { 336 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 337 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 338 parsedMessage = (org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto) e.getUnfinishedMessage(); 339 throw e; 340 } finally { 341 if (parsedMessage != null) { 342 mergeFrom(parsedMessage); 343 } 344 } 345 return this; 346 } 347 348 // @@protoc_insertion_point(builder_scope:hadoop.common.RefreshUserToGroupsMappingsRequestProto) 349 } 350 351 static { 352 defaultInstance = new RefreshUserToGroupsMappingsRequestProto(true); 353 defaultInstance.initFields(); 354 } 355 356 // @@protoc_insertion_point(class_scope:hadoop.common.RefreshUserToGroupsMappingsRequestProto) 357 } 358 359 public interface RefreshUserToGroupsMappingsResponseProtoOrBuilder 360 extends com.google.protobuf.MessageOrBuilder { 361 } 362 /** 363 * Protobuf type {@code hadoop.common.RefreshUserToGroupsMappingsResponseProto} 364 * 365 * <pre> 366 ** 367 * void response 368 * </pre> 369 */ 370 public static final class RefreshUserToGroupsMappingsResponseProto extends 371 com.google.protobuf.GeneratedMessage 372 implements RefreshUserToGroupsMappingsResponseProtoOrBuilder { 373 // Use RefreshUserToGroupsMappingsResponseProto.newBuilder() to construct. 374 private RefreshUserToGroupsMappingsResponseProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 375 super(builder); 376 this.unknownFields = builder.getUnknownFields(); 377 } 378 private RefreshUserToGroupsMappingsResponseProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 379 380 private static final RefreshUserToGroupsMappingsResponseProto defaultInstance; 381 public static RefreshUserToGroupsMappingsResponseProto getDefaultInstance() { 382 return defaultInstance; 383 } 384 385 public RefreshUserToGroupsMappingsResponseProto getDefaultInstanceForType() { 386 return defaultInstance; 387 } 388 389 private final com.google.protobuf.UnknownFieldSet unknownFields; 390 @java.lang.Override 391 public final com.google.protobuf.UnknownFieldSet 392 getUnknownFields() { 393 return this.unknownFields; 394 } 395 private RefreshUserToGroupsMappingsResponseProto( 396 com.google.protobuf.CodedInputStream input, 397 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 398 throws com.google.protobuf.InvalidProtocolBufferException { 399 initFields(); 400 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 401 com.google.protobuf.UnknownFieldSet.newBuilder(); 402 try { 403 boolean done = false; 404 while (!done) { 405 int tag = input.readTag(); 406 switch (tag) { 407 case 0: 408 done = true; 409 break; 410 default: { 411 if (!parseUnknownField(input, unknownFields, 412 extensionRegistry, tag)) { 413 done = true; 414 } 415 break; 416 } 417 } 418 } 419 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 420 throw e.setUnfinishedMessage(this); 421 } catch (java.io.IOException e) { 422 throw new com.google.protobuf.InvalidProtocolBufferException( 423 e.getMessage()).setUnfinishedMessage(this); 424 } finally { 425 this.unknownFields = unknownFields.build(); 426 makeExtensionsImmutable(); 427 } 428 } 429 public static final com.google.protobuf.Descriptors.Descriptor 430 getDescriptor() { 431 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshUserToGroupsMappingsResponseProto_descriptor; 432 } 433 434 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 435 internalGetFieldAccessorTable() { 436 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshUserToGroupsMappingsResponseProto_fieldAccessorTable 437 .ensureFieldAccessorsInitialized( 438 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto.class, org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto.Builder.class); 439 } 440 441 public static com.google.protobuf.Parser<RefreshUserToGroupsMappingsResponseProto> PARSER = 442 new com.google.protobuf.AbstractParser<RefreshUserToGroupsMappingsResponseProto>() { 443 public RefreshUserToGroupsMappingsResponseProto parsePartialFrom( 444 com.google.protobuf.CodedInputStream input, 445 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 446 throws com.google.protobuf.InvalidProtocolBufferException { 447 return new RefreshUserToGroupsMappingsResponseProto(input, extensionRegistry); 448 } 449 }; 450 451 @java.lang.Override 452 public com.google.protobuf.Parser<RefreshUserToGroupsMappingsResponseProto> getParserForType() { 453 return PARSER; 454 } 455 456 private void initFields() { 457 } 458 private byte memoizedIsInitialized = -1; 459 public final boolean isInitialized() { 460 byte isInitialized = memoizedIsInitialized; 461 if (isInitialized != -1) return isInitialized == 1; 462 463 memoizedIsInitialized = 1; 464 return true; 465 } 466 467 public void writeTo(com.google.protobuf.CodedOutputStream output) 468 throws java.io.IOException { 469 getSerializedSize(); 470 getUnknownFields().writeTo(output); 471 } 472 473 private int memoizedSerializedSize = -1; 474 public int getSerializedSize() { 475 int size = memoizedSerializedSize; 476 if (size != -1) return size; 477 478 size = 0; 479 size += getUnknownFields().getSerializedSize(); 480 memoizedSerializedSize = size; 481 return size; 482 } 483 484 private static final long serialVersionUID = 0L; 485 @java.lang.Override 486 protected java.lang.Object writeReplace() 487 throws java.io.ObjectStreamException { 488 return super.writeReplace(); 489 } 490 491 @java.lang.Override 492 public boolean equals(final java.lang.Object obj) { 493 if (obj == this) { 494 return true; 495 } 496 if (!(obj instanceof org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto)) { 497 return super.equals(obj); 498 } 499 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto other = (org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto) obj; 500 501 boolean result = true; 502 result = result && 503 getUnknownFields().equals(other.getUnknownFields()); 504 return result; 505 } 506 507 private int memoizedHashCode = 0; 508 @java.lang.Override 509 public int hashCode() { 510 if (memoizedHashCode != 0) { 511 return memoizedHashCode; 512 } 513 int hash = 41; 514 hash = (19 * hash) + getDescriptorForType().hashCode(); 515 hash = (29 * hash) + getUnknownFields().hashCode(); 516 memoizedHashCode = hash; 517 return hash; 518 } 519 520 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto parseFrom( 521 com.google.protobuf.ByteString data) 522 throws com.google.protobuf.InvalidProtocolBufferException { 523 return PARSER.parseFrom(data); 524 } 525 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto parseFrom( 526 com.google.protobuf.ByteString data, 527 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 528 throws com.google.protobuf.InvalidProtocolBufferException { 529 return PARSER.parseFrom(data, extensionRegistry); 530 } 531 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto parseFrom(byte[] data) 532 throws com.google.protobuf.InvalidProtocolBufferException { 533 return PARSER.parseFrom(data); 534 } 535 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto parseFrom( 536 byte[] data, 537 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 538 throws com.google.protobuf.InvalidProtocolBufferException { 539 return PARSER.parseFrom(data, extensionRegistry); 540 } 541 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto parseFrom(java.io.InputStream input) 542 throws java.io.IOException { 543 return PARSER.parseFrom(input); 544 } 545 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto parseFrom( 546 java.io.InputStream input, 547 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 548 throws java.io.IOException { 549 return PARSER.parseFrom(input, extensionRegistry); 550 } 551 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto parseDelimitedFrom(java.io.InputStream input) 552 throws java.io.IOException { 553 return PARSER.parseDelimitedFrom(input); 554 } 555 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto parseDelimitedFrom( 556 java.io.InputStream input, 557 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 558 throws java.io.IOException { 559 return PARSER.parseDelimitedFrom(input, extensionRegistry); 560 } 561 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto parseFrom( 562 com.google.protobuf.CodedInputStream input) 563 throws java.io.IOException { 564 return PARSER.parseFrom(input); 565 } 566 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto parseFrom( 567 com.google.protobuf.CodedInputStream input, 568 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 569 throws java.io.IOException { 570 return PARSER.parseFrom(input, extensionRegistry); 571 } 572 573 public static Builder newBuilder() { return Builder.create(); } 574 public Builder newBuilderForType() { return newBuilder(); } 575 public static Builder newBuilder(org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto prototype) { 576 return newBuilder().mergeFrom(prototype); 577 } 578 public Builder toBuilder() { return newBuilder(this); } 579 580 @java.lang.Override 581 protected Builder newBuilderForType( 582 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 583 Builder builder = new Builder(parent); 584 return builder; 585 } 586 /** 587 * Protobuf type {@code hadoop.common.RefreshUserToGroupsMappingsResponseProto} 588 * 589 * <pre> 590 ** 591 * void response 592 * </pre> 593 */ 594 public static final class Builder extends 595 com.google.protobuf.GeneratedMessage.Builder<Builder> 596 implements org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProtoOrBuilder { 597 public static final com.google.protobuf.Descriptors.Descriptor 598 getDescriptor() { 599 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshUserToGroupsMappingsResponseProto_descriptor; 600 } 601 602 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 603 internalGetFieldAccessorTable() { 604 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshUserToGroupsMappingsResponseProto_fieldAccessorTable 605 .ensureFieldAccessorsInitialized( 606 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto.class, org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto.Builder.class); 607 } 608 609 // Construct using org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto.newBuilder() 610 private Builder() { 611 maybeForceBuilderInitialization(); 612 } 613 614 private Builder( 615 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 616 super(parent); 617 maybeForceBuilderInitialization(); 618 } 619 private void maybeForceBuilderInitialization() { 620 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 621 } 622 } 623 private static Builder create() { 624 return new Builder(); 625 } 626 627 public Builder clear() { 628 super.clear(); 629 return this; 630 } 631 632 public Builder clone() { 633 return create().mergeFrom(buildPartial()); 634 } 635 636 public com.google.protobuf.Descriptors.Descriptor 637 getDescriptorForType() { 638 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshUserToGroupsMappingsResponseProto_descriptor; 639 } 640 641 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto getDefaultInstanceForType() { 642 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto.getDefaultInstance(); 643 } 644 645 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto build() { 646 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto result = buildPartial(); 647 if (!result.isInitialized()) { 648 throw newUninitializedMessageException(result); 649 } 650 return result; 651 } 652 653 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto buildPartial() { 654 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto result = new org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto(this); 655 onBuilt(); 656 return result; 657 } 658 659 public Builder mergeFrom(com.google.protobuf.Message other) { 660 if (other instanceof org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto) { 661 return mergeFrom((org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto)other); 662 } else { 663 super.mergeFrom(other); 664 return this; 665 } 666 } 667 668 public Builder mergeFrom(org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto other) { 669 if (other == org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto.getDefaultInstance()) return this; 670 this.mergeUnknownFields(other.getUnknownFields()); 671 return this; 672 } 673 674 public final boolean isInitialized() { 675 return true; 676 } 677 678 public Builder mergeFrom( 679 com.google.protobuf.CodedInputStream input, 680 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 681 throws java.io.IOException { 682 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto parsedMessage = null; 683 try { 684 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 685 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 686 parsedMessage = (org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto) e.getUnfinishedMessage(); 687 throw e; 688 } finally { 689 if (parsedMessage != null) { 690 mergeFrom(parsedMessage); 691 } 692 } 693 return this; 694 } 695 696 // @@protoc_insertion_point(builder_scope:hadoop.common.RefreshUserToGroupsMappingsResponseProto) 697 } 698 699 static { 700 defaultInstance = new RefreshUserToGroupsMappingsResponseProto(true); 701 defaultInstance.initFields(); 702 } 703 704 // @@protoc_insertion_point(class_scope:hadoop.common.RefreshUserToGroupsMappingsResponseProto) 705 } 706 707 public interface RefreshSuperUserGroupsConfigurationRequestProtoOrBuilder 708 extends com.google.protobuf.MessageOrBuilder { 709 } 710 /** 711 * Protobuf type {@code hadoop.common.RefreshSuperUserGroupsConfigurationRequestProto} 712 * 713 * <pre> 714 ** 715 * Refresh superuser configuration request. 716 * </pre> 717 */ 718 public static final class RefreshSuperUserGroupsConfigurationRequestProto extends 719 com.google.protobuf.GeneratedMessage 720 implements RefreshSuperUserGroupsConfigurationRequestProtoOrBuilder { 721 // Use RefreshSuperUserGroupsConfigurationRequestProto.newBuilder() to construct. 722 private RefreshSuperUserGroupsConfigurationRequestProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 723 super(builder); 724 this.unknownFields = builder.getUnknownFields(); 725 } 726 private RefreshSuperUserGroupsConfigurationRequestProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 727 728 private static final RefreshSuperUserGroupsConfigurationRequestProto defaultInstance; 729 public static RefreshSuperUserGroupsConfigurationRequestProto getDefaultInstance() { 730 return defaultInstance; 731 } 732 733 public RefreshSuperUserGroupsConfigurationRequestProto getDefaultInstanceForType() { 734 return defaultInstance; 735 } 736 737 private final com.google.protobuf.UnknownFieldSet unknownFields; 738 @java.lang.Override 739 public final com.google.protobuf.UnknownFieldSet 740 getUnknownFields() { 741 return this.unknownFields; 742 } 743 private RefreshSuperUserGroupsConfigurationRequestProto( 744 com.google.protobuf.CodedInputStream input, 745 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 746 throws com.google.protobuf.InvalidProtocolBufferException { 747 initFields(); 748 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 749 com.google.protobuf.UnknownFieldSet.newBuilder(); 750 try { 751 boolean done = false; 752 while (!done) { 753 int tag = input.readTag(); 754 switch (tag) { 755 case 0: 756 done = true; 757 break; 758 default: { 759 if (!parseUnknownField(input, unknownFields, 760 extensionRegistry, tag)) { 761 done = true; 762 } 763 break; 764 } 765 } 766 } 767 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 768 throw e.setUnfinishedMessage(this); 769 } catch (java.io.IOException e) { 770 throw new com.google.protobuf.InvalidProtocolBufferException( 771 e.getMessage()).setUnfinishedMessage(this); 772 } finally { 773 this.unknownFields = unknownFields.build(); 774 makeExtensionsImmutable(); 775 } 776 } 777 public static final com.google.protobuf.Descriptors.Descriptor 778 getDescriptor() { 779 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationRequestProto_descriptor; 780 } 781 782 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 783 internalGetFieldAccessorTable() { 784 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationRequestProto_fieldAccessorTable 785 .ensureFieldAccessorsInitialized( 786 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto.class, org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto.Builder.class); 787 } 788 789 public static com.google.protobuf.Parser<RefreshSuperUserGroupsConfigurationRequestProto> PARSER = 790 new com.google.protobuf.AbstractParser<RefreshSuperUserGroupsConfigurationRequestProto>() { 791 public RefreshSuperUserGroupsConfigurationRequestProto parsePartialFrom( 792 com.google.protobuf.CodedInputStream input, 793 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 794 throws com.google.protobuf.InvalidProtocolBufferException { 795 return new RefreshSuperUserGroupsConfigurationRequestProto(input, extensionRegistry); 796 } 797 }; 798 799 @java.lang.Override 800 public com.google.protobuf.Parser<RefreshSuperUserGroupsConfigurationRequestProto> getParserForType() { 801 return PARSER; 802 } 803 804 private void initFields() { 805 } 806 private byte memoizedIsInitialized = -1; 807 public final boolean isInitialized() { 808 byte isInitialized = memoizedIsInitialized; 809 if (isInitialized != -1) return isInitialized == 1; 810 811 memoizedIsInitialized = 1; 812 return true; 813 } 814 815 public void writeTo(com.google.protobuf.CodedOutputStream output) 816 throws java.io.IOException { 817 getSerializedSize(); 818 getUnknownFields().writeTo(output); 819 } 820 821 private int memoizedSerializedSize = -1; 822 public int getSerializedSize() { 823 int size = memoizedSerializedSize; 824 if (size != -1) return size; 825 826 size = 0; 827 size += getUnknownFields().getSerializedSize(); 828 memoizedSerializedSize = size; 829 return size; 830 } 831 832 private static final long serialVersionUID = 0L; 833 @java.lang.Override 834 protected java.lang.Object writeReplace() 835 throws java.io.ObjectStreamException { 836 return super.writeReplace(); 837 } 838 839 @java.lang.Override 840 public boolean equals(final java.lang.Object obj) { 841 if (obj == this) { 842 return true; 843 } 844 if (!(obj instanceof org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto)) { 845 return super.equals(obj); 846 } 847 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto other = (org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto) obj; 848 849 boolean result = true; 850 result = result && 851 getUnknownFields().equals(other.getUnknownFields()); 852 return result; 853 } 854 855 private int memoizedHashCode = 0; 856 @java.lang.Override 857 public int hashCode() { 858 if (memoizedHashCode != 0) { 859 return memoizedHashCode; 860 } 861 int hash = 41; 862 hash = (19 * hash) + getDescriptorForType().hashCode(); 863 hash = (29 * hash) + getUnknownFields().hashCode(); 864 memoizedHashCode = hash; 865 return hash; 866 } 867 868 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto parseFrom( 869 com.google.protobuf.ByteString data) 870 throws com.google.protobuf.InvalidProtocolBufferException { 871 return PARSER.parseFrom(data); 872 } 873 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto parseFrom( 874 com.google.protobuf.ByteString data, 875 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 876 throws com.google.protobuf.InvalidProtocolBufferException { 877 return PARSER.parseFrom(data, extensionRegistry); 878 } 879 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto parseFrom(byte[] data) 880 throws com.google.protobuf.InvalidProtocolBufferException { 881 return PARSER.parseFrom(data); 882 } 883 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto parseFrom( 884 byte[] data, 885 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 886 throws com.google.protobuf.InvalidProtocolBufferException { 887 return PARSER.parseFrom(data, extensionRegistry); 888 } 889 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto parseFrom(java.io.InputStream input) 890 throws java.io.IOException { 891 return PARSER.parseFrom(input); 892 } 893 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto parseFrom( 894 java.io.InputStream input, 895 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 896 throws java.io.IOException { 897 return PARSER.parseFrom(input, extensionRegistry); 898 } 899 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto parseDelimitedFrom(java.io.InputStream input) 900 throws java.io.IOException { 901 return PARSER.parseDelimitedFrom(input); 902 } 903 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto parseDelimitedFrom( 904 java.io.InputStream input, 905 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 906 throws java.io.IOException { 907 return PARSER.parseDelimitedFrom(input, extensionRegistry); 908 } 909 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto parseFrom( 910 com.google.protobuf.CodedInputStream input) 911 throws java.io.IOException { 912 return PARSER.parseFrom(input); 913 } 914 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto parseFrom( 915 com.google.protobuf.CodedInputStream input, 916 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 917 throws java.io.IOException { 918 return PARSER.parseFrom(input, extensionRegistry); 919 } 920 921 public static Builder newBuilder() { return Builder.create(); } 922 public Builder newBuilderForType() { return newBuilder(); } 923 public static Builder newBuilder(org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto prototype) { 924 return newBuilder().mergeFrom(prototype); 925 } 926 public Builder toBuilder() { return newBuilder(this); } 927 928 @java.lang.Override 929 protected Builder newBuilderForType( 930 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 931 Builder builder = new Builder(parent); 932 return builder; 933 } 934 /** 935 * Protobuf type {@code hadoop.common.RefreshSuperUserGroupsConfigurationRequestProto} 936 * 937 * <pre> 938 ** 939 * Refresh superuser configuration request. 940 * </pre> 941 */ 942 public static final class Builder extends 943 com.google.protobuf.GeneratedMessage.Builder<Builder> 944 implements org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProtoOrBuilder { 945 public static final com.google.protobuf.Descriptors.Descriptor 946 getDescriptor() { 947 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationRequestProto_descriptor; 948 } 949 950 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 951 internalGetFieldAccessorTable() { 952 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationRequestProto_fieldAccessorTable 953 .ensureFieldAccessorsInitialized( 954 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto.class, org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto.Builder.class); 955 } 956 957 // Construct using org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto.newBuilder() 958 private Builder() { 959 maybeForceBuilderInitialization(); 960 } 961 962 private Builder( 963 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 964 super(parent); 965 maybeForceBuilderInitialization(); 966 } 967 private void maybeForceBuilderInitialization() { 968 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 969 } 970 } 971 private static Builder create() { 972 return new Builder(); 973 } 974 975 public Builder clear() { 976 super.clear(); 977 return this; 978 } 979 980 public Builder clone() { 981 return create().mergeFrom(buildPartial()); 982 } 983 984 public com.google.protobuf.Descriptors.Descriptor 985 getDescriptorForType() { 986 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationRequestProto_descriptor; 987 } 988 989 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto getDefaultInstanceForType() { 990 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto.getDefaultInstance(); 991 } 992 993 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto build() { 994 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto result = buildPartial(); 995 if (!result.isInitialized()) { 996 throw newUninitializedMessageException(result); 997 } 998 return result; 999 } 1000 1001 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto buildPartial() { 1002 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto result = new org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto(this); 1003 onBuilt(); 1004 return result; 1005 } 1006 1007 public Builder mergeFrom(com.google.protobuf.Message other) { 1008 if (other instanceof org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto) { 1009 return mergeFrom((org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto)other); 1010 } else { 1011 super.mergeFrom(other); 1012 return this; 1013 } 1014 } 1015 1016 public Builder mergeFrom(org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto other) { 1017 if (other == org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto.getDefaultInstance()) return this; 1018 this.mergeUnknownFields(other.getUnknownFields()); 1019 return this; 1020 } 1021 1022 public final boolean isInitialized() { 1023 return true; 1024 } 1025 1026 public Builder mergeFrom( 1027 com.google.protobuf.CodedInputStream input, 1028 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1029 throws java.io.IOException { 1030 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto parsedMessage = null; 1031 try { 1032 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 1033 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1034 parsedMessage = (org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto) e.getUnfinishedMessage(); 1035 throw e; 1036 } finally { 1037 if (parsedMessage != null) { 1038 mergeFrom(parsedMessage); 1039 } 1040 } 1041 return this; 1042 } 1043 1044 // @@protoc_insertion_point(builder_scope:hadoop.common.RefreshSuperUserGroupsConfigurationRequestProto) 1045 } 1046 1047 static { 1048 defaultInstance = new RefreshSuperUserGroupsConfigurationRequestProto(true); 1049 defaultInstance.initFields(); 1050 } 1051 1052 // @@protoc_insertion_point(class_scope:hadoop.common.RefreshSuperUserGroupsConfigurationRequestProto) 1053 } 1054 1055 public interface RefreshSuperUserGroupsConfigurationResponseProtoOrBuilder 1056 extends com.google.protobuf.MessageOrBuilder { 1057 } 1058 /** 1059 * Protobuf type {@code hadoop.common.RefreshSuperUserGroupsConfigurationResponseProto} 1060 * 1061 * <pre> 1062 ** 1063 * void response 1064 * </pre> 1065 */ 1066 public static final class RefreshSuperUserGroupsConfigurationResponseProto extends 1067 com.google.protobuf.GeneratedMessage 1068 implements RefreshSuperUserGroupsConfigurationResponseProtoOrBuilder { 1069 // Use RefreshSuperUserGroupsConfigurationResponseProto.newBuilder() to construct. 1070 private RefreshSuperUserGroupsConfigurationResponseProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 1071 super(builder); 1072 this.unknownFields = builder.getUnknownFields(); 1073 } 1074 private RefreshSuperUserGroupsConfigurationResponseProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 1075 1076 private static final RefreshSuperUserGroupsConfigurationResponseProto defaultInstance; 1077 public static RefreshSuperUserGroupsConfigurationResponseProto getDefaultInstance() { 1078 return defaultInstance; 1079 } 1080 1081 public RefreshSuperUserGroupsConfigurationResponseProto getDefaultInstanceForType() { 1082 return defaultInstance; 1083 } 1084 1085 private final com.google.protobuf.UnknownFieldSet unknownFields; 1086 @java.lang.Override 1087 public final com.google.protobuf.UnknownFieldSet 1088 getUnknownFields() { 1089 return this.unknownFields; 1090 } 1091 private RefreshSuperUserGroupsConfigurationResponseProto( 1092 com.google.protobuf.CodedInputStream input, 1093 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1094 throws com.google.protobuf.InvalidProtocolBufferException { 1095 initFields(); 1096 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 1097 com.google.protobuf.UnknownFieldSet.newBuilder(); 1098 try { 1099 boolean done = false; 1100 while (!done) { 1101 int tag = input.readTag(); 1102 switch (tag) { 1103 case 0: 1104 done = true; 1105 break; 1106 default: { 1107 if (!parseUnknownField(input, unknownFields, 1108 extensionRegistry, tag)) { 1109 done = true; 1110 } 1111 break; 1112 } 1113 } 1114 } 1115 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1116 throw e.setUnfinishedMessage(this); 1117 } catch (java.io.IOException e) { 1118 throw new com.google.protobuf.InvalidProtocolBufferException( 1119 e.getMessage()).setUnfinishedMessage(this); 1120 } finally { 1121 this.unknownFields = unknownFields.build(); 1122 makeExtensionsImmutable(); 1123 } 1124 } 1125 public static final com.google.protobuf.Descriptors.Descriptor 1126 getDescriptor() { 1127 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationResponseProto_descriptor; 1128 } 1129 1130 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 1131 internalGetFieldAccessorTable() { 1132 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationResponseProto_fieldAccessorTable 1133 .ensureFieldAccessorsInitialized( 1134 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto.class, org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto.Builder.class); 1135 } 1136 1137 public static com.google.protobuf.Parser<RefreshSuperUserGroupsConfigurationResponseProto> PARSER = 1138 new com.google.protobuf.AbstractParser<RefreshSuperUserGroupsConfigurationResponseProto>() { 1139 public RefreshSuperUserGroupsConfigurationResponseProto parsePartialFrom( 1140 com.google.protobuf.CodedInputStream input, 1141 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1142 throws com.google.protobuf.InvalidProtocolBufferException { 1143 return new RefreshSuperUserGroupsConfigurationResponseProto(input, extensionRegistry); 1144 } 1145 }; 1146 1147 @java.lang.Override 1148 public com.google.protobuf.Parser<RefreshSuperUserGroupsConfigurationResponseProto> getParserForType() { 1149 return PARSER; 1150 } 1151 1152 private void initFields() { 1153 } 1154 private byte memoizedIsInitialized = -1; 1155 public final boolean isInitialized() { 1156 byte isInitialized = memoizedIsInitialized; 1157 if (isInitialized != -1) return isInitialized == 1; 1158 1159 memoizedIsInitialized = 1; 1160 return true; 1161 } 1162 1163 public void writeTo(com.google.protobuf.CodedOutputStream output) 1164 throws java.io.IOException { 1165 getSerializedSize(); 1166 getUnknownFields().writeTo(output); 1167 } 1168 1169 private int memoizedSerializedSize = -1; 1170 public int getSerializedSize() { 1171 int size = memoizedSerializedSize; 1172 if (size != -1) return size; 1173 1174 size = 0; 1175 size += getUnknownFields().getSerializedSize(); 1176 memoizedSerializedSize = size; 1177 return size; 1178 } 1179 1180 private static final long serialVersionUID = 0L; 1181 @java.lang.Override 1182 protected java.lang.Object writeReplace() 1183 throws java.io.ObjectStreamException { 1184 return super.writeReplace(); 1185 } 1186 1187 @java.lang.Override 1188 public boolean equals(final java.lang.Object obj) { 1189 if (obj == this) { 1190 return true; 1191 } 1192 if (!(obj instanceof org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto)) { 1193 return super.equals(obj); 1194 } 1195 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto other = (org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto) obj; 1196 1197 boolean result = true; 1198 result = result && 1199 getUnknownFields().equals(other.getUnknownFields()); 1200 return result; 1201 } 1202 1203 private int memoizedHashCode = 0; 1204 @java.lang.Override 1205 public int hashCode() { 1206 if (memoizedHashCode != 0) { 1207 return memoizedHashCode; 1208 } 1209 int hash = 41; 1210 hash = (19 * hash) + getDescriptorForType().hashCode(); 1211 hash = (29 * hash) + getUnknownFields().hashCode(); 1212 memoizedHashCode = hash; 1213 return hash; 1214 } 1215 1216 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto parseFrom( 1217 com.google.protobuf.ByteString data) 1218 throws com.google.protobuf.InvalidProtocolBufferException { 1219 return PARSER.parseFrom(data); 1220 } 1221 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto parseFrom( 1222 com.google.protobuf.ByteString data, 1223 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1224 throws com.google.protobuf.InvalidProtocolBufferException { 1225 return PARSER.parseFrom(data, extensionRegistry); 1226 } 1227 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto parseFrom(byte[] data) 1228 throws com.google.protobuf.InvalidProtocolBufferException { 1229 return PARSER.parseFrom(data); 1230 } 1231 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto parseFrom( 1232 byte[] data, 1233 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1234 throws com.google.protobuf.InvalidProtocolBufferException { 1235 return PARSER.parseFrom(data, extensionRegistry); 1236 } 1237 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto parseFrom(java.io.InputStream input) 1238 throws java.io.IOException { 1239 return PARSER.parseFrom(input); 1240 } 1241 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto parseFrom( 1242 java.io.InputStream input, 1243 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1244 throws java.io.IOException { 1245 return PARSER.parseFrom(input, extensionRegistry); 1246 } 1247 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto parseDelimitedFrom(java.io.InputStream input) 1248 throws java.io.IOException { 1249 return PARSER.parseDelimitedFrom(input); 1250 } 1251 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto parseDelimitedFrom( 1252 java.io.InputStream input, 1253 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1254 throws java.io.IOException { 1255 return PARSER.parseDelimitedFrom(input, extensionRegistry); 1256 } 1257 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto parseFrom( 1258 com.google.protobuf.CodedInputStream input) 1259 throws java.io.IOException { 1260 return PARSER.parseFrom(input); 1261 } 1262 public static org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto parseFrom( 1263 com.google.protobuf.CodedInputStream input, 1264 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1265 throws java.io.IOException { 1266 return PARSER.parseFrom(input, extensionRegistry); 1267 } 1268 1269 public static Builder newBuilder() { return Builder.create(); } 1270 public Builder newBuilderForType() { return newBuilder(); } 1271 public static Builder newBuilder(org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto prototype) { 1272 return newBuilder().mergeFrom(prototype); 1273 } 1274 public Builder toBuilder() { return newBuilder(this); } 1275 1276 @java.lang.Override 1277 protected Builder newBuilderForType( 1278 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 1279 Builder builder = new Builder(parent); 1280 return builder; 1281 } 1282 /** 1283 * Protobuf type {@code hadoop.common.RefreshSuperUserGroupsConfigurationResponseProto} 1284 * 1285 * <pre> 1286 ** 1287 * void response 1288 * </pre> 1289 */ 1290 public static final class Builder extends 1291 com.google.protobuf.GeneratedMessage.Builder<Builder> 1292 implements org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProtoOrBuilder { 1293 public static final com.google.protobuf.Descriptors.Descriptor 1294 getDescriptor() { 1295 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationResponseProto_descriptor; 1296 } 1297 1298 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 1299 internalGetFieldAccessorTable() { 1300 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationResponseProto_fieldAccessorTable 1301 .ensureFieldAccessorsInitialized( 1302 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto.class, org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto.Builder.class); 1303 } 1304 1305 // Construct using org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto.newBuilder() 1306 private Builder() { 1307 maybeForceBuilderInitialization(); 1308 } 1309 1310 private Builder( 1311 com.google.protobuf.GeneratedMessage.BuilderParent parent) { 1312 super(parent); 1313 maybeForceBuilderInitialization(); 1314 } 1315 private void maybeForceBuilderInitialization() { 1316 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { 1317 } 1318 } 1319 private static Builder create() { 1320 return new Builder(); 1321 } 1322 1323 public Builder clear() { 1324 super.clear(); 1325 return this; 1326 } 1327 1328 public Builder clone() { 1329 return create().mergeFrom(buildPartial()); 1330 } 1331 1332 public com.google.protobuf.Descriptors.Descriptor 1333 getDescriptorForType() { 1334 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationResponseProto_descriptor; 1335 } 1336 1337 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto getDefaultInstanceForType() { 1338 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto.getDefaultInstance(); 1339 } 1340 1341 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto build() { 1342 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto result = buildPartial(); 1343 if (!result.isInitialized()) { 1344 throw newUninitializedMessageException(result); 1345 } 1346 return result; 1347 } 1348 1349 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto buildPartial() { 1350 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto result = new org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto(this); 1351 onBuilt(); 1352 return result; 1353 } 1354 1355 public Builder mergeFrom(com.google.protobuf.Message other) { 1356 if (other instanceof org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto) { 1357 return mergeFrom((org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto)other); 1358 } else { 1359 super.mergeFrom(other); 1360 return this; 1361 } 1362 } 1363 1364 public Builder mergeFrom(org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto other) { 1365 if (other == org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto.getDefaultInstance()) return this; 1366 this.mergeUnknownFields(other.getUnknownFields()); 1367 return this; 1368 } 1369 1370 public final boolean isInitialized() { 1371 return true; 1372 } 1373 1374 public Builder mergeFrom( 1375 com.google.protobuf.CodedInputStream input, 1376 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1377 throws java.io.IOException { 1378 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto parsedMessage = null; 1379 try { 1380 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 1381 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1382 parsedMessage = (org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto) e.getUnfinishedMessage(); 1383 throw e; 1384 } finally { 1385 if (parsedMessage != null) { 1386 mergeFrom(parsedMessage); 1387 } 1388 } 1389 return this; 1390 } 1391 1392 // @@protoc_insertion_point(builder_scope:hadoop.common.RefreshSuperUserGroupsConfigurationResponseProto) 1393 } 1394 1395 static { 1396 defaultInstance = new RefreshSuperUserGroupsConfigurationResponseProto(true); 1397 defaultInstance.initFields(); 1398 } 1399 1400 // @@protoc_insertion_point(class_scope:hadoop.common.RefreshSuperUserGroupsConfigurationResponseProto) 1401 } 1402 1403 /** 1404 * Protobuf service {@code hadoop.common.RefreshUserMappingsProtocolService} 1405 * 1406 * <pre> 1407 ** 1408 * Protocol to refresh the user mappings. 1409 * </pre> 1410 */ 1411 public static abstract class RefreshUserMappingsProtocolService 1412 implements com.google.protobuf.Service { 1413 protected RefreshUserMappingsProtocolService() {} 1414 1415 public interface Interface { 1416 /** 1417 * <code>rpc refreshUserToGroupsMappings(.hadoop.common.RefreshUserToGroupsMappingsRequestProto) returns (.hadoop.common.RefreshUserToGroupsMappingsResponseProto);</code> 1418 * 1419 * <pre> 1420 ** 1421 * Refresh user to group mappings. 1422 * </pre> 1423 */ 1424 public abstract void refreshUserToGroupsMappings( 1425 com.google.protobuf.RpcController controller, 1426 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto request, 1427 com.google.protobuf.RpcCallback<org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto> done); 1428 1429 /** 1430 * <code>rpc refreshSuperUserGroupsConfiguration(.hadoop.common.RefreshSuperUserGroupsConfigurationRequestProto) returns (.hadoop.common.RefreshSuperUserGroupsConfigurationResponseProto);</code> 1431 * 1432 * <pre> 1433 ** 1434 * Refresh superuser proxy group list. 1435 * </pre> 1436 */ 1437 public abstract void refreshSuperUserGroupsConfiguration( 1438 com.google.protobuf.RpcController controller, 1439 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto request, 1440 com.google.protobuf.RpcCallback<org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto> done); 1441 1442 } 1443 1444 public static com.google.protobuf.Service newReflectiveService( 1445 final Interface impl) { 1446 return new RefreshUserMappingsProtocolService() { 1447 @java.lang.Override 1448 public void refreshUserToGroupsMappings( 1449 com.google.protobuf.RpcController controller, 1450 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto request, 1451 com.google.protobuf.RpcCallback<org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto> done) { 1452 impl.refreshUserToGroupsMappings(controller, request, done); 1453 } 1454 1455 @java.lang.Override 1456 public void refreshSuperUserGroupsConfiguration( 1457 com.google.protobuf.RpcController controller, 1458 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto request, 1459 com.google.protobuf.RpcCallback<org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto> done) { 1460 impl.refreshSuperUserGroupsConfiguration(controller, request, done); 1461 } 1462 1463 }; 1464 } 1465 1466 public static com.google.protobuf.BlockingService 1467 newReflectiveBlockingService(final BlockingInterface impl) { 1468 return new com.google.protobuf.BlockingService() { 1469 public final com.google.protobuf.Descriptors.ServiceDescriptor 1470 getDescriptorForType() { 1471 return getDescriptor(); 1472 } 1473 1474 public final com.google.protobuf.Message callBlockingMethod( 1475 com.google.protobuf.Descriptors.MethodDescriptor method, 1476 com.google.protobuf.RpcController controller, 1477 com.google.protobuf.Message request) 1478 throws com.google.protobuf.ServiceException { 1479 if (method.getService() != getDescriptor()) { 1480 throw new java.lang.IllegalArgumentException( 1481 "Service.callBlockingMethod() given method descriptor for " + 1482 "wrong service type."); 1483 } 1484 switch(method.getIndex()) { 1485 case 0: 1486 return impl.refreshUserToGroupsMappings(controller, (org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto)request); 1487 case 1: 1488 return impl.refreshSuperUserGroupsConfiguration(controller, (org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto)request); 1489 default: 1490 throw new java.lang.AssertionError("Can't get here."); 1491 } 1492 } 1493 1494 public final com.google.protobuf.Message 1495 getRequestPrototype( 1496 com.google.protobuf.Descriptors.MethodDescriptor method) { 1497 if (method.getService() != getDescriptor()) { 1498 throw new java.lang.IllegalArgumentException( 1499 "Service.getRequestPrototype() given method " + 1500 "descriptor for wrong service type."); 1501 } 1502 switch(method.getIndex()) { 1503 case 0: 1504 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto.getDefaultInstance(); 1505 case 1: 1506 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto.getDefaultInstance(); 1507 default: 1508 throw new java.lang.AssertionError("Can't get here."); 1509 } 1510 } 1511 1512 public final com.google.protobuf.Message 1513 getResponsePrototype( 1514 com.google.protobuf.Descriptors.MethodDescriptor method) { 1515 if (method.getService() != getDescriptor()) { 1516 throw new java.lang.IllegalArgumentException( 1517 "Service.getResponsePrototype() given method " + 1518 "descriptor for wrong service type."); 1519 } 1520 switch(method.getIndex()) { 1521 case 0: 1522 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto.getDefaultInstance(); 1523 case 1: 1524 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto.getDefaultInstance(); 1525 default: 1526 throw new java.lang.AssertionError("Can't get here."); 1527 } 1528 } 1529 1530 }; 1531 } 1532 1533 /** 1534 * <code>rpc refreshUserToGroupsMappings(.hadoop.common.RefreshUserToGroupsMappingsRequestProto) returns (.hadoop.common.RefreshUserToGroupsMappingsResponseProto);</code> 1535 * 1536 * <pre> 1537 ** 1538 * Refresh user to group mappings. 1539 * </pre> 1540 */ 1541 public abstract void refreshUserToGroupsMappings( 1542 com.google.protobuf.RpcController controller, 1543 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto request, 1544 com.google.protobuf.RpcCallback<org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto> done); 1545 1546 /** 1547 * <code>rpc refreshSuperUserGroupsConfiguration(.hadoop.common.RefreshSuperUserGroupsConfigurationRequestProto) returns (.hadoop.common.RefreshSuperUserGroupsConfigurationResponseProto);</code> 1548 * 1549 * <pre> 1550 ** 1551 * Refresh superuser proxy group list. 1552 * </pre> 1553 */ 1554 public abstract void refreshSuperUserGroupsConfiguration( 1555 com.google.protobuf.RpcController controller, 1556 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto request, 1557 com.google.protobuf.RpcCallback<org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto> done); 1558 1559 public static final 1560 com.google.protobuf.Descriptors.ServiceDescriptor 1561 getDescriptor() { 1562 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.getDescriptor().getServices().get(0); 1563 } 1564 public final com.google.protobuf.Descriptors.ServiceDescriptor 1565 getDescriptorForType() { 1566 return getDescriptor(); 1567 } 1568 1569 public final void callMethod( 1570 com.google.protobuf.Descriptors.MethodDescriptor method, 1571 com.google.protobuf.RpcController controller, 1572 com.google.protobuf.Message request, 1573 com.google.protobuf.RpcCallback< 1574 com.google.protobuf.Message> done) { 1575 if (method.getService() != getDescriptor()) { 1576 throw new java.lang.IllegalArgumentException( 1577 "Service.callMethod() given method descriptor for wrong " + 1578 "service type."); 1579 } 1580 switch(method.getIndex()) { 1581 case 0: 1582 this.refreshUserToGroupsMappings(controller, (org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto)request, 1583 com.google.protobuf.RpcUtil.<org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto>specializeCallback( 1584 done)); 1585 return; 1586 case 1: 1587 this.refreshSuperUserGroupsConfiguration(controller, (org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto)request, 1588 com.google.protobuf.RpcUtil.<org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto>specializeCallback( 1589 done)); 1590 return; 1591 default: 1592 throw new java.lang.AssertionError("Can't get here."); 1593 } 1594 } 1595 1596 public final com.google.protobuf.Message 1597 getRequestPrototype( 1598 com.google.protobuf.Descriptors.MethodDescriptor method) { 1599 if (method.getService() != getDescriptor()) { 1600 throw new java.lang.IllegalArgumentException( 1601 "Service.getRequestPrototype() given method " + 1602 "descriptor for wrong service type."); 1603 } 1604 switch(method.getIndex()) { 1605 case 0: 1606 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto.getDefaultInstance(); 1607 case 1: 1608 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto.getDefaultInstance(); 1609 default: 1610 throw new java.lang.AssertionError("Can't get here."); 1611 } 1612 } 1613 1614 public final com.google.protobuf.Message 1615 getResponsePrototype( 1616 com.google.protobuf.Descriptors.MethodDescriptor method) { 1617 if (method.getService() != getDescriptor()) { 1618 throw new java.lang.IllegalArgumentException( 1619 "Service.getResponsePrototype() given method " + 1620 "descriptor for wrong service type."); 1621 } 1622 switch(method.getIndex()) { 1623 case 0: 1624 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto.getDefaultInstance(); 1625 case 1: 1626 return org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto.getDefaultInstance(); 1627 default: 1628 throw new java.lang.AssertionError("Can't get here."); 1629 } 1630 } 1631 1632 public static Stub newStub( 1633 com.google.protobuf.RpcChannel channel) { 1634 return new Stub(channel); 1635 } 1636 1637 public static final class Stub extends org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserMappingsProtocolService implements Interface { 1638 private Stub(com.google.protobuf.RpcChannel channel) { 1639 this.channel = channel; 1640 } 1641 1642 private final com.google.protobuf.RpcChannel channel; 1643 1644 public com.google.protobuf.RpcChannel getChannel() { 1645 return channel; 1646 } 1647 1648 public void refreshUserToGroupsMappings( 1649 com.google.protobuf.RpcController controller, 1650 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto request, 1651 com.google.protobuf.RpcCallback<org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto> done) { 1652 channel.callMethod( 1653 getDescriptor().getMethods().get(0), 1654 controller, 1655 request, 1656 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto.getDefaultInstance(), 1657 com.google.protobuf.RpcUtil.generalizeCallback( 1658 done, 1659 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto.class, 1660 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto.getDefaultInstance())); 1661 } 1662 1663 public void refreshSuperUserGroupsConfiguration( 1664 com.google.protobuf.RpcController controller, 1665 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto request, 1666 com.google.protobuf.RpcCallback<org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto> done) { 1667 channel.callMethod( 1668 getDescriptor().getMethods().get(1), 1669 controller, 1670 request, 1671 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto.getDefaultInstance(), 1672 com.google.protobuf.RpcUtil.generalizeCallback( 1673 done, 1674 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto.class, 1675 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto.getDefaultInstance())); 1676 } 1677 } 1678 1679 public static BlockingInterface newBlockingStub( 1680 com.google.protobuf.BlockingRpcChannel channel) { 1681 return new BlockingStub(channel); 1682 } 1683 1684 public interface BlockingInterface { 1685 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto refreshUserToGroupsMappings( 1686 com.google.protobuf.RpcController controller, 1687 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto request) 1688 throws com.google.protobuf.ServiceException; 1689 1690 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto refreshSuperUserGroupsConfiguration( 1691 com.google.protobuf.RpcController controller, 1692 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto request) 1693 throws com.google.protobuf.ServiceException; 1694 } 1695 1696 private static final class BlockingStub implements BlockingInterface { 1697 private BlockingStub(com.google.protobuf.BlockingRpcChannel channel) { 1698 this.channel = channel; 1699 } 1700 1701 private final com.google.protobuf.BlockingRpcChannel channel; 1702 1703 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto refreshUserToGroupsMappings( 1704 com.google.protobuf.RpcController controller, 1705 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsRequestProto request) 1706 throws com.google.protobuf.ServiceException { 1707 return (org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto) channel.callBlockingMethod( 1708 getDescriptor().getMethods().get(0), 1709 controller, 1710 request, 1711 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshUserToGroupsMappingsResponseProto.getDefaultInstance()); 1712 } 1713 1714 1715 public org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto refreshSuperUserGroupsConfiguration( 1716 com.google.protobuf.RpcController controller, 1717 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationRequestProto request) 1718 throws com.google.protobuf.ServiceException { 1719 return (org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto) channel.callBlockingMethod( 1720 getDescriptor().getMethods().get(1), 1721 controller, 1722 request, 1723 org.apache.hadoop.security.proto.RefreshUserMappingsProtocolProtos.RefreshSuperUserGroupsConfigurationResponseProto.getDefaultInstance()); 1724 } 1725 1726 } 1727 1728 // @@protoc_insertion_point(class_scope:hadoop.common.RefreshUserMappingsProtocolService) 1729 } 1730 1731 private static com.google.protobuf.Descriptors.Descriptor 1732 internal_static_hadoop_common_RefreshUserToGroupsMappingsRequestProto_descriptor; 1733 private static 1734 com.google.protobuf.GeneratedMessage.FieldAccessorTable 1735 internal_static_hadoop_common_RefreshUserToGroupsMappingsRequestProto_fieldAccessorTable; 1736 private static com.google.protobuf.Descriptors.Descriptor 1737 internal_static_hadoop_common_RefreshUserToGroupsMappingsResponseProto_descriptor; 1738 private static 1739 com.google.protobuf.GeneratedMessage.FieldAccessorTable 1740 internal_static_hadoop_common_RefreshUserToGroupsMappingsResponseProto_fieldAccessorTable; 1741 private static com.google.protobuf.Descriptors.Descriptor 1742 internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationRequestProto_descriptor; 1743 private static 1744 com.google.protobuf.GeneratedMessage.FieldAccessorTable 1745 internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationRequestProto_fieldAccessorTable; 1746 private static com.google.protobuf.Descriptors.Descriptor 1747 internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationResponseProto_descriptor; 1748 private static 1749 com.google.protobuf.GeneratedMessage.FieldAccessorTable 1750 internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationResponseProto_fieldAccessorTable; 1751 1752 public static com.google.protobuf.Descriptors.FileDescriptor 1753 getDescriptor() { 1754 return descriptor; 1755 } 1756 private static com.google.protobuf.Descriptors.FileDescriptor 1757 descriptor; 1758 static { 1759 java.lang.String[] descriptorData = { 1760 "\n!RefreshUserMappingsProtocol.proto\022\rhad" + 1761 "oop.common\")\n\'RefreshUserToGroupsMapping" + 1762 "sRequestProto\"*\n(RefreshUserToGroupsMapp" + 1763 "ingsResponseProto\"1\n/RefreshSuperUserGro" + 1764 "upsConfigurationRequestProto\"2\n0RefreshS" + 1765 "uperUserGroupsConfigurationResponseProto" + 1766 "2\336\002\n\"RefreshUserMappingsProtocolService\022" + 1767 "\216\001\n\033refreshUserToGroupsMappings\0226.hadoop" + 1768 ".common.RefreshUserToGroupsMappingsReque" + 1769 "stProto\0327.hadoop.common.RefreshUserToGro", 1770 "upsMappingsResponseProto\022\246\001\n#refreshSupe" + 1771 "rUserGroupsConfiguration\022>.hadoop.common" + 1772 ".RefreshSuperUserGroupsConfigurationRequ" + 1773 "estProto\032?.hadoop.common.RefreshSuperUse" + 1774 "rGroupsConfigurationResponseProtoBK\n org" + 1775 ".apache.hadoop.security.protoB!RefreshUs" + 1776 "erMappingsProtocolProtos\210\001\001\240\001\001" 1777 }; 1778 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = 1779 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { 1780 public com.google.protobuf.ExtensionRegistry assignDescriptors( 1781 com.google.protobuf.Descriptors.FileDescriptor root) { 1782 descriptor = root; 1783 internal_static_hadoop_common_RefreshUserToGroupsMappingsRequestProto_descriptor = 1784 getDescriptor().getMessageTypes().get(0); 1785 internal_static_hadoop_common_RefreshUserToGroupsMappingsRequestProto_fieldAccessorTable = new 1786 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 1787 internal_static_hadoop_common_RefreshUserToGroupsMappingsRequestProto_descriptor, 1788 new java.lang.String[] { }); 1789 internal_static_hadoop_common_RefreshUserToGroupsMappingsResponseProto_descriptor = 1790 getDescriptor().getMessageTypes().get(1); 1791 internal_static_hadoop_common_RefreshUserToGroupsMappingsResponseProto_fieldAccessorTable = new 1792 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 1793 internal_static_hadoop_common_RefreshUserToGroupsMappingsResponseProto_descriptor, 1794 new java.lang.String[] { }); 1795 internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationRequestProto_descriptor = 1796 getDescriptor().getMessageTypes().get(2); 1797 internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationRequestProto_fieldAccessorTable = new 1798 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 1799 internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationRequestProto_descriptor, 1800 new java.lang.String[] { }); 1801 internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationResponseProto_descriptor = 1802 getDescriptor().getMessageTypes().get(3); 1803 internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationResponseProto_fieldAccessorTable = new 1804 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 1805 internal_static_hadoop_common_RefreshSuperUserGroupsConfigurationResponseProto_descriptor, 1806 new java.lang.String[] { }); 1807 return null; 1808 } 1809 }; 1810 com.google.protobuf.Descriptors.FileDescriptor 1811 .internalBuildGeneratedFileFrom(descriptorData, 1812 new com.google.protobuf.Descriptors.FileDescriptor[] { 1813 }, assigner); 1814 } 1815 1816 // @@protoc_insertion_point(outer_class_scope) 1817}