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

org.hyperledger.fabric.protos.discovery.PeerMembershipResultOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: discovery/protocol.proto
// Protobuf Java Version: 4.28.2

package org.hyperledger.fabric.protos.discovery;

public interface PeerMembershipResultOrBuilder extends
    // @@protoc_insertion_point(interface_extends:discovery.PeerMembershipResult)
    com.google.protobuf.MessageOrBuilder {

  /**
   * map<string, .discovery.Peers> peers_by_org = 1 [json_name = "peersByOrg"];
   */
  int getPeersByOrgCount();
  /**
   * map<string, .discovery.Peers> peers_by_org = 1 [json_name = "peersByOrg"];
   */
  boolean containsPeersByOrg(
      java.lang.String key);
  /**
   * Use {@link #getPeersByOrgMap()} instead.
   */
  @java.lang.Deprecated
  java.util.Map
  getPeersByOrg();
  /**
   * map<string, .discovery.Peers> peers_by_org = 1 [json_name = "peersByOrg"];
   */
  java.util.Map
  getPeersByOrgMap();
  /**
   * map<string, .discovery.Peers> peers_by_org = 1 [json_name = "peersByOrg"];
   */
  /* nullable */
org.hyperledger.fabric.protos.discovery.Peers getPeersByOrgOrDefault(
      java.lang.String key,
      /* nullable */
org.hyperledger.fabric.protos.discovery.Peers defaultValue);
  /**
   * map<string, .discovery.Peers> peers_by_org = 1 [json_name = "peersByOrg"];
   */
  org.hyperledger.fabric.protos.discovery.Peers getPeersByOrgOrThrow(
      java.lang.String key);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy