org.hyperledger.fabric.protos.common.ConfigGroupOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: common/configtx.proto
// Protobuf Java Version: 4.28.2
package org.hyperledger.fabric.protos.common;
public interface ConfigGroupOrBuilder extends
// @@protoc_insertion_point(interface_extends:common.ConfigGroup)
com.google.protobuf.MessageOrBuilder {
/**
* uint64 version = 1 [json_name = "version"];
* @return The version.
*/
long getVersion();
/**
* map<string, .common.ConfigGroup> groups = 2 [json_name = "groups"];
*/
int getGroupsCount();
/**
* map<string, .common.ConfigGroup> groups = 2 [json_name = "groups"];
*/
boolean containsGroups(
java.lang.String key);
/**
* Use {@link #getGroupsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getGroups();
/**
* map<string, .common.ConfigGroup> groups = 2 [json_name = "groups"];
*/
java.util.Map
getGroupsMap();
/**
* map<string, .common.ConfigGroup> groups = 2 [json_name = "groups"];
*/
/* nullable */
org.hyperledger.fabric.protos.common.ConfigGroup getGroupsOrDefault(
java.lang.String key,
/* nullable */
org.hyperledger.fabric.protos.common.ConfigGroup defaultValue);
/**
* map<string, .common.ConfigGroup> groups = 2 [json_name = "groups"];
*/
org.hyperledger.fabric.protos.common.ConfigGroup getGroupsOrThrow(
java.lang.String key);
/**
* map<string, .common.ConfigValue> values = 3 [json_name = "values"];
*/
int getValuesCount();
/**
* map<string, .common.ConfigValue> values = 3 [json_name = "values"];
*/
boolean containsValues(
java.lang.String key);
/**
* Use {@link #getValuesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getValues();
/**
* map<string, .common.ConfigValue> values = 3 [json_name = "values"];
*/
java.util.Map
getValuesMap();
/**
* map<string, .common.ConfigValue> values = 3 [json_name = "values"];
*/
/* nullable */
org.hyperledger.fabric.protos.common.ConfigValue getValuesOrDefault(
java.lang.String key,
/* nullable */
org.hyperledger.fabric.protos.common.ConfigValue defaultValue);
/**
* map<string, .common.ConfigValue> values = 3 [json_name = "values"];
*/
org.hyperledger.fabric.protos.common.ConfigValue getValuesOrThrow(
java.lang.String key);
/**
* map<string, .common.ConfigPolicy> policies = 4 [json_name = "policies"];
*/
int getPoliciesCount();
/**
* map<string, .common.ConfigPolicy> policies = 4 [json_name = "policies"];
*/
boolean containsPolicies(
java.lang.String key);
/**
* Use {@link #getPoliciesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getPolicies();
/**
* map<string, .common.ConfigPolicy> policies = 4 [json_name = "policies"];
*/
java.util.Map
getPoliciesMap();
/**
* map<string, .common.ConfigPolicy> policies = 4 [json_name = "policies"];
*/
/* nullable */
org.hyperledger.fabric.protos.common.ConfigPolicy getPoliciesOrDefault(
java.lang.String key,
/* nullable */
org.hyperledger.fabric.protos.common.ConfigPolicy defaultValue);
/**
* map<string, .common.ConfigPolicy> policies = 4 [json_name = "policies"];
*/
org.hyperledger.fabric.protos.common.ConfigPolicy getPoliciesOrThrow(
java.lang.String key);
/**
* string mod_policy = 5 [json_name = "modPolicy"];
* @return The modPolicy.
*/
java.lang.String getModPolicy();
/**
* string mod_policy = 5 [json_name = "modPolicy"];
* @return The bytes for modPolicy.
*/
com.google.protobuf.ByteString
getModPolicyBytes();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy