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

sawtooth.identity.protobuf.Identity Maven / Gradle / Ivy

Go to download

"Java classes generated from Sawtooth proto definition files, to interact with the component, consensus, and other validator interfaces"

There is a newer version: v0.1.3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: identity.proto

package sawtooth.identity.protobuf;

public final class Identity {
  private Identity() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_Policy_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_Policy_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_Policy_Entry_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_Policy_Entry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_PolicyList_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_PolicyList_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_Role_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_Role_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_RoleList_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_RoleList_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\016identity.proto\"\256\001\n\006Policy\022\014\n\004name\030\001 \001(" +
      "\t\022\036\n\007entries\030\002 \003(\0132\r.Policy.Entry\0325\n\005Ent" +
      "ry\022\037\n\004type\030\001 \001(\0162\021.Policy.EntryType\022\013\n\003k" +
      "ey\030\002 \001(\t\"?\n\tEntryType\022\024\n\020ENTRY_TYPE_UNSE" +
      "T\020\000\022\016\n\nPERMIT_KEY\020\001\022\014\n\010DENY_KEY\020\002\"\'\n\nPol" +
      "icyList\022\031\n\010policies\030\001 \003(\0132\007.Policy\")\n\004Ro" +
      "le\022\014\n\004name\030\001 \001(\t\022\023\n\013policy_name\030\002 \001(\t\" \n" +
      "\010RoleList\022\024\n\005roles\030\001 \003(\0132\005.RoleB\036\n\032sawto" +
      "oth.identity.protobufP\001b\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
    internal_static_Policy_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_Policy_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_Policy_descriptor,
        new java.lang.String[] { "Name", "Entries", });
    internal_static_Policy_Entry_descriptor =
      internal_static_Policy_descriptor.getNestedTypes().get(0);
    internal_static_Policy_Entry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_Policy_Entry_descriptor,
        new java.lang.String[] { "Type", "Key", });
    internal_static_PolicyList_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_PolicyList_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_PolicyList_descriptor,
        new java.lang.String[] { "Policies", });
    internal_static_Role_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_Role_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_Role_descriptor,
        new java.lang.String[] { "Name", "PolicyName", });
    internal_static_RoleList_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_RoleList_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_RoleList_descriptor,
        new java.lang.String[] { "Roles", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy