001// Generated by the protocol buffer compiler. DO NOT EDIT! 002// source: RefreshAuthorizationPolicyProtocol.proto 003 004package org.apache.hadoop.security.proto; 005 006public final class RefreshAuthorizationPolicyProtocolProtos { 007 private RefreshAuthorizationPolicyProtocolProtos() {} 008 public static void registerAllExtensions( 009 com.google.protobuf.ExtensionRegistry registry) { 010 } 011 public interface RefreshServiceAclRequestProtoOrBuilder 012 extends com.google.protobuf.MessageOrBuilder { 013 } 014 /** 015 * Protobuf type {@code hadoop.common.RefreshServiceAclRequestProto} 016 * 017 * <pre> 018 ** 019 * Refresh service acl request. 020 * </pre> 021 */ 022 public static final class RefreshServiceAclRequestProto extends 023 com.google.protobuf.GeneratedMessage 024 implements RefreshServiceAclRequestProtoOrBuilder { 025 // Use RefreshServiceAclRequestProto.newBuilder() to construct. 026 private RefreshServiceAclRequestProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 027 super(builder); 028 this.unknownFields = builder.getUnknownFields(); 029 } 030 private RefreshServiceAclRequestProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 031 032 private static final RefreshServiceAclRequestProto defaultInstance; 033 public static RefreshServiceAclRequestProto getDefaultInstance() { 034 return defaultInstance; 035 } 036 037 public RefreshServiceAclRequestProto 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 RefreshServiceAclRequestProto( 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.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclRequestProto_descriptor; 084 } 085 086 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 087 internalGetFieldAccessorTable() { 088 return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclRequestProto_fieldAccessorTable 089 .ensureFieldAccessorsInitialized( 090 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.class, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.Builder.class); 091 } 092 093 public static com.google.protobuf.Parser<RefreshServiceAclRequestProto> PARSER = 094 new com.google.protobuf.AbstractParser<RefreshServiceAclRequestProto>() { 095 public RefreshServiceAclRequestProto parsePartialFrom( 096 com.google.protobuf.CodedInputStream input, 097 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 098 throws com.google.protobuf.InvalidProtocolBufferException { 099 return new RefreshServiceAclRequestProto(input, extensionRegistry); 100 } 101 }; 102 103 @java.lang.Override 104 public com.google.protobuf.Parser<RefreshServiceAclRequestProto> 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto)) { 149 return super.equals(obj); 150 } 151 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto other = (org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto) 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto parseFrom(byte[] data) 184 throws com.google.protobuf.InvalidProtocolBufferException { 185 return PARSER.parseFrom(data); 186 } 187 public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto parseFrom(java.io.InputStream input) 194 throws java.io.IOException { 195 return PARSER.parseFrom(input); 196 } 197 public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto parseDelimitedFrom(java.io.InputStream input) 204 throws java.io.IOException { 205 return PARSER.parseDelimitedFrom(input); 206 } 207 public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto 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.RefreshServiceAclRequestProto} 240 * 241 * <pre> 242 ** 243 * Refresh service acl 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProtoOrBuilder { 249 public static final com.google.protobuf.Descriptors.Descriptor 250 getDescriptor() { 251 return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclRequestProto_descriptor; 252 } 253 254 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 255 internalGetFieldAccessorTable() { 256 return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclRequestProto_fieldAccessorTable 257 .ensureFieldAccessorsInitialized( 258 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.class, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.Builder.class); 259 } 260 261 // Construct using org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.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.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclRequestProto_descriptor; 291 } 292 293 public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto getDefaultInstanceForType() { 294 return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.getDefaultInstance(); 295 } 296 297 public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto build() { 298 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto result = buildPartial(); 299 if (!result.isInitialized()) { 300 throw newUninitializedMessageException(result); 301 } 302 return result; 303 } 304 305 public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto buildPartial() { 306 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto result = new org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto(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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto) { 313 return mergeFrom((org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto)other); 314 } else { 315 super.mergeFrom(other); 316 return this; 317 } 318 } 319 320 public Builder mergeFrom(org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto other) { 321 if (other == org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto parsedMessage = null; 335 try { 336 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 337 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 338 parsedMessage = (org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto) 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.RefreshServiceAclRequestProto) 349 } 350 351 static { 352 defaultInstance = new RefreshServiceAclRequestProto(true); 353 defaultInstance.initFields(); 354 } 355 356 // @@protoc_insertion_point(class_scope:hadoop.common.RefreshServiceAclRequestProto) 357 } 358 359 public interface RefreshServiceAclResponseProtoOrBuilder 360 extends com.google.protobuf.MessageOrBuilder { 361 } 362 /** 363 * Protobuf type {@code hadoop.common.RefreshServiceAclResponseProto} 364 * 365 * <pre> 366 ** 367 * void response 368 * </pre> 369 */ 370 public static final class RefreshServiceAclResponseProto extends 371 com.google.protobuf.GeneratedMessage 372 implements RefreshServiceAclResponseProtoOrBuilder { 373 // Use RefreshServiceAclResponseProto.newBuilder() to construct. 374 private RefreshServiceAclResponseProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { 375 super(builder); 376 this.unknownFields = builder.getUnknownFields(); 377 } 378 private RefreshServiceAclResponseProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } 379 380 private static final RefreshServiceAclResponseProto defaultInstance; 381 public static RefreshServiceAclResponseProto getDefaultInstance() { 382 return defaultInstance; 383 } 384 385 public RefreshServiceAclResponseProto 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 RefreshServiceAclResponseProto( 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.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclResponseProto_descriptor; 432 } 433 434 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 435 internalGetFieldAccessorTable() { 436 return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclResponseProto_fieldAccessorTable 437 .ensureFieldAccessorsInitialized( 438 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.class, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.Builder.class); 439 } 440 441 public static com.google.protobuf.Parser<RefreshServiceAclResponseProto> PARSER = 442 new com.google.protobuf.AbstractParser<RefreshServiceAclResponseProto>() { 443 public RefreshServiceAclResponseProto parsePartialFrom( 444 com.google.protobuf.CodedInputStream input, 445 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 446 throws com.google.protobuf.InvalidProtocolBufferException { 447 return new RefreshServiceAclResponseProto(input, extensionRegistry); 448 } 449 }; 450 451 @java.lang.Override 452 public com.google.protobuf.Parser<RefreshServiceAclResponseProto> 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto)) { 497 return super.equals(obj); 498 } 499 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto other = (org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto) 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto parseFrom(byte[] data) 532 throws com.google.protobuf.InvalidProtocolBufferException { 533 return PARSER.parseFrom(data); 534 } 535 public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto parseFrom(java.io.InputStream input) 542 throws java.io.IOException { 543 return PARSER.parseFrom(input); 544 } 545 public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto parseDelimitedFrom(java.io.InputStream input) 552 throws java.io.IOException { 553 return PARSER.parseDelimitedFrom(input); 554 } 555 public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto 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.RefreshServiceAclResponseProto} 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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProtoOrBuilder { 597 public static final com.google.protobuf.Descriptors.Descriptor 598 getDescriptor() { 599 return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclResponseProto_descriptor; 600 } 601 602 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable 603 internalGetFieldAccessorTable() { 604 return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclResponseProto_fieldAccessorTable 605 .ensureFieldAccessorsInitialized( 606 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.class, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.Builder.class); 607 } 608 609 // Construct using org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.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.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclResponseProto_descriptor; 639 } 640 641 public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto getDefaultInstanceForType() { 642 return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.getDefaultInstance(); 643 } 644 645 public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto build() { 646 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto result = buildPartial(); 647 if (!result.isInitialized()) { 648 throw newUninitializedMessageException(result); 649 } 650 return result; 651 } 652 653 public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto buildPartial() { 654 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto result = new org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto(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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto) { 661 return mergeFrom((org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto)other); 662 } else { 663 super.mergeFrom(other); 664 return this; 665 } 666 } 667 668 public Builder mergeFrom(org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto other) { 669 if (other == org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.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.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto parsedMessage = null; 683 try { 684 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 685 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 686 parsedMessage = (org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto) 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.RefreshServiceAclResponseProto) 697 } 698 699 static { 700 defaultInstance = new RefreshServiceAclResponseProto(true); 701 defaultInstance.initFields(); 702 } 703 704 // @@protoc_insertion_point(class_scope:hadoop.common.RefreshServiceAclResponseProto) 705 } 706 707 /** 708 * Protobuf service {@code hadoop.common.RefreshAuthorizationPolicyProtocolService} 709 * 710 * <pre> 711 ** 712 * Protocol which is used to refresh the authorization policy in use currently. 713 * </pre> 714 */ 715 public static abstract class RefreshAuthorizationPolicyProtocolService 716 implements com.google.protobuf.Service { 717 protected RefreshAuthorizationPolicyProtocolService() {} 718 719 public interface Interface { 720 /** 721 * <code>rpc refreshServiceAcl(.hadoop.common.RefreshServiceAclRequestProto) returns (.hadoop.common.RefreshServiceAclResponseProto);</code> 722 * 723 * <pre> 724 ** 725 * Refresh the service-level authorization policy in-effect. 726 * </pre> 727 */ 728 public abstract void refreshServiceAcl( 729 com.google.protobuf.RpcController controller, 730 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto request, 731 com.google.protobuf.RpcCallback<org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto> done); 732 733 } 734 735 public static com.google.protobuf.Service newReflectiveService( 736 final Interface impl) { 737 return new RefreshAuthorizationPolicyProtocolService() { 738 @java.lang.Override 739 public void refreshServiceAcl( 740 com.google.protobuf.RpcController controller, 741 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto request, 742 com.google.protobuf.RpcCallback<org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto> done) { 743 impl.refreshServiceAcl(controller, request, done); 744 } 745 746 }; 747 } 748 749 public static com.google.protobuf.BlockingService 750 newReflectiveBlockingService(final BlockingInterface impl) { 751 return new com.google.protobuf.BlockingService() { 752 public final com.google.protobuf.Descriptors.ServiceDescriptor 753 getDescriptorForType() { 754 return getDescriptor(); 755 } 756 757 public final com.google.protobuf.Message callBlockingMethod( 758 com.google.protobuf.Descriptors.MethodDescriptor method, 759 com.google.protobuf.RpcController controller, 760 com.google.protobuf.Message request) 761 throws com.google.protobuf.ServiceException { 762 if (method.getService() != getDescriptor()) { 763 throw new java.lang.IllegalArgumentException( 764 "Service.callBlockingMethod() given method descriptor for " + 765 "wrong service type."); 766 } 767 switch(method.getIndex()) { 768 case 0: 769 return impl.refreshServiceAcl(controller, (org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto)request); 770 default: 771 throw new java.lang.AssertionError("Can't get here."); 772 } 773 } 774 775 public final com.google.protobuf.Message 776 getRequestPrototype( 777 com.google.protobuf.Descriptors.MethodDescriptor method) { 778 if (method.getService() != getDescriptor()) { 779 throw new java.lang.IllegalArgumentException( 780 "Service.getRequestPrototype() given method " + 781 "descriptor for wrong service type."); 782 } 783 switch(method.getIndex()) { 784 case 0: 785 return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.getDefaultInstance(); 786 default: 787 throw new java.lang.AssertionError("Can't get here."); 788 } 789 } 790 791 public final com.google.protobuf.Message 792 getResponsePrototype( 793 com.google.protobuf.Descriptors.MethodDescriptor method) { 794 if (method.getService() != getDescriptor()) { 795 throw new java.lang.IllegalArgumentException( 796 "Service.getResponsePrototype() given method " + 797 "descriptor for wrong service type."); 798 } 799 switch(method.getIndex()) { 800 case 0: 801 return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.getDefaultInstance(); 802 default: 803 throw new java.lang.AssertionError("Can't get here."); 804 } 805 } 806 807 }; 808 } 809 810 /** 811 * <code>rpc refreshServiceAcl(.hadoop.common.RefreshServiceAclRequestProto) returns (.hadoop.common.RefreshServiceAclResponseProto);</code> 812 * 813 * <pre> 814 ** 815 * Refresh the service-level authorization policy in-effect. 816 * </pre> 817 */ 818 public abstract void refreshServiceAcl( 819 com.google.protobuf.RpcController controller, 820 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto request, 821 com.google.protobuf.RpcCallback<org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto> done); 822 823 public static final 824 com.google.protobuf.Descriptors.ServiceDescriptor 825 getDescriptor() { 826 return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.getDescriptor().getServices().get(0); 827 } 828 public final com.google.protobuf.Descriptors.ServiceDescriptor 829 getDescriptorForType() { 830 return getDescriptor(); 831 } 832 833 public final void callMethod( 834 com.google.protobuf.Descriptors.MethodDescriptor method, 835 com.google.protobuf.RpcController controller, 836 com.google.protobuf.Message request, 837 com.google.protobuf.RpcCallback< 838 com.google.protobuf.Message> done) { 839 if (method.getService() != getDescriptor()) { 840 throw new java.lang.IllegalArgumentException( 841 "Service.callMethod() given method descriptor for wrong " + 842 "service type."); 843 } 844 switch(method.getIndex()) { 845 case 0: 846 this.refreshServiceAcl(controller, (org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto)request, 847 com.google.protobuf.RpcUtil.<org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto>specializeCallback( 848 done)); 849 return; 850 default: 851 throw new java.lang.AssertionError("Can't get here."); 852 } 853 } 854 855 public final com.google.protobuf.Message 856 getRequestPrototype( 857 com.google.protobuf.Descriptors.MethodDescriptor method) { 858 if (method.getService() != getDescriptor()) { 859 throw new java.lang.IllegalArgumentException( 860 "Service.getRequestPrototype() given method " + 861 "descriptor for wrong service type."); 862 } 863 switch(method.getIndex()) { 864 case 0: 865 return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.getDefaultInstance(); 866 default: 867 throw new java.lang.AssertionError("Can't get here."); 868 } 869 } 870 871 public final com.google.protobuf.Message 872 getResponsePrototype( 873 com.google.protobuf.Descriptors.MethodDescriptor method) { 874 if (method.getService() != getDescriptor()) { 875 throw new java.lang.IllegalArgumentException( 876 "Service.getResponsePrototype() given method " + 877 "descriptor for wrong service type."); 878 } 879 switch(method.getIndex()) { 880 case 0: 881 return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.getDefaultInstance(); 882 default: 883 throw new java.lang.AssertionError("Can't get here."); 884 } 885 } 886 887 public static Stub newStub( 888 com.google.protobuf.RpcChannel channel) { 889 return new Stub(channel); 890 } 891 892 public static final class Stub extends org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshAuthorizationPolicyProtocolService implements Interface { 893 private Stub(com.google.protobuf.RpcChannel channel) { 894 this.channel = channel; 895 } 896 897 private final com.google.protobuf.RpcChannel channel; 898 899 public com.google.protobuf.RpcChannel getChannel() { 900 return channel; 901 } 902 903 public void refreshServiceAcl( 904 com.google.protobuf.RpcController controller, 905 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto request, 906 com.google.protobuf.RpcCallback<org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto> done) { 907 channel.callMethod( 908 getDescriptor().getMethods().get(0), 909 controller, 910 request, 911 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.getDefaultInstance(), 912 com.google.protobuf.RpcUtil.generalizeCallback( 913 done, 914 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.class, 915 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.getDefaultInstance())); 916 } 917 } 918 919 public static BlockingInterface newBlockingStub( 920 com.google.protobuf.BlockingRpcChannel channel) { 921 return new BlockingStub(channel); 922 } 923 924 public interface BlockingInterface { 925 public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto refreshServiceAcl( 926 com.google.protobuf.RpcController controller, 927 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto request) 928 throws com.google.protobuf.ServiceException; 929 } 930 931 private static final class BlockingStub implements BlockingInterface { 932 private BlockingStub(com.google.protobuf.BlockingRpcChannel channel) { 933 this.channel = channel; 934 } 935 936 private final com.google.protobuf.BlockingRpcChannel channel; 937 938 public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto refreshServiceAcl( 939 com.google.protobuf.RpcController controller, 940 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto request) 941 throws com.google.protobuf.ServiceException { 942 return (org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto) channel.callBlockingMethod( 943 getDescriptor().getMethods().get(0), 944 controller, 945 request, 946 org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.getDefaultInstance()); 947 } 948 949 } 950 951 // @@protoc_insertion_point(class_scope:hadoop.common.RefreshAuthorizationPolicyProtocolService) 952 } 953 954 private static com.google.protobuf.Descriptors.Descriptor 955 internal_static_hadoop_common_RefreshServiceAclRequestProto_descriptor; 956 private static 957 com.google.protobuf.GeneratedMessage.FieldAccessorTable 958 internal_static_hadoop_common_RefreshServiceAclRequestProto_fieldAccessorTable; 959 private static com.google.protobuf.Descriptors.Descriptor 960 internal_static_hadoop_common_RefreshServiceAclResponseProto_descriptor; 961 private static 962 com.google.protobuf.GeneratedMessage.FieldAccessorTable 963 internal_static_hadoop_common_RefreshServiceAclResponseProto_fieldAccessorTable; 964 965 public static com.google.protobuf.Descriptors.FileDescriptor 966 getDescriptor() { 967 return descriptor; 968 } 969 private static com.google.protobuf.Descriptors.FileDescriptor 970 descriptor; 971 static { 972 java.lang.String[] descriptorData = { 973 "\n(RefreshAuthorizationPolicyProtocol.pro" + 974 "to\022\rhadoop.common\"\037\n\035RefreshServiceAclRe" + 975 "questProto\" \n\036RefreshServiceAclResponseP" + 976 "roto2\235\001\n)RefreshAuthorizationPolicyProto" + 977 "colService\022p\n\021refreshServiceAcl\022,.hadoop" + 978 ".common.RefreshServiceAclRequestProto\032-." + 979 "hadoop.common.RefreshServiceAclResponseP" + 980 "rotoBR\n org.apache.hadoop.security.proto" + 981 "B(RefreshAuthorizationPolicyProtocolProt" + 982 "os\210\001\001\240\001\001" 983 }; 984 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = 985 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { 986 public com.google.protobuf.ExtensionRegistry assignDescriptors( 987 com.google.protobuf.Descriptors.FileDescriptor root) { 988 descriptor = root; 989 internal_static_hadoop_common_RefreshServiceAclRequestProto_descriptor = 990 getDescriptor().getMessageTypes().get(0); 991 internal_static_hadoop_common_RefreshServiceAclRequestProto_fieldAccessorTable = new 992 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 993 internal_static_hadoop_common_RefreshServiceAclRequestProto_descriptor, 994 new java.lang.String[] { }); 995 internal_static_hadoop_common_RefreshServiceAclResponseProto_descriptor = 996 getDescriptor().getMessageTypes().get(1); 997 internal_static_hadoop_common_RefreshServiceAclResponseProto_fieldAccessorTable = new 998 com.google.protobuf.GeneratedMessage.FieldAccessorTable( 999 internal_static_hadoop_common_RefreshServiceAclResponseProto_descriptor, 1000 new java.lang.String[] { }); 1001 return null; 1002 } 1003 }; 1004 com.google.protobuf.Descriptors.FileDescriptor 1005 .internalBuildGeneratedFileFrom(descriptorData, 1006 new com.google.protobuf.Descriptors.FileDescriptor[] { 1007 }, assigner); 1008 } 1009 1010 // @@protoc_insertion_point(outer_class_scope) 1011}