All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos Maven / Gradle / Ivy

There is a newer version: 3.2.0-9
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: RefreshAuthorizationPolicyProtocol.proto

package org.apache.hadoop.security.proto;

public final class RefreshAuthorizationPolicyProtocolProtos {
  private RefreshAuthorizationPolicyProtocolProtos() {}
  public static void registerAllExtensions(
      io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistry registry) {
  }
  public interface RefreshServiceAclRequestProtoOrBuilder
      extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code hadoop.common.RefreshServiceAclRequestProto}
   *
   * 
   **
   *  Refresh service acl request.
   * 
*/ public static final class RefreshServiceAclRequestProto extends io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage implements RefreshServiceAclRequestProtoOrBuilder { // Use RefreshServiceAclRequestProto.newBuilder() to construct. private RefreshServiceAclRequestProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private RefreshServiceAclRequestProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final RefreshServiceAclRequestProto defaultInstance; public static RefreshServiceAclRequestProto getDefaultInstance() { return defaultInstance; } public RefreshServiceAclRequestProto getDefaultInstanceForType() { return defaultInstance; } private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RefreshServiceAclRequestProto( io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclRequestProto_descriptor; } protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclRequestProto_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.class, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.Builder.class); } public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER = new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() { public RefreshServiceAclRequestProto parsePartialFrom( io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException { return new RefreshServiceAclRequestProto(input, extensionRegistry); } }; @java.lang.Override public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } private void initFields() { } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto)) { return super.equals(obj); } org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto other = (org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto) obj; boolean result = true; result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto parseFrom( io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data) throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto parseFrom( io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto parseFrom(byte[] data) throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto parseFrom( byte[] data, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto parseFrom( java.io.InputStream input, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto parseDelimitedFrom( java.io.InputStream input, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto parseFrom( io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto parseFrom( io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hadoop.common.RefreshServiceAclRequestProto} * *
     **
     *  Refresh service acl request.
     * 
*/ public static final class Builder extends io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProtoOrBuilder { public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclRequestProto_descriptor; } protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclRequestProto_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.class, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.Builder.class); } // Construct using org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclRequestProto_descriptor; } public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto getDefaultInstanceForType() { return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.getDefaultInstance(); } public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto build() { org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto buildPartial() { org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto result = new org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto(this); onBuilt(); return result; } public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto) { return mergeFrom((org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto other) { if (other == org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } // @@protoc_insertion_point(builder_scope:hadoop.common.RefreshServiceAclRequestProto) } static { defaultInstance = new RefreshServiceAclRequestProto(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hadoop.common.RefreshServiceAclRequestProto) } public interface RefreshServiceAclResponseProtoOrBuilder extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hadoop.common.RefreshServiceAclResponseProto} * *
   **
   * void response
   * 
*/ public static final class RefreshServiceAclResponseProto extends io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage implements RefreshServiceAclResponseProtoOrBuilder { // Use RefreshServiceAclResponseProto.newBuilder() to construct. private RefreshServiceAclResponseProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private RefreshServiceAclResponseProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final RefreshServiceAclResponseProto defaultInstance; public static RefreshServiceAclResponseProto getDefaultInstance() { return defaultInstance; } public RefreshServiceAclResponseProto getDefaultInstanceForType() { return defaultInstance; } private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RefreshServiceAclResponseProto( io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclResponseProto_descriptor; } protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclResponseProto_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.class, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.Builder.class); } public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER = new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() { public RefreshServiceAclResponseProto parsePartialFrom( io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException { return new RefreshServiceAclResponseProto(input, extensionRegistry); } }; @java.lang.Override public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } private void initFields() { } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto)) { return super.equals(obj); } org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto other = (org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto) obj; boolean result = true; result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto parseFrom( io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data) throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto parseFrom( io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto parseFrom(byte[] data) throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto parseFrom( byte[] data, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto parseFrom( java.io.InputStream input, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto parseDelimitedFrom( java.io.InputStream input, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto parseFrom( io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto parseFrom( io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hadoop.common.RefreshServiceAclResponseProto} * *
     **
     * void response
     * 
*/ public static final class Builder extends io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProtoOrBuilder { public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclResponseProto_descriptor; } protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclResponseProto_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.class, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.Builder.class); } // Construct using org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.internal_static_hadoop_common_RefreshServiceAclResponseProto_descriptor; } public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto getDefaultInstanceForType() { return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.getDefaultInstance(); } public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto build() { org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto buildPartial() { org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto result = new org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto(this); onBuilt(); return result; } public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto) { return mergeFrom((org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto other) { if (other == org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } // @@protoc_insertion_point(builder_scope:hadoop.common.RefreshServiceAclResponseProto) } static { defaultInstance = new RefreshServiceAclResponseProto(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hadoop.common.RefreshServiceAclResponseProto) } /** * Protobuf service {@code hadoop.common.RefreshAuthorizationPolicyProtocolService} * *
   **
   * Protocol which is used to refresh the authorization policy in use currently.
   * 
*/ public static abstract class RefreshAuthorizationPolicyProtocolService implements io.prestosql.hadoop.$internal.com.google.protobuf.Service { protected RefreshAuthorizationPolicyProtocolService() {} public interface Interface { /** * rpc refreshServiceAcl(.hadoop.common.RefreshServiceAclRequestProto) returns (.hadoop.common.RefreshServiceAclResponseProto); * *
       **
       * Refresh the service-level authorization policy in-effect.
       * 
*/ public abstract void refreshServiceAcl( io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto request, io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done); } public static io.prestosql.hadoop.$internal.com.google.protobuf.Service newReflectiveService( final Interface impl) { return new RefreshAuthorizationPolicyProtocolService() { @java.lang.Override public void refreshServiceAcl( io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto request, io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done) { impl.refreshServiceAcl(controller, request, done); } }; } public static io.prestosql.hadoop.$internal.com.google.protobuf.BlockingService newReflectiveBlockingService(final BlockingInterface impl) { return new io.prestosql.hadoop.$internal.com.google.protobuf.BlockingService() { public final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType() { return getDescriptor(); } public final io.prestosql.hadoop.$internal.com.google.protobuf.Message callBlockingMethod( io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.MethodDescriptor method, io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller, io.prestosql.hadoop.$internal.com.google.protobuf.Message request) throws io.prestosql.hadoop.$internal.com.google.protobuf.ServiceException { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.callBlockingMethod() given method descriptor for " + "wrong service type."); } switch(method.getIndex()) { case 0: return impl.refreshServiceAcl(controller, (org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto)request); default: throw new java.lang.AssertionError("Can't get here."); } } public final io.prestosql.hadoop.$internal.com.google.protobuf.Message getRequestPrototype( io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } public final io.prestosql.hadoop.$internal.com.google.protobuf.Message getResponsePrototype( io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getResponsePrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } }; } /** * rpc refreshServiceAcl(.hadoop.common.RefreshServiceAclRequestProto) returns (.hadoop.common.RefreshServiceAclResponseProto); * *
     **
     * Refresh the service-level authorization policy in-effect.
     * 
*/ public abstract void refreshServiceAcl( io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto request, io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done); public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor() { return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.getDescriptor().getServices().get(0); } public final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType() { return getDescriptor(); } public final void callMethod( io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.MethodDescriptor method, io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller, io.prestosql.hadoop.$internal.com.google.protobuf.Message request, io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback< io.prestosql.hadoop.$internal.com.google.protobuf.Message> done) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.callMethod() given method descriptor for wrong " + "service type."); } switch(method.getIndex()) { case 0: this.refreshServiceAcl(controller, (org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto)request, io.prestosql.hadoop.$internal.com.google.protobuf.RpcUtil.specializeCallback( done)); return; default: throw new java.lang.AssertionError("Can't get here."); } } public final io.prestosql.hadoop.$internal.com.google.protobuf.Message getRequestPrototype( io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } public final io.prestosql.hadoop.$internal.com.google.protobuf.Message getResponsePrototype( io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getResponsePrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } public static Stub newStub( io.prestosql.hadoop.$internal.com.google.protobuf.RpcChannel channel) { return new Stub(channel); } public static final class Stub extends org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshAuthorizationPolicyProtocolService implements Interface { private Stub(io.prestosql.hadoop.$internal.com.google.protobuf.RpcChannel channel) { this.channel = channel; } private final io.prestosql.hadoop.$internal.com.google.protobuf.RpcChannel channel; public io.prestosql.hadoop.$internal.com.google.protobuf.RpcChannel getChannel() { return channel; } public void refreshServiceAcl( io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto request, io.prestosql.hadoop.$internal.com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(0), controller, request, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.getDefaultInstance(), io.prestosql.hadoop.$internal.com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.class, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.getDefaultInstance())); } } public static BlockingInterface newBlockingStub( io.prestosql.hadoop.$internal.com.google.protobuf.BlockingRpcChannel channel) { return new BlockingStub(channel); } public interface BlockingInterface { public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto refreshServiceAcl( io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto request) throws io.prestosql.hadoop.$internal.com.google.protobuf.ServiceException; } private static final class BlockingStub implements BlockingInterface { private BlockingStub(io.prestosql.hadoop.$internal.com.google.protobuf.BlockingRpcChannel channel) { this.channel = channel; } private final io.prestosql.hadoop.$internal.com.google.protobuf.BlockingRpcChannel channel; public org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto refreshServiceAcl( io.prestosql.hadoop.$internal.com.google.protobuf.RpcController controller, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclRequestProto request) throws io.prestosql.hadoop.$internal.com.google.protobuf.ServiceException { return (org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto) channel.callBlockingMethod( getDescriptor().getMethods().get(0), controller, request, org.apache.hadoop.security.proto.RefreshAuthorizationPolicyProtocolProtos.RefreshServiceAclResponseProto.getDefaultInstance()); } } // @@protoc_insertion_point(class_scope:hadoop.common.RefreshAuthorizationPolicyProtocolService) } private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_hadoop_common_RefreshServiceAclRequestProto_descriptor; private static io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hadoop_common_RefreshServiceAclRequestProto_fieldAccessorTable; private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_hadoop_common_RefreshServiceAclResponseProto_descriptor; private static io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hadoop_common_RefreshServiceAclResponseProto_fieldAccessorTable; public static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n(RefreshAuthorizationPolicyProtocol.pro" + "to\022\rhadoop.common\"\037\n\035RefreshServiceAclRe" + "questProto\" \n\036RefreshServiceAclResponseP" + "roto2\235\001\n)RefreshAuthorizationPolicyProto" + "colService\022p\n\021refreshServiceAcl\022,.hadoop" + ".common.RefreshServiceAclRequestProto\032-." + "hadoop.common.RefreshServiceAclResponseP" + "rotoBR\n org.apache.hadoop.security.proto" + "B(RefreshAuthorizationPolicyProtocolProt" + "os\210\001\001\240\001\001" }; io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { public io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistry assignDescriptors( io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; internal_static_hadoop_common_RefreshServiceAclRequestProto_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_hadoop_common_RefreshServiceAclRequestProto_fieldAccessorTable = new io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hadoop_common_RefreshServiceAclRequestProto_descriptor, new java.lang.String[] { }); internal_static_hadoop_common_RefreshServiceAclResponseProto_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_hadoop_common_RefreshServiceAclResponseProto_fieldAccessorTable = new io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hadoop_common_RefreshServiceAclResponseProto_descriptor, new java.lang.String[] { }); return null; } }; io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy